hwtstamp 1186 drivers/net/can/kvaser_pciefd.c shhwtstamps->hwtstamp = hwtstamp 1293 drivers/net/can/kvaser_pciefd.c shhwtstamps->hwtstamp = hwtstamp 1367 drivers/net/can/kvaser_pciefd.c shhwtstamps->hwtstamp = hwtstamp 988 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c ktime_t hwtstamp) hwtstamp 1045 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c shhwtstamps->hwtstamp = hwtstamp; hwtstamp 1145 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c ktime_t hwtstamp; hwtstamp 1154 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c hwtstamp = kvaser_usb_hydra_ktime_from_rx_cmd(dev->cfg, cmd); hwtstamp 1158 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c hwtstamp); hwtstamp 1169 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c shhwtstamps->hwtstamp = hwtstamp; hwtstamp 1207 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c ktime_t hwtstamp; hwtstamp 1220 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c hwtstamp = kvaser_usb_hydra_ktime_from_rx_cmd(dev->cfg, std_cmd); hwtstamp 1224 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c hwtstamp); hwtstamp 1239 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c shhwtstamps->hwtstamp = hwtstamp; hwtstamp 526 drivers/net/can/usb/peak_usb/pcan_usb.c &hwts->hwtstamp); hwtstamp 666 drivers/net/can/usb/peak_usb/pcan_usb.c peak_usb_get_ts_time(&mc->pdev->time_ref, mc->ts16, &hwts->hwtstamp); hwtstamp 157 drivers/net/can/usb/peak_usb/pcan_usb_core.c peak_usb_get_ts_time(time_ref, ts_low, &hwts->hwtstamp); hwtstamp 547 drivers/net/can/usb/peak_usb/pcan_usb_pro.c &hwts->hwtstamp); hwtstamp 663 drivers/net/can/usb/peak_usb/pcan_usb_pro.c peak_usb_get_ts_time(&usb_if->time_ref, le32_to_cpu(er->ts32), &hwts->hwtstamp); hwtstamp 335 drivers/net/dsa/mv88e6xxx/hwtstamp.c shwt->hwtstamp = ns_to_ktime(ns); hwtstamp 453 drivers/net/dsa/mv88e6xxx/hwtstamp.c shhwtstamps.hwtstamp = ns_to_ktime(ns); hwtstamp 457 drivers/net/dsa/mv88e6xxx/hwtstamp.c ps->port_id, ktime_to_ns(shhwtstamps.hwtstamp), hwtstamp 1870 drivers/net/dsa/sja1105/sja1105_main.c shwt.hwtstamp = ns_to_ktime(ts); hwtstamp 2027 drivers/net/dsa/sja1105/sja1105_main.c shwt->hwtstamp = ns_to_ktime(ts); hwtstamp 1554 drivers/net/ethernet/amd/xgbe/xgbe-drv.c hwtstamps.hwtstamp = ns_to_ktime(nsec); hwtstamp 2841 drivers/net/ethernet/amd/xgbe/xgbe-drv.c hwtstamps->hwtstamp = ns_to_ktime(nsec); hwtstamp 15262 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c shhwtstamps.hwtstamp = ns_to_ktime(ns); hwtstamp 15295 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c skb_hwtstamps(skb)->hwtstamp = ns_to_ktime(ns); hwtstamp 6357 drivers/net/ethernet/broadcom/tg3.c timestamp->hwtstamp = ns_to_ktime((hwclock & TG3_TSTAMP_MASK) + hwtstamp 280 drivers/net/ethernet/cadence/macb_ptp.c shhwtstamps->hwtstamp = ktime_set(ts.tv_sec, ts.tv_nsec); hwtstamp 292 drivers/net/ethernet/cadence/macb_ptp.c shhwtstamps.hwtstamp = ktime_set(ts.tv_sec, ts.tv_nsec); hwtstamp 642 drivers/net/ethernet/cavium/liquidio/lio_core.c shhwtstamps->hwtstamp = hwtstamp 2247 drivers/net/ethernet/cavium/liquidio/lio_main.c ts.hwtstamp = ns_to_ktime(ns + lio->ptp_adjust); hwtstamp 1336 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c ts.hwtstamp = ns_to_ktime(ns + lio->ptp_adjust); hwtstamp 300 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c ts.hwtstamp = ns_to_ktime(ns); hwtstamp 410 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c ts->hwtstamp = ns_to_ktime(ns); hwtstamp 647 drivers/net/ethernet/cavium/thunder/nicvf_main.c ts.hwtstamp = ns_to_ktime(ns); hwtstamp 768 drivers/net/ethernet/cavium/thunder/nicvf_main.c skb_hwtstamps(skb)->hwtstamp = ns_to_ktime(ns); hwtstamp 112 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c skb_ts->hwtstamp = ns_to_ktime(tx_ts); hwtstamp 2736 drivers/net/ethernet/chelsio/cxgb4/sge.c hwtstamps->hwtstamp = ns_to_ktime(ns); hwtstamp 2819 drivers/net/ethernet/chelsio/cxgb4/sge.c hwtstamps->hwtstamp = ns_to_ktime(be64_to_cpu(*((u64 *)data))); hwtstamp 1659 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c shhwtstamps.hwtstamp = ns_to_ktime(ns); hwtstamp 2343 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c shhwtstamps->hwtstamp = ns_to_ktime(ns); hwtstamp 423 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c shhwtstamps->hwtstamp = ns_to_ktime(ns); hwtstamp 737 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c shhwtstamps.hwtstamp = ns_to_ktime(ns); hwtstamp 326 drivers/net/ethernet/freescale/enetc/enetc.c shhwtstamps.hwtstamp = ns_to_ktime(tstamp); hwtstamp 499 drivers/net/ethernet/freescale/enetc/enetc.c shhwtstamps->hwtstamp = ns_to_ktime(tstamp); hwtstamp 1238 drivers/net/ethernet/freescale/fec_main.c hwtstamps->hwtstamp = ns_to_ktime(ns); hwtstamp 2247 drivers/net/ethernet/freescale/gianfar.c shhwtstamps.hwtstamp = ns_to_ktime(be64_to_cpu(*ns)); hwtstamp 2506 drivers/net/ethernet/freescale/gianfar.c shhwtstamps->hwtstamp = ns_to_ktime(be64_to_cpu(*ns)); hwtstamp 506 drivers/net/ethernet/intel/e1000e/netdev.c hwtstamps->hwtstamp = ns_to_ktime(ns); hwtstamp 90 drivers/net/ethernet/intel/i40e/i40e_ptp.c hwtstamps->hwtstamp = ns_to_ktime(timestamp); hwtstamp 179 drivers/net/ethernet/intel/igb/igb_ptp.c hwtstamps->hwtstamp = ns_to_ktime(ns); hwtstamp 185 drivers/net/ethernet/intel/igb/igb_ptp.c hwtstamps->hwtstamp = ktime_set(systim >> 32, hwtstamp 843 drivers/net/ethernet/intel/igb/igb_ptp.c shhwtstamps.hwtstamp = hwtstamp 844 drivers/net/ethernet/intel/igb/igb_ptp.c ktime_add_ns(shhwtstamps.hwtstamp, adjust); hwtstamp 897 drivers/net/ethernet/intel/igb/igb_ptp.c skb_hwtstamps(skb)->hwtstamp = hwtstamp 898 drivers/net/ethernet/intel/igb/igb_ptp.c ktime_sub_ns(skb_hwtstamps(skb)->hwtstamp, adjust); hwtstamp 949 drivers/net/ethernet/intel/igb/igb_ptp.c skb_hwtstamps(skb)->hwtstamp = hwtstamp 950 drivers/net/ethernet/intel/igb/igb_ptp.c ktime_sub_ns(skb_hwtstamps(skb)->hwtstamp, adjust); hwtstamp 394 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c struct skb_shared_hwtstamps *hwtstamp, hwtstamp 401 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c memset(hwtstamp, 0, sizeof(*hwtstamp)); hwtstamp 433 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c hwtstamp->hwtstamp = ns_to_ktime(ns); hwtstamp 74 drivers/net/ethernet/mellanox/mlx4/en_clock.c hwts->hwtstamp = ns_to_ktime(nsec); hwtstamp 1003 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c skb_hwtstamps(skb)->hwtstamp = hwtstamp 1492 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c skb_hwtstamps(skb)->hwtstamp = hwtstamp 494 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c hwts.hwtstamp = hwtstamp 466 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c hwtstamps.hwtstamp = ns_to_ktime(nsec); hwtstamp 2145 drivers/net/ethernet/microchip/lan743x_main.c hwtstamps->hwtstamp = ktime_set(ts_sec, ts_nsec); hwtstamp 108 drivers/net/ethernet/microchip/lan743x_ptp.c tstamps.hwtstamp = ktime_set(seconds, nseconds); hwtstamp 172 drivers/net/ethernet/mscc/ocelot_board.c shhwtstamps->hwtstamp = full_ts_in_ns; hwtstamp 245 drivers/net/ethernet/mscc/ocelot_board.c shhwtstamps.hwtstamp = ktime_set(ts.tv_sec, ts.tv_nsec); hwtstamp 505 drivers/net/ethernet/neterion/vxge/vxge-main.c skb_hwts->hwtstamp = ns_to_ktime(ns); hwtstamp 164 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c shhwtstamps->hwtstamp = ns_to_ktime(ns); hwtstamp 204 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c shhwtstamps.hwtstamp = ns_to_ktime(ns); hwtstamp 194 drivers/net/ethernet/qlogic/qede/qede_ptp.c shhwtstamps.hwtstamp = ns_to_ktime(ns); hwtstamp 577 drivers/net/ethernet/qlogic/qede/qede_ptp.c skb_hwtstamps(skb)->hwtstamp = ns_to_ktime(ns); hwtstamp 498 drivers/net/ethernet/renesas/ravb_main.c shhwtstamps.hwtstamp = timespec64_to_ktime(ts); hwtstamp 597 drivers/net/ethernet/renesas/ravb_main.c shhwtstamps->hwtstamp = timespec64_to_ktime(ts); hwtstamp 1137 drivers/net/ethernet/sfc/ptp.c timestamps.hwtstamp = ptp_data->nic_to_kernel_time( hwtstamp 1211 drivers/net/ethernet/sfc/ptp.c timestamps->hwtstamp = evt->hwtimestamp; hwtstamp 2055 drivers/net/ethernet/sfc/ptp.c timestamps->hwtstamp = hwtstamp 85 drivers/net/ethernet/sfc/tx.c struct skb_shared_hwtstamps hwtstamp; hwtstamp 87 drivers/net/ethernet/sfc/tx.c hwtstamp.hwtstamp = hwtstamp 89 drivers/net/ethernet/sfc/tx.c skb_tstamp_tx(skb, &hwtstamp); hwtstamp 456 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c shhwtstamp.hwtstamp = ns_to_ktime(ns); hwtstamp 492 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c shhwtstamp->hwtstamp = ns_to_ktime(ns); hwtstamp 118 drivers/net/ethernet/ti/cpts.c ssh.hwtstamp = ns_to_ktime(ns); hwtstamp 427 drivers/net/ethernet/ti/cpts.c ssh->hwtstamp = ns_to_ktime(ns); hwtstamp 442 drivers/net/ethernet/ti/cpts.c ssh.hwtstamp = ns_to_ktime(ns); hwtstamp 2832 drivers/net/ethernet/ti/netcp_ethss.c if (!phy || !phy->drv->hwtstamp) { hwtstamp 317 drivers/net/ethernet/xscale/ixp4xx_eth.c shhwtstamps->hwtstamp = ns_to_ktime(ns); hwtstamp 362 drivers/net/ethernet/xscale/ixp4xx_eth.c shhwtstamps.hwtstamp = ns_to_ktime(ns); hwtstamp 884 drivers/net/phy/dp83640.c shhwtstamps->hwtstamp = ns_to_ktime(rxts->ns); hwtstamp 934 drivers/net/phy/dp83640.c shhwtstamps.hwtstamp = ns_to_ktime(ns); hwtstamp 1460 drivers/net/phy/dp83640.c shhwtstamps->hwtstamp = ns_to_ktime(rxts->ns); hwtstamp 1541 drivers/net/phy/dp83640.c .hwtstamp = dp83640_hwtstamp, hwtstamp 484 drivers/net/phy/phy.c if (phydev->drv && phydev->drv->hwtstamp) hwtstamp 485 drivers/net/phy/phy.c return phydev->drv->hwtstamp(phydev, ifr); hwtstamp 549 include/linux/phy.h int (*hwtstamp)(struct phy_device *phydev, struct ifreq *ifr); hwtstamp 417 include/linux/skbuff.h ktime_t hwtstamp; hwtstamp 2385 include/net/sock.h (hwtstamps->hwtstamp && hwtstamp 1857 net/ipv4/tcp.c if (skb_hwtstamps(skb)->hwtstamp) hwtstamp 1858 net/ipv4/tcp.c tss->ts[2] = ktime_to_timespec64(skb_hwtstamps(skb)->hwtstamp); hwtstamp 4446 net/ipv4/tcp_input.c skb_hwtstamps(to)->hwtstamp = skb_hwtstamps(from)->hwtstamp; hwtstamp 1734 net/ipv4/tcp_ipv4.c skb_hwtstamps(tail)->hwtstamp = skb_hwtstamps(skb)->hwtstamp; hwtstamp 1801 net/ipv4/tcp_ipv4.c skb->tstamp || skb_hwtstamps(skb)->hwtstamp; hwtstamp 1476 net/ipv6/tcp_ipv6.c skb->tstamp || skb_hwtstamps(skb)->hwtstamp; hwtstamp 418 net/packet/af_packet.c ktime_to_timespec_cond(shhwtstamps->hwtstamp, ts)) hwtstamp 812 net/socket.c ktime_to_timespec64_cond(shhwtstamps->hwtstamp, tss.ts + 2)) { hwtstamp 144 net/tipc/trace.c ktime_to_ms(skb_hwtstamps(skb)->hwtstamp)); hwtstamp 33 tools/testing/selftests/networking/timestamping/rxtimestamp.c bool hwtstamp; hwtstamp 145 tools/testing/selftests/networking/timestamping/rxtimestamp.c if (t->expected.swtstamp || t->expected.hwtstamp) { hwtstamp 149 tools/testing/selftests/networking/timestamping/rxtimestamp.c if (t->expected.swtstamp && t->expected.hwtstamp) hwtstamp 151 tools/testing/selftests/networking/timestamping/rxtimestamp.c if (t->expected.hwtstamp) hwtstamp 220 tools/testing/selftests/networking/timestamping/rxtimestamp.c actual.hwtstamp = !!ts->ts[2].tv_sec; hwtstamp 242 tools/testing/selftests/networking/timestamping/rxtimestamp.c VALIDATE(hwtstamp); hwtstamp 308 tools/testing/selftests/networking/timestamping/timestamping.c struct ifreq hwtstamp; hwtstamp 357 tools/testing/selftests/networking/timestamping/timestamping.c memset(&hwtstamp, 0, sizeof(hwtstamp)); hwtstamp 358 tools/testing/selftests/networking/timestamping/timestamping.c strncpy(hwtstamp.ifr_name, interface, sizeof(hwtstamp.ifr_name)); hwtstamp 359 tools/testing/selftests/networking/timestamping/timestamping.c hwtstamp.ifr_data = (void *)&hwconfig; hwtstamp 368 tools/testing/selftests/networking/timestamping/timestamping.c if (ioctl(sock, SIOCSHWTSTAMP, &hwtstamp) < 0) {