Searched refs:rpdata (Results 1 – 4 of 4) sorted by relevance
68 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 …]
50 struct aw37503_reg_pdata *rpdata = &chip->reg_pdata[id]; in aw37503_regulator_enable() local53 if (!IS_ERR(rpdata->en_gpiod)) { in aw37503_regulator_enable()54 gpiod_set_value_cansleep(rpdata->en_gpiod, 1); in aw37503_regulator_enable()55 rpdata->ena_gpio_state = 1; in aw37503_regulator_enable()78 if (!IS_ERR(rpdata->en_gpiod)) { in aw37503_regulator_disable()79 gpiod_set_value_cansleep(rpdata->en_gpiod, 0); in aw37503_regulator_disable()80 rpdata->ena_gpio_state = 0; in aw37503_regulator_disable()92 if (!IS_ERR(rpdata->en_gpiod)) in aw37503_regulator_is_enabled()93 return rpdata->ena_gpio_state; in aw37503_regulator_is_enabled()121 if (IS_ERR(rpdata->en_gpiod)) { in aw37503_of_parse_cb()[all …]
170 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 …]
351 rpdata = ®_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 11 milliseconds