/linux/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_rx_filter.c | 38 head = &lif->rx_filters.by_id[i]; in ionic_rx_filter_replay() 65 spin_lock_bh(&lif->rx_filters.lock); in ionic_rx_filter_replay() 67 spin_unlock_bh(&lif->rx_filters.lock); in ionic_rx_filter_replay() 73 spin_lock_bh(&lif->rx_filters.lock); in ionic_rx_filter_replay() 75 spin_unlock_bh(&lif->rx_filters.lock); in ionic_rx_filter_replay() 82 spin_lock_bh(&lif->rx_filters.lock); in ionic_rx_filter_replay() 85 head = &lif->rx_filters.by_id[key]; in ionic_rx_filter_replay() 88 spin_unlock_bh(&lif->rx_filters.lock); in ionic_rx_filter_replay() 95 spin_lock_init(&lif->rx_filters.lock); in ionic_rx_filters_init() 97 spin_lock_bh(&lif->rx_filters.lock); in ionic_rx_filters_init() [all …]
|
H A D | ionic_ethtool.c | 1011 info->rx_filters = BIT(HWTSTAMP_FILTER_NONE) | in ionic_get_ts_info() 1016 info->rx_filters |= BIT(HWTSTAMP_FILTER_NTP_ALL); in ionic_get_ts_info() 1020 info->rx_filters |= BIT(HWTSTAMP_FILTER_PTP_V1_L4_SYNC); in ionic_get_ts_info() 1024 info->rx_filters |= BIT(HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ); in ionic_get_ts_info() 1028 info->rx_filters |= BIT(HWTSTAMP_FILTER_PTP_V1_L4_EVENT); in ionic_get_ts_info() 1032 info->rx_filters |= BIT(HWTSTAMP_FILTER_PTP_V2_L4_SYNC); in ionic_get_ts_info() 1036 info->rx_filters |= BIT(HWTSTAMP_FILTER_PTP_V2_L4_DELAY_REQ); in ionic_get_ts_info() 1040 info->rx_filters |= BIT(HWTSTAMP_FILTER_PTP_V2_L4_EVENT); in ionic_get_ts_info() 1044 info->rx_filters |= BIT(HWTSTAMP_FILTER_PTP_V2_L2_SYNC); in ionic_get_ts_info() 1048 info->rx_filters |= BIT(HWTSTAMP_FILTER_PTP_V2_L2_DELAY_REQ); in ionic_get_ts_info() [all …]
|
H A D | ionic_debugfs.c | 238 spin_lock_bh(&lif->rx_filters.lock); in lif_filters_show() 240 head = &lif->rx_filters.by_id[i]; in lif_filters_show() 267 spin_unlock_bh(&lif->rx_filters.lock); in lif_filters_show()
|
H A D | ionic_lif.h | 235 struct ionic_rx_filters rx_filters; member
|
/linux/tools/testing/selftests/net/ |
H A D | hwtstamp_config.c | 57 static const char *rx_filters[] = { variable 76 #define N_RX_FILTERS ((int)(ARRAY_SIZE(rx_filters))) 85 list_names(stderr, rx_filters, N_RX_FILTERS); in usage() 103 config.rx_filter = lookup_value(rx_filters, N_RX_FILTERS, argv[3]); in main() 130 name = lookup_name(rx_filters, N_RX_FILTERS, config.rx_filter); in main()
|
/linux/net/ethtool/ |
H A D | tsinfo.c | 82 if (ts_info->rx_filters) { in tsinfo_reply_size() 83 ret = ethnl_bitset32_size(&ts_info->rx_filters, NULL, in tsinfo_reply_size() 158 if (ts_info->rx_filters) { in tsinfo_fill_reply() 160 &ts_info->rx_filters, NULL, in tsinfo_fill_reply()
|
/linux/drivers/net/dsa/mv88e6xxx/ |
H A D | ptp.c | 414 .rx_filters = (1 << HWTSTAMP_FILTER_NONE) | 434 .rx_filters = (1 << HWTSTAMP_FILTER_NONE) | 457 .rx_filters = (1 << HWTSTAMP_FILTER_NONE) | 481 .rx_filters = (1 << HWTSTAMP_FILTER_NONE) |
|
H A D | hwtstamp.c | 86 info->rx_filters = ptp_ops->rx_filters; in mv88e6xxx_get_ts_info() 118 if (!(BIT(config->rx_filter) & ptp_ops->rx_filters)) { in mv88e6xxx_set_hwtstamp_config()
|
H A D | chip.h | 735 u32 rx_filters; member
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_ptp.c | 401 info->rx_filters = BIT(HWTSTAMP_FILTER_NONE) | in hclge_ptp_get_ts_info() 406 info->rx_filters |= BIT(HWTSTAMP_FILTER_PTP_V1_L4_SYNC) | in hclge_ptp_get_ts_info()
|
/linux/drivers/net/ethernet/ti/icssg/ |
H A D | icssg_ethtool.c | 133 info->rx_filters = BIT(HWTSTAMP_FILTER_NONE) | BIT(HWTSTAMP_FILTER_ALL); in emac_get_ts_info()
|
/linux/drivers/net/ethernet/ti/ |
H A D | cpsw_ethtool.c | 733 info->rx_filters = in cpsw_get_ts_info() 744 info->rx_filters = 0; in cpsw_get_ts_info()
|
/linux/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_ethtool.c | 665 info->rx_filters = BIT(HWTSTAMP_FILTER_NONE); in aq_ethtool_get_ts_info() 667 info->rx_filters |= BIT(HWTSTAMP_FILTER_PTP_V2_L4_EVENT) | in aq_ethtool_get_ts_info()
|
/linux/drivers/net/dsa/hirschmann/ |
H A D | hellcreek_hwtstamp.c | 33 info->rx_filters = BIT(HWTSTAMP_FILTER_PTP_V2_EVENT); in hellcreek_get_ts_info()
|
/linux/drivers/net/can/dev/ |
H A D | dev.c | 387 info->rx_filters = BIT(HWTSTAMP_FILTER_ALL); in can_ethtool_op_get_ts_info_hwts()
|
/linux/drivers/net/ethernet/engleder/ |
H A D | tsnep_ethtool.c | 322 info->rx_filters = BIT(HWTSTAMP_FILTER_NONE) | in tsnep_ethtool_get_ts_info()
|
/linux/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_ptp.c | 342 info->rx_filters = BIT(HWTSTAMP_FILTER_NONE) | in qede_ptp_get_ts_info()
|
/linux/drivers/net/ethernet/freescale/dpaa/ |
H A D | dpaa_ethtool.c | 429 info->rx_filters = (1 << HWTSTAMP_FILTER_NONE) | in dpaa_get_ts_info()
|
/linux/include/linux/ |
H A D | ethtool.h | 722 enum hwtstamp_rx_filters rx_filters; member
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_ptp.c | 1291 info->rx_filters = BIT(HWTSTAMP_FILTER_NONE) | in mlxsw_sp1_ptp_get_ts_info() 1676 info->rx_filters = BIT(HWTSTAMP_FILTER_NONE) | in mlxsw_sp2_ptp_get_ts_info()
|
/linux/drivers/net/can/peak_canfd/ |
H A D | peak_canfd.c | 787 info->rx_filters = BIT(HWTSTAMP_FILTER_ALL); in peak_get_ts_info()
|
/linux/drivers/ptp/ |
H A D | ptp_ines.c | 572 info->rx_filters = in ines_ts_info()
|
/linux/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-ethtool.c | 593 ts_info->rx_filters = (1 << HWTSTAMP_FILTER_NONE) | in xgbe_get_ts_info()
|
/linux/include/uapi/linux/ |
H A D | ethtool.h | 1725 __u32 rx_filters; member
|
/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_ethtool.c | 564 info->rx_filters = BIT(HWTSTAMP_FILTER_NONE) | in lan966x_get_ts_info()
|