Home
last modified time | relevance | path

Searched refs:s3c_adc_client (Results 1 – 2 of 2) sorted by relevance

/arch/arm/plat-samsung/include/plat/
Dadc.h13 struct s3c_adc_client;
16 extern int s3c_adc_start(struct s3c_adc_client *client,
19 extern int s3c_adc_read(struct s3c_adc_client *client, unsigned int ch);
21 extern struct s3c_adc_client *
23 void (*select)(struct s3c_adc_client *client,
25 void (*conv)(struct s3c_adc_client *client,
30 extern void s3c_adc_release(struct s3c_adc_client *client);
/arch/arm/plat-samsung/
Dadc.c46 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()
[all …]