Searched refs:macstat (Results 1 – 12 of 12) sorted by relevance
431 u32 macstat; in b43legacy_rx() local442 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()
559 u16 macstat; in b43legacy_pio_rx() local600 macstat = le16_to_cpu(rxhdr->mac_status); in b43legacy_pio_rx()601 if (macstat & B43legacy_RX_MAC_FCSERR) { in b43legacy_pio_rx()
641 u32 macstat; in b43_rx() local652 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()
601 u32 macstat = 0; in pio_rx_frame() local678 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()
1153 struct macstat_regs __iomem *macstat = &adapter->regs->macstat; in et1310_config_macstat_regs() local1157 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() local1344 &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 …]
1242 struct macstat_regs macstat; member
102 struct macstat stats; in brcms_debugfs_macstat_read()
243 struct macstat *macstat_snapshot; /* mac hw prev read values */
1677 struct macstat { struct
372 offsetof(struct macstat, txfunfl[fid])); in brcms_c_ffpld_check_txfunfl()
577 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()
139 offsetof(struct macstat, txallfrm))