Home
last modified time | relevance | path

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

123

/external/u-boot/drivers/power/regulator/
Das3722_regulator.c30 struct udevice *pmic = dev_get_parent(dev); in stepdown_set_enable()
46 struct udevice *pmic = dev_get_parent(dev); in stepdown_get_enable()
72 struct udevice *pmic = dev_get_parent(dev); in ldo_set_enable()
94 struct udevice *pmic = dev_get_parent(dev); in ldo_get_enable()
Dtps65090_regulator.c27 struct udevice *pmic = dev_get_parent(dev); in tps65090_fet_get_enable()
87 struct udevice *pmic = dev_get_parent(dev); in tps65090_fet_set_enable()
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()
/external/u-boot/drivers/spi/
Dsoft_spi.c40 struct udevice *bus = dev_get_parent(dev); in soft_spi_scl()
50 struct udevice *bus = dev_get_parent(dev); in soft_spi_sda()
60 struct udevice *bus = dev_get_parent(dev); in soft_spi_cs_activate()
72 struct udevice *bus = dev_get_parent(dev); in soft_spi_cs_deactivate()
110 struct udevice *bus = dev_get_parent(dev); in soft_spi_xfer()
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()
Datmel_spi.c238 struct udevice *bus = dev_get_parent(dev); in atmel_spi_claim_bus()
278 struct udevice *bus = dev_get_parent(dev); in atmel_spi_release_bus()
289 struct udevice *bus = dev_get_parent(dev); in atmel_spi_cs_activate()
304 struct udevice *bus = dev_get_parent(dev); in atmel_spi_cs_deactivate()
319 struct udevice *bus = dev_get_parent(dev); in atmel_spi_xfer()
Dath79_spi.c30 struct udevice *bus = dev_get_parent(dev); in spi_cs_activate()
39 struct udevice *bus = dev_get_parent(dev); in spi_cs_deactivate()
59 struct udevice *bus = dev_get_parent(dev); in ath79_spi_xfer()
Dmxs_spi.c298 struct udevice *bus = dev_get_parent(dev);
479 struct udevice *bus = dev_get_parent(dev);
510 struct udevice *bus = dev_get_parent(dev);
Dstm32_spi.c199 struct udevice *bus = dev_get_parent(slave); in stm32_spi_claim_bus()
210 struct udevice *bus = dev_get_parent(slave); in stm32_spi_release_bus()
359 struct udevice *bus = dev_get_parent(slave); in stm32_spi_xfer()
/external/u-boot/drivers/clk/at91/
Dpmc.c39 dev = dev_get_parent(dev); in at91_pmc_core_probe()
113 dev_periph_container = dev_get_parent(dev); in at91_clk_probe()
114 dev_pmc = dev_get_parent(dev_periph_container); in at91_clk_probe()
Dclk-generated.c65 ret = clk_get_by_index(dev_get_parent(clk->dev), parent_index, &parent); in generic_clk_get_rate()
91 ret = clk_get_by_index(dev_get_parent(clk->dev), i, &parent); in generic_clk_set_rate()
156 dev_of_offset(dev_get_parent(dev)), "clocks", cells, in generic_clk_ofdata_to_platdata()
Dclk-peripheral.c64 clk_type = dev_get_driver_data(dev_get_parent(clk->dev)); in periph_clk_enable()
87 dev = dev_get_parent(clk->dev); in periph_get_rate()
/external/u-boot/drivers/w1/
Dw1-uclass.c140 struct udevice *bus = dev_get_parent(dev); in w1_reset_select()
159 struct udevice *bus = dev_get_parent(dev); in w1_read_byte()
185 struct udevice *bus = dev_get_parent(dev); in w1_write_byte()
/external/u-boot/drivers/power/pmic/
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()
/external/u-boot/drivers/clk/
Dclk_vexpress_osc.c27 struct udevice *vexpress_cfg = dev_get_parent(clk->dev); in vexpress_osc_clk_get_rate()
43 struct udevice *vexpress_cfg = dev_get_parent(clk->dev); in vexpress_osc_clk_set_rate()
/external/u-boot/drivers/mmc/
Dmmc-uclass.c234 mmc_dev = dev_get_parent(dev); in find_mmc_device()
374 struct udevice *mmc_dev = dev_get_parent(bdev); in mmc_select_hwpart()
394 struct udevice *mmc_dev = dev_get_parent(dev); in mmc_blk_probe()
413 struct udevice *mmc_dev = dev_get_parent(dev); in mmc_blk_remove()
/external/u-boot/test/dm/
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()
/external/u-boot/drivers/i2c/
Di2c-uclass.c75 struct udevice *bus = dev_get_parent(dev); in i2c_read_bytewise()
104 struct udevice *bus = dev_get_parent(dev); in i2c_write_bytewise()
127 struct udevice *bus = dev_get_parent(dev); in dm_i2c_read()
158 struct udevice *bus = dev_get_parent(dev); in dm_i2c_write()
212 struct udevice *bus = dev_get_parent(dev); in dm_i2c_xfer()
/external/u-boot/drivers/power/domain/
Dimx8-power-domain-legacy.c44 struct udevice *parent = dev_get_parent(dev); in imx8_power_domain_on()
133 struct udevice *parent = dev_get_parent(dev); in imx8_power_domain_off_parentnodes()
/external/u-boot/drivers/adc/
Dstm32-adc.c80 struct stm32_adc_common *common = dev_get_priv(dev_get_parent(dev)); in stm32_adc_start_channel()
206 struct stm32_adc_common *common = dev_get_priv(dev_get_parent(dev)); in stm32_adc_probe()
/external/u-boot/drivers/mtd/
Dhbmc-am654.c55 struct regmap *regmap = syscon_get_regmap(dev_get_parent(dev)); in am654_select_hbmc()
/external/u-boot/drivers/sound/
Dtegra_sound.c71 ahub = dev_get_parent(uc_priv->i2s); in tegra_sound_probe()
Dtegra_i2s.c76 ret = misc_write(dev_get_parent(dev), 0, data, data_size); in tegra_i2s_tx_data()
/external/u-boot/drivers/pinctrl/
Dpinctrl-stmfx.c66 return dm_i2c_reg_read(dev_get_parent(dev), offset); in stmfx_read()
71 return dm_i2c_reg_write(dev_get_parent(dev), offset, val); in stmfx_write()
Dpinctrl-at91-pio4.c159 dev = dev_get_parent(dev); in atmel_pinctrl_probe()

123