rz_mtu3_channel
struct rz_mtu3_channel *const ch,
static int rz_mtu3_lock_if_count_is_enabled(struct rz_mtu3_channel *const ch,
struct rz_mtu3_channel *const ch = rz_mtu3_get_ch(counter, count->id);
struct rz_mtu3_channel *const ch = rz_mtu3_get_ch(counter, count->id);
static int rz_mtu3_count_function_read_helper(struct rz_mtu3_channel *const ch,
struct rz_mtu3_channel *const ch = rz_mtu3_get_ch(counter, count->id);
struct rz_mtu3_channel *const ch = rz_mtu3_get_ch(counter, count->id);
struct rz_mtu3_channel *const ch = rz_mtu3_get_ch(counter, count->id);
struct rz_mtu3_channel *const ch = rz_mtu3_get_ch(counter, count->id);
struct rz_mtu3_channel *const ch = rz_mtu3_get_ch(counter, count->id);
struct rz_mtu3_channel *const ch1 = rz_mtu3_get_ch(counter, 0);
struct rz_mtu3_channel *const ch2 = rz_mtu3_get_ch(counter, 1);
struct rz_mtu3_channel *const ch = rz_mtu3_get_ch(counter, id);
struct rz_mtu3_channel *const ch = rz_mtu3_get_ch(counter, id);
struct rz_mtu3_channel *const ch1 = rz_mtu3_get_ch(counter, 0);
struct rz_mtu3_channel *const ch2 = rz_mtu3_get_ch(counter, 1);
struct rz_mtu3_channel *const ch = rz_mtu3_get_ch(counter, id);
struct rz_mtu3_channel *const ch1 = rz_mtu3_get_ch(counter, 0);
struct rz_mtu3_channel *const ch2 = rz_mtu3_get_ch(counter, 1);
struct rz_mtu3_channel *const ch = rz_mtu3_get_ch(counter, count->id);
struct rz_mtu3_channel *const ch1 = rz_mtu3_get_ch(counter, 0);
struct rz_mtu3_channel *const ch2 = rz_mtu3_get_ch(counter, 1);
struct rz_mtu3_channel *const ch = rz_mtu3_get_ch(counter, count->id);
struct rz_mtu3_channel *ch;
struct rz_mtu3_channel *ch;
static inline struct rz_mtu3_channel *rz_mtu3_get_ch(struct counter_device *counter, int id)
u32 rz_mtu3_32bit_ch_read(struct rz_mtu3_channel *ch, u16 offset)
void rz_mtu3_8bit_ch_write(struct rz_mtu3_channel *ch, u16 offset, u8 val)
void rz_mtu3_16bit_ch_write(struct rz_mtu3_channel *ch, u16 offset, u16 val)
void rz_mtu3_32bit_ch_write(struct rz_mtu3_channel *ch, u16 offset, u32 val)
void rz_mtu3_shared_reg_write(struct rz_mtu3_channel *ch, u16 offset, u16 value)
void rz_mtu3_shared_reg_update_bit(struct rz_mtu3_channel *ch, u16 offset,
static u16 rz_mtu3_get_tstr_offset(struct rz_mtu3_channel *ch)
static u8 rz_mtu3_get_tstr_bit_pos(struct rz_mtu3_channel *ch)
static void rz_mtu3_start_stop_ch(struct rz_mtu3_channel *ch, bool start)
bool rz_mtu3_is_enabled(struct rz_mtu3_channel *ch)
int rz_mtu3_enable(struct rz_mtu3_channel *ch)
void rz_mtu3_disable(struct rz_mtu3_channel *ch)
u16 rz_mtu3_shared_reg_read(struct rz_mtu3_channel *ch, u16 offset)
u8 rz_mtu3_8bit_ch_read(struct rz_mtu3_channel *ch, u16 offset)
u16 rz_mtu3_16bit_ch_read(struct rz_mtu3_channel *ch, u16 offset)
struct rz_mtu3_channel *mtu;
struct rz_mtu3_channel channels[RZ_MTU_NUM_CHANNELS];
static inline bool rz_mtu3_request_channel(struct rz_mtu3_channel *ch)
static inline void rz_mtu3_release_channel(struct rz_mtu3_channel *ch)
bool rz_mtu3_is_enabled(struct rz_mtu3_channel *ch);
void rz_mtu3_disable(struct rz_mtu3_channel *ch);
int rz_mtu3_enable(struct rz_mtu3_channel *ch);
u8 rz_mtu3_8bit_ch_read(struct rz_mtu3_channel *ch, u16 off);
u16 rz_mtu3_16bit_ch_read(struct rz_mtu3_channel *ch, u16 off);
u32 rz_mtu3_32bit_ch_read(struct rz_mtu3_channel *ch, u16 off);
u16 rz_mtu3_shared_reg_read(struct rz_mtu3_channel *ch, u16 off);
void rz_mtu3_8bit_ch_write(struct rz_mtu3_channel *ch, u16 off, u8 val);
void rz_mtu3_16bit_ch_write(struct rz_mtu3_channel *ch, u16 off, u16 val);
void rz_mtu3_32bit_ch_write(struct rz_mtu3_channel *ch, u16 off, u32 val);
void rz_mtu3_shared_reg_write(struct rz_mtu3_channel *ch, u16 off, u16 val);
void rz_mtu3_shared_reg_update_bit(struct rz_mtu3_channel *ch, u16 off,