Searched refs:stw481x (Results 1 - 5 of 5) sorted by relevance
/linux-master/drivers/mfd/ |
H A D | stw481x.c | 15 #include <linux/mfd/stw481x.h> 34 * @stw481x: handle to the stw481x chip 44 static int stw481x_get_pctl_reg(struct stw481x *stw481x, u8 reg) argument 52 ret = regmap_write(stw481x->map, STW_PCTL_REG_HI, msb); 55 ret = regmap_write(stw481x->map, STW_PCTL_REG_LO, lsb); 58 ret = regmap_read(stw481x->map, STW_PCTL_REG_HI, &val); 62 ret = regmap_read(stw481x->map, STW_PCTL_REG_LO, &val); 71 static int stw481x_startup(struct stw481x *stw481 argument 178 struct stw481x *stw481x; local [all...] |
H A D | Makefile | 235 obj-$(CONFIG_MFD_STW481X) += stw481x.o
|
/linux-master/drivers/regulator/ |
H A D | stw481x-vmmc.c | 13 #include <linux/mfd/stw481x.h> 57 struct stw481x *stw481x = dev_get_platdata(&pdev->dev); local 63 ret = regmap_update_bits(stw481x->map, STW_CONF2, 72 config.driver_data = stw481x; 73 config.regmap = stw481x->map; 91 { .compatible = "st,stw481x-vmmc", }, 97 .name = "stw481x-vmmc-regulator",
|
H A D | Makefile | 165 obj-$(CONFIG_REGULATOR_STW481X_VMMC) += stw481x-vmmc.o
|
/linux-master/include/linux/mfd/ |
H A D | stw481x.h | 42 * struct stw481x - state holder for the Stw481x drivers 46 struct stw481x { struct
|
Completed in 77 milliseconds