/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
D | rxtimestamp.c | 33 bool hwtstamp; member 149 if (t->expected.swtstamp || t->expected.hwtstamp) { in print_test_case() 153 if (t->expected.swtstamp && t->expected.hwtstamp) in print_test_case() 155 if (t->expected.hwtstamp) in print_test_case() 224 actual.hwtstamp = !!ts->ts[2].tv_sec; in do_recv() 246 VALIDATE(hwtstamp); in do_recv()
|
D | timestamping.c | 308 struct ifreq hwtstamp; in main() local 363 memset(&hwtstamp, 0, sizeof(hwtstamp)); in main() 364 memcpy(hwtstamp.ifr_name, interface, if_len + 1); in main() 365 hwtstamp.ifr_data = (void *)&hwconfig; in main() 374 if (ioctl(sock, SIOCSHWTSTAMP, &hwtstamp) < 0) { in main()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/mvpp2/ |
D | mvpp2_tai.c | 346 struct skb_shared_hwtstamps *hwtstamp) in mvpp22_tai_tstamp() argument 367 memset(hwtstamp, 0, sizeof(*hwtstamp)); in mvpp22_tai_tstamp() 368 hwtstamp->hwtstamp = timespec64_to_ktime(ts); in mvpp22_tai_tstamp()
|
D | mvpp2.h | 1174 bool hwtstamp; member 1442 struct skb_shared_hwtstamps *hwtstamp); 1452 struct skb_shared_hwtstamps *hwtstamp) in mvpp22_tai_tstamp() argument
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/ |
D | igc_ptp.c | 146 hwtstamps->hwtstamp = ktime_set(systim >> 32, in igc_ptp_systim_to_hwtstamp() 204 skb_hwtstamps(skb)->hwtstamp = in igc_ptp_rx_pktstamp() 205 ktime_sub_ns(skb_hwtstamps(skb)->hwtstamp, adjust); in igc_ptp_rx_pktstamp() 392 shhwtstamps.hwtstamp = in igc_ptp_tx_hwtstamp() 393 ktime_add_ns(shhwtstamps.hwtstamp, adjust); in igc_ptp_tx_hwtstamp()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
D | tx_common.c | 171 struct skb_shared_hwtstamps hwtstamp; in efx_dequeue_buffer() local 173 hwtstamp.hwtstamp = in efx_dequeue_buffer() 175 skb_tstamp_tx(skb, &hwtstamp); in efx_dequeue_buffer()
|
/kernel/linux/linux-5.10/drivers/net/can/usb/kvaser_usb/ |
D | kvaser_usb_hydra.c | 1037 ktime_t hwtstamp) in kvaser_usb_hydra_error_frame() argument 1094 shhwtstamps->hwtstamp = hwtstamp; in kvaser_usb_hydra_error_frame() 1200 ktime_t hwtstamp; in kvaser_usb_hydra_rx_msg_std() local 1209 hwtstamp = kvaser_usb_hydra_ktime_from_rx_cmd(dev->cfg, cmd); in kvaser_usb_hydra_rx_msg_std() 1213 hwtstamp); in kvaser_usb_hydra_rx_msg_std() 1224 shhwtstamps->hwtstamp = hwtstamp; in kvaser_usb_hydra_rx_msg_std() 1262 ktime_t hwtstamp; in kvaser_usb_hydra_rx_msg_ext() local 1275 hwtstamp = kvaser_usb_hydra_ktime_from_rx_cmd(dev->cfg, std_cmd); in kvaser_usb_hydra_rx_msg_ext() 1279 hwtstamp); in kvaser_usb_hydra_rx_msg_ext() 1294 shhwtstamps->hwtstamp = hwtstamp; in kvaser_usb_hydra_rx_msg_ext()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/ |
D | igb_ptp.c | 179 hwtstamps->hwtstamp = ns_to_ktime(ns); in igb_ptp_systim_to_hwtstamp() 185 hwtstamps->hwtstamp = ktime_set(systim >> 32, in igb_ptp_systim_to_hwtstamp() 843 shhwtstamps.hwtstamp = in igb_ptp_tx_hwtstamp() 844 ktime_add_ns(shhwtstamps.hwtstamp, adjust); in igb_ptp_tx_hwtstamp() 910 skb_hwtstamps(skb)->hwtstamp = in igb_ptp_rx_pktstamp() 911 ktime_sub_ns(skb_hwtstamps(skb)->hwtstamp, adjust); in igb_ptp_rx_pktstamp() 966 skb_hwtstamps(skb)->hwtstamp = in igb_ptp_rx_rgtstamp() 967 ktime_sub_ns(skb_hwtstamps(skb)->hwtstamp, adjust); in igb_ptp_rx_rgtstamp()
|
/kernel/linux/linux-5.10/drivers/net/dsa/mv88e6xxx/ |
D | Makefile | 11 mv88e6xxx-$(CONFIG_NET_DSA_MV88E6XXX_PTP) += hwtstamp.o
|
D | hwtstamp.c | 305 shwt->hwtstamp = ns_to_ktime(ns); in mv88e6xxx_get_rxts() 423 shhwtstamps.hwtstamp = ns_to_ktime(ns); in mv88e6xxx_txtstamp_work() 427 ps->port_id, ktime_to_ns(shhwtstamps.hwtstamp), in mv88e6xxx_txtstamp_work()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_ptp.c | 359 struct skb_shared_hwtstamps *hwtstamp, in aq_ptp_convert_to_hwtstamp() argument 362 memset(hwtstamp, 0, sizeof(*hwtstamp)); in aq_ptp_convert_to_hwtstamp() 363 hwtstamp->hwtstamp = ns_to_ktime(timestamp); in aq_ptp_convert_to_hwtstamp() 539 struct skb_shared_hwtstamps hwtstamp; in aq_ptp_tx_hwtstamp() local 547 aq_ptp_convert_to_hwtstamp(aq_ptp, &hwtstamp, timestamp); in aq_ptp_tx_hwtstamp() 548 skb_tstamp_tx(skb, &hwtstamp); in aq_ptp_tx_hwtstamp()
|
/kernel/linux/linux-5.10/include/linux/ |
D | mii_timestamper.h | 53 int (*hwtstamp)(struct mii_timestamper *mii_ts, member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ptp.c | 394 struct skb_shared_hwtstamps *hwtstamp, in ixgbe_ptp_convert_to_hwtstamp() argument 401 memset(hwtstamp, 0, sizeof(*hwtstamp)); in ixgbe_ptp_convert_to_hwtstamp() 433 hwtstamp->hwtstamp = ns_to_ktime(ns); in ixgbe_ptp_convert_to_hwtstamp()
|
/kernel/linux/linux-5.10/drivers/ptp/ |
D | ptp_ines.c | 499 ssh->hwtstamp = ns_to_ktime(ns); in ines_rxtstamp() 671 ssh.hwtstamp = ns_to_ktime(ns); in ines_txtstamp_work() 727 port->mii_ts.hwtstamp = ines_hwtstamp; in ines_ptp_probe_channel()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/cadence/ |
D | macb_ptp.c | 286 shhwtstamps->hwtstamp = ktime_set(ts.tv_sec, ts.tv_nsec); in gem_ptp_rxstamp() 298 shhwtstamps.hwtstamp = ktime_set(ts.tv_sec, ts.tv_nsec); in gem_tstamp_tx()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/ |
D | qede_ptp.c | 169 shhwtstamps.hwtstamp = ns_to_ktime(ns); in qede_ptp_task() 548 skb_hwtstamps(skb)->hwtstamp = ns_to_ktime(ns); in qede_ptp_rx_ts()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
D | en_clock.c | 74 hwts->hwtstamp = ns_to_ktime(nsec); in mlx4_en_fill_hwtstamps()
|
/kernel/linux/linux-5.10/drivers/net/phy/ |
D | dp83640.c | 867 shhwtstamps->hwtstamp = ns_to_ktime(rxts->ns); in decode_rxts() 917 shhwtstamps.hwtstamp = ns_to_ktime(ns); in decode_txts() 1340 shhwtstamps->hwtstamp = ns_to_ktime(rxts->ns); in dp83640_rxtstamp() 1432 dp83640->mii_ts.hwtstamp = dp83640_hwtstamp; in dp83640_probe()
|
/kernel/linux/linux-5.10/net/tipc/ |
D | trace.c | 144 ktime_to_ms(skb_hwtstamps(skb)->hwtstamp)); in tipc_skb_dump()
|
/kernel/linux/linux-5.10/drivers/net/can/usb/peak_usb/ |
D | pcan_usb.c | 596 &hwts->hwtstamp); in pcan_usb_decode_error() 762 peak_usb_get_ts_time(&mc->pdev->time_ref, mc->ts16, &hwts->hwtstamp); in pcan_usb_decode_data()
|
D | pcan_usb_pro.c | 547 &hwts->hwtstamp); in pcan_usb_pro_handle_canmsg() 663 peak_usb_get_ts_time(&usb_if->time_ref, le32_to_cpu(er->ts32), &hwts->hwtstamp); in pcan_usb_pro_handle_error()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/ |
D | cpts.c | 352 ssh.hwtstamp = ns_to_ktime(event->timestamp); in cpts_match_tx_ts() 531 ssh->hwtstamp = ns_to_ktime(ns); in cpts_rx_timestamp()
|
/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/ |
D | sja1105_ptp.c | 403 shwt->hwtstamp = ns_to_ktime(sja1105_ticks_to_ns(ts)); in sja1105_rxtstamp_work() 923 shwt.hwtstamp = ns_to_ktime(sja1105_ticks_to_ns(ts)); in sja1105_ptp_txtstamp_skb()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_ptp.c | 112 skb_ts->hwtstamp = ns_to_ktime(tx_ts); in cxgb4_ptp_read_hwstamp()
|
/kernel/linux/linux-5.10/drivers/net/phy/mscc/ |
D | mscc_ptp.c | 478 shhwtstamps.hwtstamp = ktime_set(fifo.secs, fifo.ns); in vsc85xx_dequeue_skb() 1217 shhwtstamps->hwtstamp = ktime_set(ts.tv_sec, ns); in vsc85xx_rxtstamp() 1489 vsc8531->mii_ts.hwtstamp = vsc85xx_hwtstamp; in __vsc8584_init_ptp()
|