Lines Matching refs:slots
131 slot = &ring->slots[i]; in bgmac_dma_tx_add_buf()
146 struct bgmac_slot_info *slot = &ring->slots[index]; in bgmac_dma_tx_add()
187 slot = &ring->slots[index]; in bgmac_dma_tx_add()
224 struct bgmac_slot_info *slot = &ring->slots[index]; in bgmac_dma_tx_add()
257 struct bgmac_slot_info *slot = &ring->slots[slot_idx]; in bgmac_dma_tx_free()
393 dma_desc->addr_low = cpu_to_le32(lower_32_bits(ring->slots[desc_idx].dma_addr)); in bgmac_dma_rx_setup_desc()
394 dma_desc->addr_high = cpu_to_le32(upper_32_bits(ring->slots[desc_idx].dma_addr)); in bgmac_dma_rx_setup_desc()
428 struct bgmac_slot_info *slot = &ring->slots[ring->start]; in bgmac_dma_rx_read()
527 slot = &ring->slots[i]; in bgmac_dma_tx_ring_free()
550 slot = &ring->slots[i]; in bgmac_dma_rx_ring_free()
714 err = bgmac_dma_rx_skb_for_slot(bgmac, &ring->slots[j]); in bgmac_dma_init()