Home
last modified time | relevance | path

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

12

/u-boot/test/dm/
A Di2c.c35 ut_assertok(uclass_get_device_by_seq(UCLASS_I2C, busnum, &bus)); in dm_test_i2c_find()
38 ut_asserteq(-ENODEV, uclass_get_device_by_seq(UCLASS_I2C, 1, &bus)); in dm_test_i2c_find()
49 ut_assertok(uclass_get_device_by_seq(UCLASS_I2C, busnum, &bus)); in dm_test_i2c_read_write()
66 ut_assertok(uclass_get_device_by_seq(UCLASS_I2C, busnum, &bus)); in dm_test_i2c_speed()
88 ut_assertok(uclass_get_device_by_seq(UCLASS_I2C, busnum, &bus)); in dm_test_i2c_offset_len()
104 ut_assertok(uclass_get_device_by_seq(UCLASS_I2C, busnum, &bus)); in dm_test_i2c_probe_empty()
121 ut_assertok(uclass_get_device_by_seq(UCLASS_I2C, busnum, &bus)); in dm_test_i2c_bytewise()
A Dpci.c33 ut_assertok(uclass_get_device_by_seq(UCLASS_PCI, 0, &bus)); in dm_test_pci_busdev()
45 ut_assertok(uclass_get_device_by_seq(UCLASS_PCI, 1, &bus)); in dm_test_pci_busdev()
119 ut_assertok(uclass_get_device_by_seq(UCLASS_PCI, 1, &bus)); in dm_test_pci_drvdata()
144 ut_assertok(uclass_get_device_by_seq(UCLASS_PCI, 2, &bus)); in dm_test_pci_mixed()
204 ut_assertok(uclass_get_device_by_seq(UCLASS_PCI, 0, &bus)); in dm_test_pci_cap()
225 ut_assertok(uclass_get_device_by_seq(UCLASS_PCI, 1, &bus)); in dm_test_pci_cap()
263 ut_assertok(uclass_get_device_by_seq(UCLASS_PCI, 0, &bus)); in dm_test_pci_ea()
A Dusb.c31 ut_asserteq(-ENODEV, uclass_get_device_by_seq(UCLASS_USB, 0, &bus)); in dm_test_usb_base()
33 ut_asserteq(-ENODEV, uclass_get_device_by_seq(UCLASS_USB, 2, &bus)); in dm_test_usb_base()
A Daxi.c33 ut_assertok(uclass_get_device_by_seq(UCLASS_AXI, 0, &bus)); in dm_test_axi_busnum()
A Dblk.c130 ut_assertok(uclass_get_device_by_seq(UCLASS_MMC, i, &mmc_dev)); in dm_test_blk_devnum()
A Dtest-fdt.c254 ut_assertok(uclass_get_device_by_seq(UCLASS_TEST_FDT, 6, &dev)); in dm_test_fdt_uclass_seq()
262 ut_assertok(uclass_get_device_by_seq(UCLASS_TEST_FDT, 3, &dev)); in dm_test_fdt_uclass_seq()
275 ut_assertok(uclass_get_device_by_seq(UCLASS_TEST_FDT, 15, &dev)); in dm_test_fdt_uclass_seq()
314 ut_assertok(uclass_get_device_by_seq(UCLASS_TEST_FDT_MANUAL, 1, &dev)); in dm_test_fdt_uclass_seq_manual()
336 ut_assertok(uclass_get_device_by_seq(UCLASS_TEST_FDT, 12, &dev)); in dm_test_fdt_uclass_seq_more()
A Dspi.c34 ut_asserteq(0, uclass_get_device_by_seq(UCLASS_SPI, busnum, &bus)); in dm_test_spi_find()
A Drtc.c25 ut_asserteq(-ENODEV, uclass_get_device_by_seq(UCLASS_RTC, 2, &dev)); in dm_test_rtc_base()
/u-boot/arch/arm/mach-mediatek/mt8512/
A Dinit.c50 if (uclass_get_device_by_seq(UCLASS_WDT, 0, &watchdog_dev)) in reset_cpu()
/u-boot/drivers/remoteproc/
A Drproc-uclass.c281 ret = uclass_get_device_by_seq(UCLASS_REMOTEPROC, id, &dev); in rproc_dev_init()
302 ret = uclass_get_device_by_seq(UCLASS_REMOTEPROC, id, &dev); in rproc_load()
362 ret = uclass_get_device_by_seq(UCLASS_REMOTEPROC, id, &dev); in _rproc_ops_wrapper()
/u-boot/drivers/usb/gadget/udc/
A Dudc-uclass.c24 ret = uclass_get_device_by_seq(UCLASS_USB_GADGET_GENERIC, index, &dev); in usb_gadget_initialize()
/u-boot/cmd/
A Dosd.c38 res = uclass_get_device_by_seq(UCLASS_VIDEO_OSD, osdnum, &osd); in cmd_osd_set_osd_num()
216 res = uclass_get_device_by_seq(UCLASS_VIDEO_OSD, i, &osd); in do_show_osd()
A Daxi.c68 ret = uclass_get_device_by_seq(UCLASS_AXI, busnum, &bus); in axi_set_cur_bus()
128 ret = uclass_get_device_by_seq(UCLASS_AXI, i, &bus); in do_axi_show_bus()
/u-boot/board/toradex/verdin-imx8mm/
A Dverdin-imx8mm.c125 ret = uclass_get_device_by_seq(UCLASS_I2C, I2C_PMIC, &bus); in get_pcb_revision()
/u-boot/drivers/watchdog/
A Dwdt-uclass.c35 if (uclass_get_device_by_seq(UCLASS_WDT, 0, in initr_watchdog()
/u-boot/include/dm/
A Duclass.h195 int uclass_get_device_by_seq(enum uclass_id id, int seq, struct udevice **devp);
/u-boot/board/BuR/common/
A Dbr_resetc.c63 rc = uclass_get_device_by_seq(UCLASS_I2C, 0, &i2cbus); in resetc_init()
/u-boot/drivers/serial/
A Dserial-uclass.c125 if (!uclass_get_device_by_seq(UCLASS_SERIAL, INDEX, &dev) || in serial_find_console_or_panic()
144 if (!uclass_get_device_by_seq(UCLASS_SERIAL, INDEX, &dev) || in serial_find_console_or_panic()
/u-boot/drivers/sysinfo/
A Dgazerbeam.c69 res = uclass_get_device_by_seq(UCLASS_I2C, I2C_BUS_SEQ_NO, &i2c_bus); in _read_sysinfo_variant_data()
/u-boot/common/
A Dstdio.c161 ret = uclass_get_device_by_seq(id, seq, &dev); in stdio_probe_device()
/u-boot/board/siemens/capricorn/
A Dboard.c252 ret = uclass_get_device_by_seq(UCLASS_I2C, PCA9552_1_I2C_BUS, &bus); in board_led_init()
/u-boot/board/ti/ks2_evm/
A Dboard_k2g.c276 rc = uclass_get_device_by_seq(UCLASS_I2C, 1, &bus); in k2g_alt_board_detect()
/u-boot/drivers/pinctrl/
A Dpinctrl-uclass.c287 ret = uclass_get_device_by_seq(UCLASS_PINCTRL, 0, &pctldev); in pinctrl_select_state_simple()
/u-boot/board/ti/common/
A Dboard_detect.c96 rc = uclass_get_device_by_seq(UCLASS_I2C, bus_addr, &bus); in ti_i2c_eeprom_get()
454 rc = uclass_get_device_by_seq(UCLASS_I2C, bus_addr, &bus); in ti_i2c_eeprom_am6_get()
/u-boot/board/siemens/common/
A Dfactoryset.c162 ret = uclass_get_device_by_seq(UCLASS_I2C, EEPROM_I2C_BUS, &bus); in factoryset_read_eeprom()

Completed in 26 milliseconds

12