| /OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/b43legacy/ |
| H A D | xmit.c | 431 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 D | pio.c | 559 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()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/ |
| H A D | bcm_app_utils.c | 921 uint32 *macstat = NULL; in wl_cntbuf_to_xtlv_format() local 943 macstat = MALLOC(osh, WL_CNT_MCST_STRUCT_SZ); in wl_cntbuf_to_xtlv_format() 946 macstat = (uint32 *)malloc(WL_CNT_MCST_STRUCT_SZ); in wl_cntbuf_to_xtlv_format() 948 if (!wlccnt || !macstat) { in wl_cntbuf_to_xtlv_format() 981 res = wl_copy_macstat_ver11(macstat, (uint32 *)cntinfo->data); in wl_cntbuf_to_xtlv_format() 992 res = wl_copy_macstat_upto_ver10(ver, macstat, (uint32 *)cntinfo->data); in wl_cntbuf_to_xtlv_format() 1006 xtlv_desc[1].ptr = macstat; in wl_cntbuf_to_xtlv_format() 1022 if (macstat) { in wl_cntbuf_to_xtlv_format() 1023 MFREE(osh, macstat, WL_CNT_MCST_STRUCT_SZ); in wl_cntbuf_to_xtlv_format() 1029 if (macstat) { in wl_cntbuf_to_xtlv_format() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/ |
| H A D | bcm_app_utils.c | 921 uint32 *macstat = NULL; in wl_cntbuf_to_xtlv_format() local 943 macstat = MALLOC(osh, WL_CNT_MCST_STRUCT_SZ); in wl_cntbuf_to_xtlv_format() 946 macstat = (uint32 *)malloc(WL_CNT_MCST_STRUCT_SZ); in wl_cntbuf_to_xtlv_format() 948 if (!wlccnt || !macstat) { in wl_cntbuf_to_xtlv_format() 981 res = wl_copy_macstat_ver11(macstat, (uint32 *)cntinfo->data); in wl_cntbuf_to_xtlv_format() 992 res = wl_copy_macstat_upto_ver10(ver, macstat, (uint32 *)cntinfo->data); in wl_cntbuf_to_xtlv_format() 1006 xtlv_desc[1].ptr = macstat; in wl_cntbuf_to_xtlv_format() 1022 if (macstat) { in wl_cntbuf_to_xtlv_format() 1023 MFREE(osh, macstat, WL_CNT_MCST_STRUCT_SZ); in wl_cntbuf_to_xtlv_format() 1029 if (macstat) { in wl_cntbuf_to_xtlv_format() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/ |
| H A D | bcm_app_utils.c | 921 uint32 *macstat = NULL; in wl_cntbuf_to_xtlv_format() local 943 macstat = MALLOC(osh, WL_CNT_MCST_STRUCT_SZ); in wl_cntbuf_to_xtlv_format() 946 macstat = (uint32 *)malloc(WL_CNT_MCST_STRUCT_SZ); in wl_cntbuf_to_xtlv_format() 948 if (!wlccnt || !macstat) { in wl_cntbuf_to_xtlv_format() 981 res = wl_copy_macstat_ver11(macstat, (uint32 *)cntinfo->data); in wl_cntbuf_to_xtlv_format() 992 res = wl_copy_macstat_upto_ver10(ver, macstat, (uint32 *)cntinfo->data); in wl_cntbuf_to_xtlv_format() 1006 xtlv_desc[1].ptr = macstat; in wl_cntbuf_to_xtlv_format() 1022 if (macstat) { in wl_cntbuf_to_xtlv_format() 1023 MFREE(osh, macstat, WL_CNT_MCST_STRUCT_SZ); in wl_cntbuf_to_xtlv_format() 1029 if (macstat) { in wl_cntbuf_to_xtlv_format() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/ |
| H A D | bcm_app_utils.c | 903 uint32 *macstat = NULL; in wl_cntbuf_to_xtlv_format() local 925 macstat = MALLOC(osh, WL_CNT_MCST_STRUCT_SZ); in wl_cntbuf_to_xtlv_format() 928 macstat = (uint32 *)malloc(WL_CNT_MCST_STRUCT_SZ); in wl_cntbuf_to_xtlv_format() 930 if (!wlccnt || !macstat) { in wl_cntbuf_to_xtlv_format() 963 res = wl_copy_macstat_ver11(macstat, (uint32 *)cntinfo->data); in wl_cntbuf_to_xtlv_format() 974 res = wl_copy_macstat_upto_ver10(ver, macstat, (uint32 *)cntinfo->data); in wl_cntbuf_to_xtlv_format() 988 xtlv_desc[1].ptr = macstat; in wl_cntbuf_to_xtlv_format() 1004 if (macstat) { in wl_cntbuf_to_xtlv_format() 1005 MFREE(osh, macstat, WL_CNT_MCST_STRUCT_SZ); in wl_cntbuf_to_xtlv_format() 1011 if (macstat) { in wl_cntbuf_to_xtlv_format() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/b43/ |
| H A D | xmit.c | 641 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 D | pio.c | 601 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()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | bcm_app_utils.c | 1162 uint32 *macstat = NULL; in wl_cntbuf_to_xtlv_format() local 1184 macstat = MALLOC(osh, WL_CNT_MCST_STRUCT_SZ); in wl_cntbuf_to_xtlv_format() 1187 macstat = (uint32 *)malloc(WL_CNT_MCST_STRUCT_SZ); in wl_cntbuf_to_xtlv_format() 1189 if (!wlccnt || !macstat) { in wl_cntbuf_to_xtlv_format() 1223 res = wl_copy_macstat_ver11(macstat, (uint32 *)cntinfo->data); in wl_cntbuf_to_xtlv_format() 1234 res = wl_copy_macstat_upto_ver10(ver, macstat, (uint32 *)cntinfo->data); in wl_cntbuf_to_xtlv_format() 1248 xtlv_desc[1].ptr = macstat; in wl_cntbuf_to_xtlv_format() 1264 if (macstat) { in wl_cntbuf_to_xtlv_format() 1265 MFREE(osh, macstat, WL_CNT_MCST_STRUCT_SZ); in wl_cntbuf_to_xtlv_format() 1271 if (macstat) { in wl_cntbuf_to_xtlv_format() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | bcm_app_utils.c | 1162 uint32 *macstat = NULL; in wl_cntbuf_to_xtlv_format() local 1184 macstat = MALLOC(osh, WL_CNT_MCST_STRUCT_SZ); in wl_cntbuf_to_xtlv_format() 1187 macstat = (uint32 *)malloc(WL_CNT_MCST_STRUCT_SZ); in wl_cntbuf_to_xtlv_format() 1189 if (!wlccnt || !macstat) { in wl_cntbuf_to_xtlv_format() 1223 res = wl_copy_macstat_ver11(macstat, (uint32 *)cntinfo->data); in wl_cntbuf_to_xtlv_format() 1234 res = wl_copy_macstat_upto_ver10(ver, macstat, (uint32 *)cntinfo->data); in wl_cntbuf_to_xtlv_format() 1248 xtlv_desc[1].ptr = macstat; in wl_cntbuf_to_xtlv_format() 1264 if (macstat) { in wl_cntbuf_to_xtlv_format() 1265 MFREE(osh, macstat, WL_CNT_MCST_STRUCT_SZ); in wl_cntbuf_to_xtlv_format() 1271 if (macstat) { in wl_cntbuf_to_xtlv_format() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/agere/ |
| H A D | et131x.c | 1153 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 …]
|
| H A D | et131x.h | 1242 struct macstat_regs macstat; member
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
| H A D | debug.c | 102 struct macstat stats; in brcms_debugfs_macstat_read()
|
| H A D | main.h | 243 struct macstat *macstat_snapshot; /* mac hw prev read values */
|
| H A D | d11.h | 1677 struct macstat { struct
|
| H A D | ampdu.c | 372 offsetof(struct macstat, txfunfl[fid])); in brcms_c_ffpld_check_txfunfl()
|
| H A D | main.c | 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()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
| H A D | phy_lcn.c | 139 offsetof(struct macstat, txallfrm))
|