Home
last modified time | relevance | path

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

/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 …]
/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);
/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";
/linux/drivers/pinctrl/
H A DMakefile54 obj-$(CONFIG_PINCTRL_STMFX) += pinctrl-stmfx.o