Searched refs:dwmac_dma_desc (Results 1 – 4 of 4) sorted by relevance
36 static struct dwmac_dma_desc __aligned(CONFIG_DCACHE_LINE_SIZE)61 desc_uncached_addr += NB_TX_DESCS * sizeof(struct dwmac_dma_desc); in dwmac_platform_init()65 desc_phys_addr += NB_TX_DESCS * sizeof(struct dwmac_dma_desc); in dwmac_platform_init()
59 #define TXDESC_PHYS_H(idx) hi32(p->tx_descs_phys + (idx) * sizeof(struct dwmac_dma_desc))60 #define TXDESC_PHYS_L(idx) lo32(p->tx_descs_phys + (idx) * sizeof(struct dwmac_dma_desc))61 #define RXDESC_PHYS_H(idx) hi32(p->rx_descs_phys + (idx) * sizeof(struct dwmac_dma_desc))62 #define RXDESC_PHYS_L(idx) lo32(p->rx_descs_phys + (idx) * sizeof(struct dwmac_dma_desc))135 struct dwmac_dma_desc *d; in dwmac_send()216 struct dwmac_dma_desc *d; in dwmac_tx_release()256 struct dwmac_dma_desc *d; in dwmac_receive()333 struct dwmac_dma_desc *d; in dwmac_rx_refill_thread()601 memset(p->tx_descs, 0, NB_TX_DESCS * sizeof(struct dwmac_dma_desc)); in dwmac_probe()602 memset(p->rx_descs, 0, NB_RX_DESCS * sizeof(struct dwmac_dma_desc)); in dwmac_probe()
95 static struct dwmac_dma_desc dwmac_tx_descs[NB_TX_DESCS] __desc_mem;96 static struct dwmac_dma_desc dwmac_rx_descs[NB_RX_DESCS] __desc_mem;
33 struct dwmac_dma_desc { struct53 struct dwmac_dma_desc *tx_descs, *rx_descs; argument