| /linux/drivers/usb/typec/tipd/ |
| H A D | core.c | 152 void (*remove)(struct tps6598x *tps); 153 int (*register_port)(struct tps6598x *tps, struct fwnode_handle *node); 154 void (*unregister_port)(struct tps6598x *tps); 158 int (*apply_patch)(struct tps6598x *tps); 159 int (*init)(struct tps6598x *tps); 160 int (*switch_power_state)(struct tps6598x *tps, u8 target_state); 161 bool (*read_data_status)(struct tps6598x *tps); 162 int (*reset)(struct tps6598x *tps); 163 int (*connect)(struct tps6598x *tps, u32 status); 204 struct tps6598x tps; member [all …]
|
| /linux/drivers/regulator/ |
| H A D | tps62360-regulator.c | 81 static bool find_voltage_set_register(struct tps62360_chip *tps, in find_voltage_set_register() argument 86 int new_vset_reg = tps->lru_index[3]; in find_voltage_set_register() 90 if (tps->curr_vset_vsel[tps->lru_index[i]] == req_vsel) { in find_voltage_set_register() 91 new_vset_reg = tps->lru_index[i]; in find_voltage_set_register() 100 tps->lru_index[i] = tps->lru_index[i - 1]; in find_voltage_set_register() 102 tps->lru_index[0] = new_vset_reg; in find_voltage_set_register() 109 struct tps62360_chip *tps = rdev_get_drvdata(dev); in tps62360_dcdc_get_voltage_sel() local 114 ret = regmap_read(tps->regmap, REG_VSET0 + tps->curr_vset_id, &data); in tps62360_dcdc_get_voltage_sel() 116 dev_err(tps->dev, "%s(): register %d read failed with err %d\n", in tps62360_dcdc_get_voltage_sel() 117 __func__, REG_VSET0 + tps->curr_vset_id, ret); in tps62360_dcdc_get_voltage_sel() [all …]
|
| H A D | tps6507x-regulator.c | 113 static inline int tps6507x_pmic_read(struct tps6507x_pmic *tps, u8 reg) in tps6507x_pmic_read() argument 118 err = tps->mfd->read_dev(tps->mfd, reg, 1, &val); in tps6507x_pmic_read() 126 static inline int tps6507x_pmic_write(struct tps6507x_pmic *tps, u8 reg, u8 val) in tps6507x_pmic_write() argument 128 return tps->mfd->write_dev(tps->mfd, reg, 1, &val); in tps6507x_pmic_write() 131 static int tps6507x_pmic_set_bits(struct tps6507x_pmic *tps, u8 reg, u8 mask) in tps6507x_pmic_set_bits() argument 135 mutex_lock(&tps->io_lock); in tps6507x_pmic_set_bits() 137 data = tps6507x_pmic_read(tps, reg); in tps6507x_pmic_set_bits() 139 dev_err(tps->mfd->dev, "Read from reg 0x%x failed\n", reg); in tps6507x_pmic_set_bits() 145 err = tps6507x_pmic_write(tps, reg, data); in tps6507x_pmic_set_bits() 147 dev_err(tps->mfd->dev, "Write for reg 0x%x failed\n", reg); in tps6507x_pmic_set_bits() [all …]
|
| H A D | tps51632-regulator.c | 82 struct tps51632_chip *tps = rdev_get_drvdata(rdev); in tps51632_dcdc_set_ramp_delay() local 91 ret = regmap_write(tps->regmap, TPS51632_SLEW_REGS, BIT(bit)); in tps51632_dcdc_set_ramp_delay() 93 dev_err(tps->dev, "SLEW reg write failed, err %d\n", ret); in tps51632_dcdc_set_ramp_delay() 105 static int tps51632_init_dcdc(struct tps51632_chip *tps, in tps51632_init_dcdc() argument 117 ret = regmap_write(tps->regmap, TPS51632_VOLTAGE_BASE_REG, vsel); in tps51632_init_dcdc() 119 dev_err(tps->dev, "BASE reg write failed, err %d\n", ret); in tps51632_init_dcdc() 134 ret = regmap_read(tps->regmap, TPS51632_VMAX_REG, &vmax); in tps51632_init_dcdc() 136 dev_err(tps->dev, "VMAX read failed, err %d\n", ret); in tps51632_init_dcdc() 141 ret = regmap_write(tps->regmap, TPS51632_VMAX_REG, in tps51632_init_dcdc() 144 dev_err(tps->dev, in tps51632_init_dcdc() [all …]
|
| H A D | tps65217-regulator.c | 66 struct tps65217 *tps = rdev_get_drvdata(dev); in tps65217_pmic_enable() local 73 return tps65217_set_bits(tps, TPS65217_REG_ENABLE, in tps65217_pmic_enable() 80 struct tps65217 *tps = rdev_get_drvdata(dev); in tps65217_pmic_disable() local 87 return tps65217_clear_bits(tps, TPS65217_REG_ENABLE, in tps65217_pmic_disable() 95 struct tps65217 *tps = rdev_get_drvdata(dev); in tps65217_pmic_set_voltage_sel() local 99 ret = tps65217_set_bits(tps, dev->desc->vsel_reg, dev->desc->vsel_mask, in tps65217_pmic_set_voltage_sel() 105 ret = tps65217_set_bits(tps, TPS65217_REG_DEFSLEW, in tps65217_pmic_set_voltage_sel() 116 struct tps65217 *tps = rdev_get_drvdata(dev); in tps65217_pmic_set_suspend_enable() local 122 return tps65217_clear_bits(tps, dev->desc->bypass_reg, in tps65217_pmic_set_suspend_enable() 129 struct tps65217 *tps = rdev_get_drvdata(dev); in tps65217_pmic_set_suspend_disable() local [all …]
|
| H A D | tps65218-regulator.c | 70 struct tps65218 *tps = rdev_get_drvdata(dev); in tps65218_pmic_set_voltage_sel() local 74 ret = tps65218_set_bits(tps, dev->desc->vsel_reg, dev->desc->vsel_mask, in tps65218_pmic_set_voltage_sel() 81 ret = tps65218_set_bits(tps, TPS65218_REG_CONTRL_SLEW_RATE, in tps65218_pmic_set_voltage_sel() 93 struct tps65218 *tps = rdev_get_drvdata(dev); in tps65218_pmic_enable() local 100 return tps65218_set_bits(tps, dev->desc->enable_reg, in tps65218_pmic_enable() 107 struct tps65218 *tps = rdev_get_drvdata(dev); in tps65218_pmic_disable() local 114 return tps65218_clear_bits(tps, dev->desc->enable_reg, in tps65218_pmic_disable() 120 struct tps65218 *tps = rdev_get_drvdata(dev); in tps65218_pmic_set_suspend_enable() local 126 return tps65218_clear_bits(tps, dev->desc->bypass_reg, in tps65218_pmic_set_suspend_enable() 133 struct tps65218 *tps = rdev_get_drvdata(dev); in tps65218_pmic_set_suspend_disable() local [all …]
|
| H A D | tps65132-regulator.c | 63 struct tps65132_regulator *tps = rdev_get_drvdata(rdev); in tps65132_regulator_enable() local 65 struct tps65132_reg_pdata *rpdata = &tps->reg_pdata[id]; in tps65132_regulator_enable() 78 dev_err(tps->dev, "Failed to disable active discharge: %d\n", in tps65132_regulator_enable() 89 struct tps65132_regulator *tps = rdev_get_drvdata(rdev); in tps65132_regulator_disable() local 91 struct tps65132_reg_pdata *rpdata = &tps->reg_pdata[id]; in tps65132_regulator_disable() 110 struct tps65132_regulator *tps = rdev_get_drvdata(rdev); in tps65132_regulator_is_enabled() local 112 struct tps65132_reg_pdata *rpdata = &tps->reg_pdata[id]; in tps65132_regulator_is_enabled() 135 struct tps65132_regulator *tps = config->driver_data; in tps65132_of_parse_cb() local 136 struct tps65132_reg_pdata *rpdata = &tps->reg_pdata[desc->id]; in tps65132_of_parse_cb() 139 rpdata->en_gpiod = devm_fwnode_gpiod_get(tps->dev, of_fwnode_handle(np), in tps65132_of_parse_cb() [all …]
|
| H A D | tps65023-regulator.c | 170 struct tps_pmic *tps = rdev_get_drvdata(dev); in tps65023_dcdc_get_voltage_sel() local 176 if (dcdc != tps->driver_data->core_regulator) in tps65023_dcdc_get_voltage_sel() 185 struct tps_pmic *tps = rdev_get_drvdata(dev); in tps65023_dcdc_set_voltage_sel() local 188 if (dcdc != tps->driver_data->core_regulator) in tps65023_dcdc_set_voltage_sel() 265 struct tps_pmic *tps; in tps_65023_probe() local 269 tps = devm_kzalloc(&client->dev, sizeof(*tps), GFP_KERNEL); in tps_65023_probe() 270 if (!tps) in tps_65023_probe() 273 tps->driver_data = (struct tps_driver_data *)id->driver_data; in tps_65023_probe() 275 tps->regmap = devm_regmap_init_i2c(client, &tps65023_regmap_config); in tps_65023_probe() 276 if (IS_ERR(tps->regmap)) { in tps_65023_probe() [all …]
|
| H A D | tps65219-regulator.c | 165 struct tps65219 *tps = rdev_get_drvdata(dev); in tps65219_set_mode() local 169 return regmap_set_bits(tps->regmap, TPS65219_REG_STBY_1_CONFIG, in tps65219_set_mode() 173 return regmap_clear_bits(tps->regmap, in tps65219_set_mode() 183 struct tps65219 *tps = rdev_get_drvdata(dev); in tps65219_get_mode() local 187 ret = regmap_read(tps->regmap, TPS65219_REG_STBY_1_CONFIG, &value); in tps65219_get_mode() 189 dev_dbg(tps->dev, "%s failed for regulator %s: %d ", in tps65219_get_mode() 411 struct tps65219 *tps = dev_get_drvdata(pdev->dev.parent); in tps65219_regulator_probe() local 417 config.dev = tps->dev; in tps65219_regulator_probe() 418 config.driver_data = tps; in tps65219_regulator_probe() 419 config.regmap = tps->regmap; in tps65219_regulator_probe() [all …]
|
| /linux/drivers/mfd/ |
| H A D | tps65218.c | 47 int tps65218_reg_write(struct tps65218 *tps, unsigned int reg, in tps65218_reg_write() argument 55 return regmap_write(tps->regmap, reg, val); in tps65218_reg_write() 58 ret = regmap_write(tps->regmap, TPS65218_REG_PASSWORD, in tps65218_reg_write() 63 return regmap_write(tps->regmap, reg, val); in tps65218_reg_write() 79 static int tps65218_update_bits(struct tps65218 *tps, unsigned int reg, in tps65218_update_bits() argument 85 ret = regmap_read(tps->regmap, reg, &data); in tps65218_update_bits() 87 dev_err(tps->dev, "Read from reg 0x%x failed\n", reg); in tps65218_update_bits() 94 mutex_lock(&tps->tps_lock); in tps65218_update_bits() 95 ret = tps65218_reg_write(tps, reg, data, level); in tps65218_update_bits() 97 dev_err(tps->dev, "Write for reg 0x%x failed\n", reg); in tps65218_update_bits() [all …]
|
| H A D | tps65010.c | 185 struct tps65010 *tps = s->private; in dbg_show() local 191 switch (tps->model) { in dbg_show() 201 mutex_lock(&tps->lock); in dbg_show() 207 seq_printf(s, "%scharging\n\n", tps->charging ? "" : "(not) "); in dbg_show() 213 value = i2c_smbus_read_byte_data(tps->client, TPS_CHGCONFIG); in dbg_show() 214 dbg_chgconf(tps->por, buf, sizeof buf, value); in dbg_show() 217 value = i2c_smbus_read_byte_data(tps->client, TPS_CHGSTATUS); in dbg_show() 220 value = i2c_smbus_read_byte_data(tps->client, TPS_MASK1); in dbg_show() 225 value = i2c_smbus_read_byte_data(tps->client, TPS_REGSTATUS); in dbg_show() 228 value = i2c_smbus_read_byte_data(tps->client, TPS_MASK2); in dbg_show() [all …]
|
| H A D | tps65086.c | 67 struct tps65086 *tps; in tps65086_probe() local 71 tps = devm_kzalloc(&client->dev, sizeof(*tps), GFP_KERNEL); in tps65086_probe() 72 if (!tps) in tps65086_probe() 75 i2c_set_clientdata(client, tps); in tps65086_probe() 76 tps->dev = &client->dev; in tps65086_probe() 77 tps->irq = client->irq; in tps65086_probe() 79 tps->regmap = devm_regmap_init_i2c(client, &tps65086_regmap_config); in tps65086_probe() 80 if (IS_ERR(tps->regmap)) { in tps65086_probe() 81 dev_err(tps->dev, "Failed to initialize register map\n"); in tps65086_probe() 82 return PTR_ERR(tps->regmap); in tps65086_probe() [all …]
|
| H A D | tps6594-spi.c | 34 struct tps6594 *tps = spi_get_drvdata(spi); in tps6594_spi_reg_read() local 42 if (tps->use_crc) in tps6594_spi_reg_read() 49 if (tps->use_crc && buf[3] != crc8(tps6594_spi_crc_table, buf, 3, CRC8_INIT_VALUE)) in tps6594_spi_reg_read() 60 struct tps6594 *tps = spi_get_drvdata(spi); in tps6594_spi_reg_write() local 68 if (tps->use_crc) in tps6594_spi_reg_write() 98 struct tps6594 *tps; in tps6594_spi_probe() local 101 tps = devm_kzalloc(dev, sizeof(*tps), GFP_KERNEL); in tps6594_spi_probe() 102 if (!tps) in tps6594_spi_probe() 105 spi_set_drvdata(spi, tps); in tps6594_spi_probe() 107 tps->dev = dev; in tps6594_spi_probe() [all …]
|
| H A D | tps65912-i2c.c | 26 struct tps65912 *tps; in tps65912_i2c_probe() local 28 tps = devm_kzalloc(&client->dev, sizeof(*tps), GFP_KERNEL); in tps65912_i2c_probe() 29 if (!tps) in tps65912_i2c_probe() 32 i2c_set_clientdata(client, tps); in tps65912_i2c_probe() 33 tps->dev = &client->dev; in tps65912_i2c_probe() 34 tps->irq = client->irq; in tps65912_i2c_probe() 36 tps->regmap = devm_regmap_init_i2c(client, &tps65912_regmap_config); in tps65912_i2c_probe() 37 if (IS_ERR(tps->regmap)) { in tps65912_i2c_probe() 38 dev_err(tps->dev, "Failed to initialize register map\n"); in tps65912_i2c_probe() 39 return PTR_ERR(tps->regmap); in tps65912_i2c_probe() [all …]
|
| H A D | tps65912-spi.c | 26 struct tps65912 *tps; in tps65912_spi_probe() local 28 tps = devm_kzalloc(&spi->dev, sizeof(*tps), GFP_KERNEL); in tps65912_spi_probe() 29 if (!tps) in tps65912_spi_probe() 32 spi_set_drvdata(spi, tps); in tps65912_spi_probe() 33 tps->dev = &spi->dev; in tps65912_spi_probe() 34 tps->irq = spi->irq; in tps65912_spi_probe() 36 tps->regmap = devm_regmap_init_spi(spi, &tps65912_regmap_config); in tps65912_spi_probe() 37 if (IS_ERR(tps->regmap)) { in tps65912_spi_probe() 38 dev_err(tps->dev, "Failed to initialize register map\n"); in tps65912_spi_probe() 39 return PTR_ERR(tps->regmap); in tps65912_spi_probe() [all …]
|
| H A D | tps6594-i2c.c | 112 struct tps6594 *tps = i2c_get_clientdata(client); in tps6594_i2c_read() local 121 if (tps->use_crc) { in tps6594_i2c_read() 150 struct tps6594 *tps = i2c_get_clientdata(client); in tps6594_i2c_write() local 159 if (tps->use_crc) { in tps6594_i2c_write() 213 struct tps6594 *tps; in tps6594_i2c_probe() local 216 tps = devm_kzalloc(dev, sizeof(*tps), GFP_KERNEL); in tps6594_i2c_probe() 217 if (!tps) in tps6594_i2c_probe() 220 i2c_set_clientdata(client, tps); in tps6594_i2c_probe() 222 tps->dev = dev; in tps6594_i2c_probe() 223 tps->reg = client->addr; in tps6594_i2c_probe() [all …]
|
| /linux/drivers/rtc/ |
| H A D | rtc-tps6594.c | 53 struct tps6594 *tps = dev_get_drvdata(dev->parent); in tps6594_rtc_alarm_irq_enable() local 58 return regmap_update_bits(tps->regmap, TPS6594_REG_RTC_INTERRUPTS, in tps6594_rtc_alarm_irq_enable() 63 static int tps6594_rtc_shadow_timestamp(struct device *dev, struct tps6594 *tps) in tps6594_rtc_shadow_timestamp() argument 71 ret = regmap_clear_bits(tps->regmap, TPS6594_REG_RTC_CTRL_1, in tps6594_rtc_shadow_timestamp() 80 return regmap_set_bits(tps->regmap, TPS6594_REG_RTC_CTRL_1, in tps6594_rtc_shadow_timestamp() 87 struct tps6594 *tps = dev_get_drvdata(dev->parent); in tps6594_rtc_read_time() local 91 ret = regmap_test_bits(tps->regmap, TPS6594_REG_RTC_STATUS, in tps6594_rtc_read_time() 98 ret = tps6594_rtc_shadow_timestamp(dev, tps); in tps6594_rtc_read_time() 103 ret = regmap_bulk_read(tps->regmap, TPS6594_REG_RTC_SECONDS, rtc_data, in tps6594_rtc_read_time() 122 struct tps6594 *tps = dev_get_drvdata(dev->parent); in tps6594_rtc_set_time() local [all …]
|
| H A D | rtc-tps65910.c | 50 struct tps65910 *tps = dev_get_drvdata(dev->parent); in tps65910_rtc_alarm_irq_enable() local 56 return regmap_write(tps->regmap, TPS65910_RTC_INTERRUPTS, val); in tps65910_rtc_alarm_irq_enable() 71 struct tps65910 *tps = dev_get_drvdata(dev->parent); in tps65910_rtc_read_time() local 75 ret = regmap_update_bits(tps->regmap, TPS65910_RTC_CTRL, in tps65910_rtc_read_time() 82 ret = regmap_bulk_read(tps->regmap, TPS65910_SECONDS, rtc_data, in tps65910_rtc_read_time() 102 struct tps65910 *tps = dev_get_drvdata(dev->parent); in tps65910_rtc_set_time() local 113 ret = regmap_update_bits(tps->regmap, TPS65910_RTC_CTRL, in tps65910_rtc_set_time() 121 ret = regmap_bulk_write(tps->regmap, TPS65910_SECONDS, rtc_data, in tps65910_rtc_set_time() 129 ret = regmap_update_bits(tps->regmap, TPS65910_RTC_CTRL, in tps65910_rtc_set_time() 144 struct tps65910 *tps = dev_get_drvdata(dev->parent); in tps65910_rtc_read_alarm() local [all …]
|
| /linux/drivers/media/usb/dvb-usb/ |
| H A D | cinergyT2-fe.c | 31 uint16_t tps = 0; in compute_tps() local 35 tps |= (1 << 7); in compute_tps() 38 tps |= (2 << 7); in compute_tps() 41 tps |= (3 << 7); in compute_tps() 44 tps |= (4 << 7); in compute_tps() 54 tps |= (1 << 4); in compute_tps() 57 tps |= (2 << 4); in compute_tps() 60 tps |= (3 << 4); in compute_tps() 63 tps |= (4 << 4); in compute_tps() 73 tps |= (1 << 13); in compute_tps() [all …]
|
| /linux/tools/perf/util/ |
| H A D | trace-event-info.c | 144 static bool name_in_tp_list(char *sys, struct tracepoint_path *tps) in name_in_tp_list() argument 146 while (tps) { in name_in_tp_list() 147 if (!strcmp(sys, tps->name)) in name_in_tp_list() 149 tps = tps->next; in name_in_tp_list() 155 #define for_each_event_tps(dir, dent, tps) \ argument 161 static int copy_event_system(const char *sys, struct tracepoint_path *tps) in copy_event_system() argument 177 for_each_event_tps(dir, dent, tps) { in copy_event_system() 178 if (!name_in_tp_list(dent->d_name, tps)) in copy_event_system() 199 for_each_event_tps(dir, dent, tps) { in copy_event_system() 200 if (!name_in_tp_list(dent->d_name, tps)) in copy_event_system() [all …]
|
| /linux/drivers/media/dvb-frontends/ |
| H A D | mt352.c | 162 unsigned int tps = 0; in mt352_set_parameters() local 166 tps |= (1 << 7); in mt352_set_parameters() 169 tps |= (2 << 7); in mt352_set_parameters() 172 tps |= (3 << 7); in mt352_set_parameters() 175 tps |= (4 << 7); in mt352_set_parameters() 186 tps |= (1 << 4); in mt352_set_parameters() 189 tps |= (2 << 4); in mt352_set_parameters() 192 tps |= (3 << 4); in mt352_set_parameters() 195 tps |= (4 << 4); in mt352_set_parameters() 214 tps |= (1 << 13); in mt352_set_parameters() [all …]
|
| H A D | zl10353.c | 172 u16 tps = 0; in zl10353_set_parameters() local 223 tps |= (1 << 7); in zl10353_set_parameters() 226 tps |= (2 << 7); in zl10353_set_parameters() 229 tps |= (3 << 7); in zl10353_set_parameters() 232 tps |= (4 << 7); in zl10353_set_parameters() 243 tps |= (1 << 4); in zl10353_set_parameters() 246 tps |= (2 << 4); in zl10353_set_parameters() 249 tps |= (3 << 4); in zl10353_set_parameters() 252 tps |= (4 << 4); in zl10353_set_parameters() 271 tps |= (1 << 13); in zl10353_set_parameters() [all …]
|
| /linux/drivers/gpio/ |
| H A D | gpio-tps65219.c | 34 struct tps65219 *tps; member 45 ret = regmap_read(gpio->tps->regmap, TPS65219_REG_GENERAL_CONFIG, &val); in tps65214_gpio_get_direction() 60 ret = regmap_read(gpio->tps->regmap, TPS65219_REG_MFP_1_CONFIG, &val); in tps65219_gpio_get_direction() 70 struct device *dev = gpio->tps->dev; in tps65219_gpio_get() 78 ret = regmap_read(gpio->tps->regmap, TPS65219_REG_MFP_CTRL, &val); in tps65219_gpio_get() 106 return regmap_update_bits(gpio->tps->regmap, in tps65219_gpio_set() 114 struct device *dev = gpio->tps->dev; in tps65219_gpio_change_direction() 125 int ret = regmap_update_bits(gpio->tps->regmap, TPS65219_REG_MFP_1_CONFIG, in tps65219_gpio_change_direction() 146 struct device *dev = gpio->tps->dev; in tps65214_gpio_change_direction() 153 ret = regmap_read(gpio->tps->regmap, TPS65219_REG_MFP_1_CONFIG, &val); in tps65214_gpio_change_direction() [all …]
|
| H A D | gpio-tps65912.c | 20 struct tps65912 *tps; member 30 ret = regmap_read(gpio->tps->regmap, TPS65912_GPIO1 + offset, &val); in tps65912_gpio_get_direction() 44 return regmap_update_bits(gpio->tps->regmap, TPS65912_GPIO1 + offset, in tps65912_gpio_direction_input() 55 ret = regmap_update_bits(gpio->tps->regmap, TPS65912_GPIO1 + offset, in tps65912_gpio_direction_output() 60 return regmap_update_bits(gpio->tps->regmap, TPS65912_GPIO1 + offset, in tps65912_gpio_direction_output() 69 ret = regmap_read(gpio->tps->regmap, TPS65912_GPIO1 + offset, &val); in tps65912_gpio_get() 84 return regmap_update_bits(gpio->tps->regmap, TPS65912_GPIO1 + offset, in tps65912_gpio_set() 103 struct tps65912 *tps = dev_get_drvdata(pdev->dev.parent); in tps65912_gpio_probe() local 110 gpio->tps = dev_get_drvdata(pdev->dev.parent); in tps65912_gpio_probe() 112 gpio->gpio_chip.parent = tps->dev; in tps65912_gpio_probe()
|
| /linux/drivers/misc/ |
| H A D | tps6594-esm.c | 35 struct tps6594 *tps = dev_get_drvdata(pdev->dev.parent); in tps6594_esm_probe() local 48 ret = regmap_read(tps->regmap, TPS6594_REG_DEV_REV, &rev); in tps6594_esm_probe() 68 ret = regmap_set_bits(tps->regmap, TPS6594_REG_ESM_SOC_MODE_CFG, in tps6594_esm_probe() 73 ret = regmap_set_bits(tps->regmap, TPS6594_REG_ESM_SOC_START_REG, in tps6594_esm_probe() 86 struct tps6594 *tps = dev_get_drvdata(pdev->dev.parent); in tps6594_esm_remove() local 90 ret = regmap_clear_bits(tps->regmap, TPS6594_REG_ESM_SOC_START_REG, in tps6594_esm_remove() 97 ret = regmap_clear_bits(tps->regmap, TPS6594_REG_ESM_SOC_MODE_CFG, in tps6594_esm_remove() 109 struct tps6594 *tps = dev_get_drvdata(dev->parent); in tps6594_esm_suspend() local 112 ret = regmap_clear_bits(tps->regmap, TPS6594_REG_ESM_SOC_START_REG, in tps6594_esm_suspend() 122 struct tps6594 *tps = dev_get_drvdata(dev->parent); in tps6594_esm_resume() local [all …]
|