Home
last modified time | relevance | path

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

123

/rk3399_rockchip-uboot/drivers/usb/musb-new/
H A Dmusb_host.h58 if (list_empty(q)) in first_qh()
82 if (list_empty(queue)) in next_urb()
H A Dmusb_gadget.h86 if (list_empty(queue)) in next_request()
/rk3399_rockchip-uboot/drivers/core/
H A Ddump.c44 remained = pre_reloc ? !list_empty(&dev->uclass_node) : 0; in show_devices()
101 if (list_empty(&uc->dev_head)) in dm_dump_uclass()
H A Ddevres.c84 BUG_ON(!list_empty(&dr->entry)); in devres_free()
94 BUG_ON(!list_empty(&dr->entry)); in devres_add()
H A Duclass.c123 while (!list_empty(&uc->dev_head)) { in uclass_destroy()
191 if (list_empty(&uc->dev_head)) in uclass_find_device()
213 if (list_empty(&uc->dev_head)) in uclass_find_first_device()
/rk3399_rockchip-uboot/disk/
H A Dpart_rkparm.c155 if (list_empty(&parts_head) || in part_print_rkparm()
187 if (list_empty(&parts_head) || in part_get_info_rkparm()
223 if (list_empty(&parts_head) || in part_test_rkparm()
H A Dpart_rkram.c84 if (list_empty(&parts_head)) { in part_print_rkram_part()
109 if (list_empty(&parts_head)) in part_get_info_rkram_part()
H A Dpart_env.c140 if (list_empty(&parts_head) || (dev_num != DEV_NUM(dev_desc))) { in part_print_env()
169 if (list_empty(&parts_head) || (dev_num != DEV_NUM(dev_desc))) { in part_get_info_env()
/rk3399_rockchip-uboot/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()
/rk3399_rockchip-uboot/fs/ubifs/
H A Dgc.c405 if (list_empty(&sleb->nodes) && list_empty(&nondata)) in move_nodes()
511 ubifs_assert(!list_empty(&sleb->nodes)); in ubifs_garbage_collect_leb()
672 if (i > SOFT_LEBS_LIMIT && !list_empty(&c->idx_gc)) { in ubifs_garbage_collect()
792 if (ret == -ENOSPC && !list_empty(&c->idx_gc)) { in ubifs_garbage_collect()
945 while (!list_empty(&c->idx_gc)) { in ubifs_destroy_idx_gc()
967 if (list_empty(&c->idx_gc)) in ubifs_get_idx_gc_leb()
/rk3399_rockchip-uboot/arch/arm/mach-rockchip/
H A Dkernel_dtb.c119 if (list_empty(&uc->dev_head)) in phandles_fixup_cru()
217 if (uclass_get(UCLASS_KEY, &uc) || list_empty(&uc->dev_head)) in phandles_fixup_gpio()
264 if (uclass_get(UCLASS_MMC, &uc) || list_empty(&uc->dev_head)) in mmc_dm_reinit()
/rk3399_rockchip-uboot/drivers/usb/gadget/
H A Ddwc2_udc_otg_xfer_dma.c199 if (list_empty(&ep->queue)) { in complete_rx()
253 if (!list_empty(&ep->queue)) { in complete_rx()
279 if (list_empty(&ep->queue)) { in complete_tx()
334 if (!list_empty(&ep->queue)) { in complete_tx()
350 if (!list_empty(&ep->queue)) { in dwc2_udc_check_tx_queue()
619 || !list_empty(&req->queue))) { in dwc2_queue()
652 list_empty(&ep->queue), ep->stopped); in dwc2_queue()
670 if (list_empty(&ep->queue) && !ep->stopped) { in dwc2_queue()
813 if (!list_empty(&ep->queue)) { in dwc2_ep0_read()
851 if (list_empty(&ep->queue)) in dwc2_ep0_write()
[all …]
H A Dat91_udc.c91 if (list_empty(&ep->queue) && ep->int_mask != (1 << 0)) in done()
271 if (list_empty(&ep->queue)) in nuke()
275 while (!list_empty(&ep->queue)) { in nuke()
412 BUG_ON(!list_empty(&req->queue)); in at91_ep_free_request()
429 || !_req->buf || !list_empty(&req->queue)) { in at91_ep_queue()
452 if (list_empty(&ep->queue) && !ep->stopped) { in at91_ep_queue()
565 if (ep->is_in && (!list_empty(&ep->queue) || (csr >> 16) != 0)) in at91_ep_set_halt()
813 if (!list_empty(&ep->queue)) in handle_ep()
1039 if (!list_empty(&ep->queue)) in handle_setup()
1098 if (list_empty(&ep0->queue)) in handle_ep0()
H A Dpxa25x_udc.c407 WARN_ON(!list_empty(&req->queue)); in pxa25x_ep_free_request()
513 if (list_empty(&ep->queue)) in write_fifo()
667 if (list_empty(&ep->queue)) in read_fifo()
733 || !list_empty(&req->queue))) { in pxa25x_ep_queue()
769 if (list_empty(&ep->queue) && !ep->stopped) { in pxa25x_ep_queue()
845 while (!list_empty(&ep->queue)) { in nuke()
914 || !list_empty(&ep->queue))) { in pxa25x_ep_set_halt()
967 if (!_ep || ep->ep.name == ep0name || !list_empty(&ep->queue)) { in pxa25x_ep_fifo_flush()
1225 if (list_empty(&ep->queue)) in handle_ep0()
1470 if (likely(!list_empty(&ep->queue))) in handle_ep()
H A Datmel_usba_udc.c73 if (list_empty(&ep->queue)) { in submit_next_request()
104 if (list_empty(&ep->queue)) { in receive_data()
427 if (!list_empty(&ep->queue) || in usba_ep_set_halt()
856 if (!list_empty(&ep->queue)) in usba_control_irq()
1038 if (list_empty(&ep->queue)) { in usba_ep_irq()
/rk3399_rockchip-uboot/drivers/usb/dwc3/
H A Dgadget.h65 if (list_empty(list)) in next_request()
H A Dgadget.c528 if (!list_empty(&dep->req_queued)) { in dwc3_remove_requests()
532 while (!list_empty(&dep->req_queued)) { in dwc3_remove_requests()
539 while (!list_empty(&dep->request_list)) { in dwc3_remove_requests()
884 if (list_empty(&dep->req_queued)) in __dwc3_gadget_kick_transfer()
944 if (list_empty(&dep->request_list)) { in __dwc3_gadget_start_isoc()
1024 if (list_empty(&dep->req_queued)) { in __dwc3_gadget_ep_queue()
1169 (!list_empty(&dep->req_queued) || in __dwc3_gadget_ep_set_halt()
1170 !list_empty(&dep->request_list)))) { in __dwc3_gadget_ep_set_halt()
1801 list_empty(&dep->req_queued)) { in dwc3_cleanup_done_reqs()
1802 if (list_empty(&dep->request_list)) { in dwc3_cleanup_done_reqs()
[all …]
/rk3399_rockchip-uboot/scripts/kconfig/
H A Dlist.h70 static inline int list_empty(const struct list_head *head) in list_empty() function
/rk3399_rockchip-uboot/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()
/rk3399_rockchip-uboot/drivers/usb/cdns3/
H A Dep0.c569 if (!list_empty(&priv_ep->pending_req_list)) { in cdns3_ep0_setup_phase()
601 if (!list_empty(&priv_ep->pending_req_list)) { in cdns3_transfer_completed()
766 if (!list_empty(&priv_ep->pending_req_list)) { in cdns3_gadget_ep0_queue()
842 if (!list_empty(&priv_ep->pending_req_list)) { in cdns3_ep0_config()
H A Dgadget.c360 while (!list_empty(&priv_ep->deferred_req_list)) { in cdns3_start_all_request()
400 while (!list_empty(&priv_ep->wa2_descmiss_req_list)) { in cdns3_wa2_descmiss_copy_data()
494 u8 pending_empty = list_empty(&priv_ep->pending_req_list); in cdns3_wa2_gadget_ep_queue()
495 u8 descmiss_empty = list_empty(&priv_ep->wa2_descmiss_req_list); in cdns3_wa2_gadget_ep_queue()
543 while (!list_empty(&priv_ep->wa2_descmiss_req_list)) { in cdns3_wa2_remove_old_request()
1133 while (!list_empty(&priv_ep->pending_req_list)) { in cdns3_transfer_completed()
1922 while (!list_empty(&priv_ep->pending_req_list)) { in cdns3_gadget_ep_disable()
1929 while (!list_empty(&priv_ep->wa2_descmiss_req_list)) { in cdns3_gadget_ep_disable()
1939 while (!list_empty(&priv_ep->deferred_req_list)) { in cdns3_gadget_ep_disable()
2534 while (!list_empty(&priv_dev->aligned_buf_list)) { in cdns3_gadget_exit()
/rk3399_rockchip-uboot/drivers/block/
H A Dblkcache.c152 while (!list_empty(&block_cache)) { in blkcache_configure()
/rk3399_rockchip-uboot/cmd/
H A Dmtdparts.c525 if (list_empty(&dev->parts)) { in part_sort_add()
770 if (list_empty(&devices)) { in device_del()
818 if (list_empty(&devices)) { in device_add()
1098 if (list_empty(&devices)) { in generate_mtdparts()
1300 if (list_empty(&devices))
1821 if (list_empty(&devices)) {
/rk3399_rockchip-uboot/drivers/mtd/ubi/
H A Dwl.c209 if (list_empty(&ubi->works)) { in do_work()
532 if (list_empty(&ubi->works) || ubi->ro_mode || in ubi_do_worker()
537 while (!list_empty(&ubi->works)) { in ubi_do_worker()
1462 if (list_empty(&ubi->works) || ubi->ro_mode ||
1509 while (!list_empty(&ubi->works)) {
1851 ubi_assert(list_empty(&ubi->works));
/rk3399_rockchip-uboot/common/
H A Dlog.c86 if (list_empty(&ldev->filter_head)) { in log_passes_filters()

123