Home
last modified time | relevance | path

Searched refs:device_active (Results 1 – 21 of 21) sorted by relevance

/external/u-boot/net/
Deth-uclass.c83 if (dev && !device_active(dev)) { in eth_set_dev()
151 if (!current || !device_active(current)) in eth_init_state_only()
167 if (!current || !device_active(current)) in eth_halt_state_only()
186 if (!dev || !device_active(dev)) in eth_write_hwaddr()
274 if (device_active(current)) { in eth_init()
310 if (!current || !device_active(current)) in eth_halt()
322 if (!dev || !device_active(dev)) in eth_is_active()
/external/u-boot/test/dm/
Dtest-uclass.c35 ut_assert(!device_active(dev)); in test_post_bind()
60 ut_assert(device_active(dev)); in test_pre_probe()
76 ut_assert(device_active(dev)); in test_post_probe()
Dcore.c679 ut_asserteq(true, device_active(dev)); in dm_test_remove_active_dma()
685 ut_asserteq(false, device_active(dev)); in dm_test_remove_active_dma()
691 ut_asserteq(true, device_active(dev)); in dm_test_remove_active_dma()
697 ut_asserteq(false, device_active(dev)); in dm_test_remove_active_dma()
712 ut_asserteq(true, device_active(dev)); in dm_test_remove_active_dma()
718 ut_asserteq(true, device_active(dev)); in dm_test_remove_active_dma()
803 ut_assert(device_active(dev)); in dm_test_uclass_devices_get()
837 ut_assert(device_active(testdev)); in dm_test_uclass_devices_get_by_name()
845 ut_assert(device_active(finddev)); in dm_test_uclass_devices_get_by_name()
Dvideo.c93 ut_assert(!device_active(dev)); in select_vidconsole()
210 ut_assert(!device_active(dev)); in check_vidconsole_output()
352 ut_assert(!device_active(dev)); in dm_test_video_truetype_scroll()
373 ut_assert(!device_active(dev)); in dm_test_video_truetype_bs()
Dled.c102 ut_asserteq(1, device_active(dev)); in dm_test_led_label()
107 ut_asserteq(1, device_active(dev)); in dm_test_led_label()
Dblk.c107 ut_asserteq(false, device_active(dev)); in dm_test_blk_find()
112 ut_asserteq(true, device_active(dev)); in dm_test_blk_find()
Dpci.c44 ut_assert(device_active(swap)); in dm_test_pci_swapcase()
Dgpio.c196 ut_asserteq(true, !!device_active(gpio_a)); in dm_test_gpio_phandles()
/external/u-boot/drivers/usb/host/
Dusb-uclass.c229 if (!device_active(bus)) in remove_inactive_children()
232 if (!device_active(dev)) in remove_inactive_children()
295 if (!device_active(bus)) in usb_init()
310 if (!device_active(bus)) in usb_init()
351 if (!device_active(parent)) in find_child_devnum()
571 if (device_active(dev)) in usb_find_child()
688 if (!device_active(hub)) in usb_detect_change()
695 if (!device_active(dev)) in usb_detect_change()
/external/u-boot/cmd/
Dusb.c286 if (!device_active(hub)) in usb_find_device()
295 if (!device_active(hub)) in usb_find_device()
421 if (!device_active(child))
470 if (!device_active(bus))
474 if (dev && device_active(dev)) {
621 if (device_active(child) &&
Dled.c62 if (device_active(dev)) { in list_leds()
Di2c.c1693 if (device_active(bus)) in show_bus()
/external/u-boot/drivers/video/sunxi/
Dsunxi_de2.c356 } else if (device_active(hdmi)) { in sunxi_simplefb_setup()
369 else if (device_active(lcd)) in sunxi_simplefb_setup()
/external/u-boot/arch/x86/lib/
Dsfi.c89 if (!device_active(dev)) in sfi_write_cpus()
Dmpspec.c86 if (!device_active(dev)) in mp_write_processor()
/external/u-boot/drivers/video/
Dvideo-uclass.c164 if (device_active(dev)) in video_sync_all()
/external/u-boot/drivers/gpio/
Dgpio-uclass.c503 if (!device_active(dev)) in get_function()
810 if (device_active(dev) && dev != removed_dev) { in gpio_renumber()
/external/u-boot/drivers/mmc/
Dmmc-uclass.c177 if (!device_active(dev)) in mmc_get_mmc_dev()
/external/u-boot/include/dm/
Ddevice.h158 #define device_active(dev) ((dev)->flags & DM_FLAG_ACTIVATED) macro
/external/u-boot/drivers/spi/
Dspi-uclass.c312 if (!device_active(dev)) { in spi_get_bus_and_cs()
/external/u-boot/drivers/core/
Ddevice.c677 if (device_active(child)) in device_has_active_children()