Searched refs:rpdata (Results 1 – 3 of 3) sorted by relevance
68 struct tps65132_reg_pdata *rpdata = &tps->reg_pdata[id]; in tps65132_regulator_enable() local71 if (!IS_ERR(rpdata->en_gpiod)) { in tps65132_regulator_enable()72 gpiod_set_value_cansleep(rpdata->en_gpiod, 1); in tps65132_regulator_enable()73 rpdata->ena_gpio_state = 1; in tps65132_regulator_enable()94 struct tps65132_reg_pdata *rpdata = &tps->reg_pdata[id]; in tps65132_regulator_disable() local96 if (!IS_ERR(rpdata->en_gpiod)) { in tps65132_regulator_disable()97 gpiod_set_value_cansleep(rpdata->en_gpiod, 0); in tps65132_regulator_disable()98 rpdata->ena_gpio_state = 0; in tps65132_regulator_disable()101 if (!IS_ERR(rpdata->act_dis_gpiod)) { in tps65132_regulator_disable()102 gpiod_set_value_cansleep(rpdata->act_dis_gpiod, 1); in tps65132_regulator_disable()[all …]
169 struct max77620_regulator_pdata *rpdata = &pmic->reg_pdata[id]; in max77620_regulator_set_fps_slots() local173 int pu = rpdata->active_fps_pu_slot; in max77620_regulator_set_fps_slots()174 int pd = rpdata->active_fps_pd_slot; in max77620_regulator_set_fps_slots()181 pu = rpdata->suspend_fps_pu_slot; in max77620_regulator_set_fps_slots()182 pd = rpdata->suspend_fps_pd_slot; in max77620_regulator_set_fps_slots()356 struct max77620_regulator_pdata *rpdata = &pmic->reg_pdata[id]; in max77620_config_power_ok() local364 if (rpdata->power_ok >= 0) { in max77620_config_power_ok()370 val = rpdata->power_ok ? mask : 0; in max77620_config_power_ok()391 struct max77620_regulator_pdata *rpdata = &pmic->reg_pdata[id]; in max77620_init_pmic() local404 if (rpdata->active_fps_src == MAX77620_FPS_SRC_DEF) { in max77620_init_pmic()[all …]
358 struct tps65090_regulator_plat_data *rpdata; in tps65090_parse_dt_reg_data() local360 rpdata = ®_pdata[idx]; in tps65090_parse_dt_reg_data()365 rpdata->reg_init_data = ri_data; in tps65090_parse_dt_reg_data()366 rpdata->enable_ext_control = of_property_read_bool( in tps65090_parse_dt_reg_data()369 if (rpdata->enable_ext_control) { in tps65090_parse_dt_reg_data()378 rpdata->gpiod = devm_gpiod_get_from_of_node(&pdev->dev, in tps65090_parse_dt_reg_data()383 if (IS_ERR(rpdata->gpiod)) in tps65090_parse_dt_reg_data()384 return ERR_CAST(rpdata->gpiod); in tps65090_parse_dt_reg_data()385 if (!rpdata->gpiod) in tps65090_parse_dt_reg_data()392 &rpdata->overcurrent_wait) == 0) in tps65090_parse_dt_reg_data()[all …]