/linux-6.6.21/drivers/clk/at91/ |
D | dt-compat.c | 36 struct device_node *parent_np; in of_sama5d2_clk_audio_pll_frac_setup() local 38 parent_np = of_get_parent(np); in of_sama5d2_clk_audio_pll_frac_setup() 39 regmap = syscon_node_to_regmap(parent_np); in of_sama5d2_clk_audio_pll_frac_setup() 40 of_node_put(parent_np); in of_sama5d2_clk_audio_pll_frac_setup() 62 struct device_node *parent_np; in of_sama5d2_clk_audio_pll_pad_setup() local 64 parent_np = of_get_parent(np); in of_sama5d2_clk_audio_pll_pad_setup() 65 regmap = syscon_node_to_regmap(parent_np); in of_sama5d2_clk_audio_pll_pad_setup() 66 of_node_put(parent_np); in of_sama5d2_clk_audio_pll_pad_setup() 88 struct device_node *parent_np; in of_sama5d2_clk_audio_pll_pmc_setup() local 90 parent_np = of_get_parent(np); in of_sama5d2_clk_audio_pll_pmc_setup() [all …]
|
/linux-6.6.21/arch/powerpc/platforms/cell/ |
D | cbe_regs.c | 202 struct device_node *be, *np, *parent_np; in cbe_fill_regs_map() local 207 parent_np = of_get_parent(np); in cbe_fill_regs_map() 208 if (parent_np == be) in cbe_fill_regs_map() 210 of_node_put(parent_np); in cbe_fill_regs_map() 214 parent_np = of_get_parent(np); in cbe_fill_regs_map() 215 if (parent_np == be) in cbe_fill_regs_map() 217 of_node_put(parent_np); in cbe_fill_regs_map() 221 parent_np = of_get_parent(np); in cbe_fill_regs_map() 222 if (parent_np == be) in cbe_fill_regs_map() 224 of_node_put(parent_np); in cbe_fill_regs_map()
|
/linux-6.6.21/drivers/i2c/muxes/ |
D | i2c-mux-gpmux.c | 47 struct device_node *parent_np; in mux_parent_adapter() local 50 parent_np = of_parse_phandle(np, "i2c-parent", 0); in mux_parent_adapter() 51 if (!parent_np) { in mux_parent_adapter() 55 parent = of_get_i2c_adapter_by_node(parent_np); in mux_parent_adapter() 56 of_node_put(parent_np); in mux_parent_adapter()
|
D | i2c-arb-gpio-challenge.c | 100 struct device_node *parent_np; in i2c_arbitrator_probe() local 157 parent_np = of_parse_phandle(np, "i2c-parent", 0); in i2c_arbitrator_probe() 158 if (!parent_np) { in i2c_arbitrator_probe() 162 muxc->parent = of_get_i2c_adapter_by_node(parent_np); in i2c_arbitrator_probe() 163 of_node_put(parent_np); in i2c_arbitrator_probe()
|
D | i2c-mux-pinctrl.c | 57 struct device_node *parent_np; in i2c_mux_pinctrl_parent_adapter() local 60 parent_np = of_parse_phandle(np, "i2c-parent", 0); in i2c_mux_pinctrl_parent_adapter() 61 if (!parent_np) { in i2c_mux_pinctrl_parent_adapter() 65 parent = of_get_i2c_adapter_by_node(parent_np); in i2c_mux_pinctrl_parent_adapter() 66 of_node_put(parent_np); in i2c_mux_pinctrl_parent_adapter()
|
D | i2c-demux-pinctrl.c | 23 struct device_node *parent_np; member 64 adap = of_get_i2c_adapter_by_node(priv->chan[new_chan].parent_np); in i2c_demux_activate_master() 171 i, priv->chan[i].parent_np, in available_masters_show() 242 priv->chan[i].parent_np = adap_np; in i2c_demux_pinctrl_probe() 282 of_node_put(priv->chan[j].parent_np); in i2c_demux_pinctrl_probe() 300 of_node_put(priv->chan[i].parent_np); in i2c_demux_pinctrl_remove()
|
/linux-6.6.21/drivers/clk/st/ |
D | clkgen-mux.c | 59 struct device_node *parent_np; in st_of_clkgen_mux_setup() local 67 parent_np = of_get_parent(np); in st_of_clkgen_mux_setup() 68 reg = of_iomap(parent_np, 0); in st_of_clkgen_mux_setup() 69 of_node_put(parent_np); in st_of_clkgen_mux_setup()
|
D | clkgen-fsyn.c | 990 struct device_node *parent_np; in st_of_quadfs_setup() local 998 parent_np = of_get_parent(np); in st_of_quadfs_setup() 999 reg = of_iomap(parent_np, 0); in st_of_quadfs_setup() 1000 of_node_put(parent_np); in st_of_quadfs_setup()
|
/linux-6.6.21/drivers/irqchip/ |
D | irq-uniphier-aidet.c | 165 struct device_node *parent_np; in uniphier_aidet_probe() local 169 parent_np = of_irq_find_parent(dev->of_node); in uniphier_aidet_probe() 170 if (!parent_np) in uniphier_aidet_probe() 173 parent_domain = irq_find_host(parent_np); in uniphier_aidet_probe() 174 of_node_put(parent_np); in uniphier_aidet_probe()
|
/linux-6.6.21/drivers/phy/amlogic/ |
D | phy-meson-g12a-mipi-dphy-analog.c | 125 struct device_node *np = dev->of_node, *parent_np; in phy_g12a_mipi_dphy_analog_probe() local 133 parent_np = of_get_parent(np); in phy_g12a_mipi_dphy_analog_probe() 134 map = syscon_node_to_regmap(parent_np); in phy_g12a_mipi_dphy_analog_probe() 135 of_node_put(parent_np); in phy_g12a_mipi_dphy_analog_probe()
|
D | phy-meson-axg-mipi-pcie-analog.c | 201 struct device_node *np = dev->of_node, *parent_np; in phy_axg_mipi_pcie_analog_probe() local 210 parent_np = of_get_parent(dev->of_node); in phy_axg_mipi_pcie_analog_probe() 211 map = syscon_node_to_regmap(parent_np); in phy_axg_mipi_pcie_analog_probe() 212 of_node_put(parent_np); in phy_axg_mipi_pcie_analog_probe()
|
/linux-6.6.21/drivers/reset/ |
D | reset-berlin.c | 71 struct device_node *parent_np = of_get_parent(pdev->dev.of_node); in berlin2_reset_probe() local 78 priv->regmap = syscon_node_to_regmap(parent_np); in berlin2_reset_probe() 79 of_node_put(parent_np); in berlin2_reset_probe()
|
D | reset-k210.c | 93 struct device_node *parent_np = of_get_parent(dev->of_node); in k210_rst_probe() local 102 ksr->map = syscon_node_to_regmap(parent_np); in k210_rst_probe() 103 of_node_put(parent_np); in k210_rst_probe()
|
/linux-6.6.21/drivers/clk/berlin/ |
D | bg2q.c | 282 struct device_node *parent_np = of_get_parent(np); in berlin2q_clock_setup() local 290 of_node_put(parent_np); in berlin2q_clock_setup() 296 gbase = of_iomap(parent_np, 0); in berlin2q_clock_setup() 298 of_node_put(parent_np); in berlin2q_clock_setup() 304 cpupll_base = of_iomap(parent_np, 1); in berlin2q_clock_setup() 305 of_node_put(parent_np); in berlin2q_clock_setup()
|
D | bg2.c | 494 struct device_node *parent_np = of_get_parent(np); in berlin2_clock_setup() local 504 of_node_put(parent_np); in berlin2_clock_setup() 510 gbase = of_iomap(parent_np, 0); in berlin2_clock_setup() 511 of_node_put(parent_np); in berlin2_clock_setup()
|
/linux-6.6.21/drivers/iio/adc/ |
D | berlin2-adc.c | 296 struct device_node *parent_np = of_get_parent(pdev->dev.of_node); in berlin2_adc_probe() local 302 of_node_put(parent_np); in berlin2_adc_probe() 308 priv->regmap = syscon_node_to_regmap(parent_np); in berlin2_adc_probe() 309 of_node_put(parent_np); in berlin2_adc_probe()
|
/linux-6.6.21/drivers/pmdomain/amlogic/ |
D | meson-gx-pwrc-vpu.c | 275 struct device_node *parent_np; in meson_gx_pwrc_vpu_probe() local 294 parent_np = of_get_parent(pdev->dev.of_node); in meson_gx_pwrc_vpu_probe() 295 regmap_ao = syscon_node_to_regmap(parent_np); in meson_gx_pwrc_vpu_probe() 296 of_node_put(parent_np); in meson_gx_pwrc_vpu_probe()
|
D | meson-ee-pwrc.c | 488 struct device_node *parent_np; in meson_ee_pwrc_probe() local 515 parent_np = of_get_parent(pdev->dev.of_node); in meson_ee_pwrc_probe() 516 regmap_hhi = syscon_node_to_regmap(parent_np); in meson_ee_pwrc_probe() 517 of_node_put(parent_np); in meson_ee_pwrc_probe()
|
/linux-6.6.21/drivers/gpio/ |
D | gpio-uniphier.c | 341 struct device_node *parent_np; in uniphier_gpio_probe() local 350 parent_np = of_irq_find_parent(dev->of_node); in uniphier_gpio_probe() 351 if (!parent_np) in uniphier_gpio_probe() 354 parent_domain = irq_find_host(parent_np); in uniphier_gpio_probe() 355 of_node_put(parent_np); in uniphier_gpio_probe()
|
/linux-6.6.21/drivers/pinctrl/berlin/ |
D | berlin.c | 334 struct device_node *parent_np = of_get_parent(dev->of_node); in berlin_pinctrl_probe() local 335 struct regmap *regmap = syscon_node_to_regmap(parent_np); in berlin_pinctrl_probe() 337 of_node_put(parent_np); in berlin_pinctrl_probe()
|
/linux-6.6.21/sound/soc/generic/ |
D | audio-graph-card2.c | 244 struct device_node *np, *parent_np; in __graph_get_type() local 257 parent_np = of_get_parent(np); in __graph_get_type() 259 np = parent_np; in __graph_get_type()
|
/linux-6.6.21/drivers/pinctrl/renesas/ |
D | pinctrl-rzg2l.c | 1351 struct device_node *parent_np; in rzg2l_gpio_register() local 1355 parent_np = of_irq_find_parent(np); in rzg2l_gpio_register() 1356 if (!parent_np) in rzg2l_gpio_register() 1359 parent_domain = irq_find_host(parent_np); in rzg2l_gpio_register() 1360 of_node_put(parent_np); in rzg2l_gpio_register()
|
/linux-6.6.21/drivers/clk/ |
D | clk-qoriq.c | 1068 struct device_node *parent_np; in legacy_init_clockgen() local 1070 parent_np = of_get_parent(np); in legacy_init_clockgen() 1071 _clockgen_init(parent_np, true); in legacy_init_clockgen() 1072 of_node_put(parent_np); in legacy_init_clockgen()
|
D | clk.c | 4930 struct device_node *np, *parent_np; in get_clk_provider_node() local 4933 parent_np = dev->parent ? dev->parent->of_node : NULL; in get_clk_provider_node() 4936 if (of_property_present(parent_np, "#clock-cells")) in get_clk_provider_node() 4937 np = parent_np; in get_clk_provider_node()
|
/linux-6.6.21/drivers/clk/meson/ |
D | meson8b.c | 3802 struct device_node *parent_np; in meson8b_clkc_init_common() local 3808 parent_np = of_get_parent(np); in meson8b_clkc_init_common() 3809 map = syscon_node_to_regmap(parent_np); in meson8b_clkc_init_common() 3810 of_node_put(parent_np); in meson8b_clkc_init_common()
|