linux/drivers/staging/media/starfive/camss/stf-camss.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * stf_camss.h
 *
 * Starfive Camera Subsystem driver
 *
 * Copyright (C) 2021-2023 StarFive Technology Co., Ltd.
 */

#ifndef STF_CAMSS_H
#define STF_CAMSS_H

#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/reset.h>
#include <media/media-device.h>
#include <media/media-entity.h>
#include <media/v4l2-async.h>
#include <media/v4l2-device.h>

#include "stf-isp.h"
#include "stf-capture.h"

enum stf_port_num {};

enum stf_clk {};

enum stf_rst {};

struct stf_isr_data {};

struct stfcamss {};

struct stfcamss_async_subdev {};

static inline u32 stf_isp_reg_read(struct stfcamss *stfcamss, u32 reg)
{}

static inline void stf_isp_reg_write(struct stfcamss *stfcamss,
				     u32 reg, u32 val)
{}

static inline void stf_isp_reg_write_delay(struct stfcamss *stfcamss,
					   u32 reg, u32 val, u32 delay)
{}

static inline void stf_isp_reg_set_bit(struct stfcamss *stfcamss,
				       u32 reg, u32 mask, u32 val)
{}

static inline void stf_isp_reg_set(struct stfcamss *stfcamss, u32 reg, u32 mask)
{}

static inline u32 stf_syscon_reg_read(struct stfcamss *stfcamss, u32 reg)
{}

static inline void stf_syscon_reg_write(struct stfcamss *stfcamss,
					u32 reg, u32 val)
{}

static inline void stf_syscon_reg_set_bit(struct stfcamss *stfcamss,
					  u32 reg, u32 bit_mask)
{}

static inline void stf_syscon_reg_clear_bit(struct stfcamss *stfcamss,
					    u32 reg, u32 bit_mask)
{}
#endif /* STF_CAMSS_H */