Home
last modified time | relevance | path

Searched refs:stmfx (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/drivers/mfd/
H A Dstmfx.c116 int stmfx_function_enable(struct stmfx *stmfx, u32 func) in stmfx_function_enable() argument
122 ret = regmap_read(stmfx->map, STMFX_REG_SYS_CTRL, &sys_ctrl); in stmfx_function_enable()
134 dev_err(stmfx->dev, "ALTGPIO function already enabled\n"); in stmfx_function_enable()
141 dev_err(stmfx->dev, "TS in use, aGPIO[3:0] unavailable\n"); in stmfx_function_enable()
148 dev_err(stmfx->dev, "IDD in use, aGPIO[7:4] unavailable\n"); in stmfx_function_enable()
154 return regmap_update_bits(stmfx->map, STMFX_REG_SYS_CTRL, mask, mask); in stmfx_function_enable()
158 int stmfx_function_disable(struct stmfx *stmfx, u32 func) in stmfx_function_disable() argument
162 return regmap_update_bits(stmfx->map, STMFX_REG_SYS_CTRL, mask, 0); in stmfx_function_disable()
168 struct stmfx *stmfx = irq_data_get_irq_chip_data(data); in stmfx_irq_bus_lock() local
170 mutex_lock(&stmfx->lock); in stmfx_irq_bus_lock()
[all …]
H A DMakefile267 obj-$(CONFIG_MFD_STMFX) += stmfx.o
/openbmc/linux/drivers/pinctrl/
H A Dpinctrl-stmfx.c84 struct stmfx *stmfx; member
112 ret = regmap_read(pctl->stmfx->map, reg, &value); in stmfx_gpio_get()
123 regmap_write_bits(pctl->stmfx->map, reg + get_reg(offset), in stmfx_gpio_set()
135 ret = regmap_read(pctl->stmfx->map, reg, &val); in stmfx_gpio_get_direction()
154 return regmap_write_bits(pctl->stmfx->map, reg, mask, 0); in stmfx_gpio_direction_input()
166 return regmap_write_bits(pctl->stmfx->map, reg, mask, mask); in stmfx_gpio_direction_output()
176 ret = regmap_read(pctl->stmfx->map, reg, &pupd); in stmfx_pinconf_get_pupd()
189 return regmap_write_bits(pctl->stmfx->map, reg, mask, pupd ? mask : 0); in stmfx_pinconf_set_pupd()
199 ret = regmap_read(pctl->stmfx->map, reg, &type); in stmfx_pinconf_get_type()
212 return regmap_write_bits(pctl->stmfx->map, reg, mask, type ? mask : 0); in stmfx_pinconf_set_type()
[all …]
H A DMakefile48 obj-$(CONFIG_PINCTRL_STMFX) += pinctrl-stmfx.o
/openbmc/linux/include/linux/mfd/
H A Dstmfx.h108 struct stmfx { struct
120 int stmfx_function_enable(struct stmfx *stmfx, u32 func); argument
121 int stmfx_function_disable(struct stmfx *stmfx, u32 func);
/openbmc/linux/arch/arm/boot/dts/st/
H A Dstm32746g-eval.dts160 stmfx: stmfx@42 { label
161 compatible = "st,stmfx-0300";
167 compatible = "st,stmfx-0300-pinctrl";
H A Dstm32mp157c-ev1.dts201 stmfx: stmfx@42 { label
202 compatible = "st,stmfx-0300";
209 compatible = "st,stmfx-0300-pinctrl";
/openbmc/linux/
H A Dopengrok2.0.log[all...]
H A Dopengrok1.0.log[all...]
H A Dopengrok0.0.log[all...]