Home
last modified time | relevance | path

Searched refs:lradc (Results 1 – 25 of 82) sorted by relevance

1234

/linux/drivers/input/keyboard/
A Dsun4i-lradc-keys.c107 input_report_key(lradc->input, lradc->chan0_keycode, 0); in sun4i_lradc_irq()
124 input_report_key(lradc->input, lradc->chan0_keycode, 1); in sun4i_lradc_irq()
143 lradc->vref = regulator_get_voltage(lradc->vref_supply) * in sun4i_lradc_open()
187 lradc->chan0_map = devm_kmalloc_array(dev, lradc->chan0_map_count, in sun4i_lradc_load_dt_keymap()
190 if (!lradc->chan0_map) in sun4i_lradc_load_dt_keymap()
233 if (!lradc) in sun4i_lradc_probe()
241 if (!lradc->variant) { in sun4i_lradc_probe()
250 lradc->dev = dev; in sun4i_lradc_probe()
252 if (!lradc->input) in sun4i_lradc_probe()
266 __set_bit(lradc->chan0_map[i].keycode, lradc->input->keybit); in sun4i_lradc_probe()
[all …]
A DMakefile67 obj-$(CONFIG_KEYBOARD_SUN4I_LRADC) += sun4i-lradc-keys.o
/linux/drivers/mfd/
A Dmxs-lradc.c131 struct mxs_lradc *lradc; in mxs_lradc_probe() local
137 lradc = devm_kzalloc(&pdev->dev, sizeof(*lradc), GFP_KERNEL); in mxs_lradc_probe()
138 if (!lradc) in mxs_lradc_probe()
148 if (IS_ERR(lradc->clk)) { in mxs_lradc_probe()
150 return PTR_ERR(lradc->clk); in mxs_lradc_probe()
170 if (lradc->soc == IMX28_LRADC) { in mxs_lradc_probe()
171 lradc->touchscreen_wire = in mxs_lradc_probe()
187 platform_set_drvdata(pdev, lradc); in mxs_lradc_probe()
195 switch (lradc->soc) { in mxs_lradc_probe()
219 if (!lradc->touchscreen_wire) in mxs_lradc_probe()
[all …]
/linux/drivers/input/touchscreen/
A Dmxs-lradc-ts.c42 struct mxs_lradc *lradc; member
274 struct mxs_lradc *lradc = ts->lradc; in mxs_lradc_setup_touch_detection() local
282 writel(info[lradc->soc].mask, in mxs_lradc_setup_touch_detection()
284 writel(info[lradc->soc].bit, in mxs_lradc_setup_touch_detection()
302 struct mxs_lradc *lradc = ts->lradc; in mxs_lradc_prepare_x_pos() local
328 struct mxs_lradc *lradc = ts->lradc; in mxs_lradc_prepare_y_pos() local
354 struct mxs_lradc *lradc = ts->lradc; in mxs_lradc_prepare_pressure() local
496 struct mxs_lradc *lradc = ts->lradc; in mxs_lradc_ts_handle_irq() local
535 struct mxs_lradc *lradc = ts->lradc; in mxs_lradc_ts_stop() local
563 struct mxs_lradc *lradc = ts->lradc; in mxs_lradc_ts_hw_init() local
[all …]
/linux/drivers/iio/adc/
A Dmxs-lradc-adc.c114 struct mxs_lradc *lradc; member
135 struct mxs_lradc *lradc = adc->lradc; in mxs_lradc_adc_read_single() local
155 if (lradc->soc == IMX28_LRADC) in mxs_lradc_adc_read_single()
388 struct mxs_lradc *lradc = adc->lradc; in mxs_lradc_adc_handle_irq() local
486 struct mxs_lradc *lradc = adc->lradc; in mxs_lradc_adc_buffer_preenable() local
498 writel(lradc->buffer_vchans, in mxs_lradc_adc_buffer_preenable()
524 struct mxs_lradc *lradc = adc->lradc; in mxs_lradc_adc_buffer_postdisable() local
542 struct mxs_lradc *lradc = adc->lradc; in mxs_lradc_adc_validate_scan_mask() local
547 if (lradc->use_touchbutton) in mxs_lradc_adc_validate_scan_mask()
554 if (lradc->use_touchbutton) in mxs_lradc_adc_validate_scan_mask()
[all …]
/linux/Documentation/devicetree/bindings/mfd/
A Dmxs-lradc.txt4 - compatible: Should be "fsl,imx23-lradc" for i.MX23 SoC and "fsl,imx28-lradc"
10 - fsl,lradc-touchscreen-wires: Number of wires used to connect the touchscreen
25 lradc@80050000 {
26 compatible = "fsl,imx23-lradc";
29 fsl,lradc-touchscreen-wires = <4>;
37 lradc@80050000 {
38 compatible = "fsl,imx28-lradc";
41 fsl,lradc-touchscreen-wires = <5>;
/linux/Documentation/devicetree/bindings/input/
A Dallwinner,sun4i-a10-lradc-keys.yaml4 $id: http://devicetree.org/schemas/input/allwinner,sun4i-a10-lradc-keys.yaml#
16 - const: allwinner,sun4i-a10-lradc-keys
17 - const: allwinner,sun8i-a83t-r-lradc
19 - const: allwinner,sun50i-a64-lradc
20 - const: allwinner,sun8i-a83t-r-lradc
75 lradc: lradc@1c22800 {
76 compatible = "allwinner,sun4i-a10-lradc-keys";
A Dadc-keys.txt34 io-channels = <&lradc 0>;
/linux/include/linux/mfd/
A Dmxs-lradc.h166 static inline u32 mxs_lradc_irq_mask(struct mxs_lradc *lradc) in mxs_lradc_irq_mask() argument
168 switch (lradc->soc) { in mxs_lradc_irq_mask()
/linux/arch/arm/boot/dts/
A Dimx23-evk.dts104 lradc@80050000 {
106 fsl,lradc-touchscreen-wires = <4>;
A Dimx28-cfa10058.dts78 lradc@80050000 {
79 fsl,lradc-touchscreen-wires = <4>;
A Dimx28-cfa10055.dts119 lradc@80050000 {
120 fsl,lradc-touchscreen-wires = <4>;
A Dimx28-cfa10057.dts105 lradc@80050000 {
106 fsl,lradc-touchscreen-wires = <4>;
A Dimx28-apf28dev.dts117 lradc@80050000 {
118 fsl,lradc-touchscreen-wires = <4>;
A Dimx23.dtsi527 lradc: lradc@80050000 { label
528 compatible = "fsl,imx23-lradc";
634 io-channels = <&lradc 8>;
A Dimx28-m28evk.dts151 lradc@80050000 {
153 fsl,lradc-touchscreen-wires = <4>;
A Dimx28-eukrea-mbmx28lc.dtsi186 &lradc {
187 fsl,lradc-touchscreen-wires = <4>;
A Dimx28-evk.dts239 lradc@80050000 {
241 fsl,lradc-touchscreen-wires = <4>;
A Dsun8i-v3-sl631.dtsi42 &lradc {
A Dimx23-olinuxino.dts68 lradc@80050000 {
A Dimx28-cfa10049.dts285 lradc@80050000 {
287 fsl,lradc-touchscreen-wires = <4>;
A Dimx28-duckbill.dts77 lradc@80050000 {
A Dimx28-duckbill-2.dts92 lradc@80050000 {
/linux/drivers/clk/mxs/
A Dclk-imx28.c139 clk32k_div, rtc, lradc, spdif_div, clk32k, pwm, uart, ssp0, enumerator
208 clks[lradc] = mxs_clk_fixed_factor("lradc", "clk32k", 1, 16); in mx28_clocks_init()
/linux/Documentation/devicetree/bindings/clock/
A Dimx28-clock.yaml60 lradc 41

Completed in 55 milliseconds

1234