Searched refs:stmfx (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/pinctrl/ |
| H A D | pinctrl-stmfx.c | 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() 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() 180 ret = regmap_read(pctl->stmfx->map, reg, &pupd); in stmfx_pinconf_get_pupd() 193 return regmap_write_bits(pctl->stmfx->map, reg, mask, pupd ? mask : 0); in stmfx_pinconf_set_pupd() 203 ret = regmap_read(pctl->stmfx->map, reg, &type); in stmfx_pinconf_get_type() 216 return regmap_write_bits(pctl->stmfx->map, reg, mask, type ? mask : 0); in stmfx_pinconf_set_type() [all …]
|
| /linux/include/linux/mfd/ |
| H A D | stmfx.h | 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);
|