Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/net/ethernet/broadcom/
Db44.c634 int dest_idx; in b44_alloc_rx_skb() local
640 dest_idx = dest_idx_unmasked & (B44_RX_RING_SIZE - 1); in b44_alloc_rx_skb()
641 map = &bp->rx_buffers[dest_idx]; in b44_alloc_rx_skb()
687 if (dest_idx == (B44_RX_RING_SIZE - 1)) in b44_alloc_rx_skb()
690 dp = &bp->rx_ring[dest_idx]; in b44_alloc_rx_skb()
696 dest_idx * sizeof(*dp), in b44_alloc_rx_skb()
707 int dest_idx; in b44_recycle_rx() local
710 dest_idx = dest_idx_unmasked & (B44_RX_RING_SIZE - 1); in b44_recycle_rx()
711 dest_desc = &bp->rx_ring[dest_idx]; in b44_recycle_rx()
712 dest_map = &bp->rx_buffers[dest_idx]; in b44_recycle_rx()
[all …]
Dtg3.c5698 int skb_size, data_size, dest_idx; in tg3_alloc_rx_data() local
5702 dest_idx = dest_idx_unmasked & tp->rx_std_ring_mask; in tg3_alloc_rx_data()
5703 desc = &tpr->rx_std[dest_idx]; in tg3_alloc_rx_data()
5704 map = &tpr->rx_std_buffers[dest_idx]; in tg3_alloc_rx_data()
5709 dest_idx = dest_idx_unmasked & tp->rx_jmb_ring_mask; in tg3_alloc_rx_data()
5710 desc = &tpr->rx_jmb[dest_idx].std; in tg3_alloc_rx_data()
5711 map = &tpr->rx_jmb_buffers[dest_idx]; in tg3_alloc_rx_data()
5762 int dest_idx; in tg3_recycle_rx() local
5766 dest_idx = dest_idx_unmasked & tp->rx_std_ring_mask; in tg3_recycle_rx()
5767 dest_desc = &dpr->rx_std[dest_idx]; in tg3_recycle_rx()
[all …]
/linux-3.4.99/kernel/
Dprintk.c194 unsigned start, dest_idx, offset; in setup_log_buf() local
225 dest_idx = 0; in setup_log_buf()
229 log_buf[dest_idx] = __log_buf[log_idx_mask]; in setup_log_buf()
231 dest_idx++; in setup_log_buf()