Lines Matching refs:counter_device
86 struct counter_device counter;
91 static struct ti_eqep_cnt *ti_eqep_count_from_counter(struct counter_device *counter) in ti_eqep_count_from_counter()
96 static int ti_eqep_count_read(struct counter_device *counter, in ti_eqep_count_read()
108 static int ti_eqep_count_write(struct counter_device *counter, in ti_eqep_count_write()
121 static int ti_eqep_function_read(struct counter_device *counter, in ti_eqep_function_read()
148 static int ti_eqep_function_write(struct counter_device *counter, in ti_eqep_function_write()
177 static int ti_eqep_action_read(struct counter_device *counter, in ti_eqep_action_read()
250 static int ti_eqep_position_ceiling_read(struct counter_device *counter, in ti_eqep_position_ceiling_read()
264 static int ti_eqep_position_ceiling_write(struct counter_device *counter, in ti_eqep_position_ceiling_write()
278 static int ti_eqep_position_enable_read(struct counter_device *counter, in ti_eqep_position_enable_read()
291 static int ti_eqep_position_enable_write(struct counter_device *counter, in ti_eqep_position_enable_write()
377 struct counter_device *counter; in ti_eqep_probe()
436 struct counter_device *counter = platform_get_drvdata(pdev); in ti_eqep_remove()