Lines Matching refs:rxd
56 struct ftmac110_desc *rxd; member
221 chip->rxd[i].ctrl &= cpu_to_le64(FTMAC110_RXD_CLRMASK); in ftmac110_reset()
222 chip->rxd[i].ctrl |= cpu_to_le64(FTMAC110_RXD_OWNER); in ftmac110_reset()
328 struct ftmac110_desc *rxd; in ftmac110_recv() local
337 rxd = &chip->rxd[chip->rxd_idx]; in ftmac110_recv()
338 ctrl = le64_to_cpu(rxd->ctrl); in ftmac110_recv()
343 buf = rxd->vbuf; in ftmac110_recv()
356 rxd->ctrl |= cpu_to_le64(ctrl); in ftmac110_recv()
449 chip->rxd = dma_alloc_coherent( in ftmac110_initialize()
451 if (!chip->rxd) in ftmac110_initialize()
453 memset((void *)chip->rxd, 0, in ftmac110_initialize()
462 chip->rxd[i].vbuf = va; in ftmac110_initialize()
463 chip->rxd[i].pbuf = cpu_to_le32(virt_to_phys(va)); in ftmac110_initialize()
464 chip->rxd[i].ctrl = cpu_to_le64(FTMAC110_RXD_OWNER in ftmac110_initialize()
467 chip->rxd[i - 1].ctrl |= cpu_to_le64(FTMAC110_RXD_END); in ftmac110_initialize()