/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
|
/drivers/net/ethernet/intel/igc/ |
D | igc_ptp.c | 148 hwtstamps->hwtstamp = ktime_set(systim >> 32, in igc_ptp_systim_to_hwtstamp() 207 skb_hwtstamps(skb)->hwtstamp = in igc_ptp_rx_pktstamp() 208 ktime_sub_ns(skb_hwtstamps(skb)->hwtstamp, adjust); in igc_ptp_rx_pktstamp() 398 shhwtstamps.hwtstamp = in igc_ptp_tx_hwtstamp() 399 ktime_add_ns(shhwtstamps.hwtstamp, adjust); in igc_ptp_tx_hwtstamp()
|
/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()
|
D | ptp.c | 1166 timestamps.hwtstamp = ptp_data->nic_to_kernel_time( in efx_ptp_xmit_skb_mc() 1238 timestamps->hwtstamp = evt->hwtimestamp; in efx_ptp_match_rx() 2087 timestamps->hwtstamp = in __efx_rx_skb_attach_timestamp()
|
/drivers/net/can/usb/kvaser_usb/ |
D | kvaser_usb_hydra.c | 1042 ktime_t hwtstamp) in kvaser_usb_hydra_error_frame() argument 1099 shhwtstamps->hwtstamp = hwtstamp; in kvaser_usb_hydra_error_frame() 1205 ktime_t hwtstamp; in kvaser_usb_hydra_rx_msg_std() local 1214 hwtstamp = kvaser_usb_hydra_ktime_from_rx_cmd(dev->cfg, cmd); in kvaser_usb_hydra_rx_msg_std() 1218 hwtstamp); in kvaser_usb_hydra_rx_msg_std() 1229 shhwtstamps->hwtstamp = hwtstamp; in kvaser_usb_hydra_rx_msg_std() 1267 ktime_t hwtstamp; in kvaser_usb_hydra_rx_msg_ext() local 1280 hwtstamp = kvaser_usb_hydra_ktime_from_rx_cmd(dev->cfg, std_cmd); in kvaser_usb_hydra_rx_msg_ext() 1284 hwtstamp); in kvaser_usb_hydra_rx_msg_ext() 1299 shhwtstamps->hwtstamp = hwtstamp; in kvaser_usb_hydra_rx_msg_ext()
|
/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()
|
/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()
|
/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()
|
/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()
|
/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()
|
/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()
|
/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()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | en_clock.c | 74 hwts->hwtstamp = ns_to_ktime(nsec); in mlx4_en_fill_hwtstamps()
|
/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()
|
D | phy.c | 402 if (phydev->mii_ts && phydev->mii_ts->hwtstamp) in phy_mii_ioctl() 403 return phydev->mii_ts->hwtstamp(phydev->mii_ts, ifr); in phy_mii_ioctl()
|
/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()
|
/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()
|
/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()
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_ptp.c | 112 skb_ts->hwtstamp = ns_to_ktime(tx_ts); in cxgb4_ptp_read_hwstamp()
|
/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()
|
/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_txrx.c | 107 ts.hwtstamp = ns_to_ktime(tsns); in otx2_snd_pkt_handler() 134 skb_hwtstamps(skb)->hwtstamp = ns_to_ktime(tsns); in otx2_set_rxtstamp()
|
/drivers/net/can/ |
D | kvaser_pciefd.c | 1212 shhwtstamps->hwtstamp = in kvaser_pciefd_handle_data_packet() 1322 shhwtstamps->hwtstamp = in kvaser_pciefd_rx_error_frame() 1396 shhwtstamps->hwtstamp = in kvaser_pciefd_handle_status_resp()
|