Home
last modified time | relevance | path

Searched refs:stmpe (Results 1 – 24 of 24) sorted by relevance

/linux/drivers/input/touchscreen/
H A Dstmpe-ts.c73 struct stmpe *stmpe; member
85 static int __stmpe_reset_fifo(struct stmpe *stmpe) in __stmpe_reset_fifo() argument
89 ret = stmpe_set_bits(stmpe, STMPE_REG_FIFO_STA, in __stmpe_reset_fifo()
94 return stmpe_set_bits(stmpe, STMPE_REG_FIFO_STA, in __stmpe_reset_fifo()
106 int_sta = stmpe_reg_read(ts->stmpe, STMPE_REG_INT_STA); in stmpe_work()
117 int_sta = stmpe_reg_read(ts->stmpe, STMPE_REG_INT_STA); in stmpe_work()
122 __stmpe_reset_fifo(ts->stmpe); in stmpe_work()
147 stmpe_set_bits(ts->stmpe, STMPE_REG_TSC_CTRL, in stmpe_ts_handler()
150 stmpe_block_read(ts->stmpe, STMPE_REG_TSC_DATA_XYZ, 4, data_set); in stmpe_ts_handler()
162 __stmpe_reset_fifo(ts->stmpe); in stmpe_ts_handler()
[all …]
/linux/include/linux/mfd/
H A Dstmpe.h122 struct stmpe { struct
148 extern int stmpe_reg_write(struct stmpe *stmpe, u8 reg, u8 data); argument
149 extern int stmpe_reg_read(struct stmpe *stmpe, u8 reg);
150 extern int stmpe_block_read(struct stmpe *stmpe, u8 reg, u8 length,
152 extern int stmpe_block_write(struct stmpe *stmpe, u8 reg, u8 length,
154 extern int stmpe_set_bits(struct stmpe *stmpe, u8 reg, u8 mask, u8 val);
155 extern int stmpe_set_altfunc(struct stmpe *stmpe, u32 pins,
157 extern int stmpe_enable(struct stmpe *stmpe, unsigned int blocks);
158 extern int stmpe_disable(struct stmpe *stmpe, unsigned int blocks);
159 extern int stmpe811_adc_common_init(struct stmpe *stmpe);
/linux/drivers/input/keyboard/
H A Dstmpe-keypad.c130 struct stmpe *stmpe; member
144 struct stmpe *stmpe = keypad->stmpe; in stmpe_keypad_read_data() local
149 return stmpe_block_read(stmpe, STMPE_KPC_DATA_BYTE0, in stmpe_keypad_read_data()
153 ret = stmpe_reg_read(stmpe, STMPE_KPC_DATA_BYTE0 + i); in stmpe_keypad_read_data()
200 struct stmpe *stmpe = keypad->stmpe; in stmpe_keypad_altfunc_init() local
201 u8 pureg = stmpe->regs[STMPE_IDX_GPPUR_LSB]; in stmpe_keypad_altfunc_init()
238 ret = stmpe_set_altfunc(stmpe, pins, STMPE_BLOCK_KEYPAD); in stmpe_keypad_altfunc_init()
251 ret = stmpe_reg_read(stmpe, pureg); in stmpe_keypad_altfunc_init()
259 ret = stmpe_reg_write(stmpe, pureg, val); in stmpe_keypad_altfunc_init()
268 struct stmpe *stmpe = keypad->stmpe; in stmpe_keypad_chip_init() local
[all …]
/linux/drivers/mfd/
H A Dstmpe.h73 int (*enable)(struct stmpe *stmpe, unsigned int blocks, bool enable);
74 int (*get_altfunc)(struct stmpe *stmpe, enum stmpe_block block);
75 int (*enable_autosleep)(struct stmpe *stmpe, int autosleep_timeout);
92 int (*read_byte)(struct stmpe *stmpe, u8 reg);
93 int (*write_byte)(struct stmpe *stmpe, u8 reg, u8 val);
94 int (*read_block)(struct stmpe *stmpe, u8 reg, u8 len, u8 *values);
95 int (*write_block)(struct stmpe *stmpe, u8 reg, u8 len,
97 void (*init)(struct stmpe *stmpe);
101 void stmpe_remove(struct stmpe *stmpe);
/linux/arch/arm/boot/dts/st/
H A Dste-nomadik-nhk15.dts22 stmpe-i2c0 = &stmpe0;
23 stmpe-i2c1 = &stmpe1;
112 compatible = "st,stmpe-gpio";
121 compatible = "st,stmpe-keypad";
143 compatible = "st,stmpe-pwm";
157 compatible = "st,stmpe-gpio";
H A Dspear320-hmi.dts243 stmpegpio: stmpe-gpio {
244 compatible = "st,stmpe-gpio";
252 compatible = "stmpe,ts";
H A Dste-href-stuib.dtsi47 compatible = "st,stmpe-keypad";
131 stmpe {
H A Dstm32f429-disco.dts132 compatible = "st,stmpe-ts";
149 compatible = "st,stmpe-adc";
H A Dspear1340-evb.dts325 compatible = "st,stmpe-gpio";
476 compatible = "st,stmpe-ts";
H A Dspear1310-evb.dts367 compatible = "st,stmpe-ts";
H A Dstm32429i-eval.dts228 compatible = "st,stmpe-gpio";
H A Dstm32mp157c-phycore-stm32mp15-som.dtsi194 compatible = "st,stmpe-ts";
/linux/Documentation/devicetree/bindings/pwm/
H A Dst,stmpe-pwm.txt9 - "st,stmpe-pwm"
16 compatible = "st,stmpe-pwm";
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6q-dmo-edmqmx6.dts22 stmpe-i2c0 = &stmpe1;
23 stmpe-i2c1 = &stmpe2;
241 compatible = "st,stmpe-gpio";
258 compatible = "st,stmpe-gpio";
H A Dimx6ul-isiot.dtsi134 compatible = "st,stmpe-gpio";
141 stmpe: touchscreen { label
142 compatible = "st,stmpe-ts";
H A Dimx6qdl-phytec-pbab01.dtsi122 stmpe@41 {
H A Dimx6qdl-colibri.dtsi576 compatible = "st,stmpe-ts";
593 compatible = "st,stmpe-adc";
/linux/arch/arm/boot/dts/ti/omap/
H A Dam5729-beagleboneai.dts426 compatible = "st,stmpe-adc";
438 compatible = "st,stmpe-ts";
455 compatible = "st,stmpe-gpio";
459 compatible = "st,stmpe-pwm";
/linux/arch/arm/boot/dts/nxp/ls/
H A Dls1021a-tqmls1021a-mbls1021a.dts301 compatible = "st,stmpe-gpio";
315 compatible = "st,stmpe-ts";
/linux/drivers/iio/adc/
H A DMakefile137 obj-$(CONFIG_STMPE_ADC) += stmpe-adc.o
/linux/arch/arm/boot/dts/nvidia/
H A Dtegra30-colibri.dtsi878 compatible = "st,stmpe-adc";
883 compatible = "st,stmpe-ts";
H A Dtegra30-apalis.dtsi996 compatible = "st,stmpe-adc";
1002 compatible = "st,stmpe-ts";
H A Dtegra30-apalis-v1.1.dtsi1013 compatible = "st,stmpe-adc";
1019 compatible = "st,stmpe-ts";
/linux/arch/arm/boot/dts/samsung/
H A Dexynos4412-p4note.dtsi203 compatible = "st,stmpe-adc";
942 stmpe_adc_irq: stmpe-adc-irq-pins {