Lines Matching refs:tx_descs
614 struct dwceqos_dma_desc *tx_descs; member
690 dd = (struct dwceqos_dma_desc *)&lp->tx_descs[index]; in print_descriptor()
1087 if (lp->tx_descs) { in dwceqos_descriptor_free()
1089 (void *)(lp->tx_descs), lp->tx_descs_addr); in dwceqos_descriptor_free()
1090 lp->tx_descs = NULL; in dwceqos_descriptor_free()
1104 lp->tx_descs = NULL; in dwceqos_descriptor_init()
1133 lp->tx_descs = dma_alloc_coherent(lp->ndev->dev.parent, size, in dwceqos_descriptor_init()
1135 if (!lp->tx_descs) in dwceqos_descriptor_init()
1149 lp->tx_descs[i].des0 = 0; in dwceqos_descriptor_init()
1150 lp->tx_descs[i].des1 = 0; in dwceqos_descriptor_init()
1151 lp->tx_descs[i].des2 = 0; in dwceqos_descriptor_init()
1152 lp->tx_descs[i].des3 = 0; in dwceqos_descriptor_init()
1670 struct dwceqos_dma_desc *dd = &lp->tx_descs[lp->tx_cur]; in dwceqos_tx_reclaim()
1957 struct dwceqos_dma_desc *dd = &lp->tx_descs[lp->tx_next]; in dwceqos_dmadesc_set_ctx()
2029 dd = &lp->tx_descs[lp->tx_next]; in dwceqos_tx_linear()
2107 dd = &lp->tx_descs[lp->tx_next]; in dwceqos_tx_frags()
2136 lp->tx_descs[tx->last_descriptor].des3 |= DWCEQOS_DMA_TDES3_LD; in dwceqos_tx_finalize()
2137 lp->tx_descs[tx->last_descriptor].des2 |= DWCEQOS_DMA_TDES2_IOC; in dwceqos_tx_finalize()
2146 lp->tx_descs[tx->initial_descriptor].des3 |= DWCEQOS_DMA_TDES3_OWN; in dwceqos_tx_finalize()
2168 memset(&lp->tx_descs[i], 0, sizeof(lp->tx_descs[i])); in dwceqos_tx_rollback()