Home
last modified time | relevance | path

Searched refs:stw481x (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/mfd/
H A Dstw481x.c44 static int stw481x_get_pctl_reg(struct stw481x *stw481x, u8 reg) in stw481x_get_pctl_reg() argument
71 static int stw481x_startup(struct stw481x *stw481x) in stw481x_startup() argument
178 struct stw481x *stw481x; in stw481x_probe() local
182 stw481x = devm_kzalloc(&client->dev, sizeof(*stw481x), GFP_KERNEL); in stw481x_probe()
183 if (!stw481x) in stw481x_probe()
186 i2c_set_clientdata(client, stw481x); in stw481x_probe()
187 stw481x->client = client; in stw481x_probe()
189 if (IS_ERR(stw481x->map)) { in stw481x_probe()
190 ret = PTR_ERR(stw481x->map); in stw481x_probe()
196 ret = stw481x_startup(stw481x); in stw481x_probe()
[all …]
H A DMakefile235 obj-$(CONFIG_MFD_STW481X) += stw481x.o
/openbmc/linux/drivers/regulator/
H A Dstw481x-vmmc.c57 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()
H A DMakefile163 obj-$(CONFIG_REGULATOR_STW481X_VMMC) += stw481x-vmmc.o
/openbmc/linux/include/linux/mfd/
H A Dstw481x.h46 struct stw481x { struct
/openbmc/linux/arch/arm/boot/dts/st/
H A Dste-nomadik-stn8815.dtsi709 compatible = "st,stw481x-vmmc";