Lines Matching refs:s3c_adc_client
46 struct s3c_adc_client { struct
56 void (*select_cb)(struct s3c_adc_client *c, unsigned selected); argument
57 void (*convert_cb)(struct s3c_adc_client *c, argument
66 struct s3c_adc_client *cur;
67 struct s3c_adc_client *ts_pend;
92 struct s3c_adc_client *client) in s3c_adc_select()
127 struct s3c_adc_client *next = adc->ts_pend; in s3c_adc_try()
131 struct s3c_adc_client, pend); in s3c_adc_try()
145 int s3c_adc_start(struct s3c_adc_client *client, in s3c_adc_start()
180 static void s3c_convert_done(struct s3c_adc_client *client, in s3c_convert_done()
187 int s3c_adc_read(struct s3c_adc_client *client, unsigned int ch) in s3c_adc_read()
214 static void s3c_adc_default_select(struct s3c_adc_client *client, in s3c_adc_default_select()
219 struct s3c_adc_client *s3c_adc_register(struct platform_device *pdev, in s3c_adc_register()
220 void (*select)(struct s3c_adc_client *client, in s3c_adc_register()
222 void (*conv)(struct s3c_adc_client *client, in s3c_adc_register()
227 struct s3c_adc_client *client; in s3c_adc_register()
250 void s3c_adc_release(struct s3c_adc_client *client) in s3c_adc_release()
263 struct s3c_adc_client *tmp; in s3c_adc_release()
266 tmp = list_entry(p, struct s3c_adc_client, pend); in s3c_adc_release()
283 struct s3c_adc_client *client = adc->cur; in s3c_adc_irq()