Lines Matching refs:tps
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()
151 rpdata->act_dis_gpiod = devm_fwnode_gpiod_get(tps->dev, in tps65132_of_parse_cb()
169 dev_err(tps->dev, "Failed to read active discharge time:%d\n", in tps65132_of_parse_cb()
226 struct tps65132_regulator *tps; in tps65132_probe() local
233 tps = devm_kzalloc(dev, sizeof(*tps), GFP_KERNEL); in tps65132_probe()
234 if (!tps) in tps65132_probe()
244 i2c_set_clientdata(client, tps); in tps65132_probe()
245 tps->dev = dev; in tps65132_probe()
250 config.driver_data = tps; in tps65132_probe()