Home
last modified time | relevance | path

Searched refs:rx_filter (Results 1 – 25 of 99) sorted by relevance

1234

/linux/drivers/net/ethernet/qlogic/qede/
A Dqede_ptp.c27 u16 rx_filter; member
231 switch (ptp->rx_filter) { in qede_ptp_cfg_filters()
233 rx_filter = QED_PTP_FILTER_NONE; in qede_ptp_cfg_filters()
239 rx_filter = QED_PTP_FILTER_ALL; in qede_ptp_cfg_filters()
249 rx_filter = QED_PTP_FILTER_V1_L4_GEN; in qede_ptp_cfg_filters()
259 rx_filter = QED_PTP_FILTER_V2_L4_GEN; in qede_ptp_cfg_filters()
269 rx_filter = QED_PTP_FILTER_V2_L2_GEN; in qede_ptp_cfg_filters()
273 rx_filter = QED_PTP_FILTER_V2_EVENT; in qede_ptp_cfg_filters()
279 rx_filter = QED_PTP_FILTER_V2_GEN; in qede_ptp_cfg_filters()
314 ptp->rx_filter = config.rx_filter; in qede_ptp_hw_ts()
[all …]
/linux/drivers/net/wireless/ti/wl18xx/
A Ddebugfs.c125 WL18XX_DEBUGFS_FWSTATS_FILE(rx_filter, arp_filter, "%u");
126 WL18XX_DEBUGFS_FWSTATS_FILE(rx_filter, mc_filter, "%u");
127 WL18XX_DEBUGFS_FWSTATS_FILE(rx_filter, dup_filter, "%u");
513 DEBUGFS_FWSTATS_ADD(rx_filter, beacon_filter); in wl18xx_debugfs_add_files()
514 DEBUGFS_FWSTATS_ADD(rx_filter, arp_filter); in wl18xx_debugfs_add_files()
515 DEBUGFS_FWSTATS_ADD(rx_filter, mc_filter); in wl18xx_debugfs_add_files()
516 DEBUGFS_FWSTATS_ADD(rx_filter, dup_filter); in wl18xx_debugfs_add_files()
517 DEBUGFS_FWSTATS_ADD(rx_filter, data_filter); in wl18xx_debugfs_add_files()
518 DEBUGFS_FWSTATS_ADD(rx_filter, ibss_filter); in wl18xx_debugfs_add_files()
519 DEBUGFS_FWSTATS_ADD(rx_filter, protection_filter); in wl18xx_debugfs_add_files()
[all …]
/linux/drivers/net/wireless/ath/ath11k/
A Ddebugfs.c606 u32 enable, rx_filter = 0, ring_id; in ath11k_write_extd_rx_stats() local
631 rx_filter = HTT_RX_FILTER_TLV_FLAGS_MPDU_START; in ath11k_write_extd_rx_stats()
633 rx_filter |= HTT_RX_FILTER_TLV_FLAGS_PPDU_END; in ath11k_write_extd_rx_stats()
638 tlv_filter.rx_filter = rx_filter; in ath11k_write_extd_rx_stats()
648 ar->debug.rx_filter = tlv_filter.rx_filter; in ath11k_write_extd_rx_stats()
903 u32 rx_filter = 0, ring_id, filter, mode; in ath11k_write_pktlog_filter() local
963 rx_filter = HTT_RX_FILTER_TLV_LITE_MODE | in ath11k_write_pktlog_filter()
978 rx_filter = HTT_RX_FILTER_TLV_LITE_MODE; in ath11k_write_pktlog_filter()
983 rx_filter = tlv_filter.rx_filter; in ath11k_write_pktlog_filter()
994 tlv_filter.rx_filter = rx_filter; in ath11k_write_pktlog_filter()
[all …]
/linux/tools/testing/selftests/net/
A Dhwtstamp_config.c101 config.rx_filter = lookup_value(rx_filters, N_RX_FILTERS, argv[3]); in main()
102 if (config.tx_type < 0 || config.rx_filter < 0) { in main()
128 name = lookup_name(rx_filters, N_RX_FILTERS, config.rx_filter); in main()
132 printf("rx_filter = %d\n", config.rx_filter); in main()
A Dtimestamping.c399 hwconfig.rx_filter = in main()
407 hwconfig_requested.rx_filter == HWTSTAMP_FILTER_NONE) in main()
414 hwconfig_requested.rx_filter, hwconfig.rx_filter); in main()
/linux/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_ptp.c389 if (ptp->rx_filter) in bnxt_hwrm_ptp_cfg()
427 old_rx_filter = ptp->rx_filter; in bnxt_hwtstamp_set()
430 switch (stmpconf.rx_filter) { in bnxt_hwtstamp_set()
433 ptp->rx_filter = HWTSTAMP_FILTER_NONE; in bnxt_hwtstamp_set()
439 ptp->rx_filter = HWTSTAMP_FILTER_PTP_V2_EVENT; in bnxt_hwtstamp_set()
445 ptp->rx_filter = HWTSTAMP_FILTER_PTP_V2_SYNC; in bnxt_hwtstamp_set()
451 ptp->rx_filter = HWTSTAMP_FILTER_PTP_V2_DELAY_REQ; in bnxt_hwtstamp_set()
466 stmpconf.rx_filter = ptp->rx_filter; in bnxt_hwtstamp_set()
471 ptp->rx_filter = old_rx_filter; in bnxt_hwtstamp_set()
490 stmpconf.rx_filter = ptp->rx_filter; in bnxt_hwtstamp_get()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
A Dhclge_ptp.c301 int rx_filter = cfg->rx_filter; in hclge_ptp_set_rx_mode() local
303 switch (cfg->rx_filter) { in hclge_ptp_set_rx_mode()
313 rx_filter = HWTSTAMP_FILTER_PTP_V1_L4_EVENT; in hclge_ptp_set_rx_mode()
330 rx_filter = HWTSTAMP_FILTER_PTP_V2_EVENT; in hclge_ptp_set_rx_mode()
337 cfg->rx_filter = rx_filter; in hclge_ptp_set_rx_mode()
468 ptp->ts_cfg.rx_filter = HWTSTAMP_FILTER_NONE; in hclge_ptp_create_clock()
550 ptp->ts_cfg.rx_filter = HWTSTAMP_FILTER_NONE; in hclge_ptp_uninit()
/linux/drivers/net/wireless/ath/carl9170/
A Dcmd.h66 __le32 rx_filter = cpu_to_le32(_rx_filter); in carl9170_rx_filter() local
69 sizeof(rx_filter), (u8 *)&rx_filter, in carl9170_rx_filter()
A Dfwcmd.h175 __le32 rx_filter; member
241 struct carl9170_rx_filter_cmd rx_filter; member
A Dmain.c387 if (ar->fw.rx_filter) { in carl9170_op_start()
1006 if (ar->fw.rx_filter && changed_flags & ar->rx_filter_caps) { in carl9170_op_configure_filter()
1007 u32 rx_filter = 0; in carl9170_op_configure_filter() local
1010 rx_filter |= CARL9170_RX_FILTER_CTL_OTHER; in carl9170_op_configure_filter()
1013 rx_filter |= CARL9170_RX_FILTER_BAD; in carl9170_op_configure_filter()
1016 rx_filter |= CARL9170_RX_FILTER_CTL_OTHER; in carl9170_op_configure_filter()
1019 rx_filter |= CARL9170_RX_FILTER_CTL_PSPOLL; in carl9170_op_configure_filter()
1022 rx_filter |= CARL9170_RX_FILTER_OTHER_RA; in carl9170_op_configure_filter()
1023 rx_filter |= CARL9170_RX_FILTER_DECRY_FAIL; in carl9170_op_configure_filter()
1026 WARN_ON(carl9170_rx_filter(ar, rx_filter)); in carl9170_op_configure_filter()
/linux/drivers/net/dsa/mv88e6xxx/
A Dhwtstamp.c122 if (!(BIT(config->rx_filter) & ptp_ops->rx_filters)) { in mv88e6xxx_set_hwtstamp_config()
123 config->rx_filter = HWTSTAMP_FILTER_NONE; in mv88e6xxx_set_hwtstamp_config()
125 config->rx_filter); in mv88e6xxx_set_hwtstamp_config()
129 switch (config->rx_filter) { in mv88e6xxx_set_hwtstamp_config()
142 config->rx_filter = HWTSTAMP_FILTER_PTP_V2_EVENT; in mv88e6xxx_set_hwtstamp_config()
146 config->rx_filter = HWTSTAMP_FILTER_NONE; in mv88e6xxx_set_hwtstamp_config()
345 if (ps->tstamp_config.rx_filter != HWTSTAMP_FILTER_PTP_V2_EVENT) in mv88e6xxx_port_rxtstamp()
/linux/drivers/net/dsa/hirschmann/
A Dhellcreek_hwtstamp.c73 switch (config->rx_filter) { in hellcreek_set_hwtstamp_config()
76 config->rx_filter = HWTSTAMP_FILTER_PTP_V2_EVENT; in hellcreek_set_hwtstamp_config()
88 config->rx_filter = HWTSTAMP_FILTER_PTP_V2_EVENT; in hellcreek_set_hwtstamp_config()
94 config->rx_filter = HWTSTAMP_FILTER_PTP_V2_EVENT; in hellcreek_set_hwtstamp_config()
431 if (ps->tstamp_config.rx_filter != HWTSTAMP_FILTER_PTP_V2_EVENT) in hellcreek_port_rxtstamp()
/linux/drivers/net/phy/mscc/
A Dmscc_ptp.c391 enum hwtstamp_rx_filters rx_filter) in get_ptp_header_rx() argument
396 if (rx_filter == HWTSTAMP_FILTER_PTP_V2_L2_EVENT) in get_ptp_header_rx()
997 vsc8531->ptp->rx_filter != HWTSTAMP_FILTER_NONE); in vsc85xx_ts_engine_init()
999 ptp_l4 && vsc8531->ptp->rx_filter != HWTSTAMP_FILTER_NONE); in vsc85xx_ts_engine_init()
1001 vsc8531->ptp->rx_filter != HWTSTAMP_FILTER_NONE); in vsc85xx_ts_engine_init()
1015 if (vsc8531->ptp->rx_filter != HWTSTAMP_FILTER_NONE) in vsc85xx_ts_engine_init()
1077 switch (cfg.rx_filter) { in vsc85xx_hwtstamp()
1090 vsc8531->ptp->rx_filter = cfg.rx_filter; in vsc85xx_hwtstamp()
1114 if (vsc8531->ptp->rx_filter == HWTSTAMP_FILTER_NONE) in vsc85xx_hwtstamp()
1198 if (vsc8531->ptp->rx_filter == HWTSTAMP_FILTER_NONE || in vsc85xx_rxtstamp()
[all …]
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_ptp.c895 enum hwtstamp_rx_filters rx_filter = config->rx_filter; in mlxsw_sp_ptp_get_message_types() local
914 switch (rx_filter) { in mlxsw_sp_ptp_get_message_types()
948 *p_rx_filter = rx_filter; in mlxsw_sp_ptp_get_message_types()
1049 enum hwtstamp_rx_filters rx_filter; in mlxsw_sp1_ptp_hwtstamp_set() local
1055 &rx_filter); in mlxsw_sp1_ptp_hwtstamp_set()
1072 config->rx_filter = rx_filter; in mlxsw_sp1_ptp_hwtstamp_set()
/linux/drivers/net/ethernet/intel/ixgbe/
A Dixgbe_ptp.c1009 switch (config->rx_filter) { in ixgbe_ptp_set_timestamp_mode()
1039 config->rx_filter = HWTSTAMP_FILTER_PTP_V2_EVENT; in ixgbe_ptp_set_timestamp_mode()
1051 config->rx_filter = HWTSTAMP_FILTER_ALL; in ixgbe_ptp_set_timestamp_mode()
1065 config->rx_filter = HWTSTAMP_FILTER_NONE; in ixgbe_ptp_set_timestamp_mode()
1089 if (config->rx_filter == HWTSTAMP_FILTER_NONE) in ixgbe_ptp_set_timestamp_mode()
1095 config->rx_filter = HWTSTAMP_FILTER_ALL; in ixgbe_ptp_set_timestamp_mode()
1423 adapter->tstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; in ixgbe_ptp_create_clock()
/linux/drivers/net/ethernet/pensando/ionic/
A Dionic_phc.c112 rx_filt = ionic_hwstamp_rx_filt(config->rx_filter); in ionic_lif_hwstamp_set_ts_config()
113 rx_all = config->rx_filter != HWTSTAMP_FILTER_NONE && !rx_filt; in ionic_lif_hwstamp_set_ts_config()
119 config->rx_filter = HWTSTAMP_FILTER_ALL; in ionic_lif_hwstamp_set_ts_config()
123 __func__, config->rx_filter, rx_filt, rx_all); in ionic_lif_hwstamp_set_ts_config()
149 if (rx_all != (lif->phc->ts_config.rx_filter == HWTSTAMP_FILTER_ALL)) { in ionic_lif_hwstamp_set_ts_config()
/linux/net/core/
A Ddev_ioctl.c188 enum hwtstamp_rx_filters rx_filter; in net_hwtstamp_validate() local
199 rx_filter = cfg.rx_filter; in net_hwtstamp_validate()
213 switch (rx_filter) { in net_hwtstamp_validate()
/linux/drivers/net/ethernet/cadence/
A Dmacb_ptp.c485 switch (tstamp_config->rx_filter) { in gem_set_hwtst()
502 tstamp_config->rx_filter = HWTSTAMP_FILTER_PTP_V2_EVENT; in gem_set_hwtst()
509 tstamp_config->rx_filter = HWTSTAMP_FILTER_ALL; in gem_set_hwtst()
512 tstamp_config->rx_filter = HWTSTAMP_FILTER_NONE; in gem_set_hwtst()
/linux/drivers/net/wireless/st/cw1200/
A Ddebug.c129 if (priv->rx_filter.promiscuous) in cw1200_status_show()
131 else if (priv->rx_filter.fcs) in cw1200_status_show()
133 if (priv->rx_filter.bssid) in cw1200_status_show()
/linux/include/uapi/linux/
A Dnet_tstamp.h78 int rx_filter; member
/linux/drivers/net/ethernet/intel/igb/
A Digb_ptp.c1032 switch (config->rx_filter) { in igb_ptp_set_timestamp_mode()
1056 config->rx_filter = HWTSTAMP_FILTER_PTP_V2_EVENT; in igb_ptp_set_timestamp_mode()
1068 config->rx_filter = HWTSTAMP_FILTER_ALL; in igb_ptp_set_timestamp_mode()
1073 config->rx_filter = HWTSTAMP_FILTER_NONE; in igb_ptp_set_timestamp_mode()
1090 config->rx_filter = HWTSTAMP_FILTER_ALL; in igb_ptp_set_timestamp_mode()
1270 adapter->tstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; in igb_ptp_init()
/linux/drivers/net/ethernet/freescale/
A Dfec_ptp.c491 switch (config.rx_filter) { in fec_ptp_set()
498 config.rx_filter = HWTSTAMP_FILTER_ALL; in fec_ptp_set()
513 config.rx_filter = (fep->hwts_rx_en ? in fec_ptp_get()
/linux/drivers/net/wireless/ti/wl1251/
A Dmain.c779 wl->rx_filter = WL1251_DEFAULT_RX_FILTER; in wl1251_op_configure_filter()
788 wl->rx_filter |= CFG_RX_FCS_ERROR; in wl1251_op_configure_filter()
794 wl->rx_filter |= CFG_RX_CTL_EN; in wl1251_op_configure_filter()
798 wl->rx_filter |= CFG_RX_PREQ_EN; in wl1251_op_configure_filter()
817 wl1251_acx_rx_config(wl, wl->rx_config, wl->rx_filter); in wl1251_op_configure_filter()
1603 wl->rx_filter = WL1251_DEFAULT_RX_FILTER; in wl1251_alloc_hw()
/linux/drivers/net/ethernet/aquantia/atlantic/
A Daq_main.c245 switch (config->rx_filter) { in aq_ndev_config_hwtstamp()
254 config->rx_filter = HWTSTAMP_FILTER_PTP_V2_EVENT; in aq_ndev_config_hwtstamp()
/linux/drivers/net/ethernet/intel/i40e/
A Di40e_ptp.c1223 switch (config->rx_filter) { in i40e_ptp_set_timestamp_mode()
1242 config->rx_filter = HWTSTAMP_FILTER_PTP_V1_L4_EVENT; in i40e_ptp_set_timestamp_mode()
1261 config->rx_filter = HWTSTAMP_FILTER_PTP_V2_EVENT; in i40e_ptp_set_timestamp_mode()
1263 config->rx_filter = HWTSTAMP_FILTER_PTP_V2_L2_EVENT; in i40e_ptp_set_timestamp_mode()
1429 pf->tstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; in i40e_ptp_create_clock()

Completed in 66 milliseconds

1234