Home
last modified time | relevance | path

Searched refs:tscadc (Results 1 - 3 of 3) sorted by relevance

/kernel/linux/linux-6.6/drivers/mfd/
H A Dti_am335x_tscadc.c29 void am335x_tsc_se_set_cache(struct ti_tscadc_dev *tscadc, u32 val) in am335x_tsc_se_set_cache() argument
33 spin_lock_irqsave(&tscadc->reg_lock, flags); in am335x_tsc_se_set_cache()
34 tscadc->reg_se_cache |= val; in am335x_tsc_se_set_cache()
35 if (tscadc->adc_waiting) in am335x_tsc_se_set_cache()
36 wake_up(&tscadc->reg_se_wait); in am335x_tsc_se_set_cache()
37 else if (!tscadc->adc_in_use) in am335x_tsc_se_set_cache()
38 regmap_write(tscadc->regmap, REG_SE, tscadc->reg_se_cache); in am335x_tsc_se_set_cache()
40 spin_unlock_irqrestore(&tscadc->reg_lock, flags); in am335x_tsc_se_set_cache()
44 static void am335x_tscadc_need_adc(struct ti_tscadc_dev *tscadc) in am335x_tscadc_need_adc() argument
72 am335x_tsc_se_set_once(struct ti_tscadc_dev *tscadc, u32 val) am335x_tsc_se_set_once() argument
82 am335x_tsc_se_adc_done(struct ti_tscadc_dev *tscadc) am335x_tsc_se_adc_done() argument
93 am335x_tsc_se_clr(struct ti_tscadc_dev *tscadc, u32 val) am335x_tsc_se_clr() argument
104 tscadc_idle_config(struct ti_tscadc_dev *tscadc) tscadc_idle_config() argument
117 struct ti_tscadc_dev *tscadc; ti_tscadc_probe() local
303 struct ti_tscadc_dev *tscadc = platform_get_drvdata(pdev); ti_tscadc_remove() local
322 struct ti_tscadc_dev *tscadc = dev_get_drvdata(dev); tscadc_suspend() local
340 struct ti_tscadc_dev *tscadc = dev_get_drvdata(dev); tscadc_resume() local
[all...]
/kernel/linux/linux-5.10/drivers/mfd/
H A Dti_am335x_tscadc.c37 void am335x_tsc_se_set_cache(struct ti_tscadc_dev *tscadc, u32 val) in am335x_tsc_se_set_cache() argument
41 spin_lock_irqsave(&tscadc->reg_lock, flags); in am335x_tsc_se_set_cache()
42 tscadc->reg_se_cache |= val; in am335x_tsc_se_set_cache()
43 if (tscadc->adc_waiting) in am335x_tsc_se_set_cache()
44 wake_up(&tscadc->reg_se_wait); in am335x_tsc_se_set_cache()
45 else if (!tscadc->adc_in_use) in am335x_tsc_se_set_cache()
46 regmap_write(tscadc->regmap, REG_SE, tscadc->reg_se_cache); in am335x_tsc_se_set_cache()
48 spin_unlock_irqrestore(&tscadc->reg_lock, flags); in am335x_tsc_se_set_cache()
52 static void am335x_tscadc_need_adc(struct ti_tscadc_dev *tscadc) in am335x_tscadc_need_adc() argument
80 am335x_tsc_se_set_once(struct ti_tscadc_dev *tscadc, u32 val) am335x_tsc_se_set_once() argument
90 am335x_tsc_se_adc_done(struct ti_tscadc_dev *tscadc) am335x_tsc_se_adc_done() argument
101 am335x_tsc_se_clr(struct ti_tscadc_dev *tscadc, u32 val) am335x_tsc_se_clr() argument
112 tscadc_idle_config(struct ti_tscadc_dev *tscadc) tscadc_idle_config() argument
124 struct ti_tscadc_dev *tscadc; ti_tscadc_probe() local
285 struct ti_tscadc_dev *tscadc = platform_get_drvdata(pdev); ti_tscadc_remove() local
304 struct ti_tscadc_dev *tscadc = dev_get_drvdata(dev); tscadc_suspend() local
322 struct ti_tscadc_dev *tscadc = dev_get_drvdata(dev); tscadc_resume() local
[all...]
/kernel/linux/linux-6.6/include/linux/mfd/
H A Dti_am335x_tscadc.h185 static inline bool ti_adc_with_touchscreen(struct ti_tscadc_dev *tscadc) in ti_adc_with_touchscreen() argument
187 return of_device_is_compatible(tscadc->dev->of_node, in ti_adc_with_touchscreen()
188 "ti,am3359-tscadc"); in ti_adc_with_touchscreen()

Completed in 2 milliseconds