Lines Matching defs:desc
700 static inline dma_addr_t desc_to_dma(struct netdev_desc *desc)
702 return le64_to_cpu(desc->fraginfo) & DMA_BIT_MASK(48);
824 struct netdev_desc *desc = &np->rx_ring[entry];
828 if (!(desc->status & cpu_to_le64(RFDDone)) ||
829 !(desc->status & cpu_to_le64(FrameStart)) ||
830 !(desc->status & cpu_to_le64(FrameEnd)))
834 frame_status = le64_to_cpu(desc->status);
855 desc_to_dma(desc),
862 desc_to_dma(desc),
870 desc_to_dma(desc),
1256 struct netdev_desc *desc;
1289 desc = &np->tx_ring[i];
1293 (u32) (np->tx_ring_dma + i * sizeof (*desc)),
1294 (u32)le64_to_cpu(desc->next_desc),
1295 (u32)le64_to_cpu(desc->status),
1296 (u32)(le64_to_cpu(desc->fraginfo) >> 32),
1297 (u32)le64_to_cpu(desc->fraginfo));