Symbol: so_timestamping
drivers/net/bonding/bond_main.c
5907
if (!ret && (ts_info.so_timestamping & SOF_TIMESTAMPING_TX_SOFTWARE)) {
drivers/net/bonding/bond_main.c
5919
info->so_timestamping |= SOF_TIMESTAMPING_TX_SOFTWARE;
drivers/net/can/dev/dev.c
460
info->so_timestamping =
drivers/net/can/peak_canfd/peak_canfd.c
778
info->so_timestamping =
drivers/net/can/usb/peak_usb/pcan_usb_core.c
898
info->so_timestamping =
drivers/net/dsa/hirschmann/hellcreek_hwtstamp.c
25
info->so_timestamping = SOF_TIMESTAMPING_TX_HARDWARE |
drivers/net/dsa/microchip/ksz_ptp.c
304
ts->so_timestamping = SOF_TIMESTAMPING_TX_HARDWARE |
drivers/net/dsa/mv88e6xxx/hwtstamp.c
78
info->so_timestamping =
drivers/net/dsa/sja1105/sja1105_ptp.c
127
info->so_timestamping = SOF_TIMESTAMPING_TX_HARDWARE |
drivers/net/ethernet/amazon/ena/ena_ethtool.c
308
info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE;
drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c
495
ts_info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE |
drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c
663
info->so_timestamping |=
drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c
3619
info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE |
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c
5425
info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE;
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c
5430
info->so_timestamping |= SOF_TIMESTAMPING_TX_HARDWARE |
drivers/net/ethernet/broadcom/tg3.c
6146
info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE;
drivers/net/ethernet/broadcom/tg3.c
6149
info->so_timestamping |= SOF_TIMESTAMPING_TX_HARDWARE |
drivers/net/ethernet/cadence/macb_main.c
3654
info->so_timestamping =
drivers/net/ethernet/cavium/liquidio/lio_ethtool.c
2505
info->so_timestamping =
drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c
826
info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE |
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
1558
ts_info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE |
drivers/net/ethernet/cisco/enic/enic_ethtool.c
652
info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE;
drivers/net/ethernet/engleder/tsnep_ethtool.c
316
info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE |
drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c
382
info->so_timestamping = SOF_TIMESTAMPING_TX_HARDWARE |
drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c
811
info->so_timestamping = SOF_TIMESTAMPING_TX_HARDWARE |
drivers/net/ethernet/freescale/enetc/enetc_ethtool.c
1007
info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE;
drivers/net/ethernet/freescale/enetc/enetc_ethtool.c
974
info->so_timestamping = SOF_TIMESTAMPING_TX_HARDWARE |
drivers/net/ethernet/freescale/fec_main.c
3336
info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE |
drivers/net/ethernet/freescale/gianfar_ethtool.c
1474
info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE;
drivers/net/ethernet/freescale/gianfar_ethtool.c
1491
info->so_timestamping = SOF_TIMESTAMPING_TX_HARDWARE |
drivers/net/ethernet/fungible/funeth/funeth_ethtool.c
1038
info->so_timestamping = SOF_TIMESTAMPING_RX_HARDWARE |
drivers/net/ethernet/google/gve/gve_ethtool.c
969
info->so_timestamping |= SOF_TIMESTAMPING_RX_HARDWARE |
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_ptp.c
399
info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE |
drivers/net/ethernet/intel/e1000e/ethtool.c
2268
info->so_timestamping |= (SOF_TIMESTAMPING_TX_HARDWARE |
drivers/net/ethernet/intel/i40e/i40e_ethtool.c
2547
info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE |
drivers/net/ethernet/intel/ice/ice_ethtool.c
3770
info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE |
drivers/net/ethernet/intel/idpf/idpf_ethtool.c
1689
info->so_timestamping = SOF_TIMESTAMPING_RX_HARDWARE |
drivers/net/ethernet/intel/idpf/idpf_ethtool.c
1699
info->so_timestamping |= SOF_TIMESTAMPING_TX_SOFTWARE |
drivers/net/ethernet/intel/igb/igb_ethtool.c
2390
info->so_timestamping =
drivers/net/ethernet/intel/igb/igb_ethtool.c
2399
info->so_timestamping =
drivers/net/ethernet/intel/igc/igc_ethtool.c
1600
info->so_timestamping =
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c
3330
info->so_timestamping =
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c
5260
info->so_timestamping |= SOF_TIMESTAMPING_TX_HARDWARE |
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
984
info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE |
drivers/net/ethernet/mellanox/mlx4/en_ethtool.c
1902
info->so_timestamping |=
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c
1792
info->so_timestamping = SOF_TIMESTAMPING_TX_HARDWARE |
drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c
1285
info->so_timestamping = SOF_TIMESTAMPING_TX_HARDWARE |
drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c
1675
info->so_timestamping = SOF_TIMESTAMPING_TX_HARDWARE |
drivers/net/ethernet/meta/fbnic/fbnic_ethtool.c
1600
tsinfo->so_timestamping =
drivers/net/ethernet/microchip/lan743x_ethtool.c
1049
ts_info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE |
drivers/net/ethernet/microchip/lan966x/lan966x_ethtool.c
555
info->so_timestamping |= SOF_TIMESTAMPING_TX_SOFTWARE;
drivers/net/ethernet/microchip/lan966x/lan966x_ethtool.c
558
info->so_timestamping |= SOF_TIMESTAMPING_TX_SOFTWARE |
drivers/net/ethernet/microchip/sparx5/sparx5_ethtool.c
1200
info->so_timestamping |= SOF_TIMESTAMPING_TX_SOFTWARE;
drivers/net/ethernet/microchip/sparx5/sparx5_ethtool.c
1203
info->so_timestamping |= SOF_TIMESTAMPING_TX_SOFTWARE |
drivers/net/ethernet/mscc/ocelot_ptp.c
593
info->so_timestamping |= SOF_TIMESTAMPING_TX_SOFTWARE;
drivers/net/ethernet/mscc/ocelot_ptp.c
596
info->so_timestamping |= SOF_TIMESTAMPING_TX_SOFTWARE |
drivers/net/ethernet/pensando/ionic/ionic_ethtool.c
1018
info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE |
drivers/net/ethernet/qlogic/qede/qede_ptp.c
347
info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE;
drivers/net/ethernet/qlogic/qede/qede_ptp.c
352
info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE |
drivers/net/ethernet/renesas/ravb_main.c
1760
info->so_timestamping =
drivers/net/ethernet/renesas/rswitch_main.c
1895
info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE |
drivers/net/ethernet/renesas/rtsn.c
1194
info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE |
drivers/net/ethernet/sfc/ptp.c
1872
ts_info->so_timestamping |= (SOF_TIMESTAMPING_TX_HARDWARE |
drivers/net/ethernet/sfc/ptp.c
1883
ts_info->so_timestamping &=
drivers/net/ethernet/sfc/siena/ptp.c
1793
ts_info->so_timestamping |= (SOF_TIMESTAMPING_TX_HARDWARE |
drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c
1010
info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE |
drivers/net/ethernet/ti/am65-cpsw-ethtool.c
712
info->so_timestamping =
drivers/net/ethernet/ti/cpsw_ethtool.c
709
info->so_timestamping =
drivers/net/ethernet/ti/cpsw_ethtool.c
726
info->so_timestamping =
drivers/net/ethernet/ti/icssg/icssg_ethtool.c
125
info->so_timestamping =
drivers/net/ethernet/ti/netcp_ethss.c
2011
info->so_timestamping =
drivers/net/ethernet/ti/netcp_ethss.c
2030
info->so_timestamping =
drivers/net/ethernet/wangxun/libwx/wx_ethtool.c
699
info->so_timestamping = SOF_TIMESTAMPING_TX_SOFTWARE |
drivers/net/ethernet/xscale/ixp4xx_eth.c
1020
info->so_timestamping =
drivers/net/ethernet/xscale/ixp4xx_eth.c
1024
info->so_timestamping =
drivers/net/phy/bcm-phy-ptp.c
860
ts_info->so_timestamping =
drivers/net/phy/dp83640.c
1383
info->so_timestamping =
drivers/net/phy/micrel.c
3138
info->so_timestamping = SOF_TIMESTAMPING_TX_HARDWARE |
drivers/net/phy/micrel.c
5023
info->so_timestamping = SOF_TIMESTAMPING_TX_HARDWARE |
drivers/net/phy/microchip_rds_ptp.c
626
info->so_timestamping = SOF_TIMESTAMPING_TX_HARDWARE |
drivers/net/phy/mscc/mscc_ptp.c
1159
info->so_timestamping =
drivers/net/phy/nxp-c45-tja11xx.c
1087
ts_info->so_timestamping = SOF_TIMESTAMPING_TX_HARDWARE |
drivers/ptp/ptp_ines.c
583
info->so_timestamping =
include/linux/ethtool.h
906
u32 so_timestamping;
include/net/sock.h
3110
struct so_timestamping timestamping);
include/uapi/linux/ethtool.h
1738
__u32 so_timestamping;
net/bluetooth/af_bluetooth.c
592
info.so_timestamping = ts_info.so_timestamping;
net/bluetooth/hci_conn.c
3283
info->so_timestamping =
net/bluetooth/hci_conn.c
3293
info->so_timestamping |= SOF_TIMESTAMPING_TX_SOFTWARE;
net/bluetooth/hci_conn.c
3294
info->so_timestamping |= SOF_TIMESTAMPING_TX_COMPLETION;
net/bluetooth/hci_conn.c
3297
info->so_timestamping |= SOF_TIMESTAMPING_TX_SOFTWARE;
net/bluetooth/hci_conn.c
3299
info->so_timestamping |= SOF_TIMESTAMPING_TX_COMPLETION;
net/core/sock.c
1196
struct so_timestamping timestamping;
net/core/sock.c
1739
struct so_timestamping timestamping;
net/core/sock.c
900
struct so_timestamping timestamping)
net/ethtool/common.c
1059
info->so_timestamping |= SOF_TIMESTAMPING_RX_SOFTWARE |
net/ethtool/common.c
1095
info->so_timestamping |= SOF_TIMESTAMPING_RX_SOFTWARE |
net/ethtool/ioctl.c
2829
info.so_timestamping = kernel_info.so_timestamping;
net/ethtool/ioctl.c
72
info->so_timestamping =
net/ethtool/tsinfo.c
134
if (ts_info->so_timestamping) {
net/ethtool/tsinfo.c
135
ret = ethnl_bitset32_size(&ts_info->so_timestamping, NULL,
net/ethtool/tsinfo.c
221
if (ts_info->so_timestamping) {
net/ethtool/tsinfo.c
223
&ts_info->so_timestamping, NULL,
net/ethtool/tsinfo.c
324
reply_data->ts_info.so_timestamping |= SOF_TIMESTAMPING_RX_SOFTWARE |
net/mptcp/sockopt.c
212
struct so_timestamping timestamping;
tools/testing/selftests/net/rxtimestamp.c
103
{ .so_timestamping = SOF_TIMESTAMPING_RAW_HARDWARE
tools/testing/selftests/net/rxtimestamp.c
108
{ .so_timestamping = SOF_TIMESTAMPING_SOFTWARE
tools/testing/selftests/net/rxtimestamp.c
113
{ .so_timestamping = SOF_TIMESTAMPING_SOFTWARE
tools/testing/selftests/net/rxtimestamp.c
119
{ .so_timestamping = SOF_TIMESTAMPING_SOFTWARE
tools/testing/selftests/net/rxtimestamp.c
124
{ .so_timestamp = 1, .so_timestamping = SOF_TIMESTAMPING_SOFTWARE
tools/testing/selftests/net/rxtimestamp.c
155
if (t->sockopt.so_timestamping) {
tools/testing/selftests/net/rxtimestamp.c
158
if (t->sockopt.so_timestamping & sof_flags[f].mask)
tools/testing/selftests/net/rxtimestamp.c
26
int so_timestamping;
tools/testing/selftests/net/rxtimestamp.c
289
if (o.so_timestamping &&
tools/testing/selftests/net/rxtimestamp.c
291
&o.so_timestamping, sizeof(o.so_timestamping)) < 0)
tools/testing/selftests/net/rxtimestamp.c
85
{ .so_timestamping = SOF_TIMESTAMPING_RX_SOFTWARE },
tools/testing/selftests/net/rxtimestamp.c
90
{ .so_timestamping = SOF_TIMESTAMPING_RX_HARDWARE },
tools/testing/selftests/net/rxtimestamp.c
94
{ .so_timestamping = SOF_TIMESTAMPING_SOFTWARE },
tools/testing/selftests/net/rxtimestamp.c
98
{ .so_timestamping = SOF_TIMESTAMPING_RX_SOFTWARE
tools/testing/selftests/net/timestamping.c
328
struct so_timestamping so_timestamping_get = { 0, 0 };
tools/testing/selftests/net/timestamping.c
329
struct so_timestamping so_timestamping = { 0, 0 };
tools/testing/selftests/net/timestamping.c
347
if (argc >= 3 && sscanf(argv[2], "%d", &so_timestamping.bind_phc) == 1)
tools/testing/selftests/net/timestamping.c
366
so_timestamping.flags |= SOF_TIMESTAMPING_TX_HARDWARE;
tools/testing/selftests/net/timestamping.c
368
so_timestamping.flags |= SOF_TIMESTAMPING_TX_SOFTWARE;
tools/testing/selftests/net/timestamping.c
370
so_timestamping.flags |= SOF_TIMESTAMPING_RX_HARDWARE;
tools/testing/selftests/net/timestamping.c
372
so_timestamping.flags |= SOF_TIMESTAMPING_RX_SOFTWARE;
tools/testing/selftests/net/timestamping.c
374
so_timestamping.flags |= SOF_TIMESTAMPING_SOFTWARE;
tools/testing/selftests/net/timestamping.c
376
so_timestamping.flags |= SOF_TIMESTAMPING_RAW_HARDWARE;
tools/testing/selftests/net/timestamping.c
378
so_timestamping.flags |= SOF_TIMESTAMPING_BIND_PHC;
tools/testing/selftests/net/timestamping.c
397
(so_timestamping.flags & SOF_TIMESTAMPING_TX_HARDWARE) ?
tools/testing/selftests/net/timestamping.c
400
(so_timestamping.flags & SOF_TIMESTAMPING_RX_HARDWARE) ?
tools/testing/selftests/net/timestamping.c
459
if (so_timestamping.flags &&
tools/testing/selftests/net/timestamping.c
460
setsockopt(sock, SOL_SOCKET, SO_TIMESTAMPING, &so_timestamping,
tools/testing/selftests/net/timestamping.c
461
sizeof(so_timestamping)) < 0)
tools/testing/selftests/net/timestamping.c
490
if (so_timestamping_get.flags != so_timestamping.flags ||
tools/testing/selftests/net/timestamping.c
491
so_timestamping_get.bind_phc != so_timestamping.bind_phc)
tools/testing/selftests/net/timestamping.c
493
so_timestamping.flags, so_timestamping.bind_phc);