Home
last modified time | relevance | path

Searched refs:dev_get_parent (Results 1 – 25 of 76) sorted by relevance

1234

/u-boot/drivers/gpio/
A Dintel_gpio.c28 struct udevice *pinctrl = dev_get_parent(dev); in intel_gpio_direction_input()
44 struct udevice *pinctrl = dev_get_parent(dev); in intel_gpio_direction_output()
60 struct udevice *pinctrl = dev_get_parent(dev); in intel_gpio_get_value()
80 struct udevice *pinctrl = dev_get_parent(dev); in intel_gpio_set_value()
93 struct udevice *pinctrl = dev_get_parent(dev); in intel_gpio_get_function()
142 pinctrl = dev_get_parent(desc->dev); in intel_gpio_get_acpi()
/u-boot/drivers/power/regulator/
A Das3722_regulator.c31 struct udevice *pmic = dev_get_parent(dev); in stepdown_set_enable()
47 struct udevice *pmic = dev_get_parent(dev); in stepdown_get_enable()
73 struct udevice *pmic = dev_get_parent(dev); in ldo_set_enable()
95 struct udevice *pmic = dev_get_parent(dev); in ldo_get_enable()
A Dtps65090_regulator.c29 struct udevice *pmic = dev_get_parent(dev); in tps65090_fet_get_enable()
89 struct udevice *pmic = dev_get_parent(dev); in tps65090_fet_set_enable()
A Dpalmas_regulator.c165 int type = dev_get_driver_data(dev_get_parent(dev)); in palmas_ldo_bypass_enable()
300 parent = dev_get_parent(dev); in palmas_ldo_probe()
365 parent = dev_get_parent(dev); in palmas_smps_probe()
/u-boot/drivers/spi/
A Dsoft_spi.c44 struct udevice *bus = dev_get_parent(dev); in soft_spi_scl()
54 struct udevice *bus = dev_get_parent(dev); in soft_spi_sda()
64 struct udevice *bus = dev_get_parent(dev); in soft_spi_cs_activate()
78 struct udevice *bus = dev_get_parent(dev); in soft_spi_cs_deactivate()
88 struct udevice *bus = dev_get_parent(dev); in soft_spi_claim_bus()
119 struct udevice *bus = dev_get_parent(dev); in soft_spi_xfer()
A Dspi-qup.c208 struct udevice *bus = dev_get_parent(dev); in qup_spi_write_byte()
223 struct udevice *bus = dev_get_parent(dev); in qup_spi_read_byte()
241 struct udevice *bus = dev_get_parent(dev); in qup_spi_check_fifo_status()
264 struct udevice *bus = dev_get_parent(dev); in qup_spi_enable_io_config()
287 struct udevice *bus = dev_get_parent(dev); in check_bit_state()
316 struct udevice *bus = dev_get_parent(dev); in qup_spi_config_spi_state()
359 struct udevice *bus = dev_get_parent(dev); in __qup_spi_blsp_spi_read()
440 struct udevice *bus = dev_get_parent(dev); in __qup_blsp_spi_write()
604 struct udevice *bus = dev_get_parent(dev); in qup_spi_reset()
617 struct udevice *bus = dev_get_parent(dev); in qup_spi_hw_init()
[all …]
A Dxilinx_spi.c127 struct udevice *bus = dev_get_parent(dev); in spi_cs_activate()
136 struct udevice *bus = dev_get_parent(dev); in spi_cs_deactivate()
145 struct udevice *bus = dev_get_parent(dev); in xilinx_spi_claim_bus()
157 struct udevice *bus = dev_get_parent(dev); in xilinx_spi_release_bus()
211 struct udevice *bus = dev_get_parent(dev); in xilinx_spi_startup_block()
244 struct udevice *bus = dev_get_parent(dev); in xilinx_spi_xfer()
A Datmel_spi.c123 struct udevice *bus = dev_get_parent(dev); in atmel_spi_claim_bus()
163 struct udevice *bus = dev_get_parent(dev); in atmel_spi_release_bus()
174 struct udevice *bus = dev_get_parent(dev); in atmel_spi_cs_activate()
189 struct udevice *bus = dev_get_parent(dev); in atmel_spi_cs_deactivate()
204 struct udevice *bus = dev_get_parent(dev); in atmel_spi_xfer()
A Dath79_spi.c31 struct udevice *bus = dev_get_parent(dev); in spi_cs_activate()
40 struct udevice *bus = dev_get_parent(dev); in spi_cs_deactivate()
60 struct udevice *bus = dev_get_parent(dev); in ath79_spi_xfer()
A Docteon_spi.c85 struct udevice *bus = dev_get_parent(dev); in octeon_spi_set_mpicfg()
122 struct udevice *bus = dev_get_parent(dev); in octeon_spi_wait_ready()
144 struct udevice *bus = dev_get_parent(dev); in octeon_spi_claim_bus()
175 struct udevice *bus = dev_get_parent(dev); in octeon_spi_release_bus()
199 struct udevice *bus = dev_get_parent(dev); in octeon_spi_xfer()
291 struct udevice *bus = dev_get_parent(dev); in octeontx2_spi_xfer()
/u-boot/net/
A Ddsa-uclass.c66 struct udevice *dev = dev_get_parent(pdev); in dsa_port_start()
93 struct udevice *dev = dev_get_parent(pdev); in dsa_port_stop()
116 struct udevice *dev = dev_get_parent(pdev); in dsa_port_send()
146 struct udevice *dev = dev_get_parent(pdev); in dsa_port_recv()
183 struct udevice *dev = dev_get_parent(pdev); in dsa_port_free_pkt()
216 dev = dev_get_parent(pdev); in dsa_port_of_to_pdata()
245 struct udevice *dev = dev_get_parent(pdev); in dsa_port_probe()
294 struct udevice *dev = dev_get_parent(pdev); in dsa_port_remove()
/u-boot/drivers/phy/rockchip/
A Dphy-rockchip-inno-usb2.c82 struct udevice *parent = dev_get_parent(phy->dev); in us2phy_get_port()
91 struct udevice *parent = dev_get_parent(phy->dev); in rockchip_usb2phy_power_on()
105 struct udevice *parent = dev_get_parent(phy->dev); in rockchip_usb2phy_power_off()
116 struct udevice *parent = dev_get_parent(phy->dev); in rockchip_usb2phy_init()
140 struct udevice *parent = dev_get_parent(phy->dev); in rockchip_usb2phy_exit()
/u-boot/drivers/power/pmic/
A Das3722_gpio.c38 struct udevice *pmic = dev_get_parent(dev); in as3722_gpio_set_value()
73 struct udevice *pmic = dev_get_parent(dev); in as3722_gpio_direction_output()
/u-boot/drivers/w1/
A Dw1-uclass.c141 struct udevice *bus = dev_get_parent(dev); in w1_reset_select()
160 struct udevice *bus = dev_get_parent(dev); in w1_read_byte()
186 struct udevice *bus = dev_get_parent(dev); in w1_write_byte()
/u-boot/drivers/clk/
A Dclk_vexpress_osc.c30 struct udevice *vexpress_cfg = dev_get_parent(clk->dev); in vexpress_osc_clk_get_rate()
46 struct udevice *vexpress_cfg = dev_get_parent(clk->dev); in vexpress_osc_clk_set_rate()
/u-boot/lib/acpi/
A Dacpi_device.c51 if (dev_get_parent(dev)) { in acpi_device_path_fill()
52 next = acpi_device_path_fill(dev_get_parent(dev), buf, buf_len, in acpi_device_path_fill()
60 dev_get_parent(dev) && *name ? "." : "", name); in acpi_device_path_fill()
80 if (!dev_get_parent(dev)) in acpi_device_scope()
83 ret = acpi_device_path_fill(dev_get_parent(dev), scope, maxlen, 0); in acpi_device_scope()
606 struct udevice *bus = dev_get_parent(dev); in acpi_device_set_i2c()
795 if (dev_get_parent(dev)) in acpi_device_infer_name()
796 parent_id = device_get_uclass_id(dev_get_parent(dev)); in acpi_device_infer_name()
/u-boot/test/dm/
A Dspi.c113 ut_asserteq_ptr(dev_get_parent(slave_a->dev), in dm_test_spi_switch_slaves()
114 dev_get_parent(slave_b->dev)); in dm_test_spi_switch_slaves()
116 bus = dev_get_parent(slave_a->dev); in dm_test_spi_switch_slaves()
A Dblk.c77 ut_asserteq_ptr(usb_dev, dev_get_parent(dev)); in dm_test_blk_usb()
132 parent = dev_get_parent(dev); in dm_test_blk_devnum()
/u-boot/drivers/clk/at91/
A Dcompat.c51 dev = dev_get_parent(dev); in at91_pmc_core_probe()
125 dev_periph_container = dev_get_parent(dev); in at91_clk_probe()
126 dev_pmc = dev_get_parent(dev_periph_container); in at91_clk_probe()
499 clk_type = dev_get_driver_data(dev_get_parent(clk->dev)); in periph_clk_enable()
522 dev = dev_get_parent(clk->dev); in periph_get_rate()
777 ret = clk_get_by_index(dev_get_parent(clk->dev), parent_index, &parent); in generic_clk_get_rate()
803 ret = clk_get_by_index(dev_get_parent(clk->dev), i, &parent); in generic_clk_set_rate()
868 dev_of_offset(dev_get_parent(dev)), "clocks", cells, in generic_clk_of_to_plat()
/u-boot/drivers/clk/meson/
A Dg12a-ao.c59 priv->map = syscon_node_to_regmap(dev_ofnode(dev_get_parent(dev))); in meson_clk_probe()
/u-boot/drivers/mmc/
A Dmmc-uclass.c299 mmc_dev = dev_get_parent(dev); in find_mmc_device()
436 struct udevice *mmc_dev = dev_get_parent(bdev); in mmc_select_hwpart()
456 struct udevice *mmc_dev = dev_get_parent(dev); in mmc_blk_probe()
475 struct udevice *mmc_dev = dev_get_parent(dev); in mmc_blk_remove()
/u-boot/drivers/mtd/
A Dhbmc-am654.c56 struct regmap *regmap = syscon_get_regmap(dev_get_parent(dev)); in am654_select_hbmc()
/u-boot/arch/x86/cpu/intel_common/
A Dgeneric_wifi.c59 ret = acpi_device_path(dev_get_parent(dev), path, sizeof(path)); in generic_wifi_fill_ssdt()
/u-boot/drivers/sound/
A Dtegra_sound.c72 ahub = dev_get_parent(uc_priv->i2s); in tegra_sound_probe()
/u-boot/drivers/i2c/
A Di2c-uclass.c83 struct udevice *bus = dev_get_parent(dev); in i2c_read_bytewise()
112 struct udevice *bus = dev_get_parent(dev); in i2c_write_bytewise()
135 struct udevice *bus = dev_get_parent(dev); in dm_i2c_read()
166 struct udevice *bus = dev_get_parent(dev); in dm_i2c_write()
220 struct udevice *bus = dev_get_parent(dev); in dm_i2c_xfer()

Completed in 30 milliseconds

1234