Lines Matching refs:tx_ring
343 struct cp_desc *tx_ring; member
657 struct cp_desc *txd = cp->tx_ring + tx_tail; in cp_tx()
726 txd = &cp->tx_ring[index]; in unwind_tx_frag_mapping()
781 struct cp_desc *txd = &cp->tx_ring[entry]; in cp_start_xmit()
844 txd = &cp->tx_ring[entry]; in cp_start_xmit()
856 txd = &cp->tx_ring[first_entry]; in cp_start_xmit()
1106 memset(cp->tx_ring, 0, sizeof(struct cp_desc) * CP_TX_RING_SIZE); in cp_init_rings()
1107 cp->tx_ring[CP_TX_RING_SIZE - 1].opts1 = cpu_to_le32(RingEnd); in cp_init_rings()
1126 cp->tx_ring = &cp->rx_ring[CP_RX_RING_SIZE]; in cp_alloc_rings()
1153 desc = cp->tx_ring + i; in cp_clean_rings()
1165 memset(cp->tx_ring, 0, sizeof(struct cp_desc) * CP_TX_RING_SIZE); in cp_clean_rings()
1178 cp->tx_ring = NULL; in cp_free_rings()
1257 i, &cp->tx_ring[i], le32_to_cpu(cp->tx_ring[i].opts1), in cp_tx_timeout()
1258 cp->tx_opts[i], le32_to_cpu(cp->tx_ring[i].opts2), in cp_tx_timeout()
1259 le64_to_cpu(cp->tx_ring[i].addr), in cp_tx_timeout()