/kernel/linux/linux-5.10/drivers/mfd/ |
H A D | stmfx.c | 13 #include <linux/mfd/stmfx.h> 78 .of_compatible = "st,stmfx-0300-pinctrl", 79 .name = "stmfx-pinctrl", 84 .of_compatible = "st,stmfx-0300-idd", 85 .name = "stmfx-idd", 90 .of_compatible = "st,stmfx-0300-ts", 91 .name = "stmfx-ts", 116 int stmfx_function_enable(struct stmfx *stmfx, u32 func) in stmfx_function_enable() argument 122 ret = regmap_read(stmfx in stmfx_function_enable() 158 stmfx_function_disable(struct stmfx *stmfx, u32 func) stmfx_function_disable() argument 168 struct stmfx *stmfx = irq_data_get_irq_chip_data(data); stmfx_irq_bus_lock() local 175 struct stmfx *stmfx = irq_data_get_irq_chip_data(data); stmfx_irq_bus_sync_unlock() local 184 struct stmfx *stmfx = irq_data_get_irq_chip_data(data); stmfx_irq_mask() local 191 struct stmfx *stmfx = irq_data_get_irq_chip_data(data); stmfx_irq_unmask() local 206 struct stmfx *stmfx = data; stmfx_irq_handler() local 257 struct stmfx *stmfx = i2c_get_clientdata(client); stmfx_irq_exit() local 268 struct stmfx *stmfx = i2c_get_clientdata(client); stmfx_irq_init() local 309 stmfx_chip_reset(struct stmfx *stmfx) stmfx_chip_reset() argument 325 struct stmfx *stmfx = i2c_get_clientdata(client); stmfx_chip_init() local 396 struct stmfx *stmfx = i2c_get_clientdata(client); stmfx_chip_exit() local 411 struct stmfx *stmfx; stmfx_probe() local 474 struct stmfx *stmfx = dev_get_drvdata(dev); stmfx_suspend() local 498 struct stmfx *stmfx = dev_get_drvdata(dev); stmfx_resume() local [all...] |
H A D | Makefile | 264 obj-$(CONFIG_MFD_STMFX) += stmfx.o
|
/kernel/linux/linux-6.6/drivers/mfd/ |
H A D | stmfx.c | 13 #include <linux/mfd/stmfx.h> 78 .of_compatible = "st,stmfx-0300-pinctrl", 79 .name = "stmfx-pinctrl", 84 .of_compatible = "st,stmfx-0300-idd", 85 .name = "stmfx-idd", 90 .of_compatible = "st,stmfx-0300-ts", 91 .name = "stmfx-ts", 116 int stmfx_function_enable(struct stmfx *stmfx, u32 func) in stmfx_function_enable() argument 122 ret = regmap_read(stmfx in stmfx_function_enable() 158 stmfx_function_disable(struct stmfx *stmfx, u32 func) stmfx_function_disable() argument 168 struct stmfx *stmfx = irq_data_get_irq_chip_data(data); stmfx_irq_bus_lock() local 175 struct stmfx *stmfx = irq_data_get_irq_chip_data(data); stmfx_irq_bus_sync_unlock() local 184 struct stmfx *stmfx = irq_data_get_irq_chip_data(data); stmfx_irq_mask() local 191 struct stmfx *stmfx = irq_data_get_irq_chip_data(data); stmfx_irq_unmask() local 206 struct stmfx *stmfx = data; stmfx_irq_handler() local 257 struct stmfx *stmfx = i2c_get_clientdata(client); stmfx_irq_exit() local 268 struct stmfx *stmfx = i2c_get_clientdata(client); stmfx_irq_init() local 309 stmfx_chip_reset(struct stmfx *stmfx) stmfx_chip_reset() argument 325 struct stmfx *stmfx = i2c_get_clientdata(client); stmfx_chip_init() local 396 struct stmfx *stmfx = i2c_get_clientdata(client); stmfx_chip_exit() local 415 struct stmfx *stmfx; stmfx_probe() local 477 struct stmfx *stmfx = dev_get_drvdata(dev); stmfx_suspend() local 501 struct stmfx *stmfx = dev_get_drvdata(dev); stmfx_resume() local [all...] |
H A D | Makefile | 267 obj-$(CONFIG_MFD_STMFX) += stmfx.o
|
/kernel/linux/linux-5.10/drivers/pinctrl/ |
H A D | pinctrl-stmfx.c | 10 #include <linux/mfd/stmfx.h> 82 struct stmfx *stmfx; member 111 ret = regmap_read(pctl->stmfx->map, reg, &value); in stmfx_gpio_get() 122 regmap_write_bits(pctl->stmfx->map, reg + get_reg(offset), in stmfx_gpio_set() 134 ret = regmap_read(pctl->stmfx->map, reg, &val); in stmfx_gpio_get_direction() 136 * On stmfx, gpio pins direction is (0)input, (1)output. in stmfx_gpio_get_direction() 153 return regmap_write_bits(pctl->stmfx->map, reg, mask, 0); in stmfx_gpio_direction_input() 165 return regmap_write_bits(pctl->stmfx->map, reg, mask, mask); in stmfx_gpio_direction_output() 175 ret = regmap_read(pctl->stmfx in stmfx_pinconf_get_pupd() 618 struct stmfx *stmfx = dev_get_drvdata(pdev->dev.parent); stmfx_pinctrl_probe() local 726 struct stmfx *stmfx = dev_get_drvdata(pdev->dev.parent); stmfx_pinctrl_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/pinctrl/ |
H A D | pinctrl-stmfx.c | 10 #include <linux/mfd/stmfx.h> 84 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() 137 * On stmfx, gpio pins direction is (0)input, (1)output. 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 in stmfx_pinconf_get_pupd() 641 struct stmfx *stmfx = dev_get_drvdata(pdev->dev.parent); stmfx_pinctrl_probe() local 739 struct stmfx *stmfx = dev_get_drvdata(pdev->dev.parent); stmfx_pinctrl_remove() local [all...] |
/kernel/linux/linux-5.10/include/linux/mfd/ |
H A D | stmfx.h | 108 struct stmfx { struct 122 int stmfx_function_enable(struct stmfx *stmfx, u32 func); 123 int stmfx_function_disable(struct stmfx *stmfx, u32 func);
|
/kernel/linux/linux-6.6/include/linux/mfd/ |
H A D | stmfx.h | 108 struct stmfx { struct 120 int stmfx_function_enable(struct stmfx *stmfx, u32 func); 121 int stmfx_function_disable(struct stmfx *stmfx, u32 func);
|