Searched full:stmfx (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/pinctrl/ |
| H A D | pinctrl-stmfx.c | 3 * Driver for STMicroelectronics Multi-Function eXpander (STMFX) GPIO expander 10 #include <linux/mfd/stmfx.h> 53 * STMFX pinctrl can have up to 24 pins if STMFX other functions are not used. 85 struct stmfx *stmfx; member 113 ret = regmap_read(pctl->stmfx->map, reg, &value); in stmfx_gpio_get() 124 return regmap_write_bits(pctl->stmfx->map, reg + get_reg(offset), in stmfx_gpio_set() 136 ret = regmap_read(pctl->stmfx->map, reg, &val); in stmfx_gpio_get_direction() 138 * On stmfx, gpio pins direction is (0)input, (1)output. in stmfx_gpio_get_direction() 155 return regmap_write_bits(pctl->stmfx->map, reg, mask, 0); in stmfx_gpio_direction_input() 170 return regmap_write_bits(pctl->stmfx->map, reg, mask, mask); in stmfx_gpio_direction_output() [all …]
|
| H A D | Kconfig | 563 tristate "STMicroelectronics STMFX GPIO expander pinctrl driver" 572 Driver for STMicroelectronics Multi-Function eXpander (STMFX)
|
| /linux/include/linux/mfd/ |
| H A D | stmfx.h | 98 * struct stmfx_ddata - STMFX MFD structure 101 * @vdd: STMFX power supply 108 struct stmfx { struct 120 int stmfx_function_enable(struct stmfx *stmfx, u32 func); argument 121 int stmfx_function_disable(struct stmfx *stmfx, u32 func);
|