/linux/tools/testing/selftests/net/ |
H A D | timestamping.c | 328 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 D | rxtimestamp.c | 26 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 D | tsinfo.c | 66 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 D | net_tstamp.h | 59 struct so_timestamping { struct
|
/linux/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_ptp.c | 329 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 D | fbnic_ethtool.c | 51 tsinfo->so_timestamping = in fbnic_get_ts_info()
|
/linux/drivers/net/ethernet/ti/icssg/ |
H A D | icssg_ethtool.c | 125 info->so_timestamping = in emac_get_ts_info()
|
/linux/drivers/net/ethernet/ti/ |
H A D | cpsw_ethtool.c | 724 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 D | lan966x_ethtool.c | 555 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 D | ocelot_ptp.c | 615 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 D | hellcreek_hwtstamp.c | 25 info->so_timestamping = SOF_TIMESTAMPING_TX_HARDWARE | in hellcreek_get_ts_info()
|
/linux/drivers/net/can/dev/ |
H A D | dev.c | 381 info->so_timestamping = in can_ethtool_op_get_ts_info_hwts()
|
/linux/drivers/net/ethernet/engleder/ |
H A D | tsnep_ethtool.c | 312 info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE | in tsnep_ethtool_get_ts_info()
|
/linux/drivers/net/dsa/mv88e6xxx/ |
H A D | hwtstamp.c | 78 info->so_timestamping = in mv88e6xxx_get_ts_info()
|
/linux/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc_ethtool.c | 844 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 D | gianfar_ethtool.c | 1461 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 D | ethtool.h | 719 u32 so_timestamping; member
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_ptp.c | 394 info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE | in hclge_ptp_get_ts_info()
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_ptp.c | 1284 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 D | sparx5_ethtool.c | 1200 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 D | peak_canfd.c | 782 info->so_timestamping = in peak_get_ts_info()
|
/linux/drivers/net/ethernet/xscale/ |
H A D | ixp4xx_eth.c | 1028 info->so_timestamping = in ixp4xx_get_ts_info() 1032 info->so_timestamping = in ixp4xx_get_ts_info()
|
/linux/drivers/ptp/ |
H A D | ptp_ines.c | 561 info->so_timestamping = in ines_ts_info()
|
/linux/drivers/net/ethernet/cisco/enic/ |
H A D | enic_ethtool.c | 686 info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE; in enic_get_ts_info()
|
/linux/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-ethtool.c | 580 ts_info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE | in xgbe_get_ts_info()
|