Lines Matching refs:counter_device

100 static u8 ecap_cnt_capture_get_evmode(struct counter_device *counter)  in ecap_cnt_capture_get_evmode()
112 static void ecap_cnt_capture_set_evmode(struct counter_device *counter, u8 ev_mode) in ecap_cnt_capture_set_evmode()
121 static void ecap_cnt_capture_enable(struct counter_device *counter) in ecap_cnt_capture_enable()
136 static void ecap_cnt_capture_disable(struct counter_device *counter) in ecap_cnt_capture_disable()
149 static u32 ecap_cnt_count_get_val(struct counter_device *counter, unsigned int reg) in ecap_cnt_count_get_val()
161 static void ecap_cnt_count_set_val(struct counter_device *counter, unsigned int reg, u32 val) in ecap_cnt_count_set_val()
170 static int ecap_cnt_count_read(struct counter_device *counter, in ecap_cnt_count_read()
178 static int ecap_cnt_count_write(struct counter_device *counter, in ecap_cnt_count_write()
189 static int ecap_cnt_function_read(struct counter_device *counter, in ecap_cnt_function_read()
198 static int ecap_cnt_action_read(struct counter_device *counter, in ecap_cnt_action_read()
210 static int ecap_cnt_watch_validate(struct counter_device *counter, in ecap_cnt_watch_validate()
225 static int ecap_cnt_clk_get_freq(struct counter_device *counter, in ecap_cnt_clk_get_freq()
235 static int ecap_cnt_pol_read(struct counter_device *counter, in ecap_cnt_pol_read()
251 static int ecap_cnt_pol_write(struct counter_device *counter, in ecap_cnt_pol_write()
267 static int ecap_cnt_cap_read(struct counter_device *counter, in ecap_cnt_cap_read()
276 static int ecap_cnt_cap_write(struct counter_device *counter, in ecap_cnt_cap_write()
288 static int ecap_cnt_nb_ovf_read(struct counter_device *counter, in ecap_cnt_nb_ovf_read()
298 static int ecap_cnt_nb_ovf_write(struct counter_device *counter, in ecap_cnt_nb_ovf_write()
311 static int ecap_cnt_ceiling_read(struct counter_device *counter, in ecap_cnt_ceiling_read()
319 static int ecap_cnt_enable_read(struct counter_device *counter, in ecap_cnt_enable_read()
329 static int ecap_cnt_enable_write(struct counter_device *counter, in ecap_cnt_enable_write()
438 struct counter_device *counter_dev = dev_id; in ecap_cnt_isr()
477 struct counter_device *counter_dev; in ecap_cnt_probe()
542 struct counter_device *counter_dev = platform_get_drvdata(pdev); in ecap_cnt_remove()
553 struct counter_device *counter_dev = dev_get_drvdata(dev); in ecap_cnt_suspend()
577 struct counter_device *counter_dev = dev_get_drvdata(dev); in ecap_cnt_resume()