Lines Matching refs:segments
373 struct list_head segments; member
649 seg = list_first_entry(&desc->segments, in xilinx_dma_get_metadata_ptr()
841 INIT_LIST_HEAD(&desc->segments); in xilinx_dma_alloc_tx_descriptor()
864 list_for_each_entry_safe(segment, next, &desc->segments, node) { in xilinx_dma_free_tx_descriptor()
870 &desc->segments, node) { in xilinx_dma_free_tx_descriptor()
876 &desc->segments, node) { in xilinx_dma_free_tx_descriptor()
882 &desc->segments, node) { in xilinx_dma_free_tx_descriptor()
992 list_for_each(entry, &desc->segments) { in xilinx_dma_get_residue()
1428 list_for_each_entry(segment, &desc->segments, node) { in xilinx_vdma_start_transfer()
1483 tail_segment = list_last_entry(&tail_desc->segments, in xilinx_cdma_start_transfer()
1511 segment = list_first_entry(&head_desc->segments, in xilinx_cdma_start_transfer()
1555 tail_segment = list_last_entry(&tail_desc->segments, in xilinx_dma_start_transfer()
1591 segment = list_first_entry(&head_desc->segments, in xilinx_dma_start_transfer()
1637 tail_segment = list_last_entry(&tail_desc->segments, in xilinx_mcdma_start_transfer()
1724 seg = list_last_entry(&desc->segments, in xilinx_dma_complete_descriptor()
1947 tail_segment = list_last_entry(&tail_desc->segments, in append_desc_queue()
1952 cdma_tail_segment = list_last_entry(&tail_desc->segments, in append_desc_queue()
1957 axidma_tail_segment = list_last_entry(&tail_desc->segments, in append_desc_queue()
1963 list_last_entry(&tail_desc->segments, in append_desc_queue()
2102 list_add_tail(&segment->node, &desc->segments); in xilinx_vdma_dma_prep_interleaved()
2105 segment = list_first_entry(&desc->segments, in xilinx_vdma_dma_prep_interleaved()
2160 list_add_tail(&segment->node, &desc->segments); in xilinx_cdma_prep_memcpy()
2247 list_add_tail(&segment->node, &desc->segments); in xilinx_dma_prep_slave_sg()
2251 segment = list_first_entry(&desc->segments, in xilinx_dma_prep_slave_sg()
2258 segment = list_last_entry(&desc->segments, in xilinx_dma_prep_slave_sg()
2350 list_add_tail(&segment->node, &desc->segments); in xilinx_dma_prep_dma_cyclic()
2354 head_segment = list_first_entry(&desc->segments, in xilinx_dma_prep_dma_cyclic()
2363 segment = list_last_entry(&desc->segments, in xilinx_dma_prep_dma_cyclic()
2454 list_add_tail(&segment->node, &desc->segments); in xilinx_mcdma_prep_slave_sg()
2458 segment = list_first_entry(&desc->segments, in xilinx_mcdma_prep_slave_sg()
2465 segment = list_last_entry(&desc->segments, in xilinx_mcdma_prep_slave_sg()