Searched refs:aat2870 (Results 1 – 3 of 3) sorted by relevance
/linux-4.19.296/drivers/regulator/ |
D | aat2870-regulator.c | 33 struct aat2870_data *aat2870; member 49 struct aat2870_data *aat2870 = ri->aat2870; in aat2870_ldo_set_voltage_sel() local 51 return aat2870->update(aat2870, ri->voltage_addr, ri->voltage_mask, in aat2870_ldo_set_voltage_sel() 58 struct aat2870_data *aat2870 = ri->aat2870; in aat2870_ldo_get_voltage_sel() local 62 ret = aat2870->read(aat2870, ri->voltage_addr, &val); in aat2870_ldo_get_voltage_sel() 72 struct aat2870_data *aat2870 = ri->aat2870; in aat2870_ldo_enable() local 74 return aat2870->update(aat2870, ri->enable_addr, ri->enable_mask, in aat2870_ldo_enable() 81 struct aat2870_data *aat2870 = ri->aat2870; in aat2870_ldo_disable() local 83 return aat2870->update(aat2870, ri->enable_addr, ri->enable_mask, 0); in aat2870_ldo_disable() 89 struct aat2870_data *aat2870 = ri->aat2870; in aat2870_ldo_is_enabled() local [all …]
|
D | Makefile | 17 obj-$(CONFIG_REGULATOR_AAT2870) += aat2870-regulator.o
|
/linux-4.19.296/include/linux/mfd/ |
D | aat2870.h | 142 int (*init)(struct aat2870_data *aat2870); 143 void (*uninit)(struct aat2870_data *aat2870); 146 int (*read)(struct aat2870_data *aat2870, u8 addr, u8 *val); 147 int (*write)(struct aat2870_data *aat2870, u8 addr, u8 val); 148 int (*update)(struct aat2870_data *aat2870, u8 addr, u8 mask, u8 val); 168 int (*init)(struct aat2870_data *aat2870); 169 void (*uninit)(struct aat2870_data *aat2870);
|