/linux/arch/s390/include/asm/ |
H A D | fpu-insn-asm.h | 89 * instruction and, as well as, to compute the RXB field of the 195 /* RXB - Compute most significant bit used vector registers 197 * @rxb: Operand to store computed RXB value 199 * RXB bit 0 (instruction bit 36) and whose remaining bits 202 * RXB bit 1 (instruction bit 37) and whose remaining bits 205 * RXB bit 2 (instruction bit 38) and whose remaining bits 208 * RXB bit 3 (instruction bit 39) and whose remaining bits 219 .macro RXB rxb v1 v2=0 v3=0 v4=0 220 \rxb = 0 222 \rxb = \rxb | 0x08 [all …]
|
/linux/drivers/net/ethernet/mscc/ |
H A 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/drivers/net/wireless/intel/iwlwifi/pcie/ |
H A 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/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A 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 …]
|
H A 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()
|
H A 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/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | ops.c | 145 struct iwl_rx_cmd_buffer *rxb) in iwl_mvm_rx_esr_mode_notif() argument 147 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_mvm_rx_esr_mode_notif() 163 struct iwl_rx_cmd_buffer *rxb) in iwl_mvm_rx_esr_trans_fail_notif() argument 165 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_mvm_rx_esr_trans_fail_notif() 200 struct iwl_rx_cmd_buffer *rxb) in iwl_mvm_rx_monitor_notif() argument 202 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_mvm_rx_monitor_notif() 296 struct iwl_rx_cmd_buffer *rxb) in iwl_mvm_rx_thermal_dual_chain_req() argument 298 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_mvm_rx_thermal_dual_chain_req() 348 void (*fn)(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb); 1654 struct iwl_rx_cmd_buffer rxb; member [all …]
|
H A D | mvm.h | 1887 struct iwl_rx_cmd_buffer *rxb); 1889 struct iwl_rx_cmd_buffer *rxb); 1892 struct iwl_rx_cmd_buffer *rxb) in iwl_mvm_handle_rx_system_end_stats_notif() argument 1899 struct iwl_rx_cmd_buffer *rxb); 1967 struct iwl_rx_cmd_buffer *rxb); 1968 void iwl_mvm_rx_rx_phy_cmd(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb); 1970 struct iwl_rx_cmd_buffer *rxb); 1972 struct iwl_rx_cmd_buffer *rxb, int queue); 1974 struct iwl_rx_cmd_buffer *rxb, int queue); 1976 struct iwl_rx_cmd_buffer *rxb, int queue); [all …]
|
H A 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() 43 * Adds the rxb to a new skb and give it to mac80211 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() [all …]
|
H A 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()
|
H A D | time-event.h | 101 struct iwl_rx_cmd_buffer *rxb); 106 * @rxb: RX buffer 109 struct iwl_rx_cmd_buffer *rxb); 220 * @rxb: the RX buffer containing the notification 223 struct iwl_rx_cmd_buffer *rxb);
|
H A D | time-sync.h | 13 struct iwl_rx_cmd_buffer *rxb); 15 struct iwl_rx_cmd_buffer *rxb);
|
H A D | mac-ctxt.c | 1514 struct iwl_rx_cmd_buffer *rxb) in iwl_mvm_rx_beacon_notif() argument 1516 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_mvm_rx_beacon_notif() 1715 struct iwl_rx_cmd_buffer *rxb) in iwl_mvm_rx_missed_beacons_notif() argument 1717 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_mvm_rx_missed_beacons_notif() 1723 struct iwl_rx_cmd_buffer *rxb) in iwl_mvm_rx_missed_beacons_notif_legacy() argument 1725 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_mvm_rx_missed_beacons_notif_legacy() 1740 struct iwl_rx_cmd_buffer *rxb) in iwl_mvm_rx_stored_beacon_notif() argument 1742 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_mvm_rx_stored_beacon_notif() 1801 struct iwl_rx_cmd_buffer *rxb) in iwl_mvm_probe_resp_data_notif() argument 1803 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_mvm_probe_resp_data_notif() [all …]
|
H A D | rxmq.c | 90 /* iwl_mvm_create_skb Adds the rxb to a new skb */ 93 struct iwl_rx_cmd_buffer *rxb) in iwl_mvm_create_skb() argument 95 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_mvm_create_skb() 183 (u8 *)rxb_addr(rxb) + rxb_offset(rxb); in iwl_mvm_create_skb() 185 skb_add_rx_frag(skb, 0, rxb_steal_page(rxb), offset, in iwl_mvm_create_skb() 186 fraglen, rxb->truesize); in iwl_mvm_create_skb() 667 struct iwl_rx_cmd_buffer *rxb, int queue) in iwl_mvm_rx_queue_notif() argument 669 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_mvm_rx_queue_notif() 2032 struct iwl_rx_cmd_buffer *rxb, int queue) in iwl_mvm_rx_mpdu_mq() argument 2035 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_mvm_rx_mpdu_mq() [all …]
|
H A D | rfi.c | 151 struct iwl_rx_cmd_buffer *rxb) in iwl_rfi_deactivate_notif_handler() argument 153 struct iwl_rx_packet *pkt = rxb_addr(rxb); in iwl_rfi_deactivate_notif_handler()
|
/linux/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-op-mode.h | 61 * @rx: Rx notification to the op_mode. rxb is the Rx buffer itself. Cmd is the 100 struct iwl_rx_cmd_buffer *rxb); 102 struct iwl_rx_cmd_buffer *rxb, unsigned int queue); 140 struct iwl_rx_cmd_buffer *rxb) in iwl_op_mode_rx() argument 142 return op_mode->ops->rx(op_mode, napi, rxb); in iwl_op_mode_rx() 147 struct iwl_rx_cmd_buffer *rxb, in iwl_op_mode_rx_rss() argument 150 op_mode->ops->rx_rss(op_mode, napi, rxb, queue); in iwl_op_mode_rx_rss()
|
/linux/drivers/staging/rtl8192e/ |
H A D | rtllib_rx.c | 725 struct rtllib_rxb *rxb, u8 *src, u8 *dst) in parse_subframe() argument 753 rxb->nr_subframes = 1; in parse_subframe() 771 rxb->subframes[0] = sub_skb; in parse_subframe() 773 memcpy(rxb->src, src, ETH_ALEN); in parse_subframe() 774 memcpy(rxb->dst, dst, ETH_ALEN); in parse_subframe() 775 rxb->subframes[0]->dev = ieee->dev; in parse_subframe() 779 rxb->nr_subframes = 0; in parse_subframe() 780 memcpy(rxb->src, src, ETH_ALEN); in parse_subframe() 781 memcpy(rxb->dst, dst, ETH_ALEN); in parse_subframe() 791 __func__, rxb->nr_subframes); in parse_subframe() [all …]
|
/linux/drivers/net/wireless/intel/iwlegacy/ |
H A 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 …]
|
H A D | 4965-mac.c | 255 struct il_rx_buf *rxb; in il4965_rx_queue_restock() local 260 /* The overwritten rxb must be a used one */ in il4965_rx_queue_restock() 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() [all …]
|
/linux/drivers/net/ethernet/sgi/ |
H A 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/drivers/net/ethernet/adi/ |
H A 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/drivers/net/ethernet/freescale/ |
H A D | gianfar.c | 1103 struct gfar_rx_buff *rxb = &rx_queue->rx_buff[i]; in free_skb_rx_queue() local 1109 if (!rxb->page) in free_skb_rx_queue() 1112 dma_unmap_page(rx_queue->dev, rxb->dma, in free_skb_rx_queue() 1114 __free_page(rxb->page); in free_skb_rx_queue() 1116 rxb->page = NULL; in free_skb_rx_queue() 1213 static bool gfar_new_page(struct gfar_priv_rx_q *rxq, struct gfar_rx_buff *rxb) in gfar_new_page() argument 1229 rxb->dma = addr; in gfar_new_page() 1230 rxb->page = page; in gfar_new_page() 1231 rxb->page_offset = 0; in gfar_new_page() 1249 struct gfar_rx_buff *rxb; in gfar_alloc_rx_buffs() local [all …]
|
/linux/drivers/net/ethernet/3com/ |
H A 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/Documentation/devicetree/bindings/sound/ |
H A D | fsl,imx-asrc.yaml | 46 - const: rxb 172 dma-names = "rxa", "rxb", "rxc",
|
/linux/drivers/net/ethernet/micrel/ |
H A D | ks8851_spi.c | 141 * @rxb: The RX buffer to return the result into 148 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()
|