Home
last modified time | relevance | path

Searched refs:rx_ts_enabled (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
Dcpsw_priv.c558 if (!priv->tx_ts_enabled && !priv->rx_ts_enabled) { in cpsw_hwtstamp_v1()
569 if (priv->rx_ts_enabled) in cpsw_hwtstamp_v1()
592 if (priv->rx_ts_enabled) in cpsw_hwtstamp_v2()
602 if (priv->rx_ts_enabled) in cpsw_hwtstamp_v2()
638 priv->rx_ts_enabled = 0; in cpsw_hwtstamp_set()
655 priv->rx_ts_enabled = HWTSTAMP_FILTER_PTP_V2_EVENT; in cpsw_hwtstamp_set()
692 cfg.rx_filter = priv->rx_ts_enabled; in cpsw_hwtstamp_get()
Dam65-cpsw-nuss.h47 bool rx_ts_enabled; member
Dam65-cpsw-nuss.c791 if (port->rx_ts_enabled) in am65_cpsw_nuss_rx_packets()
1237 port->rx_ts_enabled = false; in am65_cpsw_nuss_hwtstamp_set()
1254 port->rx_ts_enabled = true; in am65_cpsw_nuss_hwtstamp_set()
1294 am65_cpts_rx_enable(common->cpts, port->rx_ts_enabled); in am65_cpsw_nuss_hwtstamp_set()
1311 cfg.rx_filter = port->rx_ts_enabled ? in am65_cpsw_nuss_hwtstamp_get()
Dnetcp_ethss.c755 int rx_ts_enabled; member
2591 if (gbe_dev->rx_ts_enabled) in gbe_rxtstamp()
2610 cfg.rx_filter = gbe_dev->rx_ts_enabled; in gbe_hwtstamp_get()
2621 if (!gbe_dev->rx_ts_enabled && in gbe_hwtstamp()
2637 if (gbe_dev->rx_ts_enabled) in gbe_hwtstamp()
2674 gbe_dev->rx_ts_enabled = HWTSTAMP_FILTER_NONE; in gbe_hwtstamp_set()
2679 gbe_dev->rx_ts_enabled = HWTSTAMP_FILTER_PTP_V1_L4_EVENT; in gbe_hwtstamp_set()
2691 gbe_dev->rx_ts_enabled = HWTSTAMP_FILTER_PTP_V2_EVENT; in gbe_hwtstamp_set()
Dcpsw_priv.h376 int rx_ts_enabled; member
Dcpsw.c437 if (priv->rx_ts_enabled) in cpsw_rx_handler()
Dcpsw_new.c380 if (priv->rx_ts_enabled) in cpsw_rx_handler()