/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/ |
D | qede_ptp.c | 27 u16 rx_filter; member 202 enum qed_ptp_filter_type rx_filter = QED_PTP_FILTER_NONE; in qede_ptp_cfg_filters() local 231 switch (ptp->rx_filter) { in qede_ptp_cfg_filters() 233 rx_filter = QED_PTP_FILTER_NONE; in qede_ptp_cfg_filters() 238 ptp->rx_filter = HWTSTAMP_FILTER_NONE; in qede_ptp_cfg_filters() 239 rx_filter = QED_PTP_FILTER_ALL; in qede_ptp_cfg_filters() 242 ptp->rx_filter = HWTSTAMP_FILTER_PTP_V1_L4_EVENT; in qede_ptp_cfg_filters() 243 rx_filter = QED_PTP_FILTER_V1_L4_EVENT; in qede_ptp_cfg_filters() 247 ptp->rx_filter = HWTSTAMP_FILTER_PTP_V1_L4_EVENT; in qede_ptp_cfg_filters() 249 rx_filter = QED_PTP_FILTER_V1_L4_GEN; in qede_ptp_cfg_filters() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl18xx/ |
D | debugfs.c | 124 WL18XX_DEBUGFS_FWSTATS_FILE(rx_filter, beacon_filter, "%u"); 125 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"); 128 WL18XX_DEBUGFS_FWSTATS_FILE(rx_filter, data_filter, "%u"); 129 WL18XX_DEBUGFS_FWSTATS_FILE(rx_filter, ibss_filter, "%u"); 130 WL18XX_DEBUGFS_FWSTATS_FILE(rx_filter, protection_filter, "%u"); 131 WL18XX_DEBUGFS_FWSTATS_FILE(rx_filter, accum_arp_pend_requests, "%u"); 132 WL18XX_DEBUGFS_FWSTATS_FILE(rx_filter, max_arp_queue_dep, "%u"); 513 DEBUGFS_FWSTATS_ADD(rx_filter, beacon_filter); in wl18xx_debugfs_add_files() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
D | hwtstamp_config.c | 101 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()
|
D | timestamping.c | 370 hwconfig.rx_filter = in main() 377 hwconfig_requested.rx_filter == HWTSTAMP_FILTER_NONE) in main() 384 hwconfig_requested.rx_filter, hwconfig.rx_filter); in main()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/ |
D | debugfs.c | 606 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() 632 rx_filter |= HTT_RX_FILTER_TLV_FLAGS_PPDU_START; in ath11k_write_extd_rx_stats() 633 rx_filter |= HTT_RX_FILTER_TLV_FLAGS_PPDU_END; in ath11k_write_extd_rx_stats() 634 rx_filter |= HTT_RX_FILTER_TLV_FLAGS_PPDU_END_USER_STATS; in ath11k_write_extd_rx_stats() 635 rx_filter |= HTT_RX_FILTER_TLV_FLAGS_PPDU_END_USER_STATS_EXT; in ath11k_write_extd_rx_stats() 636 rx_filter |= HTT_RX_FILTER_TLV_FLAGS_PPDU_END_STATUS_DONE; 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() 902 u32 rx_filter = 0, ring_id, filter, mode; in ath11k_write_pktlog_filter() local [all …]
|
D | debugfs.h | 145 return ar->debug.rx_filter; in ath11k_debugfs_rx_filter()
|
/kernel/linux/linux-5.10/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() 1007 if (ar->fw.rx_filter && changed_flags & ar->rx_filter_caps) { in carl9170_op_configure_filter() 1008 u32 rx_filter = 0; in carl9170_op_configure_filter() local 1011 rx_filter |= CARL9170_RX_FILTER_CTL_OTHER; in carl9170_op_configure_filter() 1014 rx_filter |= CARL9170_RX_FILTER_BAD; in carl9170_op_configure_filter() 1017 rx_filter |= CARL9170_RX_FILTER_CTL_OTHER; in carl9170_op_configure_filter() 1020 rx_filter |= CARL9170_RX_FILTER_CTL_PSPOLL; in carl9170_op_configure_filter() 1023 rx_filter |= CARL9170_RX_FILTER_OTHER_RA; in carl9170_op_configure_filter() 1024 rx_filter |= CARL9170_RX_FILTER_DECRY_FAIL; in carl9170_op_configure_filter() 1027 WARN_ON(carl9170_rx_filter(ar, rx_filter)); in carl9170_op_configure_filter()
|
/kernel/linux/linux-5.10/drivers/net/dsa/mv88e6xxx/ |
D | hwtstamp.c | 122 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()
|
/kernel/linux/linux-5.10/drivers/net/phy/mscc/ |
D | mscc_ptp.c | 391 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() 887 if (vsc8531->ptp->rx_filter == HWTSTAMP_FILTER_PTP_V2_L2_EVENT) { in vsc85xx_eth1_conf() 967 ptp_l4 = vsc8531->ptp->rx_filter == HWTSTAMP_FILTER_PTP_V2_L4_EVENT; in vsc85xx_ts_engine_init() 977 if (vsc8531->ptp->rx_filter == HWTSTAMP_FILTER_PTP_V2_L2_EVENT) { in vsc85xx_ts_engine_init() 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() [all …]
|
/kernel/linux/linux-5.10/net/core/ |
D | dev_ioctl.c | 139 enum hwtstamp_rx_filters rx_filter; in net_hwtstamp_validate() local 150 rx_filter = cfg.rx_filter; in net_hwtstamp_validate() 164 switch (rx_filter) { in net_hwtstamp_validate()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/ |
D | i40e_ptp.c | 563 switch (config->rx_filter) { in i40e_ptp_set_timestamp_mode() 582 config->rx_filter = HWTSTAMP_FILTER_PTP_V1_L4_EVENT; in i40e_ptp_set_timestamp_mode() 601 config->rx_filter = HWTSTAMP_FILTER_PTP_V2_EVENT; in i40e_ptp_set_timestamp_mode() 603 config->rx_filter = HWTSTAMP_FILTER_PTP_V2_L2_EVENT; in i40e_ptp_set_timestamp_mode() 727 pf->tstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; in i40e_ptp_create_clock()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ptp.c | 1008 switch (config->rx_filter) { in ixgbe_ptp_set_timestamp_mode() 1038 config->rx_filter = HWTSTAMP_FILTER_PTP_V2_EVENT; in ixgbe_ptp_set_timestamp_mode() 1050 config->rx_filter = HWTSTAMP_FILTER_ALL; in ixgbe_ptp_set_timestamp_mode() 1064 config->rx_filter = HWTSTAMP_FILTER_NONE; in ixgbe_ptp_set_timestamp_mode() 1088 if (config->rx_filter == HWTSTAMP_FILTER_NONE) in ixgbe_ptp_set_timestamp_mode() 1094 config->rx_filter = HWTSTAMP_FILTER_ALL; in ixgbe_ptp_set_timestamp_mode() 1455 adapter->tstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; in ixgbe_ptp_create_clock()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_ptp.c | 895 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/cadence/ |
D | macb_ptp.c | 480 switch (tstamp_config->rx_filter) { in gem_set_hwtst() 497 tstamp_config->rx_filter = HWTSTAMP_FILTER_PTP_V2_EVENT; in gem_set_hwtst() 504 tstamp_config->rx_filter = HWTSTAMP_FILTER_ALL; in gem_set_hwtst() 507 tstamp_config->rx_filter = HWTSTAMP_FILTER_NONE; in gem_set_hwtst()
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | net_tstamp.h | 46 int rx_filter; member
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | net_tstamp.h | 37 int rx_filter; member
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | net_tstamp.h | 65 int rx_filter; member
|
/kernel/linux/linux-5.10/drivers/net/wireless/st/cw1200/ |
D | debug.c | 129 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/ |
D | igc_ptp.c | 295 switch (config->rx_filter) { in igc_ptp_set_timestamp_mode() 314 config->rx_filter = HWTSTAMP_FILTER_ALL; in igc_ptp_set_timestamp_mode() 508 adapter->tstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; in igc_ptp_init()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/ |
D | fec_ptp.c | 487 switch (config.rx_filter) { in fec_ptp_set() 494 config.rx_filter = HWTSTAMP_FILTER_ALL; in fec_ptp_set() 509 config.rx_filter = (fep->hwts_rx_en ? in fec_ptp_get()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/ |
D | igb_ptp.c | 1034 switch (config->rx_filter) { in igb_ptp_set_timestamp_mode() 1058 config->rx_filter = HWTSTAMP_FILTER_PTP_V2_EVENT; in igb_ptp_set_timestamp_mode() 1070 config->rx_filter = HWTSTAMP_FILTER_ALL; in igb_ptp_set_timestamp_mode() 1075 config->rx_filter = HWTSTAMP_FILTER_NONE; in igb_ptp_set_timestamp_mode() 1092 config->rx_filter = HWTSTAMP_FILTER_ALL; in igb_ptp_set_timestamp_mode() 1272 adapter->tstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; in igb_ptp_init()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_main.c | 242 switch (config->rx_filter) { in aq_ndev_config_hwtstamp() 251 config->rx_filter = HWTSTAMP_FILTER_PTP_V2_EVENT; in aq_ndev_config_hwtstamp()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl1251/ |
D | main.c | 779 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()
|