Lines Matching +full:stmpe +full:- +full:adc
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) ST-Ericsson SA 2010
5 * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson
53 * obtained by indexing stmpe->regs with one of the following.
103 * struct stmpe - STMPE MFD structure
110 * @client: client - i2c or spi
113 * @variant: the detected STMPE model number
116 * @irq: irq number for stmpe
122 struct stmpe { struct
141 /* For devices that use an ADC */
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);