Searched refs:s3c_adc_client (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/arch/arm/plat-samsung/include/plat/
H A Dadc.h17 struct s3c_adc_client;
20 extern int s3c_adc_start(struct s3c_adc_client *client,
23 extern int s3c_adc_read(struct s3c_adc_client *client, unsigned int ch);
25 extern struct s3c_adc_client *
27 void (*select)(struct s3c_adc_client *client,
29 void (*conv)(struct s3c_adc_client *client,
34 extern void s3c_adc_release(struct s3c_adc_client *client);
/linux-4.1.27/arch/arm/plat-samsung/
H A Dadc.c50 struct s3c_adc_client { struct
60 void (*select_cb)(struct s3c_adc_client *c, unsigned selected);
61 void (*convert_cb)(struct s3c_adc_client *c,
70 struct s3c_adc_client *cur;
71 struct s3c_adc_client *ts_pend;
96 struct s3c_adc_client *client) s3c_adc_select()
131 struct s3c_adc_client *next = adc->ts_pend; s3c_adc_try()
135 struct s3c_adc_client, pend); s3c_adc_try()
149 int s3c_adc_start(struct s3c_adc_client *client, s3c_adc_start()
184 static void s3c_convert_done(struct s3c_adc_client *client, s3c_convert_done()
191 int s3c_adc_read(struct s3c_adc_client *client, unsigned int ch) s3c_adc_read()
218 static void s3c_adc_default_select(struct s3c_adc_client *client, s3c_adc_default_select()
223 struct s3c_adc_client *s3c_adc_register(struct platform_device *pdev, s3c_adc_register()
224 void (*select)(struct s3c_adc_client *client, s3c_adc_register()
226 void (*conv)(struct s3c_adc_client *client, s3c_adc_register()
231 struct s3c_adc_client *client; s3c_adc_register()
241 client = kzalloc(sizeof(struct s3c_adc_client), GFP_KERNEL); s3c_adc_register()
256 void s3c_adc_release(struct s3c_adc_client *client) s3c_adc_release()
269 struct s3c_adc_client *tmp; s3c_adc_release()
272 tmp = list_entry(p, struct s3c_adc_client, pend); s3c_adc_release()
289 struct s3c_adc_client *client = adc->cur; s3c_adc_irq()
/linux-4.1.27/drivers/power/
H A Ds3c_adc_battery.c32 struct s3c_adc_client *client;
50 static int gather_samples(struct s3c_adc_client *client, int num, int channel) gather_samples()
294 struct s3c_adc_client *client; s3c_adc_bat_probe()
381 struct s3c_adc_client *client = platform_get_drvdata(pdev); s3c_adc_bat_remove()
/linux-4.1.27/drivers/input/touchscreen/
H A Ds3c2410_ts.c76 struct s3c_adc_client *client;
194 static void s3c24xx_ts_conversion(struct s3c_adc_client *client, s3c24xx_ts_conversion()
222 static void s3c24xx_ts_select(struct s3c_adc_client *client, unsigned select) s3c24xx_ts_select()
/linux-4.1.27/drivers/hwmon/
H A Ds3c-hwmon.c54 struct s3c_adc_client *client;

Completed in 57 milliseconds