Home
last modified time | relevance | path

Searched refs:list_empty (Results 1 – 25 of 55) sorted by relevance

123

/openbmc/u-boot/drivers/usb/musb-new/
H A Dmusb_host.h57 if (list_empty(q)) in first_qh()
81 if (list_empty(queue)) in next_urb()
H A Dmusb_gadget.h85 if (list_empty(queue)) in next_request()
/openbmc/u-boot/include/linux/
H A Dlist.h176 static inline int list_empty(const struct list_head *head) in list_empty() function
206 return !list_empty(head) && (head->next == head->prev); in list_is_singular()
238 if (list_empty(head)) in list_cut_position()
271 if (!list_empty(list)) in list_splice()
283 if (!list_empty(list)) in list_splice_tail()
297 if (!list_empty(list)) { in list_splice_init()
314 if (!list_empty(list)) { in list_splice_tail_init()
/openbmc/u-boot/fs/ubifs/
H A Dgc.c404 if (list_empty(&sleb->nodes) && list_empty(&nondata)) in move_nodes()
510 ubifs_assert(!list_empty(&sleb->nodes)); in ubifs_garbage_collect_leb()
671 if (i > SOFT_LEBS_LIMIT && !list_empty(&c->idx_gc)) { in ubifs_garbage_collect()
791 if (ret == -ENOSPC && !list_empty(&c->idx_gc)) { in ubifs_garbage_collect()
944 while (!list_empty(&c->idx_gc)) { in ubifs_destroy_idx_gc()
966 if (list_empty(&c->idx_gc)) in ubifs_get_idx_gc_leb()
H A Dlprops.c325 ubifs_assert(!list_empty(&lprops->list)); in ubifs_remove_from_cat()
789 if (list_empty(&c->empty_list)) in ubifs_fast_find_empty()
812 if (list_empty(&c->freeable_list)) in ubifs_fast_find_freeable()
836 if (list_empty(&c->frdi_idx_list)) in ubifs_fast_find_frdi_idx()
/openbmc/u-boot/drivers/usb/gadget/
H A Ddwc2_udc_otg_xfer_dma.c198 if (list_empty(&ep->queue)) { in complete_rx()
252 if (!list_empty(&ep->queue)) { in complete_rx()
278 if (list_empty(&ep->queue)) { in complete_tx()
333 if (!list_empty(&ep->queue)) { in complete_tx()
349 if (!list_empty(&ep->queue)) { in dwc2_udc_check_tx_queue()
596 || !list_empty(&req->queue))) { in dwc2_queue()
629 list_empty(&ep->queue), ep->stopped); in dwc2_queue()
647 if (list_empty(&ep->queue) && !ep->stopped) { in dwc2_queue()
790 if (!list_empty(&ep->queue)) { in dwc2_ep0_read()
828 if (list_empty(&ep->queue)) in dwc2_ep0_write()
[all …]
H A Dat91_udc.c90 if (list_empty(&ep->queue) && ep->int_mask != (1 << 0)) in done()
270 if (list_empty(&ep->queue)) in nuke()
274 while (!list_empty(&ep->queue)) { in nuke()
411 BUG_ON(!list_empty(&req->queue)); in at91_ep_free_request()
428 || !_req->buf || !list_empty(&req->queue)) { in at91_ep_queue()
451 if (list_empty(&ep->queue) && !ep->stopped) { in at91_ep_queue()
564 if (ep->is_in && (!list_empty(&ep->queue) || (csr >> 16) != 0)) in at91_ep_set_halt()
812 if (!list_empty(&ep->queue)) in handle_ep()
1038 if (!list_empty(&ep->queue)) in handle_setup()
1097 if (list_empty(&ep0->queue)) in handle_ep0()
H A Dpxa25x_udc.c406 WARN_ON(!list_empty(&req->queue)); in pxa25x_ep_free_request()
512 if (list_empty(&ep->queue)) in write_fifo()
666 if (list_empty(&ep->queue)) in read_fifo()
732 || !list_empty(&req->queue))) { in pxa25x_ep_queue()
768 if (list_empty(&ep->queue) && !ep->stopped) { in pxa25x_ep_queue()
844 while (!list_empty(&ep->queue)) { in nuke()
913 || !list_empty(&ep->queue))) { in pxa25x_ep_set_halt()
966 if (!_ep || ep->ep.name == ep0name || !list_empty(&ep->queue)) { in pxa25x_ep_fifo_flush()
1224 if (list_empty(&ep->queue)) in handle_ep0()
1469 if (likely(!list_empty(&ep->queue))) in handle_ep()
H A Daspeed_udc.c235 while (!list_empty(&ep->queue)) { in aspeed_udc_nuke()
372 if (list_empty(&ep->queue)) { in aspeed_udc_ep0_in()
408 if (list_empty(&ep->queue)) in aspeed_udc_ep0_out()
804 if (list_empty(&ep->queue)) { in aspeed_udc_ep_handle_desc_mode()
859 if (!list_empty(&ep->queue)) { in aspeed_udc_ep_handle_desc_mode()
898 if (list_empty(&ep->queue)) in aspeed_udc_ep_handle()
913 if (!list_empty(&ep->queue)) { in aspeed_udc_ep_handle()
H A Datmel_usba_udc.c72 if (list_empty(&ep->queue)) { in submit_next_request()
103 if (list_empty(&ep->queue)) { in receive_data()
426 if (!list_empty(&ep->queue) || in usba_ep_set_halt()
855 if (!list_empty(&ep->queue)) in usba_control_irq()
1037 if (list_empty(&ep->queue)) { in usba_ep_irq()
/openbmc/u-boot/lib/efi_loader/
H A Defi_hii.c115 while (!list_empty(&hii->string_tables)) { in remove_strings_package()
243 while (!list_empty(&hii->guid_list)) { in remove_guid_package()
272 while (!list_empty(&package->keyboard_layout_list)) { in free_keyboard_layouts()
286 while (!list_empty(&hii->keyboard_packages)) { in remove_keyboard_package()
607 if (!list_empty(&hii->guid_list)) in list_package_lists()
615 if (!list_empty(&hii->string_tables)) in list_package_lists()
635 if (!list_empty(&hii->keyboard_packages)) in list_package_lists()
/openbmc/u-boot/drivers/core/
H A Ddevres.c83 BUG_ON(!list_empty(&dr->entry)); in devres_free()
93 BUG_ON(!list_empty(&dr->entry)); in devres_add()
H A Ddump.c90 if (list_empty(&uc->dev_head)) in dm_dump_uclass()
H A Duclass.c116 while (!list_empty(&uc->dev_head)) { in uclass_destroy()
180 if (list_empty(&uc->dev_head)) in dev_get_uclass_index()
205 if (list_empty(&uc->dev_head)) in uclass_find_device()
227 if (list_empty(&uc->dev_head)) in uclass_find_first_device()
/openbmc/u-boot/drivers/usb/dwc3/
H A Dgadget.h64 if (list_empty(list)) in next_request()
H A Dgadget.c526 if (!list_empty(&dep->req_queued)) { in dwc3_remove_requests()
530 while (!list_empty(&dep->req_queued)) { in dwc3_remove_requests()
537 while (!list_empty(&dep->request_list)) { in dwc3_remove_requests()
870 if (list_empty(&dep->req_queued)) in __dwc3_gadget_kick_transfer()
930 if (list_empty(&dep->request_list)) { in __dwc3_gadget_start_isoc()
1010 if (list_empty(&dep->req_queued)) { in __dwc3_gadget_ep_queue()
1155 (!list_empty(&dep->req_queued) || in __dwc3_gadget_ep_set_halt()
1156 !list_empty(&dep->request_list)))) { in __dwc3_gadget_ep_set_halt()
1775 list_empty(&dep->req_queued)) { in dwc3_cleanup_done_reqs()
1776 if (list_empty(&dep->request_list)) { in dwc3_cleanup_done_reqs()
[all …]
/openbmc/u-boot/fs/yaffs2/
H A Dyaffs_allocator.c299 if (list_empty(&allocator->free_objs)) in yaffs_alloc_raw_obj()
302 if (!list_empty(&allocator->free_objs)) { in yaffs_alloc_raw_obj()
/openbmc/u-boot/scripts/kconfig/
H A Dlist.h71 static inline int list_empty(const struct list_head *head) in list_empty() function
/openbmc/u-boot/drivers/pinctrl/
H A Dpinctrl_stm32.c101 if (list_empty(&priv->gpio_dev)) in stm32_pinctrl_get_pins_count()
125 if (list_empty(&priv->gpio_dev)) in stm32_pinctrl_get_gpio_dev()
/openbmc/u-boot/cmd/
H A Dmtdparts.c524 if (list_empty(&dev->parts)) { in part_sort_add()
769 if (list_empty(&devices)) { in device_del()
817 if (list_empty(&devices)) { in device_add()
1097 if (list_empty(&devices)) { in generate_mtdparts()
1296 if (list_empty(&devices))
1815 if (list_empty(&devices)) {
/openbmc/u-boot/drivers/mtd/ubi/
H A Dwl.c208 if (list_empty(&ubi->works)) { in do_work()
531 if (list_empty(&ubi->works) || ubi->ro_mode || in ubi_do_worker()
536 while (!list_empty(&ubi->works)) { in ubi_do_worker()
1461 if (list_empty(&ubi->works) || ubi->ro_mode ||
1508 while (!list_empty(&ubi->works)) {
1850 ubi_assert(list_empty(&ubi->works));
/openbmc/u-boot/drivers/block/
H A Dblkcache.c151 while (!list_empty(&block_cache)) { in blkcache_configure()
/openbmc/u-boot/drivers/tee/
H A Dtee-uclass.c193 while (!list_empty(&priv->list_shm)) { in tee_pre_remove()
/openbmc/u-boot/common/
H A Dlog.c157 if (list_empty(&ldev->filter_head)) { in log_passes_filters()
H A Dstdio.c160 sdev = list_empty(&devs.list) ? NULL : in stdio_probe_device()

123