Home
last modified time | relevance | path

Searched refs:uclass_get_device_by_seq (Results 1 – 25 of 33) sorted by relevance

12

/third_party/uboot/u-boot-2020.01/test/dm/
Di2c.c36 ut_assertok(uclass_get_device_by_seq(UCLASS_I2C, busnum, &bus)); in dm_test_i2c_find()
39 ut_asserteq(-ENODEV, uclass_get_device_by_seq(UCLASS_I2C, 1, &bus)); in dm_test_i2c_find()
50 ut_assertok(uclass_get_device_by_seq(UCLASS_I2C, busnum, &bus)); in dm_test_i2c_read_write()
67 ut_assertok(uclass_get_device_by_seq(UCLASS_I2C, busnum, &bus)); in dm_test_i2c_speed()
89 ut_assertok(uclass_get_device_by_seq(UCLASS_I2C, busnum, &bus)); in dm_test_i2c_offset_len()
105 ut_assertok(uclass_get_device_by_seq(UCLASS_I2C, busnum, &bus)); in dm_test_i2c_probe_empty()
122 ut_assertok(uclass_get_device_by_seq(UCLASS_I2C, busnum, &bus)); in dm_test_i2c_bytewise()
Dpci.c32 ut_assertok(uclass_get_device_by_seq(UCLASS_PCI, 0, &bus)); in dm_test_pci_busdev()
44 ut_assertok(uclass_get_device_by_seq(UCLASS_PCI, 1, &bus)); in dm_test_pci_busdev()
118 ut_assertok(uclass_get_device_by_seq(UCLASS_PCI, 1, &bus)); in dm_test_pci_drvdata()
143 ut_assertok(uclass_get_device_by_seq(UCLASS_PCI, 2, &bus)); in dm_test_pci_mixed()
203 ut_assertok(uclass_get_device_by_seq(UCLASS_PCI, 0, &bus)); in dm_test_pci_cap()
224 ut_assertok(uclass_get_device_by_seq(UCLASS_PCI, 1, &bus)); in dm_test_pci_cap()
262 ut_assertok(uclass_get_device_by_seq(UCLASS_PCI, 0, &bus)); in dm_test_pci_ea()
Dusb.c29 ut_asserteq(-ENODEV, uclass_get_device_by_seq(UCLASS_USB, 0, &bus)); in dm_test_usb_base()
31 ut_asserteq(-ENODEV, uclass_get_device_by_seq(UCLASS_USB, 2, &bus)); in dm_test_usb_base()
Dblk.c21 ut_asserteq(-ENODEV, uclass_get_device_by_seq(UCLASS_BLK, 0, &dev)); in dm_test_blk_base()
130 ut_assertok(uclass_get_device_by_seq(UCLASS_MMC, i, &mmc_dev)); in dm_test_blk_devnum()
Dtest-fdt.c284 ut_assertok(uclass_get_device_by_seq(UCLASS_TEST_FDT, 6, &dev)); in dm_test_fdt_uclass_seq()
294 ut_assertok(uclass_get_device_by_seq(UCLASS_TEST_FDT, 3, &dev)); in dm_test_fdt_uclass_seq()
305 ut_assertok(uclass_get_device_by_seq(UCLASS_TEST_FDT, 0, &dev)); in dm_test_fdt_uclass_seq()
309 ut_asserteq(-ENODEV, uclass_get_device_by_seq(UCLASS_TEST_FDT, 1, in dm_test_fdt_uclass_seq()
315 ut_assertok(uclass_get_device_by_seq(UCLASS_TEST_FDT, 1, &dev)); in dm_test_fdt_uclass_seq()
Daxi.c31 ut_assertok(uclass_get_device_by_seq(UCLASS_AXI, 0, &bus)); in dm_test_axi_busnum()
Dspi.c35 ut_asserteq(0, uclass_get_device_by_seq(UCLASS_SPI, busnum, &bus)); in dm_test_spi_find()
Drtc.c21 ut_asserteq(-ENODEV, uclass_get_device_by_seq(UCLASS_RTC, 2, &dev)); in dm_test_rtc_base()
/third_party/uboot/u-boot-2020.01/drivers/remoteproc/
Drproc-uclass.c280 ret = uclass_get_device_by_seq(UCLASS_REMOTEPROC, id, &dev); in rproc_dev_init()
301 ret = uclass_get_device_by_seq(UCLASS_REMOTEPROC, id, &dev); in rproc_load()
361 ret = uclass_get_device_by_seq(UCLASS_REMOTEPROC, id, &dev); in _rproc_ops_wrapper()
/third_party/uboot/u-boot-2020.01/cmd/
Dosd.c37 res = uclass_get_device_by_seq(UCLASS_VIDEO_OSD, osdnum, &osd); in cmd_osd_set_osd_num()
215 res = uclass_get_device_by_seq(UCLASS_VIDEO_OSD, i, &osd); in do_show_osd()
Daxi.c67 ret = uclass_get_device_by_seq(UCLASS_AXI, busnum, &bus); in axi_set_cur_bus()
127 ret = uclass_get_device_by_seq(UCLASS_AXI, i, &bus); in do_axi_show_bus()
/third_party/uboot/u-boot-2020.01/drivers/usb/gadget/udc/
Dudc-uclass.c24 ret = uclass_get_device_by_seq(UCLASS_USB_GADGET_GENERIC, index, &dev); in usb_gadget_initialize()
/third_party/uboot/u-boot-2020.01/include/
Dwdt.h123 if (uclass_get_device_by_seq(UCLASS_WDT, 0, in initr_watchdog()
/third_party/uboot/u-boot-2020.01/include/dm/
Duclass.h184 int uclass_get_device_by_seq(enum uclass_id id, int seq, struct udevice **devp);
/third_party/uboot/u-boot-2020.01/drivers/serial/
Dserial-uclass.c122 if (!uclass_get_device_by_seq(UCLASS_SERIAL, INDEX, &dev) || in serial_find_console_or_panic()
141 if (!uclass_get_device_by_seq(UCLASS_SERIAL, INDEX, &dev) || in serial_find_console_or_panic()
/third_party/uboot/u-boot-2020.01/board/BuR/common/
Dbr_resetc.c62 rc = uclass_get_device_by_seq(UCLASS_I2C, 0, &i2cbus); in resetc_init()
/third_party/uboot/u-boot-2020.01/drivers/board/
Dgazerbeam.c68 res = uclass_get_device_by_seq(UCLASS_I2C, I2C_BUS_SEQ_NO, &i2c_bus); in _read_board_variant_data()
/third_party/uboot/u-boot-2020.01/arch/arm/mach-k3/
Dcommon.c43 ret = uclass_get_device_by_seq(UCLASS_SERIAL, CONFIG_K3_EARLY_CONS_IDX, in early_console_init()
/third_party/uboot/u-boot-2020.01/board/ti/common/
Dboard_detect.c91 rc = uclass_get_device_by_seq(UCLASS_I2C, bus_addr, &bus); in ti_i2c_eeprom_get()
382 rc = uclass_get_device_by_seq(UCLASS_I2C, bus_addr, &bus); in ti_i2c_eeprom_am6_get()
/third_party/uboot/u-boot-2020.01/common/
Dstdio.c152 ret = uclass_get_device_by_seq(id, seq, &dev); in stdio_probe_device()
/third_party/uboot/u-boot-2020.01/board/ti/ks2_evm/
Dboard_k2g.c271 rc = uclass_get_device_by_seq(UCLASS_I2C, 1, &bus); in k2g_alt_board_detect()
/third_party/uboot/u-boot-2020.01/drivers/pinctrl/
Dpinctrl-uclass.c284 ret = uclass_get_device_by_seq(UCLASS_PINCTRL, 0, &pctldev); in pinctrl_select_state_simple()
Dpinctrl_stm32.c352 rv = uclass_get_device_by_seq(UCLASS_GPIO, in stm32_pinctrl_config()
/third_party/uboot/u-boot-2020.01/board/wandboard/
Dwandboard.c261 rc = uclass_get_device_by_seq(UCLASS_I2C, dev->bus, &bus); in detect_i2c()
/third_party/uboot/u-boot-2020.01/board/siemens/common/
Dfactoryset.c159 ret = uclass_get_device_by_seq(UCLASS_I2C, EEPROM_I2C_BUS, &bus); in factoryset_read_eeprom()

12