Home
last modified time | relevance | path

Searched refs:stmpe_reg_write (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/drivers/iio/adc/
Dstmpe-adc.c77 stmpe_reg_write(info->stmpe, STMPE_REG_ADC_CAPT, in stmpe_read_voltage()
83 stmpe_reg_write(info->stmpe, STMPE_REG_ADC_INT_STA, in stmpe_read_voltage()
112 stmpe_reg_write(info->stmpe, STMPE_REG_TEMP_CTRL, in stmpe_read_temp()
193 stmpe_reg_write(info->stmpe, STMPE_REG_ADC_INT_STA, int_sta); in stmpe_adc_isr()
247 stmpe_reg_write(stmpe, STMPE_REG_TEMP_TH, 0); in stmpe_adc_init_hw()
248 stmpe_reg_write(stmpe, STMPE_REG_TEMP_TH + 1, 0); in stmpe_adc_init_hw()
327 stmpe_reg_write(info->stmpe, STMPE_REG_ADC_INT_EN, in stmpe_adc_probe()
330 stmpe_reg_write(info->stmpe, STMPE_REG_ADC_INT_STA, in stmpe_adc_probe()
/Linux-v5.4/drivers/pwm/
Dpwm-stmpe.c54 ret = stmpe_reg_write(stmpe_pwm->stmpe, STMPE24XX_PWMCS, value); in stmpe_24xx_pwm_enable()
80 ret = stmpe_reg_write(stmpe_pwm->stmpe, STMPE24XX_PWMCS, value); in stmpe_24xx_pwm_disable()
233 ret = stmpe_reg_write(stmpe_pwm->stmpe, offset, value); in stmpe_24xx_pwm_config()
242 ret = stmpe_reg_write(stmpe_pwm->stmpe, offset, value); in stmpe_24xx_pwm_config()
/Linux-v5.4/drivers/input/keyboard/
Dstmpe-keypad.c258 ret = stmpe_reg_write(stmpe, pureg, val); in stmpe_keypad_altfunc_init()
284 ret = stmpe_reg_write(stmpe, STMPE_KPC_COL, keypad->cols); in stmpe_keypad_chip_init()
288 ret = stmpe_reg_write(stmpe, STMPE_KPC_ROW_LSB, keypad->rows); in stmpe_keypad_chip_init()
/Linux-v5.4/drivers/gpio/
Dgpio-stmpe.c71 stmpe_reg_write(stmpe, reg, mask); in stmpe_gpio_set()
218 stmpe_reg_write(stmpe, stmpe->regs[regmap[i][j]], new); in stmpe_gpio_irq_sync_unlock()
422 stmpe_reg_write(stmpe, statmsbreg + i, status[i]); in stmpe_gpio_irq()
423 stmpe_reg_write(stmpe, in stmpe_gpio_irq()
/Linux-v5.4/include/linux/mfd/
Dstmpe.h148 extern int stmpe_reg_write(struct stmpe *stmpe, u8 reg, u8 data);
/Linux-v5.4/drivers/mfd/
Dstmpe.c184 int stmpe_reg_write(struct stmpe *stmpe, u8 reg, u8 val) in stmpe_reg_write() function
194 EXPORT_SYMBOL_GPL(stmpe_reg_write);
1128 stmpe_reg_write(stmpe, israddr + i, clear); in stmpe_irq()
1156 stmpe_reg_write(stmpe, stmpe->regs[STMPE_IDX_IER_LSB + i], new); in stmpe_irq_sync_unlock()
1294 return stmpe_reg_write(stmpe, stmpe->regs[STMPE_IDX_ICR_LSB], icr); in stmpe_chip_init()
/Linux-v5.4/drivers/input/touchscreen/
Dstmpe-ts.c218 ret = stmpe_reg_write(stmpe, STMPE_REG_FIFO_TH, 1); in stmpe_init_hw()