Searched refs:tx_desc (Results 1 – 4 of 4) sorted by relevance
182 struct mtnic_tx_desc *tx_desc; in mtnic_alloc_ring() local240 tx_desc = ring->buf + ring->stride * i; in mtnic_alloc_ring()241 tx_desc->ctrl.op_own = cpu_to_be32(MTNIC_BIT_DESC_OWN); in mtnic_alloc_ring()1542 struct mtnic_tx_desc *tx_desc; in mtnic_transmit() local1561 tx_desc = ring->buf + (index * sizeof(struct mtnic_tx_desc)); in mtnic_transmit()1564 data = &tx_desc->data; in mtnic_transmit()1570 tx_desc->ctrl.size_vlan = cpu_to_be32(2); in mtnic_transmit()1571 tx_desc->ctrl.flags = cpu_to_be32(MTNIC_BIT_TX_COMP | in mtnic_transmit()1573 tx_desc->ctrl.op_own = cpu_to_be32(MTNIC_OPCODE_SEND) | in mtnic_transmit()
199 static u8 tx_ring[TX_DESC_DEF * sizeof(struct tx_desc) + 64];523 struct tx_desc *td_ptr; in velocity_transmit()1146 memset(vptr->td_rings, 0, TX_DESC_DEF * sizeof(struct tx_desc)); in velocity_init_rings()1240 vptr->td_rings = (struct tx_desc *) (vptr->TxDescArrays + diff); in velocity_open()
136 struct tx_desc { struct139 struct tx_desc * next_tx_desc; argument212 struct tx_desc txd[TX_DESC_CNT] __attribute__ ((aligned(32)));
254 struct tx_desc { struct1810 struct tx_desc *td_rings;