Lines Matching defs:counter
97 static inline struct rz_mtu3_channel *rz_mtu3_get_ch(struct counter_device *counter, int id) in rz_mtu3_get_ch()
105 static bool rz_mtu3_is_counter_invalid(struct counter_device *counter, int id) in rz_mtu3_is_counter_invalid()
123 static int rz_mtu3_lock_if_counter_is_valid(struct counter_device *counter, in rz_mtu3_lock_if_counter_is_valid()
157 static int rz_mtu3_count_read(struct counter_device *counter, in rz_mtu3_count_read()
179 static int rz_mtu3_count_write(struct counter_device *counter, in rz_mtu3_count_write()
231 static int rz_mtu3_count_function_read(struct counter_device *counter, in rz_mtu3_count_function_read()
249 static int rz_mtu3_count_function_write(struct counter_device *counter, in rz_mtu3_count_function_write()
290 static int rz_mtu3_count_direction_read(struct counter_device *counter, in rz_mtu3_count_direction_read()
314 static int rz_mtu3_count_ceiling_read(struct counter_device *counter, in rz_mtu3_count_ceiling_read()
345 static int rz_mtu3_count_ceiling_write(struct counter_device *counter, in rz_mtu3_count_ceiling_write()
393 static void rz_mtu3_32bit_cnt_setting(struct counter_device *counter) in rz_mtu3_32bit_cnt_setting()
408 static void rz_mtu3_16bit_cnt_setting(struct counter_device *counter, int id) in rz_mtu3_16bit_cnt_setting()
420 static int rz_mtu3_initialize_counter(struct counter_device *counter, int id) in rz_mtu3_initialize_counter()
455 static void rz_mtu3_terminate_counter(struct counter_device *counter, int id) in rz_mtu3_terminate_counter()
472 static int rz_mtu3_count_enable_read(struct counter_device *counter, in rz_mtu3_count_enable_read()
495 static int rz_mtu3_count_enable_write(struct counter_device *counter, in rz_mtu3_count_enable_write()
532 static int rz_mtu3_cascade_counts_enable_get(struct counter_device *counter, in rz_mtu3_cascade_counts_enable_get()
552 static int rz_mtu3_cascade_counts_enable_set(struct counter_device *counter, in rz_mtu3_cascade_counts_enable_set()
571 static int rz_mtu3_ext_input_phase_clock_select_get(struct counter_device *counter, in rz_mtu3_ext_input_phase_clock_select_get()
591 static int rz_mtu3_ext_input_phase_clock_select_set(struct counter_device *counter, in rz_mtu3_ext_input_phase_clock_select_set()
625 static int rz_mtu3_action_read(struct counter_device *counter, in rz_mtu3_action_read()
838 struct counter_device *counter; in rz_mtu3_cnt_probe() local