Searched refs:stw481x (Results 1 – 4 of 4) sorted by relevance
/drivers/mfd/ |
D | stw481x.c | 45 static int stw481x_get_pctl_reg(struct stw481x *stw481x, u8 reg) in stw481x_get_pctl_reg() argument 53 ret = regmap_write(stw481x->map, STW_PCTL_REG_HI, msb); in stw481x_get_pctl_reg() 56 ret = regmap_write(stw481x->map, STW_PCTL_REG_LO, lsb); in stw481x_get_pctl_reg() 59 ret = regmap_read(stw481x->map, STW_PCTL_REG_HI, &val); in stw481x_get_pctl_reg() 63 ret = regmap_read(stw481x->map, STW_PCTL_REG_LO, &val); in stw481x_get_pctl_reg() 72 static int stw481x_startup(struct stw481x *stw481x) in stw481x_startup() argument 88 ret = regmap_read(stw481x->map, STW_CONF1, &val); in stw481x_startup() 94 dev_info(&stw481x->client->dev, "voltages %s\n", in stw481x_startup() 96 dev_info(&stw481x->client->dev, "MMC level shifter %s\n", in stw481x_startup() 98 dev_info(&stw481x->client->dev, "VMMC: %s\n", in stw481x_startup() [all …]
|
D | Makefile | 199 obj-$(CONFIG_MFD_STW481X) += stw481x.o
|
/drivers/regulator/ |
D | stw481x-vmmc.c | 58 struct stw481x *stw481x = dev_get_platdata(&pdev->dev); in stw481x_vmmc_regulator_probe() local 64 ret = regmap_update_bits(stw481x->map, STW_CONF2, in stw481x_vmmc_regulator_probe() 73 config.driver_data = stw481x; in stw481x_vmmc_regulator_probe() 74 config.regmap = stw481x->map; in stw481x_vmmc_regulator_probe()
|
D | Makefile | 92 obj-$(CONFIG_REGULATOR_STW481X_VMMC) += stw481x-vmmc.o
|