Searched refs:bgmac_dma_desc (Results 1 – 2 of 2) sorted by relevance
115 struct bgmac_dma_desc *dma_desc; in bgmac_dma_tx_add_buf()203 sizeof(struct bgmac_dma_desc)); in bgmac_dma_tx_add()246 empty_slot /= sizeof(struct bgmac_dma_desc); in bgmac_dma_tx_free()374 ring->end * sizeof(struct bgmac_dma_desc)); in bgmac_dma_rx_update_index()380 struct bgmac_dma_desc *dma_desc = ring->cpu_base + desc_idx; in bgmac_dma_rx_setup_desc()422 end_slot /= sizeof(struct bgmac_dma_desc); in bgmac_dma_rx_read()529 struct bgmac_dma_desc *dma_desc = ring->cpu_base; in bgmac_dma_tx_ring_free()583 size = num_slots * sizeof(struct bgmac_dma_desc); in bgmac_dma_ring_desc_free()636 size = BGMAC_TX_RING_SLOTS * sizeof(struct bgmac_dma_desc); in bgmac_dma_alloc()661 size = BGMAC_RX_RING_SLOTS * sizeof(struct bgmac_dma_desc); in bgmac_dma_alloc()
440 struct bgmac_dma_desc { struct465 struct bgmac_dma_desc *cpu_base; argument