Lines Matching full:rxb

255 	struct il_rx_buf *rxb;  in il4965_rx_queue_restock()  local
260 /* The overwritten rxb must be a used one */ in il4965_rx_queue_restock()
261 rxb = rxq->queue[rxq->write]; in il4965_rx_queue_restock()
262 BUG_ON(rxb && rxb->page); in il4965_rx_queue_restock()
266 rxb = list_entry(element, struct il_rx_buf, list); in il4965_rx_queue_restock()
271 il4965_dma_addr2rbd_ptr(il, rxb->page_dma); in il4965_rx_queue_restock()
272 rxq->queue[rxq->write] = rxb; in il4965_rx_queue_restock()
305 struct il_rx_buf *rxb; in il4965_rx_allocate() local
366 rxb = list_entry(element, struct il_rx_buf, list); in il4965_rx_allocate()
369 BUG_ON(rxb->page); in il4965_rx_allocate()
371 rxb->page = page; in il4965_rx_allocate()
372 rxb->page_dma = page_dma; in il4965_rx_allocate()
373 list_add_tail(&rxb->list, &rxq->rx_free); in il4965_rx_allocate()
566 u32 len, u32 ampdu_status, struct il_rx_buf *rxb, in il4965_pass_packet_to_mac80211() argument
597 skb_add_rx_frag(skb, 0, rxb->page, (void *)hdr - rxb_addr(rxb), in il4965_pass_packet_to_mac80211()
600 rxb->page = NULL; in il4965_pass_packet_to_mac80211()
612 il4965_hdl_rx(struct il_priv *il, struct il_rx_buf *rxb) in il4965_hdl_rx() argument
616 struct il_rx_pkt *pkt = rxb_addr(rxb); in il4965_hdl_rx()
739 il4965_pass_packet_to_mac80211(il, header, len, ampdu_status, rxb, in il4965_hdl_rx()
746 il4965_hdl_rx_phy(struct il_priv *il, struct il_rx_buf *rxb) in il4965_hdl_rx_phy() argument
748 struct il_rx_pkt *pkt = rxb_addr(rxb); in il4965_hdl_rx_phy()
1252 il4965_hdl_missed_beacon(struct il_priv *il, struct il_rx_buf *rxb) in il4965_hdl_missed_beacon() argument
1254 struct il_rx_pkt *pkt = rxb_addr(rxb); in il4965_hdl_missed_beacon()
1356 il4965_hdl_stats(struct il_priv *il, struct il_rx_buf *rxb) in il4965_hdl_stats() argument
1360 struct il_rx_pkt *pkt = rxb_addr(rxb); in il4965_hdl_stats()
1398 il4965_hdl_c_stats(struct il_priv *il, struct il_rx_buf *rxb) in il4965_hdl_c_stats() argument
1400 struct il_rx_pkt *pkt = rxb_addr(rxb); in il4965_hdl_c_stats()
1412 il4965_hdl_stats(il, rxb); in il4965_hdl_c_stats()
2755 il4965_hdl_tx(struct il_priv *il, struct il_rx_buf *rxb) in il4965_hdl_tx() argument
2757 struct il_rx_pkt *pkt = rxb_addr(rxb); in il4965_hdl_tx()
2903 il4965_hdl_compressed_ba(struct il_priv *il, struct il_rx_buf *rxb) in il4965_hdl_compressed_ba() argument
2905 struct il_rx_pkt *pkt = rxb_addr(rxb); in il4965_hdl_compressed_ba()
4010 il4965_hdl_alive(struct il_priv *il, struct il_rx_buf *rxb) in il4965_hdl_alive() argument
4012 struct il_rx_pkt *pkt = rxb_addr(rxb); in il4965_hdl_alive()
4067 il4965_hdl_beacon(struct il_priv *il, struct il_rx_buf *rxb) in il4965_hdl_beacon() argument
4069 struct il_rx_pkt *pkt = rxb_addr(rxb); in il4965_hdl_beacon()
4107 il4965_hdl_card_state(struct il_priv *il, struct il_rx_buf *rxb) in il4965_hdl_card_state() argument
4109 struct il_rx_pkt *pkt = rxb_addr(rxb); in il4965_hdl_card_state()
4206 struct il_rx_buf *rxb; in il4965_rx_handle() local
4234 rxb = rxq->queue[i]; in il4965_rx_handle()
4236 /* If an RXB doesn't have a Rx queue slot associated with it, in il4965_rx_handle()
4239 BUG_ON(rxb == NULL); in il4965_rx_handle()
4243 dma_unmap_page(&il->pci_dev->dev, rxb->page_dma, in il4965_rx_handle()
4246 pkt = rxb_addr(rxb); in il4965_rx_handle()
4256 il->handlers[pkt->hdr.cmd] (il, rxb); in il4965_rx_handle()
4264 * XXX: After here, we should always check rxb->page in il4965_rx_handle()
4274 if (rxb->page) in il4965_rx_handle()
4275 il_tx_cmd_complete(il, rxb); in il4965_rx_handle()
4277 IL_WARN("Claim null rxb?\n"); in il4965_rx_handle()
4284 if (rxb->page != NULL) { in il4965_rx_handle()
4285 rxb->page_dma = in il4965_rx_handle()
4286 dma_map_page(&il->pci_dev->dev, rxb->page, 0, in il4965_rx_handle()
4291 rxb->page_dma))) { in il4965_rx_handle()
4292 __il_free_pages(il, rxb->page); in il4965_rx_handle()
4293 rxb->page = NULL; in il4965_rx_handle()
4294 list_add_tail(&rxb->list, &rxq->rx_used); in il4965_rx_handle()
4296 list_add_tail(&rxb->list, &rxq->rx_free); in il4965_rx_handle()
4300 list_add_tail(&rxb->list, &rxq->rx_used); in il4965_rx_handle()