Home
last modified time | relevance | path

Searched refs:rxb (Results 1 – 25 of 35) sorted by relevance

12

/linux-2.6.39/drivers/net/wireless/iwlwifi/
Diwl-rx.c229 struct iwl_rx_mem_buffer *rxb) in iwl_rx_reply_alive() argument
231 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_rx_reply_alive()
278 struct iwl_rx_mem_buffer *rxb) in iwl_rx_reply_error() argument
280 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_rx_reply_error()
291 static void iwl_rx_csa(struct iwl_priv *priv, struct iwl_rx_mem_buffer *rxb) in iwl_rx_csa() argument
293 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_rx_csa()
320 struct iwl_rx_mem_buffer *rxb) in iwl_rx_spectrum_measure_notif() argument
322 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_rx_spectrum_measure_notif()
336 struct iwl_rx_mem_buffer *rxb) in iwl_rx_pm_sleep_notif() argument
339 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_rx_pm_sleep_notif()
[all …]
Diwl-scan.c185 struct iwl_rx_mem_buffer *rxb) in iwl_rx_reply_scan() argument
188 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_rx_reply_scan()
198 struct iwl_rx_mem_buffer *rxb) in iwl_rx_scan_start_notif() argument
200 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_rx_scan_start_notif()
216 struct iwl_rx_mem_buffer *rxb) in iwl_rx_scan_results_notif() argument
219 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_rx_scan_results_notif()
238 struct iwl_rx_mem_buffer *rxb) in iwl_rx_scan_complete_notif() argument
240 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_rx_scan_complete_notif()
Diwl-agn-lib.c385 struct iwl_rx_mem_buffer *rxb) in iwlagn_rx_reply_tx() argument
387 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwlagn_rx_reply_tx()
800 struct iwl_rx_mem_buffer *rxb; in iwlagn_rx_queue_restock() local
806 rxb = rxq->queue[rxq->write]; in iwlagn_rx_queue_restock()
807 BUG_ON(rxb && rxb->page); in iwlagn_rx_queue_restock()
811 rxb = list_entry(element, struct iwl_rx_mem_buffer, list); in iwlagn_rx_queue_restock()
816 rxb->page_dma); in iwlagn_rx_queue_restock()
817 rxq->queue[rxq->write] = rxb; in iwlagn_rx_queue_restock()
850 struct iwl_rx_mem_buffer *rxb; in iwlagn_rx_allocate() local
896 rxb = list_entry(element, struct iwl_rx_mem_buffer, list); in iwlagn_rx_allocate()
[all …]
Diwl-agn.h156 struct iwl_rx_mem_buffer *rxb);
158 struct iwl_rx_mem_buffer *rxb);
212 struct iwl_rx_mem_buffer *rxb);
260 struct iwl_rx_mem_buffer *rxb);
Diwl-tx.c601 void iwl_tx_cmd_complete(struct iwl_priv *priv, struct iwl_rx_mem_buffer *rxb) in iwl_tx_cmd_complete() argument
603 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_tx_cmd_complete()
644 meta->source->reply_page = (unsigned long)rxb_addr(rxb); in iwl_tx_cmd_complete()
645 rxb->page = NULL; in iwl_tx_cmd_complete()
Diwl-agn-ucode.c262 struct iwl_rx_mem_buffer *rxb) in iwlagn_rx_calib_result() argument
264 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwlagn_rx_calib_result()
301 struct iwl_rx_mem_buffer *rxb) in iwlagn_rx_calib_complete() argument
/linux-2.6.39/drivers/net/wireless/iwlegacy/
Diwl-4965-lib.c233 struct iwl_rx_mem_buffer *rxb; in iwl4965_rx_queue_restock() local
239 rxb = rxq->queue[rxq->write]; in iwl4965_rx_queue_restock()
240 BUG_ON(rxb && rxb->page); in iwl4965_rx_queue_restock()
244 rxb = list_entry(element, struct iwl_rx_mem_buffer, list); in iwl4965_rx_queue_restock()
249 rxb->page_dma); in iwl4965_rx_queue_restock()
250 rxq->queue[rxq->write] = rxb; in iwl4965_rx_queue_restock()
283 struct iwl_rx_mem_buffer *rxb; in iwl4965_rx_allocate() local
332 rxb = list_entry(element, struct iwl_rx_mem_buffer, list); in iwl4965_rx_allocate()
337 BUG_ON(rxb->page); in iwl4965_rx_allocate()
338 rxb->page = page; in iwl4965_rx_allocate()
[all …]
Diwl-4965-rx.c45 struct iwl_rx_mem_buffer *rxb) in iwl4965_rx_missed_beacon_notif() argument
48 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl4965_rx_missed_beacon_notif()
230 struct iwl_rx_mem_buffer *rxb) in iwl4965_rx_statistics() argument
233 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl4965_rx_statistics()
275 struct iwl_rx_mem_buffer *rxb) in iwl4965_reply_statistics() argument
277 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl4965_reply_statistics()
290 iwl4965_rx_statistics(priv, rxb); in iwl4965_reply_statistics()
Diwl-4965.h103 struct iwl_rx_mem_buffer *rxb);
105 struct iwl_rx_mem_buffer *rxb);
125 struct iwl_rx_mem_buffer *rxb);
174 struct iwl_rx_mem_buffer *rxb);
178 struct iwl_rx_mem_buffer *rxb);
180 struct iwl_rx_mem_buffer *rxb);
Diwl-scan.c187 struct iwl_rx_mem_buffer *rxb) in iwl_legacy_rx_reply_scan() argument
190 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_legacy_rx_reply_scan()
200 struct iwl_rx_mem_buffer *rxb) in iwl_legacy_rx_scan_start_notif() argument
202 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_legacy_rx_scan_start_notif()
218 struct iwl_rx_mem_buffer *rxb) in iwl_legacy_rx_scan_results_notif() argument
221 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_legacy_rx_scan_results_notif()
240 struct iwl_rx_mem_buffer *rxb) in iwl_legacy_rx_scan_complete_notif() argument
244 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_legacy_rx_scan_complete_notif()
Diwl-core.h382 struct iwl_rx_mem_buffer *rxb);
384 struct iwl_rx_mem_buffer *rxb);
386 struct iwl_rx_mem_buffer *rxb);
398 struct iwl_rx_mem_buffer *rxb);
401 struct iwl_rx_mem_buffer *rxb);
405 void iwl_legacy_rx_csa(struct iwl_priv *priv, struct iwl_rx_mem_buffer *rxb);
Diwl3945-base.c749 struct iwl_rx_mem_buffer *rxb) in iwl3945_rx_reply_alive() argument
751 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl3945_rx_reply_alive()
785 struct iwl_rx_mem_buffer *rxb) in iwl3945_rx_reply_add_sta() argument
788 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl3945_rx_reply_add_sta()
795 struct iwl_rx_mem_buffer *rxb) in iwl3945_rx_beacon_notif() argument
797 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl3945_rx_beacon_notif()
818 struct iwl_rx_mem_buffer *rxb) in iwl3945_rx_card_state_notif() argument
820 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl3945_rx_card_state_notif()
972 struct iwl_rx_mem_buffer *rxb; in iwl3945_rx_queue_restock() local
981 rxb = list_entry(element, struct iwl_rx_mem_buffer, list); in iwl3945_rx_queue_restock()
[all …]
Diwl-rx.c214 struct iwl_rx_mem_buffer *rxb) in iwl_legacy_rx_spectrum_measure_notif() argument
216 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_legacy_rx_spectrum_measure_notif()
Diwl-3945.c307 struct iwl_rx_mem_buffer *rxb) in iwl3945_rx_reply_tx() argument
309 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl3945_rx_reply_tx()
401 struct iwl_rx_mem_buffer *rxb) in iwl3945_hw_rx_statistics() argument
403 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl3945_hw_rx_statistics()
417 struct iwl_rx_mem_buffer *rxb) in iwl3945_reply_statistics() argument
419 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl3945_reply_statistics()
433 iwl3945_hw_rx_statistics(priv, rxb); in iwl3945_reply_statistics()
462 struct iwl_rx_mem_buffer *rxb, in iwl3945_pass_packet_to_mac80211() argument
465 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl3945_pass_packet_to_mac80211()
495 (struct ieee80211_hdr *)rxb_addr(rxb), in iwl3945_pass_packet_to_mac80211()
[all …]
Diwl-3945.h262 struct iwl_rx_mem_buffer *rxb);
264 struct iwl_rx_mem_buffer *rxb);
Diwl4965-base.c432 struct iwl_rx_mem_buffer *rxb) in iwl4965_rx_reply_alive() argument
434 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl4965_rx_reply_alive()
620 struct iwl_rx_mem_buffer *rxb) in iwl4965_rx_beacon_notif() argument
622 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl4965_rx_beacon_notif()
662 struct iwl_rx_mem_buffer *rxb) in iwl4965_rx_card_state_notif() argument
664 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl4965_rx_card_state_notif()
765 struct iwl_rx_mem_buffer *rxb; in iwl4965_rx_handle() local
795 rxb = rxq->queue[i]; in iwl4965_rx_handle()
800 BUG_ON(rxb == NULL); in iwl4965_rx_handle()
804 pci_unmap_page(priv->pci_dev, rxb->page_dma, in iwl4965_rx_handle()
[all …]
Diwl-tx.c602 iwl_legacy_tx_cmd_complete(struct iwl_priv *priv, struct iwl_rx_mem_buffer *rxb) in iwl_legacy_tx_cmd_complete() argument
604 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_legacy_tx_cmd_complete()
645 meta->source->reply_page = (unsigned long)rxb_addr(rxb); in iwl_legacy_tx_cmd_complete()
646 rxb->page = NULL; in iwl_legacy_tx_cmd_complete()
/linux-2.6.39/drivers/staging/rtl8192e/ieee80211/
Dieee80211_rx.c775 struct ieee80211_rxb *rxb,u8* src,u8* dst) in parse_subframe() argument
815 rxb->nr_subframes = 1; in parse_subframe()
817 rxb->subframes[0] = skb; in parse_subframe()
819 rxb->subframes[0] = skb_copy(skb, GFP_ATOMIC); in parse_subframe()
822 memcpy(rxb->src,src,ETH_ALEN); in parse_subframe()
823 memcpy(rxb->dst,dst,ETH_ALEN); in parse_subframe()
827 rxb->nr_subframes = 0; in parse_subframe()
828 memcpy(rxb->src,src,ETH_ALEN); in parse_subframe()
829 memcpy(rxb->dst,dst,ETH_ALEN); in parse_subframe()
838 __FUNCTION__,rxb->nr_subframes); in parse_subframe()
[all …]
/linux-2.6.39/drivers/staging/rtl8192u/ieee80211/
Dieee80211_rx.c778 struct ieee80211_rxb *rxb,u8* src,u8* dst) in parse_subframe() argument
818 rxb->nr_subframes = 1; in parse_subframe()
820 rxb->subframes[0] = skb; in parse_subframe()
822 rxb->subframes[0] = skb_copy(skb, GFP_ATOMIC); in parse_subframe()
825 memcpy(rxb->src,src,ETH_ALEN); in parse_subframe()
826 memcpy(rxb->dst,dst,ETH_ALEN); in parse_subframe()
830 rxb->nr_subframes = 0; in parse_subframe()
831 memcpy(rxb->src,src,ETH_ALEN); in parse_subframe()
832 memcpy(rxb->dst,dst,ETH_ALEN); in parse_subframe()
841 __FUNCTION__,rxb->nr_subframes); in parse_subframe()
[all …]
/linux-2.6.39/drivers/net/
Dioc3-eth.c584 struct ioc3_erxbuf *rxb; in ioc3_rx() local
593 rxb = (struct ioc3_erxbuf *) (skb->data - RX_OFFSET); in ioc3_rx()
594 w0 = be32_to_cpu(rxb->w0); in ioc3_rx()
597 err = be32_to_cpu(rxb->err); /* It's valid ... */ in ioc3_rx()
622 rxb = (struct ioc3_erxbuf *) new_skb->data; in ioc3_rx()
640 rxr[n_entry] = cpu_to_be64(ioc3_map(rxb, 1)); in ioc3_rx()
641 rxb->w0 = 0; /* Clear valid flag */ in ioc3_rx()
647 rxb = (struct ioc3_erxbuf *) (skb->data - RX_OFFSET); in ioc3_rx()
648 w0 = be32_to_cpu(rxb->w0); in ioc3_rx()
847 struct ioc3_erxbuf *rxb; in ioc3_clean_rx_ring() local
[all …]
Dtyphoon.c1601 struct rxbuff_ent *rxb = &tp->rxbuffers[idx]; in typhoon_recycle_rx_skb() local
1609 dev_kfree_skb_any(rxb->skb); in typhoon_recycle_rx_skb()
1610 rxb->skb = NULL; in typhoon_recycle_rx_skb()
1617 r->physAddr = cpu_to_le32(rxb->dma_addr); in typhoon_recycle_rx_skb()
1628 struct rxbuff_ent *rxb = &tp->rxbuffers[idx]; in typhoon_alloc_rx_skb() local
1634 rxb->skb = NULL; in typhoon_alloc_rx_skb()
1662 rxb->skb = skb; in typhoon_alloc_rx_skb()
1663 rxb->dma_addr = dma_addr; in typhoon_alloc_rx_skb()
1677 struct rxbuff_ent *rxb; in typhoon_rx() local
1692 rxb = &tp->rxbuffers[idx]; in typhoon_rx()
[all …]
Dks8851.c234 u8 *rxb, unsigned rxl) in ks8851_rdreg() argument
269 memcpy(rxb, trx + 2, rxl); in ks8851_rdreg()
271 memcpy(rxb, trx, rxl); in ks8851_rdreg()
283 u8 rxb[1]; in ks8851_rdreg8() local
285 ks8851_rdreg(ks, MK_OP(1 << (reg & 3), reg), rxb, 1); in ks8851_rdreg8()
286 return rxb[0]; in ks8851_rdreg8()
/linux-2.6.39/drivers/net/wireless/ipw2x00/
Dipw2200.c5152 struct ipw_rx_mem_buffer *rxb; in ipw_rx_queue_restock() local
5160 rxb = list_entry(element, struct ipw_rx_mem_buffer, list); in ipw_rx_queue_restock()
5164 rxb->dma_addr); in ipw_rx_queue_restock()
5165 rxq->queue[rxq->write] = rxb; in ipw_rx_queue_restock()
5192 struct ipw_rx_mem_buffer *rxb; in ipw_rx_queue_replenish() local
5198 rxb = list_entry(element, struct ipw_rx_mem_buffer, list); in ipw_rx_queue_replenish()
5199 rxb->skb = alloc_skb(IPW_RX_BUF_SIZE, GFP_ATOMIC); in ipw_rx_queue_replenish()
5200 if (!rxb->skb) { in ipw_rx_queue_replenish()
5210 rxb->dma_addr = in ipw_rx_queue_replenish()
5211 pci_map_single(priv->pci_dev, rxb->skb->data, in ipw_rx_queue_replenish()
[all …]
/linux-2.6.39/drivers/net/hamradio/
Dyam.c573 static inline void yam_rx_byte(struct net_device *dev, struct yam_port *yp, unsigned char rxb) in yam_rx_byte() argument
578 yp->rx_crch = (chktabh[c] ^ rxb); in yam_rx_byte()
579 yp->rx_buf[yp->rx_len++] = rxb; in yam_rx_byte()
761 unsigned char rxb; in yam_interrupt() local
781 rxb = inb(RBR(dev->base_addr)); in yam_interrupt()
785 yam_rx_byte(dev, yp, rxb); in yam_interrupt()
/linux-2.6.39/drivers/net/wan/
Dpc300_drv.c1884 int rxb; in cpc_net_rx() local
1888 if ((rxb = dma_get_rx_frame_size(card, ch)) == -1) in cpc_net_rx()
1893 printk("%s : DCD is OFF - drop %d rx bytes\n", dev->name, rxb); in cpc_net_rx()
1896 if (rxb > (dev->mtu + 40)) { /* add headers */ in cpc_net_rx()
1897 printk("%s : MTU exceeded %d\n", dev->name, rxb); in cpc_net_rx()
1900 skb = dev_alloc_skb(rxb); in cpc_net_rx()
1909 if (((rxb = dma_buf_read(card, ch, skb)) <= 0) || (skb == NULL)) { in cpc_net_rx()
1911 printk("%s: rxb = %x\n", dev->name, rxb); in cpc_net_rx()
1913 if ((skb == NULL) && (rxb > 0)) { in cpc_net_rx()
1920 if (rxb < 0) { /* Invalid frame */ in cpc_net_rx()
[all …]

12