Home
last modified time | relevance | path

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

12

/linux-6.12.1/net/ethtool/
Dtsinfo.c15 struct kernel_ethtool_ts_info ts_info; member
47 ret = __ethtool_get_ts_info(dev, &data->ts_info); in tsinfo_prepare_data()
58 const struct kernel_ethtool_ts_info *ts_info = &data->ts_info; in tsinfo_reply_size() local
66 if (ts_info->so_timestamping) { in tsinfo_reply_size()
67 ret = ethnl_bitset32_size(&ts_info->so_timestamping, NULL, in tsinfo_reply_size()
74 if (ts_info->tx_types) { in tsinfo_reply_size()
75 ret = ethnl_bitset32_size(&ts_info->tx_types, NULL, in tsinfo_reply_size()
82 if (ts_info->rx_filters) { in tsinfo_reply_size()
83 ret = ethnl_bitset32_size(&ts_info->rx_filters, NULL, in tsinfo_reply_size()
90 if (ts_info->phc_index >= 0) in tsinfo_reply_size()
[all …]
/linux-6.12.1/drivers/net/wan/
Dfsl_qmc_hdlc.c418 u32 slot_map, struct qmc_chan_ts_info *ts_info) in qmc_hdlc_xlate_slot_map() argument
425 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()
431 bitmap_from_u64(ts_mask_avail, ts_info->rx_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()
447 const struct qmc_chan_ts_info *ts_info, u32 *slot_map) in qmc_hdlc_xlate_ts_info() argument
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()
[all …]
/linux-6.12.1/include/linux/
Dmii_timestamper.h61 int (*ts_info)(struct mii_timestamper *mii_ts, member
62 struct kernel_ethtool_ts_info *ts_info);
Dphy.h1599 return phydev && phydev->mii_ts && phydev->mii_ts->ts_info; in phy_has_tsinfo()
1627 return phydev->mii_ts->ts_info(phydev->mii_ts, tsinfo); in phy_ts_info()
/linux-6.12.1/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-6.12.1/include/soc/fsl/qe/
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.12.1/drivers/net/ethernet/renesas/
Drswitch.c1004 struct rswitch_gwca_ts_info *ts_info, *ts_info2; in rswitch_ts() local
1018 list_for_each_entry_safe(ts_info, ts_info2, &priv->gwca.ts_info_list, list) { in rswitch_ts()
1019 if (!(ts_info->port == port && ts_info->tag == tag)) in rswitch_ts()
1026 skb_tstamp_tx(ts_info->skb, &shhwtstamps); in rswitch_ts()
1027 dev_consume_skb_irq(ts_info->skb); in rswitch_ts()
1028 list_del(&ts_info->list); in rswitch_ts()
1029 kfree(ts_info); in rswitch_ts()
1562 struct rswitch_gwca_ts_info *ts_info, *ts_info2; in rswitch_stop() local
1571 list_for_each_entry_safe(ts_info, ts_info2, &rdev->priv->gwca.ts_info_list, list) { in rswitch_stop()
1572 if (ts_info->port != rdev->port) in rswitch_stop()
[all …]
/linux-6.12.1/drivers/soc/fsl/qe/
Dqmc.c354 int qmc_chan_get_ts_info(struct qmc_chan *chan, struct qmc_chan_ts_info *ts_info) in qmc_chan_get_ts_info() argument
360 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()
371 int qmc_chan_set_ts_info(struct qmc_chan *chan, const struct qmc_chan_ts_info *ts_info) in qmc_chan_set_ts_info() argument
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()
[all …]
/linux-6.12.1/drivers/net/phy/
Dbcm-phy-ptp.c844 struct kernel_ethtool_ts_info *ts_info) in bcm_ptp_ts_info() argument
848 ts_info->phc_index = ptp_clock_index(priv->ptp_clock); in bcm_ptp_ts_info()
849 ts_info->so_timestamping = in bcm_ptp_ts_info()
853 ts_info->tx_types = in bcm_ptp_ts_info()
858 ts_info->rx_filters = in bcm_ptp_ts_info()
903 priv->mii_ts.ts_info = bcm_ptp_ts_info; in bcm_ptp_init()
Dnxp-c45-tja11xx.c1061 struct kernel_ethtool_ts_info *ts_info) in nxp_c45_ts_info() argument
1066 ts_info->so_timestamping = SOF_TIMESTAMPING_TX_HARDWARE | in nxp_c45_ts_info()
1069 ts_info->phc_index = ptp_clock_index(priv->ptp_clock); in nxp_c45_ts_info()
1070 ts_info->tx_types = (1 << HWTSTAMP_TX_OFF) | (1 << HWTSTAMP_TX_ON); in nxp_c45_ts_info()
1071 ts_info->rx_filters = (1 << HWTSTAMP_FILTER_NONE) | in nxp_c45_ts_info()
1660 priv->mii_ts.ts_info = nxp_c45_ts_info; in nxp_c45_probe()
/linux-6.12.1/drivers/net/ethernet/sfc/siena/
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()
Dptp.h24 struct kernel_ethtool_ts_info *ts_info);
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.12.1/drivers/net/ethernet/sfc/
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()
Dptp.h27 struct kernel_ethtool_ts_info *ts_info);
Dptp.c1867 void efx_ptp_get_ts_info(struct efx_nic *efx, struct kernel_ethtool_ts_info *ts_info) in efx_ptp_get_ts_info() argument
1877 ts_info->so_timestamping |= (SOF_TIMESTAMPING_TX_HARDWARE | in efx_ptp_get_ts_info()
1888 ts_info->so_timestamping &= in efx_ptp_get_ts_info()
1892 ts_info->phc_index = in efx_ptp_get_ts_info()
1894 ts_info->tx_types = 1 << HWTSTAMP_TX_OFF | 1 << HWTSTAMP_TX_ON; in efx_ptp_get_ts_info()
1895 ts_info->rx_filters = ptp->efx->type->hwtstamp_filters; in efx_ptp_get_ts_info()
/linux-6.12.1/drivers/net/ethernet/amd/xgbe/
Dxgbe-ethtool.c580 struct kernel_ethtool_ts_info *ts_info) in xgbe_get_ts_info() argument
584 ts_info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE | in xgbe_get_ts_info()
590 ts_info->phc_index = ptp_clock_index(pdata->ptp_clock); 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-6.12.1/drivers/staging/rtl8192e/
Drtl819x_TSProc.c232 struct qos_tsinfo *ts_info = &tspec; in rtllib_get_ts() local
308 ts_info->ts_id = UP; in rtllib_get_ts()
309 ts_info->ucDirection = Dir; in rtllib_get_ts()
/linux-6.12.1/drivers/media/platform/mediatek/vcodec/decoder/
Dvdec_msg_queue.h73 struct vb2_v4l2_buffer ts_info; member
/linux-6.12.1/drivers/net/ethernet/microchip/
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.12.1/drivers/net/ethernet/chelsio/cxgb4/
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.12.1/drivers/media/platform/mediatek/vcodec/decoder/vdec/
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()
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.12.1/drivers/net/ethernet/intel/ice/
Dice_ptp_hw.c722 struct ice_ts_func_info *ts_info = &hw->func_caps.ts_func_info; in ice_init_cgu_e82x() local
737 err = ice_cfg_cgu_pll_e825c(hw, ts_info->time_ref, in ice_init_cgu_e82x()
738 (enum ice_clk_src)ts_info->clk_src); in ice_init_cgu_e82x()
740 err = ice_cfg_cgu_pll_e82x(hw, ts_info->time_ref, in ice_init_cgu_e82x()
741 (enum ice_clk_src)ts_info->clk_src); in ice_init_cgu_e82x()

12