Home
last modified time | relevance | path

Searched refs:rxhdr (Results 1 – 22 of 22) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/b43/
H A Dxmit.c637 const struct b43_rxhdr_fw4 *rxhdr = _rxhdr; in b43_rx() local
648 phystat0 = le16_to_cpu(rxhdr->phy_status0); in b43_rx()
649 phystat3 = le16_to_cpu(rxhdr->phy_status3); in b43_rx()
652 macstat = le32_to_cpu(rxhdr->format_598.mac_status); in b43_rx()
653 mactime = le16_to_cpu(rxhdr->format_598.mac_time); in b43_rx()
654 chanstat = le16_to_cpu(rxhdr->format_598.channel); in b43_rx()
658 macstat = le32_to_cpu(rxhdr->format_351.mac_status); in b43_rx()
659 mactime = le16_to_cpu(rxhdr->format_351.mac_time); in b43_rx()
660 chanstat = le16_to_cpu(rxhdr->format_351.channel); in b43_rx()
723 max(rxhdr->phy_ht_power0, rxhdr->phy_ht_power1), in b43_rx()
[all …]
H A Dpio.c605 struct b43_rxhdr_fw4 *rxhdr = in pio_rx_frame() local
607 size_t rxhdr_size = sizeof(*rxhdr); in pio_rx_frame()
609 BUILD_BUG_ON(sizeof(wl->pio_scratchspace) < sizeof(*rxhdr)); in pio_rx_frame()
613 rxhdr_size -= sizeof(rxhdr->format_598) - in pio_rx_frame()
614 sizeof(rxhdr->format_351); in pio_rx_frame()
619 memset(rxhdr, 0, rxhdr_size); in pio_rx_frame()
657 b43_block_read(dev, rxhdr, rxhdr_size, in pio_rx_frame()
661 b43_block_read(dev, rxhdr, rxhdr_size, in pio_rx_frame()
666 len = le16_to_cpu(rxhdr->frame_len); in pio_rx_frame()
678 macstat = le32_to_cpu(rxhdr->format_598.mac_status); in pio_rx_frame()
[all …]
H A Ddma.c579 struct b43_rxhdr_fw4 *rxhdr; in b43_poison_rx_buffer() local
584 rxhdr = (struct b43_rxhdr_fw4 *)(skb->data); in b43_poison_rx_buffer()
585 rxhdr->frame_len = 0; in b43_poison_rx_buffer()
1587 struct b43_rxhdr_fw4 *rxhdr; in dma_rx() local
1598 rxhdr = (struct b43_rxhdr_fw4 *)skb->data; in dma_rx()
1599 len = le16_to_cpu(rxhdr->frame_len); in dma_rx()
1606 len = le16_to_cpu(rxhdr->frame_len); in dma_rx()
1658 b43_rx(ring->dev, skb, rxhdr); in dma_rx()
/OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/b43legacy/
H A Dxmit.c425 const struct b43legacy_rxhdr_fw3 *rxhdr = _rxhdr; in b43legacy_rx() local
439 phystat0 = le16_to_cpu(rxhdr->phy_status0); in b43legacy_rx()
440 phystat3 = le16_to_cpu(rxhdr->phy_status3); in b43legacy_rx()
441 jssi = rxhdr->jssi; in b43legacy_rx()
442 macstat = le16_to_cpu(rxhdr->mac_status); in b43legacy_rx()
443 mactime = le16_to_cpu(rxhdr->mac_time); in b43legacy_rx()
444 chanstat = le16_to_cpu(rxhdr->channel); in b43legacy_rx()
H A Ddma.c445 struct b43legacy_rxhdr_fw3 *rxhdr; in setup_rx_descbuffer() local
479 rxhdr = (struct b43legacy_rxhdr_fw3 *)(skb->data); in setup_rx_descbuffer()
480 rxhdr->frame_len = 0; in setup_rx_descbuffer()
1246 struct b43legacy_rxhdr_fw3 *rxhdr; in dma_rx() local
1277 rxhdr = (struct b43legacy_rxhdr_fw3 *)skb->data; in dma_rx()
1278 len = le16_to_cpu(rxhdr->frame_len); in dma_rx()
1285 len = le16_to_cpu(rxhdr->frame_len); in dma_rx()
1334 b43legacy_rx(ring->dev, skb, rxhdr); in dma_rx()
H A Dpio.c556 struct b43legacy_rxhdr_fw3 *rxhdr; in b43legacy_pio_rx() local
599 rxhdr = (struct b43legacy_rxhdr_fw3 *)preamble; in b43legacy_pio_rx()
600 macstat = le16_to_cpu(rxhdr->mac_status); in b43legacy_pio_rx()
631 b43legacy_rx(queue->dev, skb, rxhdr); in b43legacy_pio_rx()
/OK3568_Linux_fs/u-boot/drivers/net/
H A Dsunxi_emac.c410 struct emac_rxhdr rxhdr; in _sunxi_emac_eth_recv() local
451 emac_inblk_32bit(&regs->rx_io_data, &rxhdr, sizeof(rxhdr)); in _sunxi_emac_eth_recv()
453 rx_len = rxhdr.rx_len; in _sunxi_emac_eth_recv()
454 rx_status = rxhdr.rx_status; in _sunxi_emac_eth_recv()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/include/
H A Dhndd11.h53 d11rxhdr_t rxhdr; member
81 #define WLC_RXHDR_LEN (OFFSETOF(wlc_d11rxhdr_t, rxhdr))
H A Dd11.h2680 #define D11RXHDR_HAS_UCODE_STATUS(rxhdr, corerev, corerev_minor) \ argument
2681 ((!IS_D11RXHDRSHORT((rxhdr), (corerev), (corerev_minor))) || \
2682 (IS_D11RXHDRMID((rxhdr), (corerev), (corerev_minor))))
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Dbcmwifi_monitor.c107 d11rxhdr_t *rxh = &wrxh->rxhdr; in BCMFASTPATH()
791 d11rxhdr_t *rxh = &(wrxh->rxhdr); in wl_d11rx_to_rxsts()
792 d11rxhdr_t *rxh_last = &(wrxh_last->rxhdr); in wl_d11rx_to_rxsts()
925 uint16 aggtype = (wrxh->rxhdr.lt80.RxStatus2 & RXS_AGGTYPE_MASK) >> RXS_AGGTYPE_SHIFT; in wl_monitor_amsdu()
936 info->headroom -= (wrxh->rxhdr.lt80.RxStatus1 & RXS_PBPRES) ? 2 : 0; in wl_monitor_amsdu()
965 if (wrxh->rxhdr.lt80.RxStatus1 & RXS_PBPRES) { in wl_monitor_amsdu()
1060 if ((wrxh->rxhdr.lt80.RxStatus2 & htol16(RXS_AMSDU_MASK))) { in bcmwifi_monitor()
H A Ddhd_sdio.c319 uint8 *rxhdr; /* Header of current rx frame (in hdrbuf) */ member
7020 bcopy(rxbuf, bus->rxhdr, SDPCM_HDRLEN); in dhdsdio_readframes()
7023 len = ltoh16_ua(bus->rxhdr); in dhdsdio_readframes()
7024 check = ltoh16_ua(bus->rxhdr + sizeof(uint16)); in dhdsdio_readframes()
7089 chan = SDPCM_PACKET_CHANNEL(&bus->rxhdr[SDPCM_FRAMETAG_LEN]); in dhdsdio_readframes()
7090 seq = SDPCM_PACKET_SEQUENCE(&bus->rxhdr[SDPCM_FRAMETAG_LEN]); in dhdsdio_readframes()
7091 doff = SDPCM_DOFFSET_VALUE(&bus->rxhdr[SDPCM_FRAMETAG_LEN]); in dhdsdio_readframes()
7092 txmax = SDPCM_WINDOW_VALUE(&bus->rxhdr[SDPCM_FRAMETAG_LEN]); in dhdsdio_readframes()
7118 bus->rxhdr[SDPCM_FRAMETAG_LEN + SDPCM_NEXTLEN_OFFSET]; in dhdsdio_readframes()
7131 fcbits = SDPCM_FCMASK_VALUE(&bus->rxhdr[SDPCM_FRAMETAG_LEN]); in dhdsdio_readframes()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/davicom/
H A Ddm9000.c1094 struct dm9000_rxhdr rxhdr; in dm9000_rx() local
1121 (db->inblk)(db->io_data, &rxhdr, sizeof(rxhdr)); in dm9000_rx()
1123 RxLen = le16_to_cpu(rxhdr.RxLen); in dm9000_rx()
1127 rxhdr.RxStatus, RxLen); in dm9000_rx()
1141 if (rxhdr.RxStatus & (RSR_FOE | RSR_CE | RSR_AE | in dm9000_rx()
1145 if (rxhdr.RxStatus & RSR_FOE) { in dm9000_rx()
1150 if (rxhdr.RxStatus & RSR_CE) { in dm9000_rx()
1155 if (rxhdr.RxStatus & RSR_RF) { in dm9000_rx()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/allwinner/
H A Dsun4i-emac.c504 u32 rxhdr, rxstatus, rxcount, rxlen; in emac_rx() local
579 rxhdr = readl(db->membase + EMAC_RX_IO_DATA_REG); in emac_rx()
582 dev_dbg(db->dev, "rxhdr: %x\n", *((int *)(&rxhdr))); in emac_rx()
584 rxlen = EMAC_RX_IO_DATA_LEN(rxhdr); in emac_rx()
585 rxstatus = EMAC_RX_IO_DATA_STATUS(rxhdr); in emac_rx()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/amd/
H A Dam79c961a.h136 unsigned long rxhdr; member
H A Dam79c961a.c268 priv->rxhdr = hdr_addr; in am79c961_init_for_open()
292 write_rreg (dev->base_addr, BASERXL, priv->rxhdr); in am79c961_init_for_open()
490 hdraddr = priv->rxhdr + (priv->rxtail << 3); in am79c961_rx()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Ddhd_sdio.c299 uint8 *rxhdr; /* Header of current rx frame (in hdrbuf) */ member
6396 bcopy(rxbuf, bus->rxhdr, SDPCM_HDRLEN); in dhdsdio_readframes()
6399 len = ltoh16_ua(bus->rxhdr); in dhdsdio_readframes()
6400 check = ltoh16_ua(bus->rxhdr + sizeof(uint16)); in dhdsdio_readframes()
6455 chan = SDPCM_PACKET_CHANNEL(&bus->rxhdr[SDPCM_FRAMETAG_LEN]); in dhdsdio_readframes()
6456 seq = SDPCM_PACKET_SEQUENCE(&bus->rxhdr[SDPCM_FRAMETAG_LEN]); in dhdsdio_readframes()
6457 doff = SDPCM_DOFFSET_VALUE(&bus->rxhdr[SDPCM_FRAMETAG_LEN]); in dhdsdio_readframes()
6458 txmax = SDPCM_WINDOW_VALUE(&bus->rxhdr[SDPCM_FRAMETAG_LEN]); in dhdsdio_readframes()
6461 bus->rxhdr[SDPCM_FRAMETAG_LEN + SDPCM_NEXTLEN_OFFSET]; in dhdsdio_readframes()
6471 fcbits = SDPCM_FCMASK_VALUE(&bus->rxhdr[SDPCM_FRAMETAG_LEN]); in dhdsdio_readframes()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Ddhd_sdio.c307 uint8 *rxhdr; /* Header of current rx frame (in hdrbuf) */ member
6655 bcopy(rxbuf, bus->rxhdr, SDPCM_HDRLEN);
6658 len = ltoh16_ua(bus->rxhdr);
6659 check = ltoh16_ua(bus->rxhdr + sizeof(uint16));
6723 chan = SDPCM_PACKET_CHANNEL(&bus->rxhdr[SDPCM_FRAMETAG_LEN]);
6724 seq = SDPCM_PACKET_SEQUENCE(&bus->rxhdr[SDPCM_FRAMETAG_LEN]);
6725 doff = SDPCM_DOFFSET_VALUE(&bus->rxhdr[SDPCM_FRAMETAG_LEN]);
6726 txmax = SDPCM_WINDOW_VALUE(&bus->rxhdr[SDPCM_FRAMETAG_LEN]);
6752 bus->rxhdr[SDPCM_FRAMETAG_LEN + SDPCM_NEXTLEN_OFFSET];
6765 fcbits = SDPCM_FCMASK_VALUE(&bus->rxhdr[SDPCM_FRAMETAG_LEN]);
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Ddhd_sdio.c322 uint8 *rxhdr; /* Header of current rx frame (in hdrbuf) */ member
6717 bcopy(rxbuf, bus->rxhdr, SDPCM_HDRLEN);
6720 len = ltoh16_ua(bus->rxhdr);
6721 check = ltoh16_ua(bus->rxhdr + sizeof(uint16));
6785 chan = SDPCM_PACKET_CHANNEL(&bus->rxhdr[SDPCM_FRAMETAG_LEN]);
6786 seq = SDPCM_PACKET_SEQUENCE(&bus->rxhdr[SDPCM_FRAMETAG_LEN]);
6787 doff = SDPCM_DOFFSET_VALUE(&bus->rxhdr[SDPCM_FRAMETAG_LEN]);
6788 txmax = SDPCM_WINDOW_VALUE(&bus->rxhdr[SDPCM_FRAMETAG_LEN]);
6814 bus->rxhdr[SDPCM_FRAMETAG_LEN + SDPCM_NEXTLEN_OFFSET];
6827 fcbits = SDPCM_FCMASK_VALUE(&bus->rxhdr[SDPCM_FRAMETAG_LEN]);
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Ddhd_sdio.c307 uint8 *rxhdr; /* Header of current rx frame (in hdrbuf) */ member
6651 bcopy(rxbuf, bus->rxhdr, SDPCM_HDRLEN);
6654 len = ltoh16_ua(bus->rxhdr);
6655 check = ltoh16_ua(bus->rxhdr + sizeof(uint16));
6719 chan = SDPCM_PACKET_CHANNEL(&bus->rxhdr[SDPCM_FRAMETAG_LEN]);
6720 seq = SDPCM_PACKET_SEQUENCE(&bus->rxhdr[SDPCM_FRAMETAG_LEN]);
6721 doff = SDPCM_DOFFSET_VALUE(&bus->rxhdr[SDPCM_FRAMETAG_LEN]);
6722 txmax = SDPCM_WINDOW_VALUE(&bus->rxhdr[SDPCM_FRAMETAG_LEN]);
6748 bus->rxhdr[SDPCM_FRAMETAG_LEN + SDPCM_NEXTLEN_OFFSET];
6761 fcbits = SDPCM_FCMASK_VALUE(&bus->rxhdr[SDPCM_FRAMETAG_LEN]);
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dsdio.c457 u8 *rxhdr; /* Header of current rx frame (in hdrbuf) */ member
1880 bus->rxhdr, BRCMF_FIRSTREAD); in brcmf_sdio_readframes()
1892 bus->rxhdr, SDPCM_HDRLEN, in brcmf_sdio_readframes()
1895 if (brcmf_sdio_hdparse(bus, bus->rxhdr, rd, in brcmf_sdio_readframes()
1905 brcmf_sdio_read_control(bus, bus->rxhdr, in brcmf_sdio_readframes()
1953 memcpy(pkt->data, bus->rxhdr, head_read); in brcmf_sdio_readframes()
1956 memcpy(bus->rxhdr, pkt->data, SDPCM_HDRLEN); in brcmf_sdio_readframes()
1959 if (brcmf_sdio_hdparse(bus, bus->rxhdr, &rd_new, in brcmf_sdio_readframes()
1986 bus->rxhdr, SDPCM_HDRLEN, in brcmf_sdio_readframes()
2007 if (SDPCM_GLOMDESC(&bus->rxhdr[SDPCM_HWHDR_LEN])) { in brcmf_sdio_readframes()
[all …]
H A Dcore.c56 struct d11rxhdr_le rxhdr; member
443 RxStatus1 = le16_to_cpu(wlc_rxhdr->rxhdr.RxStatus1); in brcmf_netif_mon_rx()
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Ddhd_sdio.c320 uint8 *rxhdr; /* Header of current rx frame (in hdrbuf) */ member
7031 bcopy(rxbuf, bus->rxhdr, SDPCM_HDRLEN); in dhdsdio_readframes()
7034 len = ltoh16_ua(bus->rxhdr); in dhdsdio_readframes()
7035 check = ltoh16_ua(bus->rxhdr + sizeof(uint16)); in dhdsdio_readframes()
7100 chan = SDPCM_PACKET_CHANNEL(&bus->rxhdr[SDPCM_FRAMETAG_LEN]); in dhdsdio_readframes()
7101 seq = SDPCM_PACKET_SEQUENCE(&bus->rxhdr[SDPCM_FRAMETAG_LEN]); in dhdsdio_readframes()
7102 doff = SDPCM_DOFFSET_VALUE(&bus->rxhdr[SDPCM_FRAMETAG_LEN]); in dhdsdio_readframes()
7103 txmax = SDPCM_WINDOW_VALUE(&bus->rxhdr[SDPCM_FRAMETAG_LEN]); in dhdsdio_readframes()
7129 bus->rxhdr[SDPCM_FRAMETAG_LEN + SDPCM_NEXTLEN_OFFSET]; in dhdsdio_readframes()
7142 fcbits = SDPCM_FCMASK_VALUE(&bus->rxhdr[SDPCM_FRAMETAG_LEN]); in dhdsdio_readframes()
[all …]