Home
last modified time | relevance | path

Searched refs:so_timestamping (Results 1 – 25 of 69) sorted by relevance

123

/linux/tools/testing/selftests/net/
H A Dtimestamping.c328 struct so_timestamping so_timestamping_get = { 0, 0 }; in main()
329 struct so_timestamping so_timestamping = { 0, 0 }; in main() local
347 if (argc >= 3 && sscanf(argv[2], "%d", &so_timestamping.bind_phc) == 1) in main()
366 so_timestamping.flags |= SOF_TIMESTAMPING_TX_HARDWARE; in main()
368 so_timestamping.flags |= SOF_TIMESTAMPING_TX_SOFTWARE; in main()
370 so_timestamping.flags |= SOF_TIMESTAMPING_RX_HARDWARE; in main()
372 so_timestamping.flags |= SOF_TIMESTAMPING_RX_SOFTWARE; in main()
374 so_timestamping.flags |= SOF_TIMESTAMPING_SOFTWARE; in main()
376 so_timestamping.flags |= SOF_TIMESTAMPING_RAW_HARDWARE; in main()
378 so_timestamping.flags |= SOF_TIMESTAMPING_BIND_PHC; in main()
[all …]
H A Drxtimestamp.c26 int so_timestamping; member
85 { .so_timestamping = SOF_TIMESTAMPING_RX_SOFTWARE },
90 { .so_timestamping = SOF_TIMESTAMPING_RX_HARDWARE },
94 { .so_timestamping = SOF_TIMESTAMPING_SOFTWARE },
98 { .so_timestamping = SOF_TIMESTAMPING_RX_SOFTWARE
103 { .so_timestamping = SOF_TIMESTAMPING_RAW_HARDWARE
108 { .so_timestamping = SOF_TIMESTAMPING_SOFTWARE
113 { .so_timestamping = SOF_TIMESTAMPING_SOFTWARE
119 { .so_timestamping = SOF_TIMESTAMPING_SOFTWARE
124 { .so_timestamp = 1, .so_timestamping = SOF_TIMESTAMPING_SOFTWARE
[all …]
/linux/net/ethtool/
H A Dtsinfo.c66 if (ts_info->so_timestamping) { in tsinfo_reply_size()
67 ret = ethnl_bitset32_size(&ts_info->so_timestamping, NULL, in tsinfo_reply_size()
142 if (ts_info->so_timestamping) { in tsinfo_fill_reply()
144 &ts_info->so_timestamping, NULL, in tsinfo_fill_reply()
/linux/include/uapi/linux/
H A Dnet_tstamp.h59 struct so_timestamping { struct
/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_ptp.c329 info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE; in qede_ptp_get_ts_info()
334 info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE | in qede_ptp_get_ts_info()
/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_ethtool.c51 tsinfo->so_timestamping = in fbnic_get_ts_info()
/linux/drivers/net/ethernet/ti/icssg/
H A Dicssg_ethtool.c125 info->so_timestamping = in emac_get_ts_info()
/linux/drivers/net/ethernet/ti/
H A Dcpsw_ethtool.c724 info->so_timestamping = in cpsw_get_ts_info()
741 info->so_timestamping = in cpsw_get_ts_info()
/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_ethtool.c555 info->so_timestamping |= SOF_TIMESTAMPING_TX_SOFTWARE; in lan966x_get_ts_info()
558 info->so_timestamping |= SOF_TIMESTAMPING_TX_SOFTWARE | in lan966x_get_ts_info()
/linux/drivers/net/ethernet/mscc/
H A Docelot_ptp.c615 info->so_timestamping |= SOF_TIMESTAMPING_TX_SOFTWARE; in ocelot_get_ts_info()
618 info->so_timestamping |= SOF_TIMESTAMPING_TX_SOFTWARE | in ocelot_get_ts_info()
/linux/drivers/net/dsa/hirschmann/
H A Dhellcreek_hwtstamp.c25 info->so_timestamping = SOF_TIMESTAMPING_TX_HARDWARE | in hellcreek_get_ts_info()
/linux/drivers/net/can/dev/
H A Ddev.c381 info->so_timestamping = in can_ethtool_op_get_ts_info_hwts()
/linux/drivers/net/ethernet/engleder/
H A Dtsnep_ethtool.c312 info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE | in tsnep_ethtool_get_ts_info()
/linux/drivers/net/dsa/mv88e6xxx/
H A Dhwtstamp.c78 info->so_timestamping = in mv88e6xxx_get_ts_info()
/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc_ethtool.c844 info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE; in enetc_get_ts_info()
849 info->so_timestamping = SOF_TIMESTAMPING_TX_HARDWARE | in enetc_get_ts_info()
/linux/drivers/net/ethernet/freescale/
H A Dgianfar_ethtool.c1461 info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE; in gfar_get_ts_info()
1476 info->so_timestamping = SOF_TIMESTAMPING_TX_HARDWARE | in gfar_get_ts_info()
/linux/include/linux/
H A Dethtool.h719 u32 so_timestamping; member
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_ptp.c394 info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE | in hclge_ptp_get_ts_info()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ptp.c1284 info->so_timestamping = SOF_TIMESTAMPING_TX_HARDWARE | in mlxsw_sp1_ptp_get_ts_info()
1669 info->so_timestamping = SOF_TIMESTAMPING_TX_HARDWARE | in mlxsw_sp2_ptp_get_ts_info()
/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_ethtool.c1200 info->so_timestamping |= SOF_TIMESTAMPING_TX_SOFTWARE; in sparx5_get_ts_info()
1203 info->so_timestamping |= SOF_TIMESTAMPING_TX_SOFTWARE | in sparx5_get_ts_info()
/linux/drivers/net/can/peak_canfd/
H A Dpeak_canfd.c782 info->so_timestamping = in peak_get_ts_info()
/linux/drivers/net/ethernet/xscale/
H A Dixp4xx_eth.c1028 info->so_timestamping = in ixp4xx_get_ts_info()
1032 info->so_timestamping = in ixp4xx_get_ts_info()
/linux/drivers/ptp/
H A Dptp_ines.c561 info->so_timestamping = in ines_ts_info()
/linux/drivers/net/ethernet/cisco/enic/
H A Denic_ethtool.c686 info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE; in enic_get_ts_info()
/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-ethtool.c580 ts_info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE | in xgbe_get_ts_info()

123