Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/broadcom/b43legacy/
H A 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()
H A 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()
/openbmc/linux/drivers/net/wireless/broadcom/b43/
H A 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()
H A 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()
/openbmc/linux/drivers/net/ethernet/agere/
H A 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()
1350 readl(&macstat->tx_multiple_collisions); in et1310_update_macstat_host_counters()
1378 carry_reg1 = readl(&adapter->regs->macstat.carry_reg1); in et1310_handle_macstat_interrupt()
1379 carry_reg2 = readl(&adapter->regs->macstat.carry_reg2); in et1310_handle_macstat_interrupt()
[all …]
H A Det131x.h1242 struct macstat_regs macstat; member
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Ddebug.c102 struct macstat stats; in brcms_debugfs_macstat_read()
H A Dmain.h243 struct macstat *macstat_snapshot; /* mac hw prev read values */
H A Dampdu.c372 offsetof(struct macstat, txfunfl[fid])); in brcms_c_ffpld_check_txfunfl()
H A Dd11.h1677 struct macstat { struct
H A 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()
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
H A Dphy_lcn.c139 offsetof(struct macstat, txallfrm))