Searched refs:device_active (Results 1 – 21 of 21) sorted by relevance
/external/u-boot/net/ |
D | eth-uclass.c | 83 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/ |
D | test-uclass.c | 35 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()
|
D | core.c | 679 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()
|
D | video.c | 93 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()
|
D | led.c | 102 ut_asserteq(1, device_active(dev)); in dm_test_led_label() 107 ut_asserteq(1, device_active(dev)); in dm_test_led_label()
|
D | blk.c | 107 ut_asserteq(false, device_active(dev)); in dm_test_blk_find() 112 ut_asserteq(true, device_active(dev)); in dm_test_blk_find()
|
D | pci.c | 44 ut_assert(device_active(swap)); in dm_test_pci_swapcase()
|
D | gpio.c | 196 ut_asserteq(true, !!device_active(gpio_a)); in dm_test_gpio_phandles()
|
/external/u-boot/drivers/usb/host/ |
D | usb-uclass.c | 229 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/ |
D | usb.c | 286 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) &&
|
D | led.c | 62 if (device_active(dev)) { in list_leds()
|
D | i2c.c | 1693 if (device_active(bus)) in show_bus()
|
/external/u-boot/drivers/video/sunxi/ |
D | sunxi_de2.c | 356 } 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/ |
D | sfi.c | 89 if (!device_active(dev)) in sfi_write_cpus()
|
D | mpspec.c | 86 if (!device_active(dev)) in mp_write_processor()
|
/external/u-boot/drivers/video/ |
D | video-uclass.c | 164 if (device_active(dev)) in video_sync_all()
|
/external/u-boot/drivers/gpio/ |
D | gpio-uclass.c | 503 if (!device_active(dev)) in get_function() 810 if (device_active(dev) && dev != removed_dev) { in gpio_renumber()
|
/external/u-boot/drivers/mmc/ |
D | mmc-uclass.c | 177 if (!device_active(dev)) in mmc_get_mmc_dev()
|
/external/u-boot/include/dm/ |
D | device.h | 158 #define device_active(dev) ((dev)->flags & DM_FLAG_ACTIVATED) macro
|
/external/u-boot/drivers/spi/ |
D | spi-uclass.c | 312 if (!device_active(dev)) { in spi_get_bus_and_cs()
|
/external/u-boot/drivers/core/ |
D | device.c | 677 if (device_active(child)) in device_has_active_children()
|