Home
last modified time | relevance | path

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

/drivers/dma/
Dtimb_dma.c90 struct list_head active_list; member
232 td_desc = list_entry(td_chan->active_list.next, struct timb_dma_desc, in __td_start_dma()
271 if (list_empty(&td_chan->active_list)) in __td_finish()
274 td_desc = list_entry(td_chan->active_list.next, struct timb_dma_desc, in __td_finish()
317 list_entry(td_chan->active_list.next, in __td_ier_mask()
340 list_move(&td_desc->desc_node, &td_chan->active_list); in __td_start_next()
355 if (list_empty(&td_chan->active_list)) { in td_tx_submit()
358 list_add_tail(&td_desc->desc_node, &td_chan->active_list); in td_tx_submit()
496 BUG_ON(!list_empty(&td_chan->active_list)); in td_free_chan_resources()
532 if (!list_empty(&td_chan->active_list)) in td_issue_pending()
[all …]
Dpch_dma.c110 struct list_head active_list; member
177 return list_first_entry(&pd_chan->active_list, in pdc_first_active()
383 list_splice_init(&pd_chan->active_list, &list); in pdc_complete_all()
384 list_splice_init(&pd_chan->queue, &pd_chan->active_list); in pdc_complete_all()
397 list_splice_init(&pd_chan->queue, pd_chan->active_list.prev); in pdc_handle_error()
399 if (!list_empty(&pd_chan->active_list)) in pdc_handle_error()
411 if (list_empty(&pd_chan->active_list) || in pdc_advance_work()
412 list_is_singular(&pd_chan->active_list)) { in pdc_advance_work()
429 if (list_empty(&pd_chan->active_list)) { in pd_tx_submit()
430 list_add_tail(&desc->desc_node, &pd_chan->active_list); in pd_tx_submit()
[all …]
Dtxx9dmac.c168 return list_entry(dc->active_list.next, in txx9dmac_first_active()
174 return list_entry(dc->active_list.prev, in txx9dmac_last_active()
488 list_splice_init(&dc->active_list, &list); in txx9dmac_complete_all()
490 txx9dmac_dequeue(dc, &dc->active_list); in txx9dmac_complete_all()
552 if (list_empty(&dc->active_list) && !list_empty(&dc->queue)) in txx9dmac_handle_error()
553 txx9dmac_dequeue(dc, &dc->active_list); in txx9dmac_handle_error()
554 if (!list_empty(&dc->active_list)) in txx9dmac_handle_error()
595 list_for_each_entry_safe(desc, _desc, &dc->active_list, desc_node) { in txx9dmac_scan_descriptors()
630 txx9dmac_dequeue(dc, &dc->active_list); in txx9dmac_scan_descriptors()
946 list_splice_init(&dc->active_list, &list); in txx9dmac_control()
[all …]
Dat_hdmac.c63 return list_first_entry(&atchan->active_list, in atc_first_active()
321 list_splice_init(&atchan->active_list, &list); in atc_complete_all()
323 list_splice_init(&atchan->queue, &atchan->active_list); in atc_complete_all()
342 list_for_each_entry_safe(desc, _desc, &atchan->active_list, desc_node) { in atc_cleanup_descriptors()
373 if (list_empty(&atchan->active_list) || in atc_advance_work()
374 list_is_singular(&atchan->active_list)) { in atc_advance_work()
405 list_splice_init(&atchan->queue, atchan->active_list.prev); in atc_handle_error()
408 if (!list_empty(&atchan->active_list)) in atc_handle_error()
530 if (list_empty(&atchan->active_list)) { in atc_tx_submit()
534 list_add_tail(&desc->desc_node, &atchan->active_list); in atc_tx_submit()
[all …]
Ddw_dmac.c103 return to_dw_desc(dwc->active_list.next); in dwc_first_active()
367 list_splice_init(&dwc->active_list, &list); in dwc_complete_all()
369 list_move(dwc->queue.next, &dwc->active_list); in dwc_complete_all()
442 if (list_empty(&dwc->active_list)) { in dwc_scan_descriptors()
457 list_for_each_entry_safe(desc, _desc, &dwc->active_list, desc_node) { in dwc_scan_descriptors()
502 list_move(dwc->queue.next, &dwc->active_list); in dwc_scan_descriptors()
531 list_move(dwc->queue.next, dwc->active_list.prev); in dwc_handle_error()
535 if (!list_empty(&dwc->active_list)) in dwc_handle_error()
708 if (list_empty(&dwc->active_list)) { in dwc_tx_submit()
711 list_add_tail(&desc->desc_node, &dwc->active_list); in dwc_tx_submit()
[all …]
Dintel_mid_dma.c340 list_for_each_entry_safe(desc, _desc, &midc->active_list, desc_node) { in midc_scan_descriptors()
441 if (list_empty(&midc->active_list)) in intel_mid_dma_tx_submit()
442 list_add_tail(&desc->desc_node, &midc->active_list); in intel_mid_dma_tx_submit()
550 list_for_each_entry_safe(desc, _desc, &midc->active_list, desc_node) { in intel_mid_dma_device_control()
820 list_for_each_entry_safe(desc, _desc, &midc->active_list, desc_node) { in intel_mid_dma_free_chan_resources()
1115 INIT_LIST_HEAD(&midch->active_list); in mid_setup_dma()
Dintel_mid_dma_regs.h185 struct list_head active_list; member
Dtxx9dmac.h175 struct list_head active_list; member
Ddw_dmac_regs.h204 struct list_head active_list; member
Dat_hdmac_regs.h254 struct list_head active_list; member
/drivers/rapidio/devices/
Dtsi721_dma.c58 return list_first_entry(&bdma_chan->active_list, in tsi721_dma_first_active()
374 list_splice_init(&bdma_chan->active_list, &list); in tsi721_dma_complete_all()
375 list_splice_init(&bdma_chan->queue, &bdma_chan->active_list); in tsi721_dma_complete_all()
406 if (list_empty(&bdma_chan->active_list) || in tsi721_advance_work()
407 list_is_singular(&bdma_chan->active_list)) { in tsi721_advance_work()
469 if (list_empty(&bdma_chan->active_list)) { in tsi721_tx_submit()
470 list_add_tail(&desc->desc_node, &bdma_chan->active_list); in tsi721_tx_submit()
589 BUG_ON(!list_empty(&bdma_chan->active_list)); in tsi721_free_chan_resources()
757 list_splice_init(&bdma_chan->active_list, &list); in tsi721_device_control()
796 INIT_LIST_HEAD(&bdma_chan->active_list); in tsi721_register_dma()
Dtsi721.h676 struct list_head active_list; member
/drivers/gpu/drm/i915/
Di915_gem_evict.c98 list_for_each_entry(obj, &dev_priv->mm.active_list, mm_list) { in i915_gem_evict_something()
162 list_empty(&dev_priv->mm.active_list)); in i915_gem_evict_everything()
Di915_gem_debug.c44 list_for_each_entry(obj, &dev_priv->render_ring.active_list, list) { in i915_verify_lists()
Dintel_ringbuffer.h117 struct list_head active_list; member
Di915_gem.c1892 list_move_tail(&obj->mm_list, &dev_priv->mm.active_list); in i915_gem_object_move_to_active()
1893 list_move_tail(&obj->ring_list, &ring->active_list); in i915_gem_object_move_to_active()
2118 while (!list_empty(&ring->active_list)) { in i915_gem_reset_ring_lists()
2121 obj = list_first_entry(&ring->active_list, in i915_gem_reset_ring_lists()
2204 while (!list_empty(&ring->active_list)) { in i915_gem_retire_requests_ring()
2207 obj = list_first_entry(&ring->active_list, in i915_gem_retire_requests_ring()
4098 BUG_ON(!list_empty(&dev_priv->mm.active_list)); in i915_gem_entervt_ioctl()
4143 INIT_LIST_HEAD(&ring->active_list); in init_ring_lists()
4159 INIT_LIST_HEAD(&dev_priv->mm.active_list); in i915_gem_load()
Dintel_ringbuffer.c1182 INIT_LIST_HEAD(&ring->active_list); in intel_init_ring_buffer()
1781 INIT_LIST_HEAD(&ring->active_list); in intel_render_ring_init_dri()
Di915_irq.c1343 list_for_each_entry(obj, &dev_priv->mm.active_list, mm_list) { in i915_error_first_batchbuffer()
1552 list_for_each_entry(obj, &dev_priv->mm.active_list, mm_list) in i915_capture_error_state()
1574 &dev_priv->mm.active_list); in i915_capture_error_state()
Di915_debugfs.c161 head = &dev_priv->mm.active_list; in i915_gem_object_list_info()
223 count_objects(&dev_priv->mm.active_list, mm_list); in i915_gem_object_info()
Di915_drv.h760 struct list_head active_list; member
/drivers/staging/android/
Dsync.c123 if (!list_empty(&pt->active_list)) in sync_timeline_remove_pt()
124 list_del_init(&pt->active_list); in sync_timeline_remove_pt()
146 container_of(pos, struct sync_pt, active_list); in sync_timeline_signal()
179 INIT_LIST_HEAD(&pt->active_list); in sync_pt_create()
235 list_add_tail(&pt->active_list, &obj->active_list_head); in sync_pt_activate()
Dsync.h133 struct list_head active_list; member
/drivers/infiniband/core/
Dmulticast.c103 struct list_head active_list; member
381 list_move(&member->list, &group->active_list); in join_group()
409 while (!list_empty(&group->active_list)) { in process_group_error()
410 member = list_entry(group->active_list.next, in process_group_error()
582 INIT_LIST_HEAD(&group->active_list); in acquire_group()
/drivers/acpi/
Dvideo.c1247 struct acpi_video_enumerated_device *active_list; in acpi_video_device_enumerate() local
1268 active_list = kcalloc(1 + dod->package.count, in acpi_video_device_enumerate()
1271 if (!active_list) { in acpi_video_device_enumerate()
1286 active_list[count].value.int_val = obj->integer.value; in acpi_video_device_enumerate()
1287 active_list[count].bind_info = NULL; in acpi_video_device_enumerate()
1295 video->attached_array = active_list; in acpi_video_device_enumerate()
/drivers/scsi/bnx2i/
Dbnx2i_iscsi.c1566 struct list_head *active_list = &hba->ep_active_list; in bnx2i_host_get_param() local
1573 bnx2i_ep = list_first_entry(active_list, in bnx2i_host_get_param()