Home
last modified time | relevance | path

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

12

/openbmc/linux/net/ethtool/
H A Dtsinfo.c15 struct ethtool_ts_info ts_info; member
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()
64 if (ts_info->tx_types) { in tsinfo_reply_size()
72 if (ts_info->rx_filters) { in tsinfo_reply_size()
80 if (ts_info->phc_index >= 0) in tsinfo_reply_size()
92 const struct ethtool_ts_info *ts_info = &data->ts_info; in tsinfo_fill_reply() local
103 if (ts_info->tx_types) { in tsinfo_fill_reply()
105 &ts_info->tx_types, NULL, in tsinfo_fill_reply()
111 if (ts_info->rx_filters) { in tsinfo_fill_reply()
[all …]
/openbmc/linux/include/linux/
H A Dmii_timestamper.h59 int (*ts_info)(struct mii_timestamper *mii_ts, member
60 struct ethtool_ts_info *ts_info);
H A Dphy.h1551 return phydev && phydev->mii_ts && phydev->mii_ts->ts_info; in phy_has_tsinfo()
1577 return phydev->mii_ts->ts_info(phydev->mii_ts, tsinfo); in phy_ts_info()
/openbmc/linux/drivers/net/ethernet/sfc/
H A Dethtool.c229 struct ethtool_ts_info *ts_info) in efx_ethtool_get_ts_info() argument
234 ts_info->so_timestamping = (SOF_TIMESTAMPING_RX_SOFTWARE | in efx_ethtool_get_ts_info()
236 ts_info->phc_index = -1; in efx_ethtool_get_ts_info()
238 efx_ptp_get_ts_info(efx, ts_info); in efx_ethtool_get_ts_info()
H A Dptp.h23 void efx_ptp_get_ts_info(struct efx_nic *efx, struct ethtool_ts_info *ts_info);
H A Dptp.c1866 void efx_ptp_get_ts_info(struct efx_nic *efx, struct ethtool_ts_info *ts_info) in efx_ptp_get_ts_info() argument
1876 ts_info->so_timestamping |= (SOF_TIMESTAMPING_TX_HARDWARE | in efx_ptp_get_ts_info()
1887 ts_info->so_timestamping &= in efx_ptp_get_ts_info()
1891 ts_info->phc_index = in efx_ptp_get_ts_info()
1893 ts_info->tx_types = 1 << HWTSTAMP_TX_OFF | 1 << HWTSTAMP_TX_ON; in efx_ptp_get_ts_info()
1894 ts_info->rx_filters = ptp->efx->type->hwtstamp_filters; in efx_ptp_get_ts_info()
/openbmc/linux/drivers/net/ethernet/sfc/siena/
H A Dethtool.c229 struct ethtool_ts_info *ts_info) in efx_ethtool_get_ts_info() argument
234 ts_info->so_timestamping = (SOF_TIMESTAMPING_RX_SOFTWARE | in efx_ethtool_get_ts_info()
236 ts_info->phc_index = -1; in efx_ethtool_get_ts_info()
238 efx_siena_ptp_get_ts_info(efx, ts_info); in efx_ethtool_get_ts_info()
H A Dptp.h21 struct ethtool_ts_info *ts_info);
H A Dptp.c1782 struct ethtool_ts_info *ts_info) in efx_siena_ptp_get_ts_info() argument
1792 ts_info->so_timestamping |= (SOF_TIMESTAMPING_TX_HARDWARE | in efx_siena_ptp_get_ts_info()
1796 ts_info->phc_index = in efx_siena_ptp_get_ts_info()
1798 ts_info->tx_types = 1 << HWTSTAMP_TX_OFF | 1 << HWTSTAMP_TX_ON; in efx_siena_ptp_get_ts_info()
1799 ts_info->rx_filters = ptp->efx->type->hwtstamp_filters; in efx_siena_ptp_get_ts_info()
/openbmc/linux/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()
/openbmc/linux/drivers/net/ethernet/renesas/
H A Drswitch.c931 if (!(ts_info->port == port && ts_info->tag == tag)) in rswitch_ts()
940 list_del(&ts_info->list); in rswitch_ts()
941 kfree(ts_info); in rswitch_ts()
1482 if (ts_info->port != rdev->port) in rswitch_stop()
1485 list_del(&ts_info->list); in rswitch_stop()
1486 kfree(ts_info); in rswitch_stop()
1530 ts_info = kzalloc(sizeof(*ts_info), GFP_ATOMIC); in rswitch_start_xmit()
1531 if (!ts_info) in rswitch_start_xmit()
1538 ts_info->skb = skb_get(skb); in rswitch_start_xmit()
1539 ts_info->port = rdev->port; in rswitch_start_xmit()
[all …]
/openbmc/qemu/tcg/
H A Doptimize.c119 return ts_info(arg_temp(arg)); in arg_info()
124 return ts_info(ts)->is_const; in ts_is_const()
189 TempOptInfo *ti = ts_info(ts); in remove_mem_copy()
223 for (i = ts_info(ts)->next_copy; i != ts; i = ts_info(i)->next_copy) { in find_better_copy()
245 TempOptInfo *ti = ts_info(ts); in reset_ts()
248 TempOptInfo *pi = ts_info(pts); in reset_ts()
249 TempOptInfo *ni = ts_info(nts); in reset_ts()
298 ti = ts_info(ts); in record_mem_copy()
315 for (i = ts_info(ts1)->next_copy; i != ts1; i = ts_info(i)->next_copy) { in ts_are_copies()
370 di = ts_info(dst_ts); in tcg_opt_gen_mov()
[all …]
/openbmc/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-ethtool.c579 struct ethtool_ts_info *ts_info) in xgbe_get_ts_info() argument
583 ts_info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE | in xgbe_get_ts_info()
591 ts_info->phc_index = ptp_clock_index(pdata->ptp_clock); in xgbe_get_ts_info()
593 ts_info->phc_index = -1; in xgbe_get_ts_info()
595 ts_info->tx_types = (1 << HWTSTAMP_TX_OFF) | (1 << HWTSTAMP_TX_ON); in xgbe_get_ts_info()
596 ts_info->rx_filters = (1 << HWTSTAMP_FILTER_NONE) | in xgbe_get_ts_info()
/openbmc/linux/drivers/net/phy/
H A Dbcm-phy-ptp.c847 struct ethtool_ts_info *ts_info) in bcm_ptp_ts_info() argument
851 ts_info->phc_index = ptp_clock_index(priv->ptp_clock); in bcm_ptp_ts_info()
852 ts_info->so_timestamping = in bcm_ptp_ts_info()
856 ts_info->tx_types = in bcm_ptp_ts_info()
861 ts_info->rx_filters = in bcm_ptp_ts_info()
906 priv->mii_ts.ts_info = bcm_ptp_ts_info; in bcm_ptp_init()
H A Dnxp-c45-tja11xx.c1081 struct ethtool_ts_info *ts_info) in nxp_c45_ts_info() argument
1086 ts_info->so_timestamping = SOF_TIMESTAMPING_TX_HARDWARE | in nxp_c45_ts_info()
1089 ts_info->phc_index = ptp_clock_index(priv->ptp_clock); in nxp_c45_ts_info()
1090 ts_info->tx_types = (1 << HWTSTAMP_TX_OFF) | (1 << HWTSTAMP_TX_ON); in nxp_c45_ts_info()
1091 ts_info->rx_filters = (1 << HWTSTAMP_FILTER_NONE) | in nxp_c45_ts_info()
1661 priv->mii_ts.ts_info = nxp_c45_ts_info; in nxp_c45_probe()
/openbmc/linux/drivers/staging/rtl8192u/ieee80211/
H A Drtl819x_Qos.h54 struct qos_tsinfo ts_info; //u8 TSInfo[3]; member
H A 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()
H A Drtl819x_BAProc.c625 pBA->param_set.field.tid = pTS->ts_common_info.t_spec.ts_info.uc_tsid; // TID in TsInitAddBA()
/openbmc/linux/drivers/media/platform/mediatek/vcodec/decoder/
H A Dvdec_msg_queue.h73 struct vb2_v4l2_buffer ts_info; member
/openbmc/linux/drivers/net/ethernet/microchip/
H A Dlan743x_ethtool.c1030 struct ethtool_ts_info *ts_info) in lan743x_ethtool_get_ts_info() argument
1034 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->phc_index = -1; in lan743x_ethtool_get_ts_info()
1046 ts_info->tx_types = BIT(HWTSTAMP_TX_OFF) | in lan743x_ethtool_get_ts_info()
1049 ts_info->rx_filters = BIT(HWTSTAMP_FILTER_NONE) | in lan743x_ethtool_get_ts_info()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_ethtool.c1553 static int get_ts_info(struct net_device *dev, struct ethtool_ts_info *ts_info) in get_ts_info() argument
1558 ts_info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE | in get_ts_info()
1562 ts_info->so_timestamping |= SOF_TIMESTAMPING_RX_HARDWARE | in get_ts_info()
1566 ts_info->tx_types = (1 << HWTSTAMP_TX_OFF) | in get_ts_info()
1569 ts_info->rx_filters = (1 << HWTSTAMP_FILTER_NONE) | in get_ts_info()
1577 ts_info->phc_index = ptp_clock_index(adapter->ptp_clock); in get_ts_info()
1579 ts_info->phc_index = -1; in get_ts_info()
/openbmc/linux/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()
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_ptp_hw.c940 struct ice_ts_func_info *ts_info = &hw->func_caps.ts_func_info; in ice_init_cgu_e822() local
961 err = ice_cfg_cgu_pll_e822(hw, ts_info->time_ref, in ice_init_cgu_e822()
962 (enum ice_clk_src)ts_info->clk_src); in ice_init_cgu_e822()

12