Home
last modified time | relevance | path

Searched refs:ts_info (Results 1 – 20 of 20) sorted by relevance

/Linux-v5.15/net/ethtool/
Dtsinfo.c15 struct ethtool_ts_info ts_info; member
37 ret = __ethtool_get_ts_info(dev, &data->ts_info); in tsinfo_prepare_data()
48 const struct ethtool_ts_info *ts_info = &data->ts_info; in tsinfo_reply_size() local
56 if (ts_info->so_timestamping) { in tsinfo_reply_size()
57 ret = ethnl_bitset32_size(&ts_info->so_timestamping, NULL, in tsinfo_reply_size()
64 if (ts_info->tx_types) { in tsinfo_reply_size()
65 ret = ethnl_bitset32_size(&ts_info->tx_types, NULL, in tsinfo_reply_size()
72 if (ts_info->rx_filters) { in tsinfo_reply_size()
73 ret = ethnl_bitset32_size(&ts_info->rx_filters, NULL, in tsinfo_reply_size()
80 if (ts_info->phc_index >= 0) in tsinfo_reply_size()
[all …]
/Linux-v5.15/drivers/net/ethernet/sfc/
Dethtool.c223 struct ethtool_ts_info *ts_info) in efx_ethtool_get_ts_info() argument
228 ts_info->so_timestamping = (SOF_TIMESTAMPING_RX_SOFTWARE | in efx_ethtool_get_ts_info()
230 ts_info->phc_index = -1; in efx_ethtool_get_ts_info()
232 efx_ptp_get_ts_info(efx, ts_info); in efx_ethtool_get_ts_info()
Dptp.h22 void efx_ptp_get_ts_info(struct efx_nic *efx, struct ethtool_ts_info *ts_info);
Dptp.c1783 void efx_ptp_get_ts_info(struct efx_nic *efx, struct ethtool_ts_info *ts_info) in efx_ptp_get_ts_info() argument
1793 ts_info->so_timestamping |= (SOF_TIMESTAMPING_TX_HARDWARE | in efx_ptp_get_ts_info()
1804 ts_info->so_timestamping &= in efx_ptp_get_ts_info()
1808 ts_info->phc_index = in efx_ptp_get_ts_info()
1810 ts_info->tx_types = 1 << HWTSTAMP_TX_OFF | 1 << HWTSTAMP_TX_ON; in efx_ptp_get_ts_info()
1811 ts_info->rx_filters = ptp->efx->type->hwtstamp_filters; in efx_ptp_get_ts_info()
/Linux-v5.15/include/linux/
Dmii_timestamper.h59 int (*ts_info)(struct mii_timestamper *mii_ts, member
60 struct ethtool_ts_info *ts_info);
Dphy.h1272 return phydev && phydev->mii_ts && phydev->mii_ts->ts_info; in phy_has_tsinfo()
1298 return phydev->mii_ts->ts_info(phydev->mii_ts, tsinfo); in phy_ts_info()
/Linux-v5.15/drivers/net/wireless/ath/ath9k/
Ddynack.h36 struct ts_info { struct
56 struct ts_info ts[ATH_DYN_BUF]; argument
Ddynack.c150 struct ts_info *st_ts; in ath_dynack_compute_to()
/Linux-v5.15/drivers/net/ethernet/microchip/
Dlan743x_ethtool.c668 struct ethtool_ts_info *ts_info) in lan743x_ethtool_get_ts_info() argument
672 ts_info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE | in lan743x_ethtool_get_ts_info()
680 ts_info->phc_index = ptp_clock_index(adapter->ptp.ptp_clock); in lan743x_ethtool_get_ts_info()
682 ts_info->phc_index = -1; in lan743x_ethtool_get_ts_info()
684 ts_info->tx_types = BIT(HWTSTAMP_TX_OFF) | in lan743x_ethtool_get_ts_info()
687 ts_info->rx_filters = BIT(HWTSTAMP_FILTER_NONE) | in lan743x_ethtool_get_ts_info()
/Linux-v5.15/drivers/net/ethernet/amd/xgbe/
Dxgbe-ethtool.c576 struct ethtool_ts_info *ts_info) in xgbe_get_ts_info() argument
580 ts_info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE | in xgbe_get_ts_info()
588 ts_info->phc_index = ptp_clock_index(pdata->ptp_clock); in xgbe_get_ts_info()
590 ts_info->phc_index = -1; in xgbe_get_ts_info()
592 ts_info->tx_types = (1 << HWTSTAMP_TX_OFF) | (1 << HWTSTAMP_TX_ON); in xgbe_get_ts_info()
593 ts_info->rx_filters = (1 << HWTSTAMP_FILTER_NONE) | in xgbe_get_ts_info()
/Linux-v5.15/drivers/staging/rtl8192u/ieee80211/
Drtl819x_Qos.h54 struct qos_tsinfo ts_info; //u8 TSInfo[3]; member
Drtl819x_TSProc.c249 if (pRet->t_spec.ts_info.uc_tsid == TID) in SearchAdmitTRStream()
250 if (pRet->t_spec.ts_info.uc_direction == dir) { in SearchAdmitTRStream()
356 struct qos_tsinfo *pTSInfo = &TSpec.ts_info; in GetTs()
Drtl819x_BAProc.c625 pBA->param_set.field.tid = pTS->ts_common_info.t_spec.ts_info.uc_tsid; // TID in TsInitAddBA()
Dieee80211.h1151 struct ieee80211_wmm_ts_info ts_info; member
/Linux-v5.15/drivers/net/phy/
Dnxp-c45-tja11xx.c570 struct ethtool_ts_info *ts_info) in nxp_c45_ts_info() argument
575 ts_info->so_timestamping = SOF_TIMESTAMPING_TX_HARDWARE | in nxp_c45_ts_info()
578 ts_info->phc_index = ptp_clock_index(priv->ptp_clock); in nxp_c45_ts_info()
579 ts_info->tx_types = (1 << HWTSTAMP_TX_OFF) | (1 << HWTSTAMP_TX_ON); in nxp_c45_ts_info()
580 ts_info->rx_filters = (1 << HWTSTAMP_FILTER_NONE) | in nxp_c45_ts_info()
1108 priv->mii_ts.ts_info = nxp_c45_ts_info; in nxp_c45_probe()
Ddp83640.c1465 dp83640->mii_ts.ts_info = dp83640_ts_info; in dp83640_probe()
/Linux-v5.15/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ethtool.c1549 static int get_ts_info(struct net_device *dev, struct ethtool_ts_info *ts_info) in get_ts_info() argument
1554 ts_info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE | in get_ts_info()
1558 ts_info->so_timestamping |= SOF_TIMESTAMPING_RX_HARDWARE | in get_ts_info()
1562 ts_info->tx_types = (1 << HWTSTAMP_TX_OFF) | in get_ts_info()
1565 ts_info->rx_filters = (1 << HWTSTAMP_FILTER_NONE) | in get_ts_info()
1573 ts_info->phc_index = ptp_clock_index(adapter->ptp_clock); in get_ts_info()
1575 ts_info->phc_index = -1; in get_ts_info()
/Linux-v5.15/drivers/ptp/
Dptp_ines.c724 port->mii_ts.ts_info = ines_ts_info; in ines_ptp_probe_channel()
/Linux-v5.15/drivers/net/phy/mscc/
Dmscc_ptp.c1490 vsc8531->mii_ts.ts_info = vsc85xx_ts_info; in __vsc8584_init_ptp()
/Linux-v5.15/drivers/net/wireless/ath/wcn36xx/
Dhal.h2806 struct wcn36xx_hal_ts_info ts_info; member