Home
last modified time | relevance | path

Searched refs:dest_idx (Results 1 – 2 of 2) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/broadcom/
Db44.c665 int dest_idx; in b44_alloc_rx_skb() local
671 dest_idx = dest_idx_unmasked & (B44_RX_RING_SIZE - 1); in b44_alloc_rx_skb()
672 map = &bp->rx_buffers[dest_idx]; in b44_alloc_rx_skb()
718 if (dest_idx == (B44_RX_RING_SIZE - 1)) in b44_alloc_rx_skb()
721 dp = &bp->rx_ring[dest_idx]; in b44_alloc_rx_skb()
727 dest_idx * sizeof(*dp), in b44_alloc_rx_skb()
738 int dest_idx; in b44_recycle_rx() local
741 dest_idx = dest_idx_unmasked & (B44_RX_RING_SIZE - 1); in b44_recycle_rx()
742 dest_desc = &bp->rx_ring[dest_idx]; in b44_recycle_rx()
743 dest_map = &bp->rx_buffers[dest_idx]; in b44_recycle_rx()
[all …]
Dtg3.c6660 int skb_size, data_size, dest_idx; in tg3_alloc_rx_data() local
6664 dest_idx = dest_idx_unmasked & tp->rx_std_ring_mask; in tg3_alloc_rx_data()
6665 desc = &tpr->rx_std[dest_idx]; in tg3_alloc_rx_data()
6666 map = &tpr->rx_std_buffers[dest_idx]; in tg3_alloc_rx_data()
6671 dest_idx = dest_idx_unmasked & tp->rx_jmb_ring_mask; in tg3_alloc_rx_data()
6672 desc = &tpr->rx_jmb[dest_idx].std; in tg3_alloc_rx_data()
6673 map = &tpr->rx_jmb_buffers[dest_idx]; in tg3_alloc_rx_data()
6730 int dest_idx; in tg3_recycle_rx() local
6734 dest_idx = dest_idx_unmasked & tp->rx_std_ring_mask; in tg3_recycle_rx()
6735 dest_desc = &dpr->rx_std[dest_idx]; in tg3_recycle_rx()
[all …]