Lines Matching refs:rpdata
166 struct max77620_regulator_pdata *rpdata = &pmic->reg_pdata[id]; in max77620_regulator_set_fps_slots() local
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()
353 struct max77620_regulator_pdata *rpdata = &pmic->reg_pdata[id]; in max77620_config_power_ok() local
361 if (rpdata->power_ok >= 0) { in max77620_config_power_ok()
367 val = rpdata->power_ok ? mask : 0; in max77620_config_power_ok()
388 struct max77620_regulator_pdata *rpdata = &pmic->reg_pdata[id]; in max77620_init_pmic() local
401 if (rpdata->active_fps_src == MAX77620_FPS_SRC_DEF) { in max77620_init_pmic()
405 rpdata->active_fps_src = ret; in max77620_init_pmic()
409 if (rpdata->active_fps_src == MAX77620_FPS_SRC_NONE) { in max77620_init_pmic()
424 ret = max77620_regulator_set_fps_src(pmic, rpdata->active_fps_src, id); in max77620_init_pmic()
432 if (rpdata->ramp_rate_setting) { in max77620_init_pmic()
434 rpdata->ramp_rate_setting); in max77620_init_pmic()
491 struct max77620_regulator_pdata *rpdata = &pmic->reg_pdata[id]; in max77620_regulator_set_mode() local
528 rpdata->current_mode = mode; in max77620_regulator_set_mode()
590 struct max77620_regulator_pdata *rpdata = &pmic->reg_pdata[id]; in max77620_regulator_set_ramp_delay() local
596 if (rpdata->ramp_rate_setting) in max77620_regulator_set_ramp_delay()
607 struct max77620_regulator_pdata *rpdata = &pmic->reg_pdata[desc->id]; in max77620_of_parse_cb() local
612 rpdata->active_fps_src = (!ret) ? pval : MAX77620_FPS_SRC_DEF; in max77620_of_parse_cb()
615 rpdata->active_fps_pu_slot = (!ret) ? pval : -1; in max77620_of_parse_cb()
619 rpdata->active_fps_pd_slot = (!ret) ? pval : -1; in max77620_of_parse_cb()
622 rpdata->suspend_fps_src = (!ret) ? pval : -1; in max77620_of_parse_cb()
626 rpdata->suspend_fps_pu_slot = (!ret) ? pval : -1; in max77620_of_parse_cb()
630 rpdata->suspend_fps_pd_slot = (!ret) ? pval : -1; in max77620_of_parse_cb()
634 rpdata->power_ok = pval; in max77620_of_parse_cb()
636 rpdata->power_ok = -1; in max77620_of_parse_cb()
639 rpdata->ramp_rate_setting = (!ret) ? pval : 0; in max77620_of_parse_cb()