Home
last modified time | relevance | path

Searched refs:uclass_get_device (Results 1 – 25 of 78) sorted by relevance

1234

/external/u-boot/test/dm/
Dled.c19 ut_assertok(uclass_get_device(UCLASS_LED, 0, &dev)); in dm_test_led_base()
20 ut_assertok(uclass_get_device(UCLASS_LED, 1, &dev)); in dm_test_led_base()
21 ut_assertok(uclass_get_device(UCLASS_LED, 2, &dev)); in dm_test_led_base()
22 ut_assertok(uclass_get_device(UCLASS_LED, 3, &dev)); in dm_test_led_base()
23 ut_assertok(uclass_get_device(UCLASS_LED, 4, &dev)); in dm_test_led_base()
24 ut_asserteq(-ENODEV, uclass_get_device(UCLASS_LED, 5, &dev)); in dm_test_led_base()
56 ut_assertok(uclass_get_device(UCLASS_LED, 1, &dev)); in dm_test_led_gpio()
57 ut_assertok(uclass_get_device(UCLASS_GPIO, 1, &gpio)); in dm_test_led_gpio()
81 ut_assertok(uclass_get_device(UCLASS_LED, 1, &dev)); in dm_test_led_toggle()
82 ut_assertok(uclass_get_device(UCLASS_GPIO, 1, &gpio)); in dm_test_led_toggle()
[all …]
Dvideo.c32 ut_assertok(uclass_get_device(UCLASS_VIDEO, 0, &dev)); in dm_test_video_base()
118 ut_assertok(uclass_get_device(UCLASS_VIDEO, 0, &dev)); in dm_test_video_text()
121 ut_assertok(uclass_get_device(UCLASS_VIDEO_CONSOLE, 0, &con)); in dm_test_video_text()
150 ut_assertok(uclass_get_device(UCLASS_VIDEO, 0, &dev)); in dm_test_video_chars()
151 ut_assertok(uclass_get_device(UCLASS_VIDEO_CONSOLE, 0, &con)); in dm_test_video_chars()
167 ut_assertok(uclass_get_device(UCLASS_VIDEO, 0, &dev)); in dm_test_video_ansi()
168 ut_assertok(uclass_get_device(UCLASS_VIDEO_CONSOLE, 0, &con)); in dm_test_video_ansi()
214 ut_assertok(uclass_get_device(UCLASS_VIDEO, 0, &dev)); in check_vidconsole_output()
215 ut_assertok(uclass_get_device(UCLASS_VIDEO_CONSOLE, 0, &con)); in check_vidconsole_output()
303 ut_assertok(uclass_get_device(UCLASS_VIDEO, 0, &dev)); in dm_test_video_bmp()
[all …]
Dusb.c24 ut_assertok(uclass_get_device(UCLASS_USB, 0, &bus)); in dm_test_usb_base()
44 ut_assertok(uclass_get_device(UCLASS_MASS_STORAGE, 0, &dev)); in dm_test_usb_flash()
65 ut_assertok(uclass_get_device(UCLASS_MASS_STORAGE, 0, &dev)); in dm_test_usb_multi()
66 ut_assertok(uclass_get_device(UCLASS_MASS_STORAGE, 1, &dev)); in dm_test_usb_multi()
67 ut_assertok(uclass_get_device(UCLASS_MASS_STORAGE, 2, &dev)); in dm_test_usb_multi()
107 ut_assertok(uclass_get_device(UCLASS_MASS_STORAGE, 0, &dev)); in dm_test_usb_stop()
108 ut_assertok(uclass_get_device(UCLASS_MASS_STORAGE, 1, &dev)); in dm_test_usb_stop()
109 ut_assertok(uclass_get_device(UCLASS_MASS_STORAGE, 2, &dev)); in dm_test_usb_stop()
Dblk.c77 ut_assertok(uclass_get_device(UCLASS_MASS_STORAGE, 0, &usb_dev)); in dm_test_blk_usb()
128 ut_assertok(uclass_get_device(UCLASS_MMC, 1, &dev)); in dm_test_blk_devnum()
129 ut_assertok(uclass_get_device(UCLASS_MMC, 2, &dev)); in dm_test_blk_devnum()
130 ut_assertok(uclass_get_device(UCLASS_MMC, 0, &dev)); in dm_test_blk_devnum()
158 ut_assertok(uclass_get_device(UCLASS_MMC, 0, &dev)); in dm_test_blk_get_from_parent()
161 ut_assertok(uclass_get_device(UCLASS_I2C, 0, &dev)); in dm_test_blk_get_from_parent()
164 ut_assertok(uclass_get_device(UCLASS_GPIO, 0, &dev)); in dm_test_blk_get_from_parent()
Drtc.c21 ut_assertok(uclass_get_device(UCLASS_RTC, 0, &dev)); in dm_test_rtc_base()
22 ut_assertok(uclass_get_device(UCLASS_RTC, 1, &dev)); in dm_test_rtc_base()
60 ut_assertok(uclass_get_device(UCLASS_RTC, 0, &dev)); in dm_test_rtc_set_get()
125 ut_assertok(uclass_get_device(UCLASS_RTC, 0, &dev)); in dm_test_rtc_reset()
152 ut_assertok(uclass_get_device(UCLASS_RTC, 0, &dev1)); in dm_test_rtc_dual()
154 ut_assertok(uclass_get_device(UCLASS_RTC, 1, &dev2)); in dm_test_rtc_dual()
Dbus.c115 ut_assertok(uclass_get_device(UCLASS_TEST_BUS, 0, &bus)); in dm_test_bus_children()
134 ut_assertok(uclass_get_device(UCLASS_TEST_BUS, 0, &bus)); in dm_test_bus_children_funcs()
172 ut_assertok(uclass_get_device(UCLASS_TEST_BUS, 0, &bus)); in dm_test_bus_children_of_offset()
196 ut_assertok(uclass_get_device(UCLASS_TEST_BUS, 0, &bus)); in dm_test_bus_children_iterators()
229 ut_assertok(uclass_get_device(UCLASS_TEST_BUS, 0, &bus)); in test_bus_parent_data()
322 ut_assertok(uclass_get_device(UCLASS_TEST_BUS, 0, &bus)); in dm_test_bus_parent_ops()
363 ut_assertok(uclass_get_device(UCLASS_TEST_BUS, 0, &bus)); in test_bus_parent_platdata()
463 ut_assertok(uclass_get_device(UCLASS_TEST_BUS, 0, &bus)); in dm_test_bus_child_post_bind()
486 ut_assertok(uclass_get_device(UCLASS_TEST_BUS, 0, &bus)); in dm_test_bus_child_post_bind_uclass()
516 ut_assertok(uclass_get_device(UCLASS_TEST_BUS, 0, &bus)); in dm_test_bus_child_pre_probe_uclass()
Dpwm.c17 ut_assertok(uclass_get_device(UCLASS_PWM, 0, &dev)); in dm_test_pwm_base()
26 ut_assertok(uclass_get_device(UCLASS_PWM, 1, &dev)); in dm_test_pwm_base()
27 ut_asserteq(-ENODEV, uclass_get_device(UCLASS_PWM, 2, &dev)); in dm_test_pwm_base()
Dsyscon.c18 ut_assertok(uclass_get_device(UCLASS_SYSCON, 0, &dev)); in dm_test_syscon_base()
21 ut_assertok(uclass_get_device(UCLASS_SYSCON, 1, &dev)); in dm_test_syscon_base()
24 ut_asserteq(-ENODEV, uclass_get_device(UCLASS_SYSCON, 2, &dev)); in dm_test_syscon_base()
Dregmap.c23 ut_assertok(uclass_get_device(UCLASS_SYSCON, 0, &dev)); in dm_test_regmap_base()
31 ut_assertok(uclass_get_device(UCLASS_SYSCON, 1, &dev)); in dm_test_regmap_base()
45 ut_assertok(uclass_get_device(UCLASS_I2C, 0, &dev)); in dm_test_regmap_base()
102 ut_assertok(uclass_get_device(UCLASS_SYSCON, 0, &dev)); in dm_test_regmap_rw()
Dsysreset.c21 ut_assertok(uclass_get_device(UCLASS_SYSRESET, 0, &dev)); in dm_test_sysreset_base()
27 ut_assertok(uclass_get_device(UCLASS_SYSRESET, 1, &dev)); in dm_test_sysreset_base()
37 ut_assertok(uclass_get_device(UCLASS_SYSRESET, 2, &dev)); in dm_test_sysreset_base()
Dtest-fdt.c145 ret = uclass_get_device(UCLASS_TEST_FDT, i, &dev); in dm_check_devices()
250 ut_assertok(uclass_get_device(UCLASS_TEST_FDT, 2, &dev)); in dm_test_fdt_uclass_seq()
260 ut_assertok(uclass_get_device(UCLASS_TEST_FDT, 0, &dev)); in dm_test_fdt_uclass_seq()
261 ut_assertok(uclass_get_device(UCLASS_TEST_FDT, 4, &dev)); in dm_test_fdt_uclass_seq()
323 ut_assertok(uclass_get_device(UCLASS_TEST_PROBE, 1, &dev)); in dm_test_first_next_device()
332 ut_assertok(uclass_get_device(UCLASS_TEST_PROBE, 0, &dev)); in dm_test_first_next_device()
Dmmc.c20 ut_assertok(uclass_get_device(UCLASS_MMC, 0, &dev)); in dm_test_mmc_base()
32 ut_assertok(uclass_get_device(UCLASS_MMC, 0, &dev)); in dm_test_mmc_blk()
Dpci.c17 ut_assertok(uclass_get_device(UCLASS_PCI, 0, &bus)); in dm_test_pci_base()
42 ut_assertok(uclass_get_device(UCLASS_PCI_EMUL, 0, &emul)); in dm_test_pci_swapcase()
Dspmi.c24 ut_assertok(uclass_get_device(UCLASS_SPMI, 0, &bus)); in dm_test_spmi_probe()
53 ut_assertok(uclass_get_device(UCLASS_SPMI, 0, &bus)); in dm_test_spmi_access()
Dcore.c227 ut_assertok(uclass_get_device(UCLASS_TEST, i, &dev)); in dm_test_autoprobe()
435 ut_assertok(uclass_get_device(UCLASS_TEST, i, &dev)); in dm_test_operations()
591 ut_assertok(uclass_get_device(UCLASS_TEST, in dm_test_children()
622 ut_assertok(uclass_get_device(UCLASS_TEST, 5, &dev)); in dm_test_children()
634 ut_assertok(uclass_get_device(UCLASS_TEST, 5, &dev)); in dm_test_children()
858 ut_assertok(uclass_get_device(UCLASS_TEST, 0, &dev)); in dm_test_device_get_uclass_id()
/external/u-boot/arch/arm/mach-stm32mp/
Dspl.c60 ret = uclass_get_device(UCLASS_CLK, 0, &dev); in board_init_f()
66 ret = uclass_get_device(UCLASS_RESET, 0, &dev); in board_init_f()
72 ret = uclass_get_device(UCLASS_PINCTRL, 0, &dev); in board_init_f()
81 ret = uclass_get_device(UCLASS_RAM, 0, &dev); in board_init_f()
/external/u-boot/common/
Dcros_ec.c21 ret = uclass_get_device(UCLASS_CROS_EC, 0, &dev); in board_get_cros_ec_dev()
34 ret = uclass_get_device(UCLASS_CROS_EC, 0, &dev); in cros_ec_get_error()
/external/u-boot/drivers/video/sunxi/
Dsunxi_lcd.c61 ret = uclass_get_device(UCLASS_PANEL_BACKLIGHT, 0, &backlight); in sunxi_lcd_enable()
87 ret = uclass_get_device(UCLASS_VIDEO_BRIDGE, 0, &cdev); in sunxi_lcd_probe()
111 ret = uclass_get_device(UCLASS_PANEL, 0, &cdev); in sunxi_lcd_probe()
/external/u-boot/arch/arm/mach-rockchip/
Drk3188-board-spl.c139 ret = uclass_get_device(UCLASS_PINCTRL, 0, &pinctrl); in board_init_f()
145 ret = uclass_get_device(UCLASS_RAM, 0, &dev); in board_init_f()
191 ret = uclass_get_device(UCLASS_PINCTRL, 0, &pinctrl); in spl_board_init()
Drk3368-board-spl.c36 ret = uclass_get_device(UCLASS_PINCTRL, 0, &pinctrl); in board_init_f()
50 ret = uclass_get_device(UCLASS_RAM, 0, &dev); in board_init_f()
Drk3288-board-spl.c186 ret = uclass_get_device(UCLASS_PINCTRL, 0, &pinctrl); in board_init_f()
205 ret = uclass_get_device(UCLASS_RAM, 0, &dev); in board_init_f()
252 ret = uclass_get_device(UCLASS_PINCTRL, 0, &pinctrl); in spl_board_init()
Drk3399-board-spl.c155 ret = uclass_get_device(UCLASS_PINCTRL, 0, &pinctrl); in board_init_f()
161 ret = uclass_get_device(UCLASS_RAM, 0, &dev); in board_init_f()
/external/u-boot/board/rockchip/evb_rk3399/
Devb-rk3399.c24 ret = uclass_get_device(UCLASS_PINCTRL, 0, &pinctrl); in board_init()
74 ret = uclass_get_device(UCLASS_PINCTRL, 0, &pinctrl); in spl_board_init()
/external/u-boot/board/atmel/common/
Dvideo_display.c51 ret = uclass_get_device(UCLASS_VIDEO, 0, &dev); in at91_video_show_board_info()
62 ret = uclass_get_device(UCLASS_VIDEO_CONSOLE, 0, &con); in at91_video_show_board_info()
/external/u-boot/board/st/stm32f746-disco/
Dstm32f746-disco.c44 rv = uclass_get_device(UCLASS_RAM, 0, &dev); in dram_init()
92 rv = uclass_get_device(UCLASS_RAM, 0, &dev); in spl_dram_init()

1234