Home
last modified time | relevance | path

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

12

/linux-6.15/net/ethtool/
H A Dtsinfo.c126 const struct kernel_ethtool_ts_info *ts_info = &data->ts_info; in tsinfo_reply_size() local
134 if (ts_info->so_timestamping) { in tsinfo_reply_size()
142 if (ts_info->tx_types) { in tsinfo_reply_size()
150 if (ts_info->rx_filters) { in tsinfo_reply_size()
158 if (ts_info->phc_index >= 0) { in tsinfo_reply_size()
212 const struct kernel_ethtool_ts_info *ts_info = &data->ts_info; in tsinfo_fill_reply() local
223 if (ts_info->tx_types) { in tsinfo_fill_reply()
231 if (ts_info->rx_filters) { in tsinfo_fill_reply()
243 ts_info->phc_index); in tsinfo_fill_reply()
252 ts_info->phc_index) || in tsinfo_fill_reply()
[all …]
H A Dtsconfig.c65 struct kernel_ethtool_ts_info ts_info = {}; in tsconfig_prepare_data() local
67 ts_info.phc_index = -1; in tsconfig_prepare_data()
68 ret = __ethtool_get_ts_info(dev, &ts_info); in tsconfig_prepare_data()
72 if (ts_info.phc_index == -1) in tsconfig_prepare_data()
75 data->hwprov_desc.index = ts_info.phc_index; in tsconfig_prepare_data()
76 data->hwprov_desc.qualifier = ts_info.phc_qualifier; in tsconfig_prepare_data()
259 struct kernel_ethtool_ts_info ts_info; in tsconfig_set_hwprov_from_desc() local
266 ret = ethtool_net_get_ts_info_by_phc(dev, &ts_info, hwprov_desc); in tsconfig_set_hwprov_from_desc()
271 phy = ethtool_phy_get_ts_info_by_phc(dev, &ts_info, hwprov_desc); in tsconfig_set_hwprov_from_desc()
/linux-6.15/drivers/net/wan/
H A Dfsl_qmc_hdlc.c425 if (ts_info->rx_ts_mask_avail != ts_info->tx_ts_mask_avail) { in qmc_hdlc_xlate_slot_map()
427 ts_info->rx_ts_mask_avail, ts_info->tx_ts_mask_avail); in qmc_hdlc_xlate_slot_map()
441 bitmap_to_arr64(&ts_info->tx_ts_mask, ts_mask, 64); in qmc_hdlc_xlate_slot_map()
442 ts_info->rx_ts_mask = ts_info->tx_ts_mask; in qmc_hdlc_xlate_slot_map()
455 if (ts_info->rx_ts_mask_avail != ts_info->tx_ts_mask_avail) { in qmc_hdlc_xlate_ts_info()
457 ts_info->rx_ts_mask_avail, ts_info->tx_ts_mask_avail); in qmc_hdlc_xlate_ts_info()
460 if (ts_info->rx_ts_mask != ts_info->tx_ts_mask) { in qmc_hdlc_xlate_ts_info()
462 ts_info->rx_ts_mask, ts_info->tx_ts_mask); in qmc_hdlc_xlate_ts_info()
467 bitmap_from_u64(ts_mask, ts_info->rx_ts_mask); in qmc_hdlc_xlate_ts_info()
489 struct qmc_chan_ts_info ts_info; in qmc_hdlc_set_iface() local
[all …]
/linux-6.15/include/linux/
H A Dmii_timestamper.h61 int (*ts_info)(struct mii_timestamper *mii_ts, member
62 struct kernel_ethtool_ts_info *ts_info);
H A Dphy.h1637 return phydev && phydev->mii_ts && phydev->mii_ts->ts_info; in phy_has_tsinfo()
1665 return phydev->mii_ts->ts_info(phydev->mii_ts, tsinfo); in phy_ts_info()
/linux-6.15/drivers/net/wireless/ath/ath9k/
H A Ddynack.h36 struct ts_info { struct
56 struct ts_info ts[ATH_DYN_BUF]; argument
H A Ddynack.c150 struct ts_info *st_ts; in ath_dynack_compute_to()
/linux-6.15/include/soc/fsl/qe/
H A Dqmc.h71 int qmc_chan_get_ts_info(struct qmc_chan *chan, struct qmc_chan_ts_info *ts_info);
72 int qmc_chan_set_ts_info(struct qmc_chan *chan, const struct qmc_chan_ts_info *ts_info);
/linux-6.15/drivers/soc/fsl/qe/
H A Dqmc.c360 ts_info->rx_ts_mask_avail = chan->rx_ts_mask_avail; in qmc_chan_get_ts_info()
361 ts_info->tx_ts_mask_avail = chan->tx_ts_mask_avail; in qmc_chan_get_ts_info()
362 ts_info->rx_ts_mask = chan->rx_ts_mask; in qmc_chan_get_ts_info()
363 ts_info->tx_ts_mask = chan->tx_ts_mask; in qmc_chan_get_ts_info()
377 if ((ts_info->rx_ts_mask & chan->rx_ts_mask_avail) != ts_info->rx_ts_mask) in qmc_chan_set_ts_info()
379 if ((ts_info->tx_ts_mask & chan->tx_ts_mask_avail) != ts_info->tx_ts_mask) in qmc_chan_set_ts_info()
384 if (ts_info->rx_ts_mask != ts_info->tx_ts_mask) in qmc_chan_set_ts_info()
390 if ((chan->tx_ts_mask != ts_info->tx_ts_mask && !chan->is_tx_stopped) || in qmc_chan_set_ts_info()
391 (chan->rx_ts_mask != ts_info->rx_ts_mask && !chan->is_rx_stopped)) { in qmc_chan_set_ts_info()
395 chan->tx_ts_mask = ts_info->tx_ts_mask; in qmc_chan_set_ts_info()
[all …]
/linux-6.15/drivers/net/phy/
H A Dbcm-phy-ptp.c845 struct kernel_ethtool_ts_info *ts_info) in bcm_ptp_ts_info() argument
849 ts_info->phc_index = ptp_clock_index(priv->ptp_clock); in bcm_ptp_ts_info()
850 ts_info->so_timestamping = in bcm_ptp_ts_info()
854 ts_info->tx_types = in bcm_ptp_ts_info()
859 ts_info->rx_filters = in bcm_ptp_ts_info()
904 priv->mii_ts.ts_info = bcm_ptp_ts_info; in bcm_ptp_init()
H A Dnxp-c45-tja11xx.c1075 struct kernel_ethtool_ts_info *ts_info) in nxp_c45_ts_info() argument
1080 ts_info->so_timestamping = SOF_TIMESTAMPING_TX_HARDWARE | in nxp_c45_ts_info()
1083 ts_info->phc_index = ptp_clock_index(priv->ptp_clock); in nxp_c45_ts_info()
1084 ts_info->tx_types = (1 << HWTSTAMP_TX_OFF) | (1 << HWTSTAMP_TX_ON); in nxp_c45_ts_info()
1085 ts_info->rx_filters = (1 << HWTSTAMP_FILTER_NONE) | in nxp_c45_ts_info()
1759 priv->mii_ts.ts_info = nxp_c45_ts_info; in nxp_c45_probe()
/linux-6.15/drivers/net/ethernet/sfc/siena/
H A Dethtool.c229 struct kernel_ethtool_ts_info *ts_info) in efx_ethtool_get_ts_info() argument
233 efx_siena_ptp_get_ts_info(efx, ts_info); in efx_ethtool_get_ts_info()
H A Dptp.h24 struct kernel_ethtool_ts_info *ts_info);
H A Dptp.c1783 struct kernel_ethtool_ts_info *ts_info) in efx_siena_ptp_get_ts_info() argument
1793 ts_info->so_timestamping |= (SOF_TIMESTAMPING_TX_HARDWARE | in efx_siena_ptp_get_ts_info()
1797 ts_info->phc_index = in efx_siena_ptp_get_ts_info()
1799 ts_info->tx_types = 1 << HWTSTAMP_TX_OFF | 1 << HWTSTAMP_TX_ON; in efx_siena_ptp_get_ts_info()
1800 ts_info->rx_filters = ptp->efx->type->hwtstamp_filters; in efx_siena_ptp_get_ts_info()
/linux-6.15/drivers/net/ethernet/sfc/
H A Dethtool.c229 struct kernel_ethtool_ts_info *ts_info) in efx_ethtool_get_ts_info() argument
233 efx_ptp_get_ts_info(efx, ts_info); in efx_ethtool_get_ts_info()
H A Dptp.h27 struct kernel_ethtool_ts_info *ts_info);
H A Dptp.c1862 void efx_ptp_get_ts_info(struct efx_nic *efx, struct kernel_ethtool_ts_info *ts_info) in efx_ptp_get_ts_info() argument
1872 ts_info->so_timestamping |= (SOF_TIMESTAMPING_TX_HARDWARE | in efx_ptp_get_ts_info()
1883 ts_info->so_timestamping &= in efx_ptp_get_ts_info()
1887 ts_info->phc_index = in efx_ptp_get_ts_info()
1889 ts_info->tx_types = 1 << HWTSTAMP_TX_OFF | 1 << HWTSTAMP_TX_ON; in efx_ptp_get_ts_info()
1890 ts_info->rx_filters = ptp->efx->type->hwtstamp_filters; in efx_ptp_get_ts_info()
/linux-6.15/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-ethtool.c576 struct kernel_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()
586 ts_info->phc_index = ptp_clock_index(pdata->ptp_clock); in xgbe_get_ts_info()
588 ts_info->tx_types = (1 << HWTSTAMP_TX_OFF) | (1 << HWTSTAMP_TX_ON); in xgbe_get_ts_info()
589 ts_info->rx_filters = (1 << HWTSTAMP_FILTER_NONE) | in xgbe_get_ts_info()
/linux-6.15/drivers/media/platform/mediatek/vcodec/decoder/
H A Dvdec_msg_queue.h73 struct vb2_v4l2_buffer ts_info; member
/linux-6.15/drivers/net/ethernet/microchip/
H A Dlan743x_ethtool.c1032 struct kernel_ethtool_ts_info *ts_info) in lan743x_ethtool_get_ts_info() argument
1036 ts_info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE | in lan743x_ethtool_get_ts_info()
1042 ts_info->phc_index = ptp_clock_index(adapter->ptp.ptp_clock); in lan743x_ethtool_get_ts_info()
1044 ts_info->tx_types = BIT(HWTSTAMP_TX_OFF) | in lan743x_ethtool_get_ts_info()
1047 ts_info->rx_filters = BIT(HWTSTAMP_FILTER_NONE) | in lan743x_ethtool_get_ts_info()
/linux-6.15/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_ethtool.c1553 static int get_ts_info(struct net_device *dev, struct kernel_ethtool_ts_info *ts_info) in get_ts_info() argument
1558 ts_info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE | in get_ts_info()
1563 ts_info->tx_types = (1 << HWTSTAMP_TX_OFF) | in get_ts_info()
1566 ts_info->rx_filters = (1 << HWTSTAMP_FILTER_NONE) | in get_ts_info()
1574 ts_info->phc_index = ptp_clock_index(adapter->ptp_clock); in get_ts_info()
/linux-6.15/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_h264_req_multi_if.c508 v4l2_m2m_buf_copy_metadata(&lat_buf->ts_info, vb2_v4l2, true); in vdec_h264_slice_core_decode()
609 v4l2_m2m_buf_copy_metadata(&src_buf_info->m2m_buf.vb, &lat_buf->ts_info, true); in vdec_h264_slice_lat_decode()
H A Dvdec_hevc_req_multi_if.c745 v4l2_m2m_buf_copy_metadata(&src_buf_info->m2m_buf.vb, &lat_buf->ts_info, true); in vdec_hevc_slice_setup_lat_buffer()
850 v4l2_m2m_buf_copy_metadata(&lat_buf->ts_info, vb2_v4l2, true); in vdec_hevc_slice_setup_core_buffer()
/linux-6.15/drivers/net/ethernet/intel/ice/
H A Dice_ptp_hw.c745 struct ice_ts_func_info *ts_info = &hw->func_caps.ts_func_info; in ice_init_cgu_e82x() local
760 err = ice_cfg_cgu_pll_e825c(hw, ts_info->time_ref, in ice_init_cgu_e82x()
761 (enum ice_clk_src)ts_info->clk_src); in ice_init_cgu_e82x()
763 err = ice_cfg_cgu_pll_e82x(hw, ts_info->time_ref, in ice_init_cgu_e82x()
764 (enum ice_clk_src)ts_info->clk_src); in ice_init_cgu_e82x()
/linux-6.15/drivers/ptp/
H A Dptp_ines.c714 port->mii_ts.ts_info = ines_ts_info; in ines_ptp_probe_channel()

12