Home
last modified time | relevance | path

Searched refs:stw481x (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/mfd/
H A Dstw481x.c15 #include <linux/mfd/stw481x.h>
34 * @stw481x: handle to the stw481x chip
44 static int stw481x_get_pctl_reg(struct stw481x *stw481x, u8 reg) in stw481x_get_pctl_reg() argument
52 ret = regmap_write(stw481x->map, STW_PCTL_REG_HI, msb); in stw481x_get_pctl_reg()
55 ret = regmap_write(stw481x->map, STW_PCTL_REG_LO, lsb); in stw481x_get_pctl_reg()
58 ret = regmap_read(stw481x->map, STW_PCTL_REG_HI, &val); in stw481x_get_pctl_reg()
62 ret = regmap_read(stw481x->map, STW_PCTL_REG_LO, &val); in stw481x_get_pctl_reg()
71 static int stw481x_startup(struct stw481x *stw481 argument
179 struct stw481x *stw481x; stw481x_probe() local
[all...]
H A DMakefile231 obj-$(CONFIG_MFD_STW481X) += stw481x.o
/kernel/linux/linux-6.6/drivers/mfd/
H A Dstw481x.c15 #include <linux/mfd/stw481x.h>
34 * @stw481x: handle to the stw481x chip
44 static int stw481x_get_pctl_reg(struct stw481x *stw481x, u8 reg) in stw481x_get_pctl_reg() argument
52 ret = regmap_write(stw481x->map, STW_PCTL_REG_HI, msb); in stw481x_get_pctl_reg()
55 ret = regmap_write(stw481x->map, STW_PCTL_REG_LO, lsb); in stw481x_get_pctl_reg()
58 ret = regmap_read(stw481x->map, STW_PCTL_REG_HI, &val); in stw481x_get_pctl_reg()
62 ret = regmap_read(stw481x->map, STW_PCTL_REG_LO, &val); in stw481x_get_pctl_reg()
71 static int stw481x_startup(struct stw481x *stw481 argument
178 struct stw481x *stw481x; stw481x_probe() local
[all...]
H A DMakefile235 obj-$(CONFIG_MFD_STW481X) += stw481x.o
/kernel/linux/linux-5.10/drivers/regulator/
H A Dstw481x-vmmc.c13 #include <linux/mfd/stw481x.h>
57 struct stw481x *stw481x = dev_get_platdata(&pdev->dev); in stw481x_vmmc_regulator_probe() local
63 ret = regmap_update_bits(stw481x->map, STW_CONF2, in stw481x_vmmc_regulator_probe()
72 config.driver_data = stw481x; in stw481x_vmmc_regulator_probe()
73 config.regmap = stw481x->map; in stw481x_vmmc_regulator_probe()
91 { .compatible = "st,stw481x-vmmc", },
97 .name = "stw481x-vmmc-regulator",
/kernel/linux/linux-6.6/drivers/regulator/
H A Dstw481x-vmmc.c13 #include <linux/mfd/stw481x.h>
57 struct stw481x *stw481x = dev_get_platdata(&pdev->dev); in stw481x_vmmc_regulator_probe() local
63 ret = regmap_update_bits(stw481x->map, STW_CONF2, in stw481x_vmmc_regulator_probe()
72 config.driver_data = stw481x; in stw481x_vmmc_regulator_probe()
73 config.regmap = stw481x->map; in stw481x_vmmc_regulator_probe()
91 { .compatible = "st,stw481x-vmmc", },
97 .name = "stw481x-vmmc-regulator",
/kernel/linux/linux-5.10/include/linux/mfd/
H A Dstw481x.h42 * struct stw481x - state holder for the Stw481x drivers
46 struct stw481x { struct
/kernel/linux/linux-6.6/include/linux/mfd/
H A Dstw481x.h42 * struct stw481x - state holder for the Stw481x drivers
46 struct stw481x { struct

Completed in 3 milliseconds