Lines Matching refs:desc
136 struct regulator_desc desc[TPS65023_NUM_REGULATOR]; member
241 tps->desc[i].name = info->name; in tps_65023_probe()
242 tps->desc[i].id = i; in tps_65023_probe()
243 tps->desc[i].n_voltages = info->table_len; in tps_65023_probe()
244 tps->desc[i].volt_table = info->table; in tps_65023_probe()
245 tps->desc[i].ops = (i > TPS65023_DCDC_3 ? in tps_65023_probe()
247 tps->desc[i].type = REGULATOR_VOLTAGE; in tps_65023_probe()
248 tps->desc[i].owner = THIS_MODULE; in tps_65023_probe()
250 tps->desc[i].enable_reg = TPS65023_REG_REG_CTRL; in tps_65023_probe()
253 tps->desc[i].vsel_reg = TPS65023_REG_LDO_CTRL; in tps_65023_probe()
254 tps->desc[i].vsel_mask = 0x07; in tps_65023_probe()
255 tps->desc[i].enable_mask = 1 << 1; in tps_65023_probe()
258 tps->desc[i].vsel_reg = TPS65023_REG_LDO_CTRL; in tps_65023_probe()
259 tps->desc[i].vsel_mask = 0x70; in tps_65023_probe()
260 tps->desc[i].enable_mask = 1 << 2; in tps_65023_probe()
263 tps->desc[i].enable_mask = in tps_65023_probe()
265 tps->desc[i].vsel_reg = TPS65023_REG_DEF_CORE; in tps_65023_probe()
266 tps->desc[i].vsel_mask = info->table_len - 1; in tps_65023_probe()
267 tps->desc[i].apply_reg = TPS65023_REG_CON_CTRL2; in tps_65023_probe()
268 tps->desc[i].apply_bit = TPS65023_REG_CTRL2_GO; in tps_65023_probe()
277 rdev = devm_regulator_register(&client->dev, &tps->desc[i], in tps_65023_probe()