rpdata 166 drivers/regulator/max77620-regulator.c struct max77620_regulator_pdata *rpdata = &pmic->reg_pdata[id]; rpdata 170 drivers/regulator/max77620-regulator.c int pu = rpdata->active_fps_pu_slot; rpdata 171 drivers/regulator/max77620-regulator.c int pd = rpdata->active_fps_pd_slot; rpdata 178 drivers/regulator/max77620-regulator.c pu = rpdata->suspend_fps_pu_slot; rpdata 179 drivers/regulator/max77620-regulator.c pd = rpdata->suspend_fps_pd_slot; rpdata 353 drivers/regulator/max77620-regulator.c struct max77620_regulator_pdata *rpdata = &pmic->reg_pdata[id]; rpdata 361 drivers/regulator/max77620-regulator.c if (rpdata->power_ok >= 0) { rpdata 367 drivers/regulator/max77620-regulator.c val = rpdata->power_ok ? mask : 0; rpdata 388 drivers/regulator/max77620-regulator.c struct max77620_regulator_pdata *rpdata = &pmic->reg_pdata[id]; rpdata 401 drivers/regulator/max77620-regulator.c if (rpdata->active_fps_src == MAX77620_FPS_SRC_DEF) { rpdata 405 drivers/regulator/max77620-regulator.c rpdata->active_fps_src = ret; rpdata 409 drivers/regulator/max77620-regulator.c if (rpdata->active_fps_src == MAX77620_FPS_SRC_NONE) { rpdata 424 drivers/regulator/max77620-regulator.c ret = max77620_regulator_set_fps_src(pmic, rpdata->active_fps_src, id); rpdata 432 drivers/regulator/max77620-regulator.c if (rpdata->ramp_rate_setting) { rpdata 434 drivers/regulator/max77620-regulator.c rpdata->ramp_rate_setting); rpdata 491 drivers/regulator/max77620-regulator.c struct max77620_regulator_pdata *rpdata = &pmic->reg_pdata[id]; rpdata 528 drivers/regulator/max77620-regulator.c rpdata->current_mode = mode; rpdata 590 drivers/regulator/max77620-regulator.c struct max77620_regulator_pdata *rpdata = &pmic->reg_pdata[id]; rpdata 596 drivers/regulator/max77620-regulator.c if (rpdata->ramp_rate_setting) rpdata 607 drivers/regulator/max77620-regulator.c struct max77620_regulator_pdata *rpdata = &pmic->reg_pdata[desc->id]; rpdata 612 drivers/regulator/max77620-regulator.c rpdata->active_fps_src = (!ret) ? pval : MAX77620_FPS_SRC_DEF; rpdata 615 drivers/regulator/max77620-regulator.c rpdata->active_fps_pu_slot = (!ret) ? pval : -1; rpdata 619 drivers/regulator/max77620-regulator.c rpdata->active_fps_pd_slot = (!ret) ? pval : -1; rpdata 622 drivers/regulator/max77620-regulator.c rpdata->suspend_fps_src = (!ret) ? pval : -1; rpdata 626 drivers/regulator/max77620-regulator.c rpdata->suspend_fps_pu_slot = (!ret) ? pval : -1; rpdata 630 drivers/regulator/max77620-regulator.c rpdata->suspend_fps_pd_slot = (!ret) ? pval : -1; rpdata 634 drivers/regulator/max77620-regulator.c rpdata->power_ok = pval; rpdata 636 drivers/regulator/max77620-regulator.c rpdata->power_ok = -1; rpdata 639 drivers/regulator/max77620-regulator.c rpdata->ramp_rate_setting = (!ret) ? pval : 0; rpdata 348 drivers/regulator/tps65090-regulator.c struct tps65090_regulator_plat_data *rpdata; rpdata 350 drivers/regulator/tps65090-regulator.c rpdata = ®_pdata[idx]; rpdata 355 drivers/regulator/tps65090-regulator.c rpdata->reg_init_data = ri_data; rpdata 356 drivers/regulator/tps65090-regulator.c rpdata->enable_ext_control = of_property_read_bool( rpdata 359 drivers/regulator/tps65090-regulator.c if (rpdata->enable_ext_control) { rpdata 369 drivers/regulator/tps65090-regulator.c rpdata->gpiod = devm_gpiod_get_from_of_node(&pdev->dev, rpdata 374 drivers/regulator/tps65090-regulator.c if (PTR_ERR(rpdata->gpiod) == -ENOENT) { rpdata 377 drivers/regulator/tps65090-regulator.c rpdata->gpiod = NULL; rpdata 378 drivers/regulator/tps65090-regulator.c } else if (IS_ERR(rpdata->gpiod)) rpdata 379 drivers/regulator/tps65090-regulator.c return ERR_CAST(rpdata->gpiod); rpdata 384 drivers/regulator/tps65090-regulator.c &rpdata->overcurrent_wait) == 0) rpdata 385 drivers/regulator/tps65090-regulator.c rpdata->overcurrent_wait_valid = true; rpdata 387 drivers/regulator/tps65090-regulator.c tps65090_pdata->reg_pdata[idx] = rpdata; rpdata 65 drivers/regulator/tps65132-regulator.c struct tps65132_reg_pdata *rpdata = &tps->reg_pdata[id]; rpdata 68 drivers/regulator/tps65132-regulator.c if (!IS_ERR(rpdata->en_gpiod)) { rpdata 69 drivers/regulator/tps65132-regulator.c gpiod_set_value_cansleep(rpdata->en_gpiod, 1); rpdata 70 drivers/regulator/tps65132-regulator.c rpdata->ena_gpio_state = 1; rpdata 91 drivers/regulator/tps65132-regulator.c struct tps65132_reg_pdata *rpdata = &tps->reg_pdata[id]; rpdata 93 drivers/regulator/tps65132-regulator.c if (!IS_ERR(rpdata->en_gpiod)) { rpdata 94 drivers/regulator/tps65132-regulator.c gpiod_set_value_cansleep(rpdata->en_gpiod, 0); rpdata 95 drivers/regulator/tps65132-regulator.c rpdata->ena_gpio_state = 0; rpdata 98 drivers/regulator/tps65132-regulator.c if (!IS_ERR(rpdata->act_dis_gpiod)) { rpdata 99 drivers/regulator/tps65132-regulator.c gpiod_set_value_cansleep(rpdata->act_dis_gpiod, 1); rpdata 100 drivers/regulator/tps65132-regulator.c usleep_range(rpdata->act_dis_time_us, rpdata->act_dis_time_us + rpdata 102 drivers/regulator/tps65132-regulator.c gpiod_set_value_cansleep(rpdata->act_dis_gpiod, 0); rpdata 112 drivers/regulator/tps65132-regulator.c struct tps65132_reg_pdata *rpdata = &tps->reg_pdata[id]; rpdata 114 drivers/regulator/tps65132-regulator.c if (!IS_ERR(rpdata->en_gpiod)) rpdata 115 drivers/regulator/tps65132-regulator.c return rpdata->ena_gpio_state; rpdata 136 drivers/regulator/tps65132-regulator.c struct tps65132_reg_pdata *rpdata = &tps->reg_pdata[desc->id]; rpdata 139 drivers/regulator/tps65132-regulator.c rpdata->en_gpiod = devm_fwnode_get_index_gpiod_from_child(tps->dev, rpdata 141 drivers/regulator/tps65132-regulator.c if (IS_ERR_OR_NULL(rpdata->en_gpiod)) { rpdata 142 drivers/regulator/tps65132-regulator.c ret = PTR_ERR(rpdata->en_gpiod); rpdata 150 drivers/regulator/tps65132-regulator.c rpdata->act_dis_gpiod = devm_fwnode_get_index_gpiod_from_child( rpdata 153 drivers/regulator/tps65132-regulator.c if (IS_ERR_OR_NULL(rpdata->act_dis_gpiod)) { rpdata 154 drivers/regulator/tps65132-regulator.c ret = PTR_ERR(rpdata->act_dis_gpiod); rpdata 164 drivers/regulator/tps65132-regulator.c &rpdata->act_dis_time_us);