Lines Matching refs:rx_local
1539 struct rx_ring *rx_local = &adapter->rx_ring; in et131x_config_rx_dma_regs() local
1549 writel(upper_32_bits(rx_local->rx_status_bus), &rx_dma->dma_wb_base_hi); in et131x_config_rx_dma_regs()
1550 writel(lower_32_bits(rx_local->rx_status_bus), &rx_dma->dma_wb_base_lo); in et131x_config_rx_dma_regs()
1552 memset(rx_local->rx_status_block, 0, sizeof(struct rx_status_block)); in et131x_config_rx_dma_regs()
1555 writel(upper_32_bits(rx_local->ps_ring_physaddr), &rx_dma->psr_base_hi); in et131x_config_rx_dma_regs()
1556 writel(lower_32_bits(rx_local->ps_ring_physaddr), &rx_dma->psr_base_lo); in et131x_config_rx_dma_regs()
1557 writel(rx_local->psr_entries - 1, &rx_dma->psr_num_des); in et131x_config_rx_dma_regs()
1567 rx_local->local_psr_full = 0; in et131x_config_rx_dma_regs()
1575 struct fbr_lookup *fbr = rx_local->fbr[id]; in et131x_config_rx_dma_regs()
2125 struct rx_ring *rx_local = &adapter->rx_ring; in nic_return_rfd() local
2130 struct fbr_lookup *fbr = rx_local->fbr[ring_index]; in nic_return_rfd()
2168 list_add_tail(&rfd->list_node, &rx_local->recv_list); in nic_return_rfd()
2169 rx_local->num_ready_recv++; in nic_return_rfd()
2172 WARN_ON(rx_local->num_ready_recv > rx_local->num_rfd); in nic_return_rfd()
2184 struct rx_ring *rx_local = &adapter->rx_ring; in nic_rx_pkts() local
2202 status = rx_local->rx_status_block; in nic_rx_pkts()
2206 if ((word1 & 0x1FFF) == (rx_local->local_psr_full & 0x1FFF)) in nic_rx_pkts()
2210 psr = (struct pkt_stat_desc *)(rx_local->ps_ring_virtaddr) + in nic_rx_pkts()
2211 (rx_local->local_psr_full & 0xFFF); in nic_rx_pkts()
2218 fbr = rx_local->fbr[ring_index]; in nic_rx_pkts()
2224 add_12bit(&rx_local->local_psr_full, 1); in nic_rx_pkts()
2225 if ((rx_local->local_psr_full & 0xFFF) > rx_local->psr_entries - 1) { in nic_rx_pkts()
2227 rx_local->local_psr_full &= ~0xFFF; in nic_rx_pkts()
2228 rx_local->local_psr_full ^= 0x1000; in nic_rx_pkts()
2231 writel(rx_local->local_psr_full, &adapter->regs->rxdma.psr_full_offset); in nic_rx_pkts()
2237 rx_local->local_psr_full & 0xFFF, len, buff_index); in nic_rx_pkts()
2244 element = rx_local->recv_list.next; in nic_rx_pkts()
2253 rx_local->num_ready_recv--; in nic_rx_pkts()