Lines Matching refs:first
901 struct xgene_dma_desc_sw *first = NULL, *new = NULL; in xgene_dma_prep_sg() local
943 if (!first) in xgene_dma_prep_sg()
944 first = new; in xgene_dma_prep_sg()
954 list_add_tail(&new->node, &first->tx_list); in xgene_dma_prep_sg()
993 list_splice(&first->tx_list, &new->tx_list); in xgene_dma_prep_sg()
997 if (!first) in xgene_dma_prep_sg()
1000 xgene_dma_free_desc_list(chan, &first->tx_list); in xgene_dma_prep_sg()
1008 struct xgene_dma_desc_sw *first = NULL, *new; in xgene_dma_prep_xor() local
1028 if (!first) in xgene_dma_prep_xor()
1029 first = new; in xgene_dma_prep_xor()
1035 list_add_tail(&new->node, &first->tx_list); in xgene_dma_prep_xor()
1040 list_splice(&first->tx_list, &new->tx_list); in xgene_dma_prep_xor()
1045 if (!first) in xgene_dma_prep_xor()
1048 xgene_dma_free_desc_list(chan, &first->tx_list); in xgene_dma_prep_xor()
1056 struct xgene_dma_desc_sw *first = NULL, *new; in xgene_dma_prep_pq() local
1086 if (!first) in xgene_dma_prep_pq()
1087 first = new; in xgene_dma_prep_pq()
1093 list_add_tail(&new->node, &first->tx_list); in xgene_dma_prep_pq()
1117 list_splice(&first->tx_list, &new->tx_list); in xgene_dma_prep_pq()
1122 if (!first) in xgene_dma_prep_pq()
1125 xgene_dma_free_desc_list(chan, &first->tx_list); in xgene_dma_prep_pq()