/linux/drivers/power/sequencing/ |
H A D | pwrseq-qcom-wcn.c | 346 struct device_node *reg_node __free(device_node) = in pwrseq_qcom_wcn_match() 348 if (!reg_node) in pwrseq_qcom_wcn_match() 352 * `reg_node` is the PMU AON regulator, its parent is the `regulators` in pwrseq_qcom_wcn_match() 356 if (!reg_node->parent || !reg_node->parent->parent || in pwrseq_qcom_wcn_match() 357 reg_node->parent->parent != ctx->of_node) in pwrseq_qcom_wcn_match()
|
/linux/drivers/regulator/ |
H A D | rt5120-regulator.c | 293 struct device_node *reg_node; in rt5120_parse_regulator_dt_data() local 302 reg_node = of_get_child_by_name(dev->of_node, "regulators"); in rt5120_parse_regulator_dt_data() 303 if (!reg_node) { in rt5120_parse_regulator_dt_data() 308 ret = of_regulator_match(priv->dev, reg_node, rt5120_regu_match, in rt5120_parse_regulator_dt_data() 311 of_node_put(reg_node); in rt5120_parse_regulator_dt_data()
|
H A D | qcom-labibb-regulator.c | 766 struct device_node *reg_node; in qcom_labibb_regulator_probe() local 813 reg_node = of_get_child_by_name(pdev->dev.of_node, in qcom_labibb_regulator_probe() 815 if (!reg_node) in qcom_labibb_regulator_probe() 819 irq = of_irq_get_byname(reg_node, "sc-err"); in qcom_labibb_regulator_probe() 824 of_node_put(reg_node); in qcom_labibb_regulator_probe() 831 irq = of_irq_get_byname(reg_node, "ocp"); in qcom_labibb_regulator_probe() 834 of_node_put(reg_node); in qcom_labibb_regulator_probe()
|
H A D | as3722-regulator.c | 611 struct device_node *reg_node; in as3722_get_regulator_dt_data() local 615 reg_node = as3722_regulator_matches[id].of_node; in as3722_get_regulator_dt_data() 617 if (!reg_config->reg_init || !reg_node) in as3722_get_regulator_dt_data() 620 ret = of_property_read_u32(reg_node, "ams,ext-control", &prop); in as3722_get_regulator_dt_data() 630 of_property_read_bool(reg_node, "ams,enable-tracking"); in as3722_get_regulator_dt_data()
|
H A D | da9211-regulator.c | 317 pdata->reg_node[n] = da9211_matches[i].of_node; in da9211_parse_regulators_dt() 319 of_fwnode_handle(pdata->reg_node[n]), in da9211_parse_regulators_dt() 409 config.of_node = chip->pdata->reg_node[i]; in da9211_regulator_init()
|
H A D | s5m8767.c | 448 rdata->reg_node, mode); in s5m8767_regulator_config_ext_control() 455 rdata->reg_node); in s5m8767_regulator_config_ext_control() 553 rdata->reg_node = reg_np; in s5m8767_pmic_dt_parse_pdata() 882 config.of_node = pdata->regulators[i].reg_node; in s5m8767_pmic_probe()
|
H A D | qcom_spmi-regulator.c | 2507 struct device_node *syscon, *reg_node; in qcom_spmi_regulator_probe() local 2537 reg_node = of_get_child_by_name(node, reg->name); in qcom_spmi_regulator_probe() 2538 reg_prop = of_find_property(reg_node, "qcom,saw-slave", in qcom_spmi_regulator_probe() 2540 of_node_put(reg_node); in qcom_spmi_regulator_probe() 2574 reg_node = of_get_child_by_name(node, reg->name); in qcom_spmi_regulator_probe() 2575 if (of_property_read_bool(reg_node, "qcom,saw-leader")) { in qcom_spmi_regulator_probe() 2581 of_node_put(reg_node); in qcom_spmi_regulator_probe()
|
H A D | max8998.c | 580 rdata->reg_node = reg_np; in max8998_pmic_dt_parse_pdata() 737 config.of_node = pdata->regulators[i].reg_node; in max8998_pmic_probe()
|
H A D | max8997-regulator.c | 922 rdata->reg_node = reg_np; in max8997_pmic_dt_parse_pdata() 1140 config.of_node = pdata->regulators[i].reg_node; in max8997_pmic_probe()
|
/linux/include/linux/regulator/ |
H A D | da9121.h | 32 struct device_node *reg_node[DA9121_IDX_MAX]; member
|
H A D | da9211.h | 36 struct device_node *reg_node[DA9211_MAX_REGULATORS]; member
|
/linux/include/linux/mfd/ |
H A D | max8998.h | 49 * @reg_node: DT node of regulator (unused on non-DT platforms) 54 struct device_node *reg_node; member
|
H A D | max8997.h | 65 struct device_node *reg_node; member
|
/linux/include/linux/mfd/samsung/ |
H A D | core.h | 113 struct device_node *reg_node; member
|