Home
last modified time | relevance | path

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

12345

/u-boot/test/dm/
A Dbutton.c24 ut_assertok(uclass_get_device(UCLASS_BUTTON, 0, &dev)); in dm_test_button_base()
26 ut_assertok(uclass_get_device(UCLASS_BUTTON, 1, &dev)); in dm_test_button_base()
27 ut_assertok(uclass_get_device(UCLASS_BUTTON, 2, &dev)); in dm_test_button_base()
30 ut_assertok(uclass_get_device(UCLASS_BUTTON, 3, &dev)); in dm_test_button_base()
32 ut_assertok(uclass_get_device(UCLASS_BUTTON, 4, &dev)); in dm_test_button_base()
33 ut_assertok(uclass_get_device(UCLASS_BUTTON, 5, &dev)); in dm_test_button_base()
34 ut_assertok(uclass_get_device(UCLASS_BUTTON, 6, &dev)); in dm_test_button_base()
52 ut_assertok(uclass_get_device(UCLASS_BUTTON, 1, &dev)); in dm_test_button_gpio()
53 ut_assertok(uclass_get_device(UCLASS_GPIO, 1, &gpio)); in dm_test_button_gpio()
74 ut_assertok(uclass_get_device(UCLASS_BUTTON, 1, &cmp)); in dm_test_button_label()
[all …]
A Dled.c20 ut_assertok(uclass_get_device(UCLASS_LED, 0, &dev)); in dm_test_led_base()
21 ut_assertok(uclass_get_device(UCLASS_LED, 1, &dev)); in dm_test_led_base()
22 ut_assertok(uclass_get_device(UCLASS_LED, 2, &dev)); in dm_test_led_base()
23 ut_assertok(uclass_get_device(UCLASS_LED, 3, &dev)); in dm_test_led_base()
24 ut_assertok(uclass_get_device(UCLASS_LED, 4, &dev)); in dm_test_led_base()
61 ut_assertok(uclass_get_device(UCLASS_LED, 1, &dev)); in dm_test_led_gpio()
62 ut_assertok(uclass_get_device(UCLASS_GPIO, 1, &gpio)); in dm_test_led_gpio()
86 ut_assertok(uclass_get_device(UCLASS_LED, 1, &dev)); in dm_test_led_toggle()
108 ut_assertok(uclass_get_device(UCLASS_LED, 1, &cmp)); in dm_test_led_label()
113 ut_assertok(uclass_get_device(UCLASS_LED, 2, &cmp)); in dm_test_led_label()
[all …]
A Dusb.c32 ut_assertok(uclass_get_device(UCLASS_USB, 0, &bus)); in dm_test_usb_base()
52 ut_assertok(uclass_get_device(UCLASS_MASS_STORAGE, 0, &dev)); in dm_test_usb_flash()
73 ut_assertok(uclass_get_device(UCLASS_MASS_STORAGE, 0, &dev)); in dm_test_usb_multi()
74 ut_assertok(uclass_get_device(UCLASS_MASS_STORAGE, 1, &dev)); in dm_test_usb_multi()
75 ut_assertok(uclass_get_device(UCLASS_MASS_STORAGE, 2, &dev)); in dm_test_usb_multi()
90 ut_assertok(uclass_get_device(UCLASS_MASS_STORAGE, 0, &dev)); in dm_test_usb_fdt_node()
93 ut_assertok(uclass_get_device(UCLASS_MASS_STORAGE, 1, &dev)); in dm_test_usb_fdt_node()
95 ut_assertok(uclass_get_device(UCLASS_MASS_STORAGE, 2, &dev)); in dm_test_usb_fdt_node()
137 ut_assertok(uclass_get_device(UCLASS_MASS_STORAGE, 0, &dev)); in dm_test_usb_stop()
138 ut_assertok(uclass_get_device(UCLASS_MASS_STORAGE, 1, &dev)); in dm_test_usb_stop()
[all …]
A Dvideo.c35 ut_assertok(uclass_get_device(UCLASS_VIDEO, 0, &dev)); in dm_test_video_base()
126 ut_assertok(uclass_get_device(UCLASS_VIDEO, 0, &dev)); in dm_test_video_text()
129 ut_assertok(uclass_get_device(UCLASS_VIDEO_CONSOLE, 0, &con)); in dm_test_video_text()
158 ut_assertok(uclass_get_device(UCLASS_VIDEO, 0, &dev)); in dm_test_video_chars()
175 ut_assertok(uclass_get_device(UCLASS_VIDEO, 0, &dev)); in dm_test_video_ansi()
223 ut_assertok(uclass_get_device(UCLASS_VIDEO, 0, &dev)); in check_vidconsole_output()
312 ut_assertok(uclass_get_device(UCLASS_VIDEO, 0, &dev)); in dm_test_video_bmp()
328 ut_assertok(uclass_get_device(UCLASS_VIDEO, 0, &dev)); in dm_test_video_bmp_comp()
344 ut_assertok(uclass_get_device(UCLASS_VIDEO, 0, &dev)); in dm_test_video_truetype()
365 ut_assertok(uclass_get_device(UCLASS_VIDEO, 0, &dev)); in dm_test_video_truetype_scroll()
[all …]
A Dsysreset.c22 ut_assertok(uclass_get_device(UCLASS_SYSRESET, 0, &dev)); in dm_test_sysreset_base()
28 ut_assertok(uclass_get_device(UCLASS_SYSRESET, 1, &dev)); in dm_test_sysreset_base()
38 ut_assertok(uclass_get_device(UCLASS_SYSRESET, 2, &dev)); in dm_test_sysreset_base()
57 ut_assertok(uclass_get_device(UCLASS_SYSRESET, 1, &dev)); in dm_test_sysreset_get_status()
62 ut_assertok(uclass_get_device(UCLASS_SYSRESET, 2, &dev)); in dm_test_sysreset_get_status()
106 ut_assertok(uclass_get_device(UCLASS_SYSRESET, 1, &dev)); in dm_test_sysreset_get_last()
110 ut_assertok(uclass_get_device(UCLASS_SYSRESET, 2, &dev)); in dm_test_sysreset_get_last()
A Dblk.c72 ut_assertok(uclass_get_device(UCLASS_MASS_STORAGE, 0, &usb_dev)); in dm_test_blk_usb()
123 ut_assertok(uclass_get_device(UCLASS_MMC, 1, &dev)); in dm_test_blk_devnum()
124 ut_assertok(uclass_get_device(UCLASS_MMC, 2, &dev)); in dm_test_blk_devnum()
125 ut_assertok(uclass_get_device(UCLASS_MMC, 0, &dev)); in dm_test_blk_devnum()
153 ut_assertok(uclass_get_device(UCLASS_MMC, 0, &dev)); in dm_test_blk_get_from_parent()
156 ut_assertok(uclass_get_device(UCLASS_I2C, 0, &dev)); in dm_test_blk_get_from_parent()
159 ut_assertok(uclass_get_device(UCLASS_GPIO, 0, &dev)); in dm_test_blk_get_from_parent()
A Dpwm.c18 ut_assertok(uclass_get_device(UCLASS_PWM, 0, &dev)); in dm_test_pwm_base()
27 ut_assertok(uclass_get_device(UCLASS_PWM, 1, &dev)); in dm_test_pwm_base()
28 ut_asserteq(-ENODEV, uclass_get_device(UCLASS_PWM, 2, &dev)); in dm_test_pwm_base()
A Dsyscon.c22 ut_assertok(uclass_get_device(UCLASS_SYSCON, 0, &dev)); in dm_test_syscon_base()
25 ut_assertok(uclass_get_device(UCLASS_SYSCON, 1, &dev)); in dm_test_syscon_base()
28 ut_asserteq(-ENODEV, uclass_get_device(UCLASS_SYSCON, 2, &dev)); in dm_test_syscon_base()
A Dbootcount.c20 ut_assertok(uclass_get_device(UCLASS_BOOTCOUNT, 0, &dev)); in dm_test_bootcount()
28 ut_assertok(uclass_get_device(UCLASS_BOOTCOUNT, 1, &dev)); in dm_test_bootcount()
A Dbus.c34 ut_assertok(uclass_get_device(UCLASS_TEST_BUS, 0, &bus)); in dm_test_bus_children()
53 ut_assertok(uclass_get_device(UCLASS_TEST_BUS, 0, &bus)); in dm_test_bus_children_funcs()
92 ut_assertok(uclass_get_device(UCLASS_TEST_BUS, 0, &bus)); in dm_test_bus_children_of_offset()
116 ut_assertok(uclass_get_device(UCLASS_TEST_BUS, 0, &bus)); in dm_test_bus_children_iterators()
149 ut_assertok(uclass_get_device(UCLASS_TEST_BUS, 0, &bus)); in test_bus_parent_data()
246 ut_assertok(uclass_get_device(UCLASS_TEST_BUS, 0, &bus)); in dm_test_bus_parent_ops()
285 ut_assertok(uclass_get_device(UCLASS_TEST_BUS, 0, &bus)); in test_bus_parent_plat()
385 ut_assertok(uclass_get_device(UCLASS_TEST_BUS, 0, &bus)); in dm_test_bus_child_post_bind()
406 ut_assertok(uclass_get_device(UCLASS_TEST_BUS, 0, &bus)); in dm_test_bus_child_post_bind_uclass()
434 ut_assertok(uclass_get_device(UCLASS_TEST_BUS, 0, &bus)); in dm_test_bus_child_pre_probe_uclass()
[all …]
A Dmmc.c22 ut_assertok(uclass_get_device(UCLASS_MMC, 0, &dev)); in dm_test_mmc_base()
35 ut_assertok(uclass_get_device(UCLASS_MMC, 0, &dev)); in dm_test_mmc_blk()
A Drtc.c26 ut_assertok(uclass_get_device(UCLASS_RTC, 0, &dev)); in dm_test_rtc_base()
27 ut_assertok(uclass_get_device(UCLASS_RTC, 1, &dev)); in dm_test_rtc_base()
65 ut_assertok(uclass_get_device(UCLASS_RTC, 0, &dev)); in dm_test_rtc_set_get()
143 ut_assertok(uclass_get_device(UCLASS_RTC, 0, &dev)); in dm_test_rtc_read_write()
244 ut_assertok(uclass_get_device(UCLASS_RTC, 0, &dev)); in dm_test_rtc_reset()
271 ut_assertok(uclass_get_device(UCLASS_RTC, 0, &dev1)); in dm_test_rtc_dual()
273 ut_assertok(uclass_get_device(UCLASS_RTC, 1, &dev2)); in dm_test_rtc_dual()
A Daxi.c21 ut_assertok(uclass_get_device(UCLASS_AXI, 0, &bus)); in dm_test_axi_base()
50 ut_assertok(uclass_get_device(UCLASS_AXI_EMUL, 0, &store)); in dm_test_axi_store()
A Dspmi.c26 ut_assertok(uclass_get_device(UCLASS_SPMI, 0, &bus)); in dm_test_spmi_probe()
55 ut_assertok(uclass_get_device(UCLASS_SPMI, 0, &bus)); in dm_test_spmi_access()
/u-boot/arch/arm/mach-stm32mp/
A Dspl.c108 ret = uclass_get_device(UCLASS_CLK, 0, &dev); in board_init_f()
114 ret = uclass_get_device(UCLASS_RESET, 0, &dev); in board_init_f()
120 ret = uclass_get_device(UCLASS_PINCTRL, 0, &dev); in board_init_f()
135 ret = uclass_get_device(UCLASS_RAM, 0, &dev); in board_init_f()
/u-boot/arch/arm/mach-socfpga/
A Dspl_agilex.c73 ret = uclass_get_device(UCLASS_CLK, 0, &dev); in board_init_f()
84 ret = uclass_get_device(UCLASS_CACHE, 0, &dev); in board_init_f()
91 ret = uclass_get_device(UCLASS_RAM, 0, &dev); in board_init_f()
A Dspl_gen5.c140 ret = uclass_get_device(UCLASS_RESET, 0, &dev); in board_init_f()
151 ret = uclass_get_device(UCLASS_RAM, 0, &dev); in board_init_f()
/u-boot/board/freescale/imxrt1020-evk/
A Dimxrt1020-evk.c25 rv = uclass_get_device(UCLASS_RAM, 0, &dev); in dram_init()
55 rv = uclass_get_device(UCLASS_RAM, 0, &dev); in spl_dram_init()
/u-boot/board/freescale/imxrt1050-evk/
A Dimxrt1050-evk.c25 rv = uclass_get_device(UCLASS_RAM, 0, &dev); in dram_init()
55 rv = uclass_get_device(UCLASS_RAM, 0, &dev); in spl_dram_init()
/u-boot/arch/mips/mach-octeon/
A Ddram.c24 ret = uclass_get_device(UCLASS_RAM, 0, &dev); in dram_init()
58 ret = uclass_get_device(UCLASS_RAM, 0, &dev); in board_add_ram_info()
/u-boot/drivers/video/sunxi/
A Dsunxi_lcd.c63 ret = uclass_get_device(UCLASS_PANEL_BACKLIGHT, 0, &backlight); in sunxi_lcd_enable()
89 ret = uclass_get_device(UCLASS_VIDEO_BRIDGE, 0, &cdev); in sunxi_lcd_probe()
113 ret = uclass_get_device(UCLASS_PANEL, 0, &cdev); in sunxi_lcd_probe()
/u-boot/arch/arm/mach-aspeed/ast2600/
A Dboard_common.c36 ret = uclass_get_device(UCLASS_RAM, 0, &dev); in dram_init()
60 rc = uclass_get_device(UCLASS_MISC, i++, &dev); in board_init()
/u-boot/drivers/bootcount/
A Dbootcount-uclass.c51 ret = uclass_get_device(UCLASS_BOOTCOUNT, 0, &dev); in bootcount_store()
79 ret = uclass_get_device(UCLASS_BOOTCOUNT, 0, &dev); in bootcount_load()
/u-boot/board/atmel/common/
A Dvideo_display.c55 ret = uclass_get_device(UCLASS_VIDEO, 0, &dev); in at91_video_show_board_info()
66 ret = uclass_get_device(UCLASS_VIDEO_CONSOLE, 0, &con); in at91_video_show_board_info()
/u-boot/board/st/stm32f746-disco/
A Dstm32f746-disco.c36 rv = uclass_get_device(UCLASS_RAM, 0, &dev); in dram_init()
65 rv = uclass_get_device(UCLASS_RAM, 0, &dev); in spl_dram_init()

Completed in 26 milliseconds

12345