Lines Matching refs:rpmh_data
419 const struct rpmh_vreg_init_data *rpmh_data; in rpmh_regulator_init_vreg() local
426 for (rpmh_data = pmic_rpmh_data; rpmh_data->name; rpmh_data++) in rpmh_regulator_init_vreg()
427 if (of_node_name_eq(node, rpmh_data->name)) in rpmh_regulator_init_vreg()
430 if (!rpmh_data->name) { in rpmh_regulator_init_vreg()
436 rpmh_data->resource_name, pmic_id); in rpmh_regulator_init_vreg()
445 vreg->rdesc.name = rpmh_data->name; in rpmh_regulator_init_vreg()
446 vreg->rdesc.supply_name = rpmh_data->supply_name; in rpmh_regulator_init_vreg()
447 vreg->hw_data = rpmh_data->hw_data; in rpmh_regulator_init_vreg()
453 if (rpmh_data->hw_data->n_voltages) { in rpmh_regulator_init_vreg()
454 vreg->rdesc.linear_ranges = &rpmh_data->hw_data->voltage_range; in rpmh_regulator_init_vreg()
456 vreg->rdesc.n_voltages = rpmh_data->hw_data->n_voltages; in rpmh_regulator_init_vreg()
471 if (rpmh_data->hw_data->regulator_type == XOB && in rpmh_regulator_init_vreg()