Lines Matching refs:txd
60 struct ftmac110_desc *txd; member
214 chip->txd[i].ctrl &= cpu_to_le64(FTMAC110_TXD_CLRMASK); in ftmac110_reset()
283 struct ftmac110_desc *txd; in ftmac110_send() local
296 txd = &chip->txd[chip->txd_idx]; in ftmac110_send()
297 ctrl = le64_to_cpu(txd->ctrl); in ftmac110_send()
305 memcpy(txd->vbuf, (void *)pkt, len); in ftmac110_send()
306 dma_map_single(txd->vbuf, len, DMA_TO_DEVICE); in ftmac110_send()
315 txd->ctrl = cpu_to_le64(ctrl); in ftmac110_send()
430 chip->txd = dma_alloc_coherent( in ftmac110_initialize()
432 if (!chip->txd) in ftmac110_initialize()
434 memset(chip->txd, 0, in ftmac110_initialize()
441 chip->txd[i].vbuf = va; in ftmac110_initialize()
442 chip->txd[i].pbuf = cpu_to_le32(virt_to_phys(va)); in ftmac110_initialize()
443 chip->txd[i].ctrl = 0; /* owned by SW */ in ftmac110_initialize()
445 chip->txd[i - 1].ctrl |= cpu_to_le64(FTMAC110_TXD_END); in ftmac110_initialize()