Home
last modified time | relevance | path

Searched refs:dev_get_parent_priv (Results 1 – 25 of 34) sorted by relevance

12

/openbmc/u-boot/test/dm/
H A Dbus.c246 ut_asserteq_ptr(NULL, dev_get_parent_priv(dev)); in test_bus_parent_data()
248 parent_data = dev_get_parent_priv(dev); in test_bus_parent_data()
255 ut_asserteq_ptr(NULL, dev_get_parent_priv(dev)); in test_bus_parent_data()
259 parent_data = dev_get_parent_priv(dev); in test_bus_parent_data()
270 ut_asserteq_ptr(NULL, dev_get_parent_priv(dev)); in test_bus_parent_data()
274 parent_data = dev_get_parent_priv(dev); in test_bus_parent_data()
286 parent_data = dev_get_parent_priv(dev); in test_bus_parent_data()
347 ut_asserteq_ptr(NULL, dev_get_parent_priv(dev)); in dm_test_bus_parent_ops()
350 parent_data = dev_get_parent_priv(dev); in dm_test_bus_parent_ops()
358 parent_data = dev_get_parent_priv(dev); in dm_test_bus_parent_ops()
[all …]
/openbmc/u-boot/drivers/usb/eth/
H A Dlan75xx.c133 struct usb_device *udev = dev_get_parent_priv(dev); in lan75xx_write_hwaddr()
165 struct usb_device *udev = dev_get_parent_priv(dev); in lan75xx_eth_start()
242 struct usb_device *udev = dev_get_parent_priv(dev); in lan75xx_read_rom_hwaddr()
259 struct usb_device *udev = dev_get_parent_priv(dev); in lan75xx_eth_probe()
H A Dlan78xx.c305 struct usb_device *udev = dev_get_parent_priv(dev); in lan78xx_write_hwaddr()
337 struct usb_device *udev = dev_get_parent_priv(dev); in lan78xx_eth_start()
409 struct usb_device *udev = dev_get_parent_priv(dev); in lan78xx_read_rom_hwaddr()
423 struct usb_device *udev = dev_get_parent_priv(dev); in lan78xx_eth_probe()
H A Dlan7x.c119 struct usb_device *udev = dev_get_parent_priv(bus->priv); in lan7x_phylib_mdio_read()
127 struct usb_device *udev = dev_get_parent_priv(bus->priv); in lan7x_phylib_mdio_write()
183 struct usb_device *usbdev = dev_get_parent_priv(udev); in lan7x_phylib_register()
H A Dmcs7830.c850 struct usb_device *udev = dev_get_parent_priv(dev); in mcs7830_eth_start()
892 struct usb_device *udev = dev_get_parent_priv(dev); in mcs7830_write_hwaddr()
900 struct usb_device *udev = dev_get_parent_priv(dev); in mcs7830_eth_probe()
H A Dsmsc95xx.c935 struct usb_device *udev = dev_get_parent_priv(dev); in smsc95xx_eth_start()
1019 struct usb_device *udev = dev_get_parent_priv(dev); in smsc95xx_write_hwaddr()
1028 struct usb_device *udev = dev_get_parent_priv(dev); in smsc95xx_read_rom_hwaddr()
H A Dusb_ether.c21 struct usb_device *udev = dev_get_parent_priv(dev); in usb_ether_register()
/openbmc/u-boot/drivers/usb/musb-new/
H A Dusb-compat.h90 if (dev_get_parent_priv(udev->dev) != udev) in usb_dev_get_parent()
95 return dev_get_parent_priv(parent); in usb_dev_get_parent()
/openbmc/u-boot/cmd/
H A Dusb.c288 udev = dev_get_parent_priv(hub); in usb_find_device()
298 udev = dev_get_parent_priv(dev); in usb_find_device()
424 udev = dev_get_parent_priv(child);
475 udev = dev_get_parent_priv(dev);
624 udev = dev_get_parent_priv(child);
/openbmc/u-boot/drivers/misc/
H A Dcros_ec_spi.c24 struct spi_slave *slave = dev_get_parent_priv(dev->dev); in cros_ec_spi_packet()
84 struct spi_slave *slave = dev_get_parent_priv(dev->dev); in cros_ec_spi_command()
/openbmc/u-boot/drivers/spi/
H A Dspi-uclass.c52 struct spi_slave *slave = dev_get_parent_priv(dev); in dm_spi_claim_bus()
185 struct spi_slave *slave = dev_get_parent_priv(dev); in spi_child_pre_probe()
356 slave = dev_get_parent_priv(dev); in spi_get_bus_and_cs()
370 *devp = dev_get_parent_priv(dev); in spi_get_bus_and_cs()
H A Dti_qspi.c494 struct spi_slave *slave = dev_get_parent_priv(dev); in ti_qspi_claim_bus()
513 struct spi_slave *slave = dev_get_parent_priv(dev); in ti_qspi_release_bus()
619 struct spi_slave *slave = dev_get_parent_priv(dev); in ti_qspi_child_pre_probe()
H A Dsoft_spi.c213 struct spi_slave *slave = dev_get_parent_priv(dev); in soft_spi_probe()
H A Dbcm63xx_spi.c351 struct spi_slave *slave = dev_get_parent_priv(dev); in bcm63xx_spi_child_pre_probe()
H A Dich.c650 struct spi_slave *slave = dev_get_parent_priv(dev); in ich_spi_child_pre_probe()
/openbmc/u-boot/drivers/usb/host/
H A Dusb-uclass.c353 udev = dev_get_parent_priv(parent); in find_child_devnum()
635 dev_get_parent_priv(parent) : NULL; in usb_scan_device()
698 udev = dev_get_parent_priv(dev); in usb_detect_change()
753 struct usb_device *udev = dev_get_parent_priv(dev); in usb_child_pre_probe()
H A Dxhci-mem.c761 dev = dev_get_parent_priv(dev->dev); in xhci_setup_addressable_virt_dev()
763 dev = dev_get_parent_priv(dev->dev->parent); in xhci_setup_addressable_virt_dev()
796 dev = dev_get_parent_priv(parent); in xhci_setup_addressable_virt_dev()
/openbmc/u-boot/drivers/mtd/spi/
H A Dsf_probe.c156 struct spi_slave *slave = dev_get_parent_priv(dev); in spi_flash_std_probe()
H A Dsf_dataflash.c585 struct spi_slave *spi = dev_get_parent_priv(dev); in spi_dataflash_probe()
/openbmc/u-boot/drivers/tpm/
H A Dtpm_tis_st33zp24_spi.c116 struct spi_slave *slave = dev_get_parent_priv(dev); in st33zp24_spi_write()
167 struct spi_slave *slave = dev_get_parent_priv(dev); in st33zp24_spi_read8_reg()
H A Dtpm2_tis_spi.c75 struct spi_slave *slave = dev_get_parent_priv(dev); in tpm_tis_spi_xfer()
/openbmc/u-boot/common/
H A Dusb_kbd.c609 struct usb_device *udev = dev_get_parent_priv(dev);
616 struct usb_device *udev = dev_get_parent_priv(dev);
H A Dusb.c1241 uparent = dev_get_parent_priv(parent); in usb_find_usb2_hub_address_port()
1253 ttdev = dev_get_parent_priv(dev); in usb_find_usb2_hub_address_port()
1255 uparent = dev_get_parent_priv(parent); in usb_find_usb2_hub_address_port()
H A Dusb_storage.c1146 udev = dev_get_parent_priv(dev_get_parent(dev)); in usb_stor_read()
1228 udev = dev_get_parent_priv(dev_get_parent(dev)); in usb_stor_write()
1502 struct usb_device *udev = dev_get_parent_priv(dev); in usb_mass_storage_probe()
/openbmc/u-boot/include/dm/
H A Ddevice.h317 void *dev_get_parent_priv(const struct udevice *dev);

12