Searched defs:stmpe (Results 1 - 6 of 6) sorted by relevance

/drivers/mfd/
H A Dstmpe-i2c.c2 * ST Microelectronics MFD: stmpe's i2c client specific driver
18 #include "stmpe.h"
20 static int i2c_reg_read(struct stmpe *stmpe, u8 reg) argument
22 struct i2c_client *i2c = stmpe->client;
27 static int i2c_reg_write(struct stmpe *stmpe, u8 reg, u8 val) argument
29 struct i2c_client *i2c = stmpe->client;
34 static int i2c_block_read(struct stmpe *stmpe, u argument
41 i2c_block_write(struct stmpe *stmpe, u8 reg, u8 length, const u8 *values) argument
95 struct stmpe *stmpe = dev_get_drvdata(&i2c->dev); local
[all...]
H A Dstmpe-spi.c2 * ST Microelectronics MFD: stmpe's spi client specific driver
15 #include "stmpe.h"
19 static int spi_reg_read(struct stmpe *stmpe, u8 reg) argument
21 struct spi_device *spi = stmpe->client;
27 static int spi_reg_write(struct stmpe *stmpe, u8 reg, u8 val) argument
29 struct spi_device *spi = stmpe->client;
35 static int spi_block_read(struct stmpe *stmpe, u argument
49 spi_block_write(struct stmpe *stmpe, u8 reg, u8 length, const u8 *values) argument
63 spi_init(struct stmpe *stmpe) argument
106 struct stmpe *stmpe = spi_get_drvdata(spi); local
[all...]
H A Dstmpe.c2 * ST Microelectronics MFD: stmpe's driver
24 #include "stmpe.h"
26 static int __stmpe_enable(struct stmpe *stmpe, unsigned int blocks) argument
28 return stmpe->variant->enable(stmpe, blocks, true);
31 static int __stmpe_disable(struct stmpe *stmpe, unsigned int blocks) argument
33 return stmpe->variant->enable(stmpe, block
36 __stmpe_reg_read(struct stmpe *stmpe, u8 reg) argument
49 __stmpe_reg_write(struct stmpe *stmpe, u8 reg, u8 val) argument
62 __stmpe_set_bits(struct stmpe *stmpe, u8 reg, u8 mask, u8 val) argument
76 __stmpe_block_read(struct stmpe *stmpe, u8 reg, u8 length, u8 *values) argument
91 __stmpe_block_write(struct stmpe *stmpe, u8 reg, u8 length, const u8 *values) argument
111 stmpe_enable(struct stmpe *stmpe, unsigned int blocks) argument
128 stmpe_disable(struct stmpe *stmpe, unsigned int blocks) argument
145 stmpe_reg_read(struct stmpe *stmpe, u8 reg) argument
163 stmpe_reg_write(struct stmpe *stmpe, u8 reg, u8 val) argument
182 stmpe_set_bits(struct stmpe *stmpe, u8 reg, u8 mask, u8 val) argument
201 stmpe_block_read(struct stmpe *stmpe, u8 reg, u8 length, u8 *values) argument
220 stmpe_block_write(struct stmpe *stmpe, u8 reg, u8 length, const u8 *values) argument
245 stmpe_set_altfunc(struct stmpe *stmpe, u32 pins, enum stmpe_block block) argument
366 stmpe801_enable(struct stmpe *stmpe, unsigned int blocks, bool enable) argument
454 stmpe811_enable(struct stmpe *stmpe, unsigned int blocks, bool enable) argument
472 stmpe811_get_altfunc(struct stmpe *stmpe, enum stmpe_block block) argument
562 stmpe_autosleep(struct stmpe *stmpe, int autosleep_timeout) argument
579 stmpe1601_autosleep(struct stmpe *stmpe, int autosleep_timeout) argument
602 stmpe1601_enable(struct stmpe *stmpe, unsigned int blocks, bool enable) argument
626 stmpe1601_get_altfunc(struct stmpe *stmpe, enum stmpe_block block) argument
687 stmpe1801_enable(struct stmpe *stmpe, unsigned int blocks, bool enable) argument
701 stmpe1801_reset(struct stmpe *stmpe) argument
772 stmpe24xx_enable(struct stmpe *stmpe, unsigned int blocks, bool enable) argument
787 stmpe24xx_get_altfunc(struct stmpe *stmpe, enum stmpe_block block) argument
853 struct stmpe *stmpe = data; local
904 struct stmpe *stmpe = irq_data_get_irq_chip_data(data); local
911 struct stmpe *stmpe = irq_data_get_irq_chip_data(data); local
932 struct stmpe *stmpe = irq_data_get_irq_chip_data(data); local
942 struct stmpe *stmpe = irq_data_get_irq_chip_data(data); local
961 struct stmpe *stmpe = d->host_data; local
994 stmpe_irq_init(struct stmpe *stmpe, struct device_node *np) argument
1009 stmpe_chip_init(struct stmpe *stmpe) argument
1074 stmpe_add_device(struct stmpe *stmpe, const struct mfd_cell *cell) argument
1080 stmpe_devices_init(struct stmpe *stmpe) argument
1159 struct stmpe *stmpe; local
1267 stmpe_remove(struct stmpe *stmpe) argument
1282 struct stmpe *stmpe = dev_get_drvdata(dev); local
1292 struct stmpe *stmpe = dev_get_drvdata(dev); local
[all...]
/drivers/gpio/
H A Dgpio-stmpe.c15 #include <linux/mfd/stmpe.h>
30 struct stmpe *stmpe; member in struct:stmpe_gpio
47 struct stmpe *stmpe = stmpe_gpio->stmpe; local
48 u8 reg = stmpe->regs[STMPE_IDX_GPMR_LSB] - (offset / 8);
52 ret = stmpe_reg_read(stmpe, reg);
62 struct stmpe *stmpe local
81 struct stmpe *stmpe = stmpe_gpio->stmpe; local
94 struct stmpe *stmpe = stmpe_gpio->stmpe; local
104 struct stmpe *stmpe = stmpe_gpio->stmpe; local
163 struct stmpe *stmpe = stmpe_gpio->stmpe; local
220 struct stmpe *stmpe = stmpe_gpio->stmpe; local
298 struct stmpe *stmpe = stmpe_gpio->stmpe; local
341 struct stmpe *stmpe = dev_get_drvdata(pdev->dev.parent); local
435 struct stmpe *stmpe = stmpe_gpio->stmpe; local
[all...]
/drivers/input/keyboard/
H A Dstmpe-keypad.c14 #include <linux/mfd/stmpe.h>
103 struct stmpe *stmpe; member in struct:stmpe_keypad
117 struct stmpe *stmpe = keypad->stmpe; local
122 return stmpe_block_read(stmpe, STMPE_KPC_DATA_BYTE0,
126 ret = stmpe_reg_read(stmpe, STMPE_KPC_DATA_BYTE0 + i);
173 struct stmpe *stmpe local
213 struct stmpe *stmpe = keypad->stmpe; local
306 struct stmpe *stmpe = dev_get_drvdata(pdev->dev.parent); local
[all...]
/drivers/input/touchscreen/
H A Dstmpe-ts.c27 #include <linux/mfd/stmpe.h>
63 #define STMPE_TS_NAME "stmpe-ts"
67 struct stmpe *stmpe; member in struct:stmpe_touch
82 static int __stmpe_reset_fifo(struct stmpe *stmpe) argument
86 ret = stmpe_set_bits(stmpe, STMPE_REG_FIFO_STA,
91 return stmpe_set_bits(stmpe, STMPE_REG_FIFO_STA,
103 int_sta = stmpe_reg_read(ts->stmpe, STMPE_REG_INT_STA);
114 int_sta = stmpe_reg_read(ts->stmpe, STMPE_REG_INT_ST
176 struct stmpe *stmpe = ts->stmpe; local
270 struct stmpe *stmpe = dev_get_drvdata(pdev->dev.parent); local
[all...]

Completed in 107 milliseconds