Home
last modified time | relevance | path

Searched refs:macstat (Results 1 – 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43legacy/
Dxmit.c431 u32 macstat; in b43legacy_rx() local
442 macstat = le16_to_cpu(rxhdr->mac_status); in b43legacy_rx()
446 if (macstat & B43legacy_RX_MAC_FCSERR) in b43legacy_rx()
450 padding = (macstat & B43legacy_RX_MAC_PADDING) ? 2 : 0; in b43legacy_rx()
466 if ((macstat & B43legacy_RX_MAC_DEC) && in b43legacy_rx()
467 !(macstat & B43legacy_RX_MAC_DECERR)) { in b43legacy_rx()
473 keyidx = ((macstat & B43legacy_RX_MAC_KEYIDX) in b43legacy_rx()
Dpio.c559 u16 macstat; in b43legacy_pio_rx() local
600 macstat = le16_to_cpu(rxhdr->mac_status); in b43legacy_pio_rx()
601 if (macstat & B43legacy_RX_MAC_FCSERR) { in b43legacy_pio_rx()
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/
Dxmit.c641 u32 macstat; in b43_rx() local
652 macstat = le32_to_cpu(rxhdr->format_598.mac_status); in b43_rx()
658 macstat = le32_to_cpu(rxhdr->format_351.mac_status); in b43_rx()
664 if (unlikely(macstat & B43_RX_MAC_FCSERR)) { in b43_rx()
672 if (macstat & B43_RX_MAC_DECERR) { in b43_rx()
680 padding = (macstat & B43_RX_MAC_PADDING) ? 2 : 0; in b43_rx()
695 if (macstat & B43_RX_MAC_DEC) { in b43_rx()
699 keyidx = ((macstat & B43_RX_MAC_KEYIDX) in b43_rx()
Dpio.c601 u32 macstat = 0; in pio_rx_frame() local
678 macstat = le32_to_cpu(rxhdr->format_598.mac_status); in pio_rx_frame()
682 macstat = le32_to_cpu(rxhdr->format_351.mac_status); in pio_rx_frame()
685 if (macstat & B43_RX_MAC_FCSERR) { in pio_rx_frame()
696 padding = (macstat & B43_RX_MAC_PADDING) ? 2 : 0; in pio_rx_frame()
/kernel/linux/linux-5.10/drivers/net/ethernet/agere/
Det131x.c1153 struct macstat_regs __iomem *macstat = &adapter->regs->macstat; in et1310_config_macstat_regs() local
1157 for (reg = &macstat->txrx_0_64_byte_frames; in et1310_config_macstat_regs()
1158 reg <= &macstat->carry_reg2; reg++) in et1310_config_macstat_regs()
1165 writel(0xFFFFBE32, &macstat->carry_reg1_mask); in et1310_config_macstat_regs()
1166 writel(0xFFFE7E8B, &macstat->carry_reg2_mask); in et1310_config_macstat_regs()
1343 struct macstat_regs __iomem *macstat = in et1310_update_macstat_host_counters() local
1344 &adapter->regs->macstat; in et1310_update_macstat_host_counters()
1346 stats->tx_collisions += readl(&macstat->tx_total_collisions); in et1310_update_macstat_host_counters()
1347 stats->tx_first_collisions += readl(&macstat->tx_single_collisions); in et1310_update_macstat_host_counters()
1348 stats->tx_deferred += readl(&macstat->tx_deferred); in et1310_update_macstat_host_counters()
[all …]
Det131x.h1242 struct macstat_regs macstat; member
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Ddebug.c102 struct macstat stats; in brcms_debugfs_macstat_read()
Dmain.h243 struct macstat *macstat_snapshot; /* mac hw prev read values */
Dd11.h1677 struct macstat { struct
Dampdu.c372 offsetof(struct macstat, txfunfl[fid])); in brcms_c_ffpld_check_txfunfl()
Dmain.c577 kzalloc(sizeof(struct macstat), GFP_ATOMIC); in brcms_c_attach_malloc()
3069 struct macstat *macstats; in brcms_c_statsupd()
3137 memset(wlc->core->macstat_snapshot, 0, sizeof(struct macstat)); in brcms_c_reset()
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_lcn.c139 offsetof(struct macstat, txallfrm))