Home
last modified time | relevance | path

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

123

/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/pcie/
Drx.c222 struct iwl_rx_mem_buffer *rxb) in iwl_pcie_restock_bd() argument
229 bd[rxq->write].addr = cpu_to_le64(rxb->page_dma); in iwl_pcie_restock_bd()
230 bd[rxq->write].rbid = cpu_to_le16(rxb->vid); in iwl_pcie_restock_bd()
234 bd[rxq->write] = cpu_to_le64(rxb->page_dma | rxb->vid); in iwl_pcie_restock_bd()
238 (u32)rxb->vid, rxq->id, rxq->write); in iwl_pcie_restock_bd()
248 struct iwl_rx_mem_buffer *rxb; in iwl_pcie_rxmq_restock() local
264 rxb = list_first_entry(&rxq->rx_free, struct iwl_rx_mem_buffer, in iwl_pcie_rxmq_restock()
266 list_del(&rxb->list); in iwl_pcie_rxmq_restock()
267 rxb->invalid = false; in iwl_pcie_rxmq_restock()
269 WARN_ON(rxb->page_dma & trans_pcie->supported_dma_mask); in iwl_pcie_rxmq_restock()
[all …]
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/dvm/
Drx.c31 struct iwl_rx_cmd_buffer *rxb) in iwlagn_rx_reply_error() argument
33 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwlagn_rx_reply_error()
44 static void iwlagn_rx_csa(struct iwl_priv *priv, struct iwl_rx_cmd_buffer *rxb) in iwlagn_rx_csa() argument
46 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwlagn_rx_csa()
73 struct iwl_rx_cmd_buffer *rxb) in iwlagn_rx_spectrum_measure_notif() argument
75 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwlagn_rx_spectrum_measure_notif()
89 struct iwl_rx_cmd_buffer *rxb) in iwlagn_rx_pm_sleep_notif() argument
92 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwlagn_rx_pm_sleep_notif()
100 struct iwl_rx_cmd_buffer *rxb) in iwlagn_rx_pm_debug_statistics_notif() argument
102 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwlagn_rx_pm_debug_statistics_notif()
[all …]
Dscan.c233 struct iwl_rx_cmd_buffer *rxb) in iwl_rx_reply_scan() argument
236 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_rx_reply_scan()
245 struct iwl_rx_cmd_buffer *rxb) in iwl_rx_scan_start_notif() argument
247 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_rx_scan_start_notif()
263 struct iwl_rx_cmd_buffer *rxb) in iwl_rx_scan_results_notif() argument
266 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_rx_scan_results_notif()
286 struct iwl_rx_cmd_buffer *rxb) in iwl_rx_scan_complete_notif() argument
288 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_rx_scan_complete_notif()
Dagn.h68 struct iwl_rx_cmd_buffer *rxb);
161 struct iwl_rx_cmd_buffer *rxb);
162 void iwlagn_rx_reply_tx(struct iwl_priv *priv, struct iwl_rx_cmd_buffer *rxb);
271 void iwl_add_sta_callback(struct iwl_priv *priv, struct iwl_rx_cmd_buffer *rxb);
/linux-6.1.9/drivers/net/ethernet/mscc/
Docelot_fdma.c124 struct ocelot_fdma_rx_buf *rxb) in ocelot_fdma_rx_alloc_page() argument
140 rxb->page = page; in ocelot_fdma_rx_alloc_page()
141 rxb->page_offset = 0; in ocelot_fdma_rx_alloc_page()
142 rxb->dma_addr = mapping; in ocelot_fdma_rx_alloc_page()
151 struct ocelot_fdma_rx_buf *rxb; in ocelot_fdma_alloc_rx_buffs() local
161 rxb = &rx_ring->bufs[idx]; in ocelot_fdma_alloc_rx_buffs()
163 if (unlikely(!rxb->page)) { in ocelot_fdma_alloc_rx_buffs()
164 if (unlikely(!ocelot_fdma_rx_alloc_page(ocelot, rxb))) { in ocelot_fdma_alloc_rx_buffs()
173 dma_addr = rxb->dma_addr + rxb->page_offset; in ocelot_fdma_alloc_rx_buffs()
271 static bool ocelot_fdma_add_rx_frag(struct ocelot_fdma_rx_buf *rxb, u32 stat, in ocelot_fdma_add_rx_frag() argument
[all …]
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/
Dmvm.h1540 struct iwl_rx_cmd_buffer *rxb);
1591 struct iwl_rx_cmd_buffer *rxb);
1592 void iwl_mvm_rx_rx_phy_cmd(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb);
1594 struct iwl_rx_cmd_buffer *rxb);
1596 struct iwl_rx_cmd_buffer *rxb, int queue);
1598 struct iwl_rx_cmd_buffer *rxb, int queue);
1600 struct iwl_rx_cmd_buffer *rxb, int queue);
1602 struct iwl_rx_cmd_buffer *rxb, int queue);
1604 struct iwl_rx_cmd_buffer *rxb, int queue);
1605 void iwl_mvm_rx_tx_cmd(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb);
[all …]
Dops.c145 struct iwl_rx_cmd_buffer *rxb) in iwl_mvm_rx_monitor_notif() argument
147 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_mvm_rx_monitor_notif()
229 struct iwl_rx_cmd_buffer *rxb) in iwl_mvm_rx_thermal_dual_chain_req() argument
231 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_mvm_rx_thermal_dual_chain_req()
271 void (*fn)(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb);
1446 struct iwl_rx_cmd_buffer rxb; member
1448 void (*fn)(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb);
1457 iwl_free_rxb(&entry->rxb); in iwl_mvm_async_handlers_purge()
1484 entry->fn(mvm, &entry->rxb); in iwl_mvm_async_handlers_wk()
1485 iwl_free_rxb(&entry->rxb); in iwl_mvm_async_handlers_wk()
[all …]
Drx.c20 void iwl_mvm_rx_rx_phy_cmd(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) in iwl_mvm_rx_rx_phy_cmd() argument
22 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_mvm_rx_rx_phy_cmd()
51 struct iwl_rx_cmd_buffer *rxb) in iwl_mvm_pass_packet_to_mac80211() argument
87 (u8 *)rxb_addr(rxb) + rxb_offset(rxb); in iwl_mvm_pass_packet_to_mac80211()
89 skb_add_rx_frag(skb, 0, rxb_steal_page(rxb), offset, in iwl_mvm_pass_packet_to_mac80211()
90 fraglen, rxb->truesize); in iwl_mvm_pass_packet_to_mac80211()
286 struct iwl_rx_cmd_buffer *rxb) in iwl_mvm_rx_rx_mpdu() argument
290 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_mvm_rx_rx_mpdu()
538 crypt_len, rxb); in iwl_mvm_rx_rx_mpdu()
1020 void iwl_mvm_rx_statistics(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) in iwl_mvm_rx_statistics() argument
[all …]
Dtime-event.h101 struct iwl_rx_cmd_buffer *rxb);
210 struct iwl_rx_cmd_buffer *rxb);
Dmac-ctxt.c1293 struct iwl_rx_cmd_buffer *rxb) in iwl_mvm_rx_beacon_notif() argument
1295 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_mvm_rx_beacon_notif()
1368 struct iwl_rx_cmd_buffer *rxb) in iwl_mvm_rx_missed_beacons_notif() argument
1370 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_mvm_rx_missed_beacons_notif()
1430 struct iwl_rx_cmd_buffer *rxb) in iwl_mvm_rx_stored_beacon_notif() argument
1432 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_mvm_rx_stored_beacon_notif()
1491 struct iwl_rx_cmd_buffer *rxb) in iwl_mvm_probe_resp_data_notif() argument
1493 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_mvm_probe_resp_data_notif()
1540 struct iwl_rx_cmd_buffer *rxb) in iwl_mvm_channel_switch_start_notif() argument
1542 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_mvm_channel_switch_start_notif()
[all …]
Drxmq.c118 struct iwl_rx_cmd_buffer *rxb) in iwl_mvm_create_skb() argument
120 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_mvm_create_skb()
221 (u8 *)rxb_addr(rxb) + rxb_offset(rxb); in iwl_mvm_create_skb()
223 skb_add_rx_frag(skb, 0, rxb_steal_page(rxb), offset, in iwl_mvm_create_skb()
224 fraglen, rxb->truesize); in iwl_mvm_create_skb()
824 struct iwl_rx_cmd_buffer *rxb, int queue) in iwl_mvm_rx_queue_notif() argument
826 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_mvm_rx_queue_notif()
1760 struct iwl_rx_cmd_buffer *rxb, int queue) in iwl_mvm_rx_mpdu_mq() argument
1763 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_mvm_rx_mpdu_mq()
2049 if (iwl_mvm_create_skb(mvm, skb, hdr, len, crypt_len, rxb)) { in iwl_mvm_rx_mpdu_mq()
[all …]
Drfi.c137 struct iwl_rx_cmd_buffer *rxb) in iwl_rfi_deactivate_notif_handler() argument
139 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_rfi_deactivate_notif_handler()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/
Diwl-op-mode.h96 struct iwl_rx_cmd_buffer *rxb);
98 struct iwl_rx_cmd_buffer *rxb, unsigned int queue);
137 struct iwl_rx_cmd_buffer *rxb) in iwl_op_mode_rx() argument
139 return op_mode->ops->rx(op_mode, napi, rxb); in iwl_op_mode_rx()
144 struct iwl_rx_cmd_buffer *rxb, in iwl_op_mode_rx_rss() argument
147 op_mode->ops->rx_rss(op_mode, napi, rxb, queue); in iwl_op_mode_rx_rss()
/linux-6.1.9/arch/s390/include/asm/
Dvx-insn.h200 .macro RXB rxb v1 v2=0 v3=0 v4=0
201 \rxb = 0
203 \rxb = \rxb | 0x08
206 \rxb = \rxb | 0x04
209 \rxb = \rxb | 0x02
212 \rxb = \rxb | 0x01
225 rxb = 0
226 RXB rxb, \v1, \v2, \v3, \v4
227 .byte (\m << 4) | rxb
/linux-6.1.9/drivers/staging/rtl8192u/ieee80211/
Dieee80211_rx.c524 struct ieee80211_rxb *rxb) in indicate_packets() argument
531 for (i = 0; i < rxb->nr_subframes; i++) { in indicate_packets()
532 struct sk_buff *sub_skb = rxb->subframes[i]; in indicate_packets()
551 memcpy(skb_push(sub_skb, ETH_ALEN), rxb->src, ETH_ALEN); in indicate_packets()
552 memcpy(skb_push(sub_skb, ETH_ALEN), rxb->dst, ETH_ALEN); in indicate_packets()
556 if (is_multicast_ether_addr(rxb->dst)) in indicate_packets()
767 struct ieee80211_rxb *rxb, u8 *src, u8 *dst) in parse_subframe() argument
803 rxb->nr_subframes = 1; in parse_subframe()
805 rxb->subframes[0] = skb; in parse_subframe()
807 rxb->subframes[0] = skb_copy(skb, GFP_ATOMIC); in parse_subframe()
[all …]
/linux-6.1.9/drivers/staging/rtl8192e/
Drtllib_rx.c765 struct rtllib_rxb *rxb, u8 *src, u8 *dst) in parse_subframe() argument
796 rxb->nr_subframes = 1; in parse_subframe()
814 rxb->subframes[0] = sub_skb; in parse_subframe()
816 memcpy(rxb->src, src, ETH_ALEN); in parse_subframe()
817 memcpy(rxb->dst, dst, ETH_ALEN); in parse_subframe()
818 rxb->subframes[0]->dev = ieee->dev; in parse_subframe()
822 rxb->nr_subframes = 0; in parse_subframe()
823 memcpy(rxb->src, src, ETH_ALEN); in parse_subframe()
824 memcpy(rxb->dst, dst, ETH_ALEN); in parse_subframe()
834 __func__, rxb->nr_subframes); in parse_subframe()
[all …]
/linux-6.1.9/drivers/net/wireless/intel/iwlegacy/
D3945-mac.c717 il3945_hdl_alive(struct il_priv *il, struct il_rx_buf *rxb) in il3945_hdl_alive() argument
719 struct il_rx_pkt *pkt = rxb_addr(rxb); in il3945_hdl_alive()
750 il3945_hdl_add_sta(struct il_priv *il, struct il_rx_buf *rxb) in il3945_hdl_add_sta() argument
752 struct il_rx_pkt *pkt = rxb_addr(rxb); in il3945_hdl_add_sta()
758 il3945_hdl_beacon(struct il_priv *il, struct il_rx_buf *rxb) in il3945_hdl_beacon() argument
760 struct il_rx_pkt *pkt = rxb_addr(rxb); in il3945_hdl_beacon()
779 il3945_hdl_card_state(struct il_priv *il, struct il_rx_buf *rxb) in il3945_hdl_card_state() argument
781 struct il_rx_pkt *pkt = rxb_addr(rxb); in il3945_hdl_card_state()
931 struct il_rx_buf *rxb; in il3945_rx_queue_restock() local
938 rxb = list_entry(element, struct il_rx_buf, list); in il3945_rx_queue_restock()
[all …]
D4965-mac.c255 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()
[all …]
D3945.c298 il3945_hdl_tx(struct il_priv *il, struct il_rx_buf *rxb) in il3945_hdl_tx() argument
300 struct il_rx_pkt *pkt = rxb_addr(rxb); in il3945_hdl_tx()
404 il3945_hdl_stats(struct il_priv *il, struct il_rx_buf *rxb) in il3945_hdl_stats() argument
406 struct il_rx_pkt *pkt = rxb_addr(rxb); in il3945_hdl_stats()
419 il3945_hdl_c_stats(struct il_priv *il, struct il_rx_buf *rxb) in il3945_hdl_c_stats() argument
421 struct il_rx_pkt *pkt = rxb_addr(rxb); in il3945_hdl_c_stats()
435 il3945_hdl_stats(il, rxb); in il3945_hdl_c_stats()
465 il3945_pass_packet_to_mac80211(struct il_priv *il, struct il_rx_buf *rxb, in il3945_pass_packet_to_mac80211() argument
468 struct il_rx_pkt *pkt = rxb_addr(rxb); in il3945_pass_packet_to_mac80211()
510 skb_add_rx_frag(skb, 0, rxb->page, in il3945_pass_packet_to_mac80211()
[all …]
/linux-6.1.9/drivers/net/ethernet/sgi/
Dioc3-eth.c124 struct ioc3_erxbuf **rxb, dma_addr_t *rxb_dma) in ioc3_alloc_skb() argument
147 *rxb = (struct ioc3_erxbuf *)new_skb->data; in ioc3_alloc_skb()
370 struct ioc3_erxbuf *rxb; in ioc3_rx() local
380 rxb = (struct ioc3_erxbuf *)(skb->data - RX_OFFSET); in ioc3_rx()
381 w0 = be32_to_cpu(rxb->w0); in ioc3_rx()
384 err = be32_to_cpu(rxb->err); /* It's valid ... */ in ioc3_rx()
390 if (ioc3_alloc_skb(ip, &new_skb, &rxb, &d)) { in ioc3_rx()
431 rxb->w0 = 0; /* Clear valid flag */ in ioc3_rx()
437 rxb = (struct ioc3_erxbuf *)(skb->data - RX_OFFSET); in ioc3_rx()
438 w0 = be32_to_cpu(rxb->w0); in ioc3_rx()
[all …]
/linux-6.1.9/drivers/net/ethernet/freescale/
Dgianfar.c1101 struct gfar_rx_buff *rxb = &rx_queue->rx_buff[i]; in free_skb_rx_queue() local
1107 if (!rxb->page) in free_skb_rx_queue()
1110 dma_unmap_page(rx_queue->dev, rxb->dma, in free_skb_rx_queue()
1112 __free_page(rxb->page); in free_skb_rx_queue()
1114 rxb->page = NULL; in free_skb_rx_queue()
1211 static bool gfar_new_page(struct gfar_priv_rx_q *rxq, struct gfar_rx_buff *rxb) in gfar_new_page() argument
1227 rxb->dma = addr; in gfar_new_page()
1228 rxb->page = page; in gfar_new_page()
1229 rxb->page_offset = 0; in gfar_new_page()
1247 struct gfar_rx_buff *rxb; in gfar_alloc_rx_buffs() local
[all …]
/linux-6.1.9/drivers/net/ethernet/adi/
Dadin1110.c299 struct sk_buff *rxb; in adin1110_read_fifo() local
338 rxb = netdev_alloc_skb(port_priv->netdev, round_len + header_len); in adin1110_read_fifo()
339 if (!rxb) in adin1110_read_fifo()
342 skb_put(rxb, frame_size_no_fcs + header_len + ADIN1110_FRAME_HEADER_LEN); in adin1110_read_fifo()
345 t.rx_buf = &rxb->data[0]; in adin1110_read_fifo()
350 kfree_skb(rxb); in adin1110_read_fifo()
354 skb_pull(rxb, header_len + ADIN1110_FRAME_HEADER_LEN); in adin1110_read_fifo()
355 rxb->protocol = eth_type_trans(rxb, port_priv->netdev); in adin1110_read_fifo()
357 if ((port_priv->flags & IFF_ALLMULTI && rxb->pkt_type == PACKET_MULTICAST) || in adin1110_read_fifo()
358 (port_priv->flags & IFF_BROADCAST && rxb->pkt_type == PACKET_BROADCAST)) in adin1110_read_fifo()
[all …]
/linux-6.1.9/drivers/net/ethernet/3com/
Dtyphoon.c1558 struct rxbuff_ent *rxb = &tp->rxbuffers[idx]; in typhoon_recycle_rx_skb() local
1566 dev_kfree_skb_any(rxb->skb); in typhoon_recycle_rx_skb()
1567 rxb->skb = NULL; in typhoon_recycle_rx_skb()
1574 r->physAddr = cpu_to_le32(rxb->dma_addr); in typhoon_recycle_rx_skb()
1585 struct rxbuff_ent *rxb = &tp->rxbuffers[idx]; in typhoon_alloc_rx_skb() local
1591 rxb->skb = NULL; in typhoon_alloc_rx_skb()
1618 rxb->skb = skb; in typhoon_alloc_rx_skb()
1619 rxb->dma_addr = dma_addr; in typhoon_alloc_rx_skb()
1633 struct rxbuff_ent *rxb; in typhoon_rx() local
1648 rxb = &tp->rxbuffers[idx]; in typhoon_rx()
[all …]
/linux-6.1.9/drivers/spi/
Dspi-loopback-test.c597 u8 rxb, txb; in spi_test_check_loopback_result() local
621 rxb = ((u8 *)xfer->rx_buf)[i]; in spi_test_check_loopback_result()
622 if (txb != rxb) in spi_test_check_loopback_result()
637 rxb = ((u8 *)xfer->rx_buf)[i]; in spi_test_check_loopback_result()
638 if (rxb != txb) in spi_test_check_loopback_result()
649 i, txb, rxb); in spi_test_check_loopback_result()
/linux-6.1.9/drivers/net/ethernet/micrel/
Dks8851_spi.c148 u8 *rxb, unsigned int rxl) in ks8851_rdreg() argument
184 memcpy(rxb, trx, rxl); in ks8851_rdreg()
186 memcpy(rxb, trx + 2, rxl); in ks8851_rdreg()

123