/linux-6.12.1/net/ethtool/ |
D | tsinfo.c | 15 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/ |
D | fsl_qmc_hdlc.c | 418 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/ |
D | mii_timestamper.h | 61 int (*ts_info)(struct mii_timestamper *mii_ts, member 62 struct kernel_ethtool_ts_info *ts_info);
|
D | phy.h | 1599 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/ |
D | dynack.h | 36 struct ts_info { struct 56 struct ts_info ts[ATH_DYN_BUF]; argument
|
D | dynack.c | 150 struct ts_info *st_ts; in ath_dynack_compute_to()
|
/linux-6.12.1/include/soc/fsl/qe/ |
D | qmc.h | 71 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/ |
D | rswitch.c | 1004 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/ |
D | qmc.c | 354 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/ |
D | bcm-phy-ptp.c | 844 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()
|
D | nxp-c45-tja11xx.c | 1061 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/ |
D | ethtool.c | 229 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()
|
D | ptp.h | 24 struct kernel_ethtool_ts_info *ts_info);
|
D | ptp.c | 1783 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/ |
D | ethtool.c | 229 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()
|
D | ptp.h | 27 struct kernel_ethtool_ts_info *ts_info);
|
D | ptp.c | 1867 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/ |
D | xgbe-ethtool.c | 580 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/ |
D | rtl819x_TSProc.c | 232 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/ |
D | vdec_msg_queue.h | 73 struct vb2_v4l2_buffer ts_info; member
|
/linux-6.12.1/drivers/net/ethernet/microchip/ |
D | lan743x_ethtool.c | 1032 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/ |
D | cxgb4_ethtool.c | 1553 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/ |
D | vdec_h264_req_multi_if.c | 508 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()
|
D | vdec_hevc_req_multi_if.c | 745 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/ |
D | ice_ptp_hw.c | 722 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()
|