Home
last modified time | relevance | path

Searched refs:rpdata (Results 1 – 3 of 3) sorted by relevance

/linux-6.3-rc2/drivers/regulator/
A Dtps65132-regulator.c68 if (!IS_ERR(rpdata->en_gpiod)) { in tps65132_regulator_enable()
70 rpdata->ena_gpio_state = 1; in tps65132_regulator_enable()
93 if (!IS_ERR(rpdata->en_gpiod)) { in tps65132_regulator_disable()
95 rpdata->ena_gpio_state = 0; in tps65132_regulator_disable()
98 if (!IS_ERR(rpdata->act_dis_gpiod)) { in tps65132_regulator_disable()
100 usleep_range(rpdata->act_dis_time_us, rpdata->act_dis_time_us + in tps65132_regulator_disable()
114 if (!IS_ERR(rpdata->en_gpiod)) in tps65132_regulator_is_enabled()
115 return rpdata->ena_gpio_state; in tps65132_regulator_is_enabled()
142 if (IS_ERR(rpdata->en_gpiod)) { in tps65132_of_parse_cb()
143 ret = PTR_ERR(rpdata->en_gpiod); in tps65132_of_parse_cb()
[all …]
A Dmax77620-regulator.c170 int pu = rpdata->active_fps_pu_slot; in max77620_regulator_set_fps_slots()
171 int pd = rpdata->active_fps_pd_slot; in max77620_regulator_set_fps_slots()
178 pu = rpdata->suspend_fps_pu_slot; in max77620_regulator_set_fps_slots()
179 pd = rpdata->suspend_fps_pd_slot; in max77620_regulator_set_fps_slots()
361 if (rpdata->power_ok >= 0) { in max77620_config_power_ok()
405 rpdata->active_fps_src = ret; in max77620_init_pmic()
432 if (rpdata->ramp_rate_setting) { in max77620_init_pmic()
528 rpdata->current_mode = mode; in max77620_regulator_set_mode()
596 if (rpdata->ramp_rate_setting) in max77620_regulator_set_ramp_delay()
634 rpdata->power_ok = pval; in max77620_of_parse_cb()
[all …]
A Dtps65090-regulator.c351 rpdata = &reg_pdata[idx]; in tps65090_parse_dt_reg_data()
360 rpdata->reg_init_data = ri_data; in tps65090_parse_dt_reg_data()
363 if (rpdata->enable_ext_control) { in tps65090_parse_dt_reg_data()
373 rpdata->gpiod = devm_fwnode_gpiod_get( in tps65090_parse_dt_reg_data()
379 if (PTR_ERR(rpdata->gpiod) == -ENOENT) { in tps65090_parse_dt_reg_data()
382 rpdata->gpiod = NULL; in tps65090_parse_dt_reg_data()
383 } else if (IS_ERR(rpdata->gpiod)) in tps65090_parse_dt_reg_data()
384 return ERR_CAST(rpdata->gpiod); in tps65090_parse_dt_reg_data()
388 &rpdata->overcurrent_wait) == 0) in tps65090_parse_dt_reg_data()
389 rpdata->overcurrent_wait_valid = true; in tps65090_parse_dt_reg_data()
[all …]

Completed in 10 milliseconds