Searched refs:stw481x (Results 1 – 6 of 6) sorted by relevance
44 static int stw481x_get_pctl_reg(struct stw481x *stw481x, u8 reg) in stw481x_get_pctl_reg() argument71 static int stw481x_startup(struct stw481x *stw481x) in stw481x_startup() argument178 struct stw481x *stw481x; in stw481x_probe() local182 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 …]
235 obj-$(CONFIG_MFD_STW481X) += stw481x.o
57 struct stw481x *stw481x = dev_get_platdata(&pdev->dev); in stw481x_vmmc_regulator_probe() local63 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()
163 obj-$(CONFIG_REGULATOR_STW481X_VMMC) += stw481x-vmmc.o
46 struct stw481x { struct
709 compatible = "st,stw481x-vmmc";