Home
last modified time | relevance | path

Searched refs:hwtstamp (Results 1 – 25 of 59) sorted by relevance

123

/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_tai.c346 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()
Dmvpp2.h1174 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/
Digc_ptp.c148 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/
Dtx_common.c171 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()
Dptp.c1166 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/
Dkvaser_usb_hydra.c1042 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/
Digb_ptp.c179 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/
Daq_ptp.c359 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/
DMakefile11 mv88e6xxx-$(CONFIG_NET_DSA_MV88E6XXX_PTP) += hwtstamp.o
Dhwtstamp.c305 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/
Dixgbe_ptp.c394 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/
Dptp_ines.c499 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/
Dqede_ptp.c169 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/
Dmacb_ptp.c286 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/
Den_clock.c74 hwts->hwtstamp = ns_to_ktime(nsec); in mlx4_en_fill_hwtstamps()
/drivers/net/phy/
Ddp83640.c867 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()
Dphy.c402 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/
Dpcan_usb.c596 &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()
Dpcan_usb_pro.c547 &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/
Dsja1105_ptp.c403 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/
Dcpts.c352 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/
Dcxgb4_ptp.c112 skb_ts->hwtstamp = ns_to_ktime(tx_ts); in cxgb4_ptp_read_hwstamp()
/drivers/net/phy/mscc/
Dmscc_ptp.c478 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/
Dotx2_txrx.c107 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/
Dkvaser_pciefd.c1212 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()

123