Lines Matching refs:txdesc
1450 struct txdesc *txdesc = txring->desc; in jme_tx_clean_tasklet() local
1473 !(txdesc[i].descwb.flags & TXWBFLAG_OWN))) { in jme_tx_clean_tasklet()
1478 err = txdesc[i].descwb.flags & TXWBFLAG_ALLERR; in jme_tx_clean_tasklet()
1482 txdesc[(i + j) & (mask)].dw[0] = 0; in jme_tx_clean_tasklet()
1993 struct txdesc *txdesc, in jme_fill_tx_map() argument
2016 txdesc->dw[0] = 0; in jme_fill_tx_map()
2017 txdesc->dw[1] = 0; in jme_fill_tx_map()
2018 txdesc->desc2.flags = TXFLAG_OWN; in jme_fill_tx_map()
2019 txdesc->desc2.flags |= (hidma) ? TXFLAG_64BIT : 0; in jme_fill_tx_map()
2020 txdesc->desc2.datalen = cpu_to_le16(len); in jme_fill_tx_map()
2021 txdesc->desc2.bufaddrh = cpu_to_le32((__u64)dmaaddr >> 32); in jme_fill_tx_map()
2022 txdesc->desc2.bufaddrl = cpu_to_le32( in jme_fill_tx_map()
2054 struct txdesc *txdesc = txring->desc, *ctxdesc; in jme_map_tx_skb() local
2065 ctxdesc = txdesc + ((idx + i + 2) & (mask)); in jme_map_tx_skb()
2079 ctxdesc = txdesc + ((idx + 1) & (mask)); in jme_map_tx_skb()
2167 struct txdesc *txdesc; in jme_fill_tx_desc() local
2172 txdesc = (struct txdesc *)txring->desc + idx; in jme_fill_tx_desc()
2175 txdesc->dw[0] = 0; in jme_fill_tx_desc()
2176 txdesc->dw[1] = 0; in jme_fill_tx_desc()
2177 txdesc->dw[2] = 0; in jme_fill_tx_desc()
2178 txdesc->dw[3] = 0; in jme_fill_tx_desc()
2179 txdesc->desc1.pktsize = cpu_to_le16(skb->len); in jme_fill_tx_desc()
2192 if (jme_tx_tso(skb, &txdesc->desc1.mss, &flags)) in jme_fill_tx_desc()
2194 jme_tx_vlan(skb, &txdesc->desc1.vlan, &flags); in jme_fill_tx_desc()
2199 txdesc->desc1.flags = flags; in jme_fill_tx_desc()