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