/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/pcie/ |
D | rx.c | 222 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.6.21/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | rx.c | 31 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 …]
|
D | scan.c | 233 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()
|
D | agn.h | 68 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.6.21/drivers/net/ethernet/mscc/ |
D | ocelot_fdma.c | 123 struct ocelot_fdma_rx_buf *rxb) in ocelot_fdma_rx_alloc_page() argument 139 rxb->page = page; in ocelot_fdma_rx_alloc_page() 140 rxb->page_offset = 0; in ocelot_fdma_rx_alloc_page() 141 rxb->dma_addr = mapping; in ocelot_fdma_rx_alloc_page() 150 struct ocelot_fdma_rx_buf *rxb; in ocelot_fdma_alloc_rx_buffs() local 160 rxb = &rx_ring->bufs[idx]; in ocelot_fdma_alloc_rx_buffs() 162 if (unlikely(!rxb->page)) { in ocelot_fdma_alloc_rx_buffs() 163 if (unlikely(!ocelot_fdma_rx_alloc_page(ocelot, rxb))) { in ocelot_fdma_alloc_rx_buffs() 172 dma_addr = rxb->dma_addr + rxb->page_offset; in ocelot_fdma_alloc_rx_buffs() 270 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.6.21/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-op-mode.h | 96 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.6.21/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | ops.c | 149 struct iwl_rx_cmd_buffer *rxb) in iwl_mvm_rx_monitor_notif() argument 151 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_mvm_rx_monitor_notif() 245 struct iwl_rx_cmd_buffer *rxb) in iwl_mvm_rx_thermal_dual_chain_req() argument 247 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_mvm_rx_thermal_dual_chain_req() 287 void (*fn)(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb); 1501 struct iwl_rx_cmd_buffer rxb; member 1503 void (*fn)(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb); 1512 iwl_free_rxb(&entry->rxb); in iwl_mvm_async_handlers_purge() 1539 entry->fn(mvm, &entry->rxb); in iwl_mvm_async_handlers_wk() 1540 iwl_free_rxb(&entry->rxb); in iwl_mvm_async_handlers_wk() [all …]
|
D | mvm.h | 1695 struct iwl_rx_cmd_buffer *rxb); 1746 struct iwl_rx_cmd_buffer *rxb); 1747 void iwl_mvm_rx_rx_phy_cmd(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb); 1749 struct iwl_rx_cmd_buffer *rxb); 1751 struct iwl_rx_cmd_buffer *rxb, int queue); 1753 struct iwl_rx_cmd_buffer *rxb, int queue); 1755 struct iwl_rx_cmd_buffer *rxb, int queue); 1757 struct iwl_rx_cmd_buffer *rxb, int queue); 1759 struct iwl_rx_cmd_buffer *rxb, int queue); 1760 void iwl_mvm_rx_tx_cmd(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb); [all …]
|
D | time-sync.h | 13 struct iwl_rx_cmd_buffer *rxb); 15 struct iwl_rx_cmd_buffer *rxb);
|
D | time-sync.c | 59 struct iwl_rx_cmd_buffer *rxb) in iwl_mvm_time_sync_msmt_event() argument 61 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_mvm_time_sync_msmt_event() 94 struct iwl_rx_cmd_buffer *rxb) in iwl_mvm_time_sync_msmt_confirm_event() argument 96 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_mvm_time_sync_msmt_confirm_event()
|
D | rx.c | 20 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() 289 struct iwl_rx_cmd_buffer *rxb) in iwl_mvm_rx_rx_mpdu() argument 293 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_mvm_rx_rx_mpdu() 541 crypt_len, rxb); in iwl_mvm_rx_rx_mpdu() 1023 void iwl_mvm_rx_statistics(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) in iwl_mvm_rx_statistics() argument [all …]
|
D | time-event.h | 101 struct iwl_rx_cmd_buffer *rxb); 210 struct iwl_rx_cmd_buffer *rxb);
|
D | mac-ctxt.c | 1483 struct iwl_rx_cmd_buffer *rxb) in iwl_mvm_rx_beacon_notif() argument 1485 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_mvm_rx_beacon_notif() 1558 struct iwl_rx_cmd_buffer *rxb) in iwl_mvm_rx_missed_beacons_notif() argument 1560 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_mvm_rx_missed_beacons_notif() 1646 struct iwl_rx_cmd_buffer *rxb) in iwl_mvm_rx_stored_beacon_notif() argument 1648 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_mvm_rx_stored_beacon_notif() 1707 struct iwl_rx_cmd_buffer *rxb) in iwl_mvm_probe_resp_data_notif() argument 1709 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_mvm_probe_resp_data_notif() 1756 struct iwl_rx_cmd_buffer *rxb) in iwl_mvm_channel_switch_start_notif() argument 1758 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_mvm_channel_switch_start_notif() [all …]
|
D | rfi.c | 147 struct iwl_rx_cmd_buffer *rxb) in iwl_rfi_deactivate_notif_handler() argument 149 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_rfi_deactivate_notif_handler()
|
/linux-6.6.21/arch/s390/include/asm/ |
D | vx-insn-asm.h | 203 .macro RXB rxb v1 v2=0 v3=0 v4=0 204 \rxb = 0 206 \rxb = \rxb | 0x08 209 \rxb = \rxb | 0x04 212 \rxb = \rxb | 0x02 215 \rxb = \rxb | 0x01 228 rxb = 0 229 RXB rxb, \v1, \v2, \v3, \v4 230 .byte (\m << 4) | rxb
|
/linux-6.6.21/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_rx.c | 524 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.6.21/drivers/staging/rtl8192e/ |
D | rtllib_rx.c | 754 struct rtllib_rxb *rxb, u8 *src, u8 *dst) in parse_subframe() argument 785 rxb->nr_subframes = 1; in parse_subframe() 803 rxb->subframes[0] = sub_skb; in parse_subframe() 805 memcpy(rxb->src, src, ETH_ALEN); in parse_subframe() 806 memcpy(rxb->dst, dst, ETH_ALEN); in parse_subframe() 807 rxb->subframes[0]->dev = ieee->dev; in parse_subframe() 811 rxb->nr_subframes = 0; in parse_subframe() 812 memcpy(rxb->src, src, ETH_ALEN); in parse_subframe() 813 memcpy(rxb->dst, dst, ETH_ALEN); in parse_subframe() 823 __func__, rxb->nr_subframes); in parse_subframe() [all …]
|
/linux-6.6.21/drivers/net/wireless/intel/iwlegacy/ |
D | 3945-mac.c | 717 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 …]
|
D | 4965-mac.c | 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() [all …]
|
D | 3945.c | 298 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.6.21/drivers/net/ethernet/sgi/ |
D | ioc3-eth.c | 124 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.6.21/drivers/net/ethernet/freescale/ |
D | gianfar.c | 1101 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.6.21/drivers/net/ethernet/adi/ |
D | adin1110.c | 299 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.6.21/drivers/net/ethernet/3com/ |
D | typhoon.c | 1558 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.6.21/drivers/spi/ |
D | spi-loopback-test.c | 608 u8 rxb, txb; in spi_test_check_loopback_result() local 632 rxb = ((u8 *)xfer->rx_buf)[i]; in spi_test_check_loopback_result() 633 if (txb != rxb) in spi_test_check_loopback_result() 648 rxb = ((u8 *)xfer->rx_buf)[i]; in spi_test_check_loopback_result() 649 if (rxb != txb) in spi_test_check_loopback_result() 660 i, txb, rxb); in spi_test_check_loopback_result()
|