Lines Matching refs:reg_data
767 const struct labibb_regulator_data *reg_data; in qcom_labibb_regulator_probe() local
778 reg_data = device_get_match_data(&pdev->dev); in qcom_labibb_regulator_probe()
779 if (!reg_data) in qcom_labibb_regulator_probe()
782 for (; reg_data->name; reg_data++) { in qcom_labibb_regulator_probe()
789 ret = regmap_read(reg_regmap, reg_data->base + REG_PERPH_TYPE, in qcom_labibb_regulator_probe()
799 WARN_ON(type != reg_data->type)) in qcom_labibb_regulator_probe()
809 reg_data->name); in qcom_labibb_regulator_probe()
814 reg_data->name); in qcom_labibb_regulator_probe()
838 vreg->base = reg_data->base; in qcom_labibb_regulator_probe()
839 vreg->type = reg_data->type; in qcom_labibb_regulator_probe()
864 memcpy(&vreg->desc, reg_data->desc, sizeof(vreg->desc)); in qcom_labibb_regulator_probe()
865 vreg->desc.of_match = reg_data->name; in qcom_labibb_regulator_probe()
866 vreg->desc.name = reg_data->name; in qcom_labibb_regulator_probe()
877 reg_data->name, ret); in qcom_labibb_regulator_probe()