Lines Matching refs:rxb

255 	struct il_rx_buf *rxb;  in il4965_rx_queue_restock()  local
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
4236 rxb = rxq->queue[i]; in il4965_rx_handle()
4241 BUG_ON(rxb == NULL); in il4965_rx_handle()
4245 dma_unmap_page(&il->pci_dev->dev, rxb->page_dma, in il4965_rx_handle()
4248 pkt = rxb_addr(rxb); in il4965_rx_handle()
4262 il->handlers[pkt->hdr.cmd] (il, rxb); in il4965_rx_handle()
4280 if (rxb->page) in il4965_rx_handle()
4281 il_tx_cmd_complete(il, rxb); in il4965_rx_handle()
4290 if (rxb->page != NULL) { in il4965_rx_handle()
4291 rxb->page_dma = in il4965_rx_handle()
4292 dma_map_page(&il->pci_dev->dev, rxb->page, 0, in il4965_rx_handle()
4297 rxb->page_dma))) { in il4965_rx_handle()
4298 __il_free_pages(il, rxb->page); in il4965_rx_handle()
4299 rxb->page = NULL; in il4965_rx_handle()
4300 list_add_tail(&rxb->list, &rxq->rx_used); in il4965_rx_handle()
4302 list_add_tail(&rxb->list, &rxq->rx_free); in il4965_rx_handle()
4306 list_add_tail(&rxb->list, &rxq->rx_used); in il4965_rx_handle()