/drivers/net/wireless/ath/ath10k/ |
D | htt_rx.c | 488 struct htt_rx_desc *rxd; in ath10k_htt_rx_handle_amsdu_mon_32() local 491 rxd = (void *)msdu->data; in ath10k_htt_rx_handle_amsdu_mon_32() 492 trace_ath10k_htt_rx_desc(ar, rxd, sizeof(*rxd)); in ath10k_htt_rx_handle_amsdu_mon_32() 564 struct htt_rx_desc *rxd; in ath10k_htt_rx_handle_amsdu_mon_64() local 567 rxd = (void *)msdu->data; in ath10k_htt_rx_handle_amsdu_mon_64() 568 trace_ath10k_htt_rx_desc(ar, rxd, sizeof(*rxd)); in ath10k_htt_rx_handle_amsdu_mon_64() 635 struct htt_rx_desc *rxd; in ath10k_htt_rx_pop_paddr32_list() local 670 rxd = (void *)msdu->data; in ath10k_htt_rx_pop_paddr32_list() 672 trace_ath10k_htt_rx_desc(ar, rxd, sizeof(*rxd)); in ath10k_htt_rx_pop_paddr32_list() 674 skb_put(msdu, sizeof(*rxd)); in ath10k_htt_rx_pop_paddr32_list() [all …]
|
/drivers/spi/ |
D | spi-altera-core.c | 117 unsigned int rxd; in altera_spi_rx_word() local 119 altr_spi_readl(hw, ALTERA_SPI_RXDATA, &rxd); in altera_spi_rx_word() 123 hw->rx[hw->count] = rxd; in altera_spi_rx_word() 126 hw->rx[hw->count * 2] = rxd; in altera_spi_rx_word() 127 hw->rx[hw->count * 2 + 1] = rxd >> 8; in altera_spi_rx_word() 130 hw->rx[hw->count * 4] = rxd; in altera_spi_rx_word() 131 hw->rx[hw->count * 4 + 1] = rxd >> 8; in altera_spi_rx_word() 132 hw->rx[hw->count * 4 + 2] = rxd >> 16; in altera_spi_rx_word() 133 hw->rx[hw->count * 4 + 3] = rxd >> 24; in altera_spi_rx_word()
|
D | spi-ep93xx.c | 407 struct dma_async_tx_descriptor *rxd, *txd; in ep93xx_spi_dma_transfer() local 409 rxd = ep93xx_spi_dma_prepare(master, DMA_FROM_DEVICE); in ep93xx_spi_dma_transfer() 410 if (IS_ERR(rxd)) { in ep93xx_spi_dma_transfer() 411 dev_err(&master->dev, "DMA RX failed: %ld\n", PTR_ERR(rxd)); in ep93xx_spi_dma_transfer() 412 return PTR_ERR(rxd); in ep93xx_spi_dma_transfer() 423 rxd->callback = ep93xx_spi_dma_callback; in ep93xx_spi_dma_transfer() 424 rxd->callback_param = master; in ep93xx_spi_dma_transfer() 427 dmaengine_submit(rxd); in ep93xx_spi_dma_transfer()
|
/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_debugfs.c | 87 union fm10k_rx_desc *rxd = FM10K_RX_DESC(ring, i); in fm10k_dbg_rx_desc_seq_show() local 91 i, rxd->d.data, rxd->d.rss, rxd->d.staterr, in fm10k_dbg_rx_desc_seq_show() 92 rxd->w.length, rxd->w.vlan, rxd->w.dglort, in fm10k_dbg_rx_desc_seq_show() 93 rxd->w.sglort, rxd->q.timestamp); in fm10k_dbg_rx_desc_seq_show()
|
/drivers/crypto/ |
D | sa2ul.c | 1009 static void sa_sync_from_device(struct sa_rx_data *rxd) in sa_sync_from_device() argument 1013 if (rxd->mapped_sg[0].dir == DMA_BIDIRECTIONAL) in sa_sync_from_device() 1014 sgt = &rxd->mapped_sg[0].sgt; in sa_sync_from_device() 1016 sgt = &rxd->mapped_sg[1].sgt; in sa_sync_from_device() 1018 dma_sync_sgtable_for_cpu(rxd->ddev, sgt, DMA_FROM_DEVICE); in sa_sync_from_device() 1021 static void sa_free_sa_rx_data(struct sa_rx_data *rxd) in sa_free_sa_rx_data() argument 1025 for (i = 0; i < ARRAY_SIZE(rxd->mapped_sg); i++) { in sa_free_sa_rx_data() 1026 struct sa_mapped_sg *mapped_sg = &rxd->mapped_sg[i]; in sa_free_sa_rx_data() 1029 dma_unmap_sgtable(rxd->ddev, &mapped_sg->sgt, in sa_free_sa_rx_data() 1035 kfree(rxd); in sa_free_sa_rx_data() [all …]
|
/drivers/media/pci/mantis/ |
D | mantis_i2c.c | 28 u32 rxd, i, stat, trials; in mantis_i2c_read() local 34 rxd = (msg->addr << 25) | (1 << 24) in mantis_i2c_read() 40 rxd &= ~MANTIS_I2C_STOP; in mantis_i2c_read() 43 mmwrite(rxd, MANTIS_I2CDATA_CTL); in mantis_i2c_read() 63 rxd = mmread(MANTIS_I2CDATA_CTL); in mantis_i2c_read() 64 msg->buf[i] = (u8)((rxd >> 8) & 0xFF); in mantis_i2c_read()
|
/drivers/net/fddi/skfp/ |
D | skfddi.c | 125 void mac_drv_rx_complete(struct s_smc *smc, volatile struct s_smt_fp_rxd *rxd, 127 void mac_drv_requeue_rxd(struct s_smc *smc, volatile struct s_smt_fp_rxd *rxd, 130 void mac_drv_clear_rxd(struct s_smc *smc, volatile struct s_smt_fp_rxd *rxd, 1561 void mac_drv_rx_complete(struct s_smc *smc, volatile struct s_smt_fp_rxd *rxd, in mac_drv_rx_complete() argument 1577 skb = rxd->rxd_os.skb; in mac_drv_rx_complete() 1644 rxd->rxd_os.skb = NULL; in mac_drv_rx_complete() 1655 mac_drv_requeue_rxd(smc, rxd, frag_count); in mac_drv_rx_complete() 1680 void mac_drv_requeue_rxd(struct s_smc *smc, volatile struct s_smt_fp_rxd *rxd, in mac_drv_requeue_rxd() argument 1695 src_rxd = rxd; in mac_drv_requeue_rxd() 1698 rxd = HWM_GET_CURR_RXD(smc); in mac_drv_requeue_rxd() [all …]
|
D | hwmtm.c | 96 volatile struct s_smt_fp_rxd *rxd, 99 volatile struct s_smt_fp_rxd *rxd, 102 volatile struct s_smt_fp_rxd *rxd, int frag_count); 1041 struct s_smt_fp_rxd volatile *rxd ; /* first rxd of rx frame */ in process_receive() local 1148 rxd = queue->rx_curr_get ; in process_receive() 1156 rxd->rxd_rbctrl &= cpu_to_le32(~BMU_STF) ; in process_receive() 1158 for (r=rxd, i=frag_count ; i ; r=r->rxd_next, i--){ in process_receive() 1217 virt = (u_char far *) rxd->rxd_virt ; in process_receive() 1255 mac_drv_rx_complete(smc,rxd,frag_count,len) ; in process_receive() 1269 hwm_cpy_rxd2mb(rxd,data,len) ; in process_receive() [all …]
|
/drivers/net/wireless/mediatek/mt76/mt7603/ |
D | dma.c | 75 __le32 *rxd = (__le32 *)skb->data; in mt7603_queue_rx_skb() local 79 type = FIELD_GET(MT_RXD0_PKT_TYPE, le32_to_cpu(rxd[0])); in mt7603_queue_rx_skb() 91 for (rxd++; rxd + 5 <= end; rxd += 5) in mt7603_queue_rx_skb() 92 mt7603_mac_add_txs(dev, rxd); in mt7603_queue_rx_skb()
|
D | mac.c | 501 __le32 *rxd = (__le32 *)skb->data; in mt7603_mac_fill_rx() local 502 u32 rxd0 = le32_to_cpu(rxd[0]); in mt7603_mac_fill_rx() 503 u32 rxd1 = le32_to_cpu(rxd[1]); in mt7603_mac_fill_rx() 504 u32 rxd2 = le32_to_cpu(rxd[2]); in mt7603_mac_fill_rx() 549 rxd += 4; in mt7603_mac_fill_rx() 551 rxd += 4; in mt7603_mac_fill_rx() 552 if ((u8 *)rxd - skb->data >= skb->len) in mt7603_mac_fill_rx() 556 u8 *data = (u8 *)rxd; in mt7603_mac_fill_rx() 582 rxd += 4; in mt7603_mac_fill_rx() 583 if ((u8 *)rxd - skb->data >= skb->len) in mt7603_mac_fill_rx() [all …]
|
/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | mac.c | 318 __le32 *rxd = (__le32 *)skb->data; in mt7915_mac_fill_rx() local 321 u32 rxd0 = le32_to_cpu(rxd[0]); in mt7915_mac_fill_rx() 322 u32 rxd1 = le32_to_cpu(rxd[1]); in mt7915_mac_fill_rx() 323 u32 rxd2 = le32_to_cpu(rxd[2]); in mt7915_mac_fill_rx() 324 u32 rxd3 = le32_to_cpu(rxd[3]); in mt7915_mac_fill_rx() 325 u32 rxd4 = le32_to_cpu(rxd[4]); in mt7915_mac_fill_rx() 405 rxd += 6; in mt7915_mac_fill_rx() 407 u32 v0 = le32_to_cpu(rxd[0]); in mt7915_mac_fill_rx() 408 u32 v2 = le32_to_cpu(rxd[2]); in mt7915_mac_fill_rx() 414 rxd += 4; in mt7915_mac_fill_rx() [all …]
|
/drivers/dma/mediatek/ |
D | mtk-hsdma.c | 167 struct mtk_hsdma_pdesc *rxd; member 333 ring->rxd = &ring->txd[MTK_DMA_SIZE]; in mtk_hsdma_alloc_pchan() 417 struct mtk_hsdma_pdesc *txd, *rxd; in mtk_hsdma_issue_pending_vdesc() local 455 rxd = &ring->rxd[ring->cur_tptr]; in mtk_hsdma_issue_pending_vdesc() 456 WRITE_ONCE(rxd->desc1, hvd->dest); in mtk_hsdma_issue_pending_vdesc() 457 WRITE_ONCE(rxd->desc2, MTK_HSDMA_DESC_PLEN(tlen)); in mtk_hsdma_issue_pending_vdesc() 536 struct mtk_hsdma_pdesc *rxd; in mtk_hsdma_free_rooms_in_ring() local 562 rxd = &pc->ring.rxd[next]; in mtk_hsdma_free_rooms_in_ring() 568 desc2 = READ_ONCE(rxd->desc2); in mtk_hsdma_free_rooms_in_ring() 580 hvd->residue -= MTK_HSDMA_DESC_PLEN_GET(rxd->desc2); in mtk_hsdma_free_rooms_in_ring() [all …]
|
/drivers/net/wireless/mediatek/mt76/mt7921/ |
D | mcu.c | 159 struct mt7921_mcu_rxd *rxd; in mt7921_mcu_parse_response() local 171 rxd = (struct mt7921_mcu_rxd *)skb->data; in mt7921_mcu_parse_response() 172 if (seq != rxd->seq) in mt7921_mcu_parse_response() 177 skb_pull(skb, sizeof(*rxd) - 4); in mt7921_mcu_parse_response() 181 skb_pull(skb, sizeof(*rxd) + 4); in mt7921_mcu_parse_response() 195 skb_pull(skb, sizeof(*rxd)); in mt7921_mcu_parse_response() 206 skb_pull(skb, sizeof(*rxd)); in mt7921_mcu_parse_response() 558 struct mt7921_mcu_rxd *rxd = (struct mt7921_mcu_rxd *)skb->data; in mt7921_mcu_rx_unsolicited_event() local 560 switch (rxd->eid) { in mt7921_mcu_rx_unsolicited_event() 592 struct mt7921_mcu_rxd *rxd = (struct mt7921_mcu_rxd *)skb->data; in mt7921_mcu_rx_event() local [all …]
|
D | mac.c | 360 __le32 *rxv = NULL, *rxd = (__le32 *)skb->data; in mt7921_mac_fill_rx() local 365 u32 rxd0 = le32_to_cpu(rxd[0]); in mt7921_mac_fill_rx() 366 u32 rxd1 = le32_to_cpu(rxd[1]); in mt7921_mac_fill_rx() 367 u32 rxd2 = le32_to_cpu(rxd[2]); in mt7921_mac_fill_rx() 368 u32 rxd3 = le32_to_cpu(rxd[3]); in mt7921_mac_fill_rx() 369 u32 rxd4 = le32_to_cpu(rxd[4]); in mt7921_mac_fill_rx() 440 rxd += 6; in mt7921_mac_fill_rx() 442 u32 v0 = le32_to_cpu(rxd[0]); in mt7921_mac_fill_rx() 443 u32 v2 = le32_to_cpu(rxd[2]); in mt7921_mac_fill_rx() 449 rxd += 4; in mt7921_mac_fill_rx() [all …]
|
/drivers/net/fddi/skfp/h/ |
D | hwmtm.h | 277 #define HWM_GET_RX_FRAG_LEN(rxd) ((int)AIX_REVERSE((rxd)->rxd_rbctrl)& \ argument 294 #define HWM_GET_RX_PHYS(rxd) (u_long)AIX_REVERSE((rxd)->rxd_rbadr) argument
|
/drivers/net/wireless/mediatek/mt76/mt7615/ |
D | mac.c | 260 __le32 *rxd = (__le32 *)skb->data; in mt7615_mac_fill_rx() local 261 u32 rxd0 = le32_to_cpu(rxd[0]); in mt7615_mac_fill_rx() 262 u32 rxd1 = le32_to_cpu(rxd[1]); in mt7615_mac_fill_rx() 263 u32 rxd2 = le32_to_cpu(rxd[2]); in mt7615_mac_fill_rx() 332 rxd += 4; in mt7615_mac_fill_rx() 334 u32 v0 = le32_to_cpu(rxd[0]); in mt7615_mac_fill_rx() 335 u32 v2 = le32_to_cpu(rxd[2]); in mt7615_mac_fill_rx() 341 rxd += 4; in mt7615_mac_fill_rx() 342 if ((u8 *)rxd - skb->data >= skb->len) in mt7615_mac_fill_rx() 347 u8 *data = (u8 *)rxd; in mt7615_mac_fill_rx() [all …]
|
D | mcu.c | 174 struct mt7615_mcu_rxd *rxd; in mt7615_mcu_parse_response() local 183 rxd = (struct mt7615_mcu_rxd *)skb->data; in mt7615_mcu_parse_response() 184 if (seq != rxd->seq) in mt7615_mcu_parse_response() 189 skb_pull(skb, sizeof(*rxd) - 4); in mt7615_mcu_parse_response() 193 skb_pull(skb, sizeof(*rxd)); in mt7615_mcu_parse_response() 197 skb_pull(skb, sizeof(*rxd)); in mt7615_mcu_parse_response() 208 skb_pull(skb, sizeof(*rxd)); in mt7615_mcu_parse_response() 216 skb_pull(skb, sizeof(*rxd)); in mt7615_mcu_parse_response() 448 struct mt7615_mcu_rxd *rxd = (struct mt7615_mcu_rxd *)skb->data; in mt7615_mcu_rx_log_message() local 449 const char *data = (char *)&rxd[1]; in mt7615_mcu_rx_log_message() [all …]
|
D | mcu.h | 165 __le32 rxd[4]; member 180 struct mt7615_mcu_rxd rxd; member 188 struct mt7615_mcu_rxd rxd; member
|
/drivers/net/wireless/marvell/ |
D | mwl8k.c | 122 void (*rxd_init)(void *rxd, dma_addr_t next_dma_addr); 123 void (*rxd_refill)(void *rxd, dma_addr_t addr, int len); 124 int (*rxd_process)(void *rxd, struct ieee80211_rx_status *status, 146 void *rxd; member 974 struct mwl8k_rxd_ap *rxd = _rxd; in mwl8k_rxd_ap_init() local 976 rxd->next_rxd_phys_addr = cpu_to_le32(next_dma_addr); in mwl8k_rxd_ap_init() 977 rxd->rx_ctrl = MWL8K_AP_RX_CTRL_OWNED_BY_HOST; in mwl8k_rxd_ap_init() 982 struct mwl8k_rxd_ap *rxd = _rxd; in mwl8k_rxd_ap_refill() local 984 rxd->pkt_len = cpu_to_le16(len); in mwl8k_rxd_ap_refill() 985 rxd->pkt_phys_addr = cpu_to_le32(addr); in mwl8k_rxd_ap_refill() [all …]
|
/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_debugfs.c | 16 struct nfp_net_rx_desc *rxd; in nfp_rx_q_show() local 41 rxd = &rx_ring->rxds[i]; in nfp_rx_q_show() 43 rxd->vals[0], rxd->vals[1]); in nfp_rx_q_show()
|
D | nfp_net_common.c | 1592 struct nfp_net_rx_desc *rxd, in nfp_net_rx_csum() argument 1609 if (nfp_net_rx_csum_has_errors(le16_to_cpu(rxd->rxd.flags))) { in nfp_net_rx_csum() 1620 if (rxd->rxd.flags & PCIE_DESC_RX_TCP_CSUM_OK || in nfp_net_rx_csum() 1621 rxd->rxd.flags & PCIE_DESC_RX_UDP_CSUM_OK) { in nfp_net_rx_csum() 1628 if (rxd->rxd.flags & PCIE_DESC_RX_I_TCP_CSUM_OK || in nfp_net_rx_csum() 1629 rxd->rxd.flags & PCIE_DESC_RX_I_UDP_CSUM_OK) { in nfp_net_rx_csum() 1660 void *data, struct nfp_net_rx_desc *rxd) in nfp_net_set_hash_desc() argument 1664 if (!(rxd->rxd.flags & PCIE_DESC_RX_RSS)) in nfp_net_set_hash_desc() 1837 struct nfp_net_rx_desc *rxd; in nfp_net_rx() local 1847 rxd = &rx_ring->rxds[idx]; in nfp_net_rx() [all …]
|
/drivers/net/ethernet/sfc/ |
D | ef100_rx.c | 154 efx_qword_t *rxd; in ef100_rx_write() local 160 rxd = efx_rx_desc(rx_queue, idx); in ef100_rx_write() 162 EFX_POPULATE_QWORD_1(*rxd, ESF_GZ_RX_BUF_ADDR, rx_buf->dma_addr); in ef100_rx_write()
|
/drivers/net/ethernet/sun/ |
D | sungem.c | 419 struct gem_rxd *rxd = &gp->init_block->rxd[i]; in gem_rxmac_reset() local 426 rxd->status_word = cpu_to_le64(RXDCTRL_FRESH(gp)); in gem_rxmac_reset() 713 struct gem_rxd *rxd = in gem_post_rxds() local 714 &gp->init_block->rxd[cluster_start]; in gem_post_rxds() 716 rxd->status_word = cpu_to_le64(RXDCTRL_FRESH(gp)); in gem_post_rxds() 717 rxd++; in gem_post_rxds() 760 struct gem_rxd *rxd = &gp->init_block->rxd[entry]; in gem_rx() local 762 u64 status = le64_to_cpu(rxd->status_word); in gem_rx() 804 dma_addr = le64_to_cpu(rxd->buffer); in gem_rx() 817 rxd->buffer = cpu_to_le64(dma_map_page(&gp->pdev->dev, in gem_rx() [all …]
|
/drivers/staging/axis-fifo/ |
D | axis-fifo.txt | 22 - xlnx,axi-str-rxd-protocol: Should be "XIL_AXI_STREAM_ETH_DATA" 23 - xlnx,axi-str-rxd-tdata-width: Should be <0x20> 64 xlnx,axi-str-rxd-protocol = "XIL_AXI_STREAM_ETH_DATA"; 65 xlnx,axi-str-rxd-tdata-width = <0x20>;
|
/drivers/net/ |
D | macsec.c | 1025 struct macsec_rxh_data *rxd; in handle_not_macsec() local 1029 rxd = macsec_data_rcu(skb->dev); in handle_not_macsec() 1031 list_for_each_entry_rcu(macsec, &rxd->secys, secys) { in handle_not_macsec() 1105 struct macsec_rxh_data *rxd; in macsec_handle_frame() local 1158 rxd = macsec_data_rcu(skb->dev); in macsec_handle_frame() 1160 list_for_each_entry_rcu(macsec, &rxd->secys, secys) { in macsec_handle_frame() 1300 list_for_each_entry_rcu(macsec, &rxd->secys, secys) { in macsec_handle_frame() 1433 struct macsec_rxh_data *rxd = macsec_data_rtnl(real_dev); in create_rx_sc() local 1436 list_for_each_entry(macsec, &rxd->secys, secys) { in create_rx_sc() 3931 struct macsec_rxh_data *rxd = macsec_data_rtnl(real_dev); in macsec_dellink() local [all …]
|