Lines Matching defs:counter
85 struct counter_device counter; member
90 static struct ti_eqep_cnt *ti_eqep_count_from_counter(struct counter_device *counter) in ti_eqep_count_from_counter()
95 static int ti_eqep_count_read(struct counter_device *counter, in ti_eqep_count_read()
107 static int ti_eqep_count_write(struct counter_device *counter, in ti_eqep_count_write()
120 static int ti_eqep_function_read(struct counter_device *counter, in ti_eqep_function_read()
147 static int ti_eqep_function_write(struct counter_device *counter, in ti_eqep_function_write()
176 static int ti_eqep_action_read(struct counter_device *counter, in ti_eqep_action_read()
249 static int ti_eqep_position_ceiling_read(struct counter_device *counter, in ti_eqep_position_ceiling_read()
263 static int ti_eqep_position_ceiling_write(struct counter_device *counter, in ti_eqep_position_ceiling_write()
277 static int ti_eqep_position_enable_read(struct counter_device *counter, in ti_eqep_position_enable_read()
290 static int ti_eqep_position_enable_write(struct counter_device *counter, in ti_eqep_position_enable_write()
376 struct counter_device *counter; in ti_eqep_probe() local
430 struct counter_device *counter = platform_get_drvdata(pdev); in ti_eqep_remove() local