/drivers/net/wireless/ti/wl18xx/ |
D | debugfs.c | 136 WL18XX_DEBUGFS_FWSTATS_FILE(rx_filter, beacon_filter, "%u"); 137 WL18XX_DEBUGFS_FWSTATS_FILE(rx_filter, arp_filter, "%u"); 138 WL18XX_DEBUGFS_FWSTATS_FILE(rx_filter, mc_filter, "%u"); 139 WL18XX_DEBUGFS_FWSTATS_FILE(rx_filter, dup_filter, "%u"); 140 WL18XX_DEBUGFS_FWSTATS_FILE(rx_filter, data_filter, "%u"); 141 WL18XX_DEBUGFS_FWSTATS_FILE(rx_filter, ibss_filter, "%u"); 142 WL18XX_DEBUGFS_FWSTATS_FILE(rx_filter, protection_filter, "%u"); 143 WL18XX_DEBUGFS_FWSTATS_FILE(rx_filter, accum_arp_pend_requests, "%u"); 144 WL18XX_DEBUGFS_FWSTATS_FILE(rx_filter, max_arp_queue_dep, "%u"); 526 DEBUGFS_FWSTATS_ADD(rx_filter, beacon_filter); in wl18xx_debugfs_add_files() [all …]
|
D | acx.h | 288 struct wl18xx_acx_rx_filter_stats rx_filter; member
|
/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_offload.c | 70 if (latest.pkts != nn->rx_filter.pkts) in nfp_net_filter_stats_timer() 73 nn->rx_filter = latest; in nfp_net_filter_stats_timer() 78 nn->rx_filter.pkts = nn_readq(nn, NFP_NET_CFG_STATS_APP1_FRAMES); in nfp_net_bpf_stats_reset() 79 nn->rx_filter.bytes = nn_readq(nn, NFP_NET_CFG_STATS_APP1_BYTES); in nfp_net_bpf_stats_reset() 80 nn->rx_filter_prev = nn->rx_filter; in nfp_net_bpf_stats_reset() 91 pkts = nn->rx_filter.pkts - nn->rx_filter_prev.pkts; in nfp_net_bpf_stats_update() 92 bytes = nn->rx_filter.bytes - nn->rx_filter_prev.bytes; in nfp_net_bpf_stats_update() 95 nn->rx_filter_prev = nn->rx_filter; in nfp_net_bpf_stats_update()
|
/drivers/net/wireless/ath/carl9170/ |
D | cmd.h | 66 __le32 rx_filter = cpu_to_le32(_rx_filter); in carl9170_rx_filter() local 69 sizeof(rx_filter), (u8 *)&rx_filter, in carl9170_rx_filter()
|
D | fwcmd.h | 175 __le32 rx_filter; member 241 struct carl9170_rx_filter_cmd rx_filter; member
|
D | main.c | 387 if (ar->fw.rx_filter) { in carl9170_op_start() 1020 if (ar->fw.rx_filter && changed_flags & ar->rx_filter_caps) { in carl9170_op_configure_filter() 1021 u32 rx_filter = 0; in carl9170_op_configure_filter() local 1024 rx_filter |= CARL9170_RX_FILTER_CTL_OTHER; in carl9170_op_configure_filter() 1027 rx_filter |= CARL9170_RX_FILTER_BAD; in carl9170_op_configure_filter() 1030 rx_filter |= CARL9170_RX_FILTER_CTL_OTHER; in carl9170_op_configure_filter() 1033 rx_filter |= CARL9170_RX_FILTER_CTL_PSPOLL; in carl9170_op_configure_filter() 1036 rx_filter |= CARL9170_RX_FILTER_OTHER_RA; in carl9170_op_configure_filter() 1037 rx_filter |= CARL9170_RX_FILTER_DECRY_FAIL; in carl9170_op_configure_filter() 1040 WARN_ON(carl9170_rx_filter(ar, rx_filter)); in carl9170_op_configure_filter()
|
D | fwdesc.h | 178 __le32 rx_filter; member
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ptp.c | 851 switch (config->rx_filter) { in ixgbe_ptp_set_timestamp_mode() 881 config->rx_filter = HWTSTAMP_FILTER_PTP_V2_EVENT; in ixgbe_ptp_set_timestamp_mode() 892 config->rx_filter = HWTSTAMP_FILTER_ALL; in ixgbe_ptp_set_timestamp_mode() 906 config->rx_filter = HWTSTAMP_FILTER_NONE; in ixgbe_ptp_set_timestamp_mode() 930 if (config->rx_filter == HWTSTAMP_FILTER_NONE) in ixgbe_ptp_set_timestamp_mode() 936 config->rx_filter = HWTSTAMP_FILTER_ALL; in ixgbe_ptp_set_timestamp_mode() 1264 adapter->tstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; in ixgbe_ptp_create_clock()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_clock.c | 96 switch (config.rx_filter) { in mlx5e_hwstamp_set() 117 config.rx_filter = HWTSTAMP_FILTER_ALL; in mlx5e_hwstamp_set() 230 tstamp->hwtstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; in mlx5e_timestamp_init_config()
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_ptp.c | 477 switch (config->rx_filter) { in i40e_ptp_set_timestamp_mode() 494 config->rx_filter = HWTSTAMP_FILTER_PTP_V1_L4_EVENT; in i40e_ptp_set_timestamp_mode() 509 config->rx_filter = HWTSTAMP_FILTER_PTP_V2_EVENT; in i40e_ptp_set_timestamp_mode() 627 pf->tstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; in i40e_ptp_create_clock()
|
/drivers/net/ethernet/freescale/ |
D | fec_ptp.c | 499 switch (config.rx_filter) { in fec_ptp_set() 503 config.rx_filter = HWTSTAMP_FILTER_NONE; in fec_ptp_set() 508 config.rx_filter = HWTSTAMP_FILTER_ALL; in fec_ptp_set() 523 config.rx_filter = (fep->hwts_rx_en ? in fec_ptp_get()
|
/drivers/net/ethernet/adi/ |
D | bfin_mac.c | 637 __func__, config.flags, config.tx_type, config.rx_filter); in bfin_mac_hwtstamp_set() 649 switch (config.rx_filter) { in bfin_mac_hwtstamp_set() 686 config.rx_filter = HWTSTAMP_FILTER_PTP_V1_L4_EVENT; in bfin_mac_hwtstamp_set() 717 config.rx_filter = HWTSTAMP_FILTER_PTP_V2_L4_EVENT; in bfin_mac_hwtstamp_set() 749 config.rx_filter = HWTSTAMP_FILTER_PTP_V2_L2_EVENT; in bfin_mac_hwtstamp_set() 756 bfin_mac_hwtstamp_is_none(config.rx_filter)) { in bfin_mac_hwtstamp_set() 836 if (bfin_mac_hwtstamp_is_none(lp->stamp_cfg.rx_filter)) in bfin_rx_hwtstamp() 871 lp->stamp_cfg.rx_filter = HWTSTAMP_FILTER_NONE; in bfin_mac_hwtstamp_init()
|
/drivers/net/wireless/st/cw1200/ |
D | debug.c | 132 if (priv->rx_filter.promiscuous) in cw1200_status_show() 134 else if (priv->rx_filter.fcs) in cw1200_status_show() 136 if (priv->rx_filter.bssid) in cw1200_status_show()
|
D | cw1200.h | 166 struct wsm_rx_filter rx_filter; member
|
D | sta.c | 445 bool bssid_filtering = !priv->rx_filter.bssid; in cw1200_update_filtering() 499 ret = wsm_set_rx_filter(priv, &priv->rx_filter); in cw1200_update_filtering() 593 priv->rx_filter.promiscuous = 0; in cw1200_configure_filter() 594 priv->rx_filter.bssid = (*total_flags & (FIF_OTHER_BSS | in cw1200_configure_filter() 596 priv->rx_filter.fcs = (*total_flags & FIF_FCSFAIL) ? 1 : 0; in cw1200_configure_filter()
|
/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_main.c | 460 __func__, config.flags, config.tx_type, config.rx_filter); in stmmac_hwtstamp_ioctl() 471 switch (config.rx_filter) { in stmmac_hwtstamp_ioctl() 474 config.rx_filter = HWTSTAMP_FILTER_NONE; in stmmac_hwtstamp_ioctl() 479 config.rx_filter = HWTSTAMP_FILTER_PTP_V1_L4_EVENT; in stmmac_hwtstamp_ioctl() 492 config.rx_filter = HWTSTAMP_FILTER_PTP_V1_L4_SYNC; in stmmac_hwtstamp_ioctl() 502 config.rx_filter = HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ; in stmmac_hwtstamp_ioctl() 513 config.rx_filter = HWTSTAMP_FILTER_PTP_V2_L4_EVENT; in stmmac_hwtstamp_ioctl() 527 config.rx_filter = HWTSTAMP_FILTER_PTP_V2_L4_SYNC; in stmmac_hwtstamp_ioctl() 538 config.rx_filter = HWTSTAMP_FILTER_PTP_V2_L4_DELAY_REQ; in stmmac_hwtstamp_ioctl() 550 config.rx_filter = HWTSTAMP_FILTER_PTP_V2_EVENT; in stmmac_hwtstamp_ioctl() [all …]
|
/drivers/net/ethernet/intel/igb/ |
D | igb_ptp.c | 924 switch (config->rx_filter) { in igb_ptp_set_timestamp_mode() 948 config->rx_filter = HWTSTAMP_FILTER_PTP_V2_EVENT; in igb_ptp_set_timestamp_mode() 959 config->rx_filter = HWTSTAMP_FILTER_ALL; in igb_ptp_set_timestamp_mode() 964 config->rx_filter = HWTSTAMP_FILTER_NONE; in igb_ptp_set_timestamp_mode() 981 config->rx_filter = HWTSTAMP_FILTER_ALL; in igb_ptp_set_timestamp_mode() 1161 adapter->tstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; in igb_ptp_init()
|
/drivers/net/wireless/ti/wl1251/ |
D | main.c | 799 wl->rx_filter = WL1251_DEFAULT_RX_FILTER; in wl1251_op_configure_filter() 808 wl->rx_filter |= CFG_RX_FCS_ERROR; in wl1251_op_configure_filter() 814 wl->rx_filter |= CFG_RX_CTL_EN; in wl1251_op_configure_filter() 818 wl->rx_filter |= CFG_RX_PREQ_EN; in wl1251_op_configure_filter() 837 wl1251_acx_rx_config(wl, wl->rx_config, wl->rx_filter); in wl1251_op_configure_filter() 1544 wl->rx_filter = WL1251_DEFAULT_RX_FILTER; in wl1251_alloc_hw()
|
D | wl1251.h | 364 unsigned int rx_filter; member
|
/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-ptp.c | 272 pdata->tstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; in xgbe_ptp_register()
|
/drivers/net/ethernet/sfc/ |
D | siena.c | 143 switch (init->rx_filter) { in siena_ptp_set_ts_config() 152 init->rx_filter = HWTSTAMP_FILTER_PTP_V1_L4_EVENT; in siena_ptp_set_ts_config() 157 init->rx_filter = HWTSTAMP_FILTER_PTP_V2_L4_EVENT; in siena_ptp_set_ts_config()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | en_netdev.c | 2267 switch (config.rx_filter) { in mlx4_en_hwtstamp_set() 2284 config.rx_filter = HWTSTAMP_FILTER_ALL; in mlx4_en_hwtstamp_set() 2292 config.rx_filter = HWTSTAMP_FILTER_NONE; in mlx4_en_hwtstamp_set() 3190 priv->hwtstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; in mlx4_en_init_netdev() 3382 priv->hwtstamp_config.rx_filter == ts_config.rx_filter && in mlx4_en_reset_config() 3389 (priv->hwtstamp_config.rx_filter != HWTSTAMP_FILTER_NONE)) { in mlx4_en_reset_config() 3413 ts_config.rx_filter, in mlx4_en_reset_config() 3423 } else if (ts_config.rx_filter == HWTSTAMP_FILTER_NONE) { in mlx4_en_reset_config() 3444 if (ts_config.rx_filter != HWTSTAMP_FILTER_NONE) { in mlx4_en_reset_config()
|
D | en_cq.c | 148 (!cq->is_tx && priv->hwtstamp_config.rx_filter)) in mlx4_en_activate_cq()
|
/drivers/net/ethernet/xscale/ |
D | ixp4xx_eth.c | 390 switch (cfg.rx_filter) { in hwtstamp_set() 425 cfg.rx_filter = HWTSTAMP_FILTER_NONE; in hwtstamp_get() 428 cfg.rx_filter = HWTSTAMP_FILTER_PTP_V1_L4_SYNC; in hwtstamp_get() 431 cfg.rx_filter = HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ; in hwtstamp_get()
|
/drivers/net/ethernet/renesas/ |
D | ravb_main.c | 1730 config.rx_filter = HWTSTAMP_FILTER_PTP_V2_L2_EVENT; in ravb_hwtstamp_get() 1732 config.rx_filter = HWTSTAMP_FILTER_ALL; in ravb_hwtstamp_get() 1734 config.rx_filter = HWTSTAMP_FILTER_NONE; in ravb_hwtstamp_get() 1766 switch (config.rx_filter) { in ravb_hwtstamp_set() 1774 config.rx_filter = HWTSTAMP_FILTER_ALL; in ravb_hwtstamp_set()
|