| /linux/net/ethtool/ |
| H A D | tsinfo.c | 22 struct kernel_ethtool_ts_info ts_info; 110 ret = ethtool_get_ts_info_by_phc(dev, &data->ts_info, in tsinfo_prepare_data() 123 ret = __ethtool_get_ts_info(dev, &data->ts_info); in tsinfo_prepare_data() 134 const struct kernel_ethtool_ts_info *ts_info = &data->ts_info; in tsinfo_reply_size() 142 if (ts_info->so_timestamping) { in tsinfo_reply_size() 143 ret = ethnl_bitset32_size(&ts_info->so_timestamping, NULL, in tsinfo_reply_size() 150 if (ts_info->tx_types) { in tsinfo_reply_size() 151 ret = ethnl_bitset32_size(&ts_info->tx_types, NULL, in tsinfo_reply_size() 158 if (ts_info in tsinfo_reply_size() 21 struct kernel_ethtool_ts_info ts_info; global() member 133 const struct kernel_ethtool_ts_info *ts_info = &data->ts_info; tsinfo_reply_size() local 225 const struct kernel_ethtool_ts_info *ts_info = &data->ts_info; tsinfo_fill_reply() local [all...] |
| H A D | tsconfig.c | 66 struct kernel_ethtool_ts_info ts_info = {}; in tsconfig_prepare_data() 68 ts_info.phc_index = -1; in tsconfig_prepare_data() 69 ret = __ethtool_get_ts_info(dev, &ts_info); in tsconfig_prepare_data() 73 if (ts_info.phc_index == -1) { in tsconfig_prepare_data() 78 data->hwprov_desc.index = ts_info.phc_index; in tsconfig_prepare_data() 79 data->hwprov_desc.qualifier = ts_info.phc_qualifier; in tsconfig_prepare_data() 267 struct kernel_ethtool_ts_info ts_info; in tsconfig_set_hwprov_from_desc() 274 ret = ethtool_net_get_ts_info_by_phc(dev, &ts_info, hwprov_desc); in tsconfig_set_hwprov_from_desc() 279 phy = ethtool_phy_get_ts_info_by_phc(dev, &ts_info, hwprov_desc); in tsconfig_set_hwprov_from_desc() 65 struct kernel_ethtool_ts_info ts_info = {}; tsconfig_prepare_data() local 266 struct kernel_ethtool_ts_info ts_info; tsconfig_set_hwprov_from_desc() local
|
| /linux/drivers/net/wan/ |
| H A 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/drivers/net/wireless/ath/ath9k/ |
| H A D | dynack.h | 36 struct ts_info { struct 56 struct ts_info ts[ATH_DYN_BUF]; argument
|
| H A D | dynack.c | 151 struct ts_info *st_ts; in ath_dynack_compute_to()
|
| /linux/include/soc/fsl/qe/ |
| H A 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/drivers/soc/fsl/qe/ |
| H A 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/net/bluetooth/ |
| H A D | af_bluetooth.c | 630 struct kernel_ethtool_ts_info ts_info = {}; in bt_ethtool_get_ts_info() 633 ret = hci_ethtool_ts_info(index, sk->sk_protocol, &ts_info); in bt_ethtool_get_ts_info() local 642 info.so_timestamping = ts_info.so_timestamping; in bt_ethtool_get_ts_info() 643 info.phc_index = ts_info.phc_index; in bt_ethtool_get_ts_info() 644 info.tx_types = ts_info.tx_types; in bt_ethtool_get_ts_info() 645 info.rx_filters = ts_info.rx_filters; in bt_ethtool_get_ts_info()
|
| /linux/drivers/media/platform/mediatek/vcodec/decoder/ |
| H A D | vdec_msg_queue.h | 73 struct vb2_v4l2_buffer ts_info; member
|
| /linux/sound/soc/fsl/ |
| H A D | fsl_qmc_audio.c | 747 struct qmc_chan_ts_info ts_info; in qmc_audio_dai_parse() local 842 ret = qmc_chan_get_ts_info(qmc_dai->qmc_chans[i], &ts_info); in qmc_audio_dai_parse() 849 last_rx_ts = fls64(ts_info.rx_ts_mask); in qmc_audio_dai_parse() 850 last_tx_ts = fls64(ts_info.tx_ts_mask); in qmc_audio_dai_parse()
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | ptp.c | 1862 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/drivers/net/ethernet/sfc/siena/ |
| H A 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/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
| H A D | vdec_h264_req_multi_if.c | 573 v4l2_m2m_buf_copy_metadata(&lat_buf->ts_info, vb2_v4l2); in vdec_h264_slice_setup_core_buffer_ext() 677 v4l2_m2m_buf_copy_metadata(&lat_buf->ts_info, vb2_v4l2); in vdec_h264_slice_core_decode() 772 &lat_buf->ts_info); in vdec_h264_slice_lat_decode_ext() 905 &lat_buf->ts_info); in vdec_h264_slice_lat_decode()
|
| H A D | vdec_hevc_req_multi_if.c | 746 &lat_buf->ts_info); in vdec_hevc_slice_setup_lat_buffer() 851 v4l2_m2m_buf_copy_metadata(&lat_buf->ts_info, vb2_v4l2); in vdec_hevc_slice_setup_core_buffer()
|
| H A D | vdec_av1_req_lat_if.c | 1075 dst = &lat_buf->ts_info; in vdec_av1_slice_setup_lat_from_src_buf() 1783 v4l2_m2m_buf_copy_metadata(&lat_buf->ts_info, dst); in vdec_av1_slice_setup_core_to_dst_buf()
|
| H A D | vdec_vp9_req_lat_if.c | 726 dst = &lat_buf->ts_info; in vdec_vp9_slice_setup_lat_from_src_buf() 1655 v4l2_m2m_buf_copy_metadata(&lat_buf->ts_info, dst); in vdec_vp9_slice_setup_core_to_dst_buf()
|
| /linux/drivers/net/ethernet/chelsio/cxgb4/ |
| H A 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/include/net/bluetooth/ |
| H A D | bluetooth.h | 468 struct kernel_ethtool_ts_info *ts_info);
|
| /linux/drivers/ptp/ |
| H A D | ptp_ines.c | 737 port->mii_ts.ts_info = ines_ts_info; in ines_ptp_probe_channel()
|
| /linux/drivers/net/phy/ |
| H A D | microchip_rds_ptp.c | 1309 clock->mii_ts.ts_info = mchp_rds_ptp_ts_info; in mchp_rds_ptp_probe()
|
| H A D | dp83640.c | 1423 dp83640->mii_ts.ts_info = dp83640_ts_info; in dp83640_probe()
|
| H A D | micrel.c | 4495 ptp_priv->mii_ts.ts_info = lan8814_ts_info; in __lan8814_ptp_probe_once() 6041 ptp_priv->mii_ts.ts_info = lan8841_ts_info; in lan8842_probe()
|
| /linux/drivers/net/bonding/ |
| H A D | bond_main.c | 5905 struct kernel_ethtool_ts_info ts_info; in bond_ethtool_get_ts_info() 5923 ret = ethtool_get_ts_info_by_layer(slave->dev, &ts_info); in bond_ethtool_get_ts_info() 5924 if (!ret && (ts_info.so_timestamping & SOF_TIMESTAMPING_TX_SOFTWARE)) { in bond_ethtool_get_ts_info() 5894 struct kernel_ethtool_ts_info ts_info; bond_ethtool_get_ts_info() local
|