Lines Matching refs:p

836 	struct sk_buff *p = NULL;  in brcms_c_dotxstatus()  local
874 p = dma_getnexttxp(wlc->hw->di[queue], DMA_RANGE_TRANSMITTED); in brcms_c_dotxstatus()
875 if (p == NULL) { in brcms_c_dotxstatus()
880 txh = (struct d11txh *) (p->data); in brcms_c_dotxstatus()
890 tx_info = IEEE80211_SKB_CB(p); in brcms_c_dotxstatus()
897 brcms_c_ampdu_dotxstatus(wlc->ampdu, scb, p, txs); in brcms_c_dotxstatus()
988 skb_pull(p, D11_PHY_HDR_LEN); in brcms_c_dotxstatus()
989 skb_pull(p, D11_TXH_LEN); in brcms_c_dotxstatus()
990 ieee80211_tx_status_irqsafe(wlc->pub->ieee_hw, p); in brcms_c_dotxstatus()
1004 brcmu_pkt_buf_free_skb(p); in brcms_c_dotxstatus()
2961 const u8 *p = (const u8 *)buf; in brcms_b_copyto_objmem() local
2968 v = p[i] | (p[i + 1] << 8); in brcms_b_copyto_objmem()
2984 u8 *p = (u8 *) buf; in brcms_b_copyfrom_objmem() local
2992 p[i] = v & 0xFF; in brcms_b_copyfrom_objmem()
2993 p[i + 1] = (v >> 8) & 0xFF; in brcms_b_copyfrom_objmem()
6161 struct sk_buff *p, struct scb *scb, uint frag, in brcms_c_d11hdrs_mac80211() argument
6196 h = (struct ieee80211_hdr *)(p->data); in brcms_c_d11hdrs_mac80211()
6200 len = p->len; in brcms_c_d11hdrs_mac80211()
6204 tx_info = IEEE80211_SKB_CB(p); in brcms_c_d11hdrs_mac80211()
6207 plcp = skb_push(p, D11_PHY_HDR_LEN); in brcms_c_d11hdrs_mac80211()
6210 txh = (struct d11txh *) skb_push(p, D11_TXH_LEN); in brcms_c_d11hdrs_mac80211()
6224 scb->seqnum[p->priority]++; in brcms_c_d11hdrs_mac80211()
6228 seq |= (scb->seqnum[p->priority] << SEQNUM_SHIFT); in brcms_c_d11hdrs_mac80211()
6703 ac = skb_get_queue_mapping(p); in brcms_c_d11hdrs_mac80211()
6868 brcms_c_txfifo(struct brcms_c_info *wlc, uint fifo, struct sk_buff *p) in brcms_c_txfifo() argument
6874 ret = dma_txfast(wlc, dma, p); in brcms_c_txfifo()
6883 queue = skb_get_queue_mapping(p); in brcms_c_txfifo()
7000 struct sk_buff *p, in prep_mac80211_status() argument
7025 plcp = p->data; in prep_mac80211_status()
7113 struct sk_buff *p) in brcms_c_recvctl() argument
7120 prep_mac80211_status(wlc, rxh, p, &rx_status); in brcms_c_recvctl()
7123 len_mpdu = p->len - D11_PHY_HDR_LEN - FCS_LEN; in brcms_c_recvctl()
7124 skb_pull(p, D11_PHY_HDR_LEN); in brcms_c_recvctl()
7125 __skb_trim(p, len_mpdu); in brcms_c_recvctl()
7129 hdr = (struct ieee80211_hdr *)p->data; in brcms_c_recvctl()
7134 memcpy(IEEE80211_SKB_RXCB(p), &rx_status, sizeof(rx_status)); in brcms_c_recvctl()
7135 ieee80211_rx_irqsafe(wlc->pub->ieee_hw, p); in brcms_c_recvctl()
7598 static void brcms_c_recv(struct brcms_c_info *wlc, struct sk_buff *p) in brcms_c_recv() argument
7606 rxh = (struct d11rxhdr *) (p->data); in brcms_c_recv()
7609 skb_pull(p, BRCMS_HWRXOFF); in brcms_c_recv()
7613 if (p->len < 2) { in brcms_c_recv()
7616 wlc->pub->unit, p->len); in brcms_c_recv()
7619 skb_pull(p, 2); in brcms_c_recv()
7622 h = (struct ieee80211_hdr *)(p->data + D11_PHY_HDR_LEN); in brcms_c_recv()
7623 len = p->len; in brcms_c_recv()
7639 brcms_c_recvctl(wlc, rxh, p); in brcms_c_recv()
7643 brcmu_pkt_buf_free_skb(p); in brcms_c_recv()
7654 struct sk_buff *p; in brcms_b_recv() local
7678 skb_queue_walk_safe(&recv_frames, p, next) { in brcms_b_recv()
7682 skb_unlink(p, &recv_frames); in brcms_b_recv()
7683 rxh_le = (struct d11rxhdr_le *)p->data; in brcms_b_recv()
7684 rxh = (struct d11rxhdr *)p->data; in brcms_b_recv()
7699 brcms_c_recv(wlc_hw->wlc, p); in brcms_b_recv()