Home
last modified time | relevance | path

Searched refs:shhwtstamps (Results 1 – 25 of 30) sorted by relevance

12

/linux/drivers/net/ethernet/cadence/
A Dmacb_ptp.c277 struct skb_shared_hwtstamps *shhwtstamps = skb_hwtstamps(skb); in gem_ptp_rxstamp() local
290 memset(shhwtstamps, 0, sizeof(struct skb_shared_hwtstamps)); in gem_ptp_rxstamp()
291 shhwtstamps->hwtstamp = ktime_set(ts.tv_sec, ts.tv_nsec); in gem_ptp_rxstamp()
298 struct skb_shared_hwtstamps shhwtstamps; in gem_tstamp_tx() local
302 memset(&shhwtstamps, 0, sizeof(shhwtstamps)); in gem_tstamp_tx()
303 shhwtstamps.hwtstamp = ktime_set(ts.tv_sec, ts.tv_nsec); in gem_tstamp_tx()
304 skb_tstamp_tx(skb, &shhwtstamps); in gem_tstamp_tx()
/linux/drivers/net/phy/
A Ddp83640.c874 shhwtstamps = skb_hwtstamps(skb); in decode_rxts()
875 memset(shhwtstamps, 0, sizeof(*shhwtstamps)); in decode_rxts()
883 if (!shhwtstamps) in decode_rxts()
888 if (shhwtstamps) in decode_rxts()
895 struct skb_shared_hwtstamps shhwtstamps; in decode_txts() local
925 memset(&shhwtstamps, 0, sizeof(shhwtstamps)); in decode_txts()
926 shhwtstamps.hwtstamp = ns_to_ktime(ns); in decode_txts()
927 skb_complete_tx_timestamp(skb, &shhwtstamps); in decode_txts()
1370 shhwtstamps = skb_hwtstamps(skb); in dp83640_rxtstamp()
1371 memset(shhwtstamps, 0, sizeof(*shhwtstamps)); in dp83640_rxtstamp()
[all …]
A Dnxp-c45-tja11xx.c376 struct skb_shared_hwtstamps shhwtstamps; in nxp_c45_process_txts() local
397 memset(&shhwtstamps, 0, sizeof(shhwtstamps)); in nxp_c45_process_txts()
399 shhwtstamps.hwtstamp = ns_to_ktime(ts_ns); in nxp_c45_process_txts()
400 skb_complete_tx_timestamp(skb_match, &shhwtstamps); in nxp_c45_process_txts()
/linux/drivers/net/dsa/hirschmann/
A Dhellcreek_hwtstamp.c220 struct skb_shared_hwtstamps shhwtstamps; in hellcreek_txtstamp_work() local
271 memset(&shhwtstamps, 0, sizeof(shhwtstamps)); in hellcreek_txtstamp_work()
272 shhwtstamps.hwtstamp = ns_to_ktime(ns); in hellcreek_txtstamp_work()
284 skb_complete_tx_timestamp(tmp_skb, &shhwtstamps); in hellcreek_txtstamp_work()
/linux/drivers/net/dsa/mv88e6xxx/
A Dhwtstamp.c368 struct skb_shared_hwtstamps shhwtstamps; in mv88e6xxx_txtstamp_work() local
418 memset(&shhwtstamps, 0, sizeof(shhwtstamps)); in mv88e6xxx_txtstamp_work()
423 shhwtstamps.hwtstamp = ns_to_ktime(ns); in mv88e6xxx_txtstamp_work()
427 ps->port_id, ktime_to_ns(shhwtstamps.hwtstamp), in mv88e6xxx_txtstamp_work()
438 skb_complete_tx_timestamp(tmp_skb, &shhwtstamps); in mv88e6xxx_txtstamp_work()
/linux/drivers/net/ethernet/qlogic/qede/
A Dqede_ptp.c136 struct skb_shared_hwtstamps shhwtstamps; in qede_ptp_task() local
168 memset(&shhwtstamps, 0, sizeof(shhwtstamps)); in qede_ptp_task()
169 shhwtstamps.hwtstamp = ns_to_ktime(ns); in qede_ptp_task()
170 skb_tstamp_tx(ptp->tx_skb, &shhwtstamps); in qede_ptp_task()
/linux/drivers/net/ethernet/xscale/
A Dixp4xx_eth.c288 struct skb_shared_hwtstamps *shhwtstamps; in ixp_rx_timestamp() local
321 shhwtstamps = skb_hwtstamps(skb); in ixp_rx_timestamp()
322 memset(shhwtstamps, 0, sizeof(*shhwtstamps)); in ixp_rx_timestamp()
323 shhwtstamps->hwtstamp = ns_to_ktime(ns); in ixp_rx_timestamp()
330 struct skb_shared_hwtstamps shhwtstamps; in ixp_tx_timestamp() local
367 memset(&shhwtstamps, 0, sizeof(shhwtstamps)); in ixp_tx_timestamp()
368 shhwtstamps.hwtstamp = ns_to_ktime(ns); in ixp_tx_timestamp()
369 skb_tstamp_tx(skb, &shhwtstamps); in ixp_tx_timestamp()
/linux/drivers/net/phy/mscc/
A Dmscc_ptp.c430 struct skb_shared_hwtstamps shhwtstamps; in vsc85xx_dequeue_skb() local
477 memset(&shhwtstamps, 0, sizeof(shhwtstamps)); in vsc85xx_dequeue_skb()
478 shhwtstamps.hwtstamp = ktime_set(fifo.secs, fifo.ns); in vsc85xx_dequeue_skb()
479 skb_complete_tx_timestamp(skb, &shhwtstamps); in vsc85xx_dequeue_skb()
1190 struct skb_shared_hwtstamps *shhwtstamps = NULL; in vsc85xx_rxtstamp() local
1208 shhwtstamps = skb_hwtstamps(skb); in vsc85xx_rxtstamp()
1209 memset(shhwtstamps, 0, sizeof(struct skb_shared_hwtstamps)); in vsc85xx_rxtstamp()
1217 shhwtstamps->hwtstamp = ktime_set(ts.tv_sec, ns); in vsc85xx_rxtstamp()
/linux/drivers/net/ethernet/intel/igc/
A Digc_ptp.c648 struct skb_shared_hwtstamps shhwtstamps; in igc_ptp_tx_hwtstamp() local
658 igc_ptp_systim_to_hwtstamp(adapter, &shhwtstamps, regval); in igc_ptp_tx_hwtstamp()
675 shhwtstamps.hwtstamp = in igc_ptp_tx_hwtstamp()
676 ktime_add_ns(shhwtstamps.hwtstamp, adjust); in igc_ptp_tx_hwtstamp()
687 skb_tstamp_tx(skb, &shhwtstamps); in igc_ptp_tx_hwtstamp()
/linux/drivers/net/can/usb/kvaser_usb/
A Dkvaser_usb_hydra.c1020 struct skb_shared_hwtstamps *shhwtstamps; in kvaser_usb_hydra_error_frame() local
1070 shhwtstamps = skb_hwtstamps(skb); in kvaser_usb_hydra_error_frame()
1071 shhwtstamps->hwtstamp = hwtstamp; in kvaser_usb_hydra_error_frame()
1168 struct skb_shared_hwtstamps *shhwtstamps; in kvaser_usb_hydra_rx_msg_std() local
1194 shhwtstamps = skb_hwtstamps(skb); in kvaser_usb_hydra_rx_msg_std()
1195 shhwtstamps->hwtstamp = hwtstamp; in kvaser_usb_hydra_rx_msg_std()
1228 struct skb_shared_hwtstamps *shhwtstamps; in kvaser_usb_hydra_rx_msg_ext() local
1264 shhwtstamps = skb_hwtstamps(skb); in kvaser_usb_hydra_rx_msg_ext()
1265 shhwtstamps->hwtstamp = hwtstamp; in kvaser_usb_hydra_rx_msg_ext()
/linux/drivers/net/can/
A Dkvaser_pciefd.c1153 struct skb_shared_hwtstamps *shhwtstamps; in kvaser_pciefd_handle_data_packet() local
1193 shhwtstamps = skb_hwtstamps(skb); in kvaser_pciefd_handle_data_packet()
1195 shhwtstamps->hwtstamp = in kvaser_pciefd_handle_data_packet()
1263 struct skb_shared_hwtstamps *shhwtstamps; in kvaser_pciefd_rx_error_frame() local
1304 shhwtstamps = skb_hwtstamps(skb); in kvaser_pciefd_rx_error_frame()
1305 shhwtstamps->hwtstamp = in kvaser_pciefd_rx_error_frame()
1358 struct skb_shared_hwtstamps *shhwtstamps; in kvaser_pciefd_handle_status_resp() local
1378 shhwtstamps = skb_hwtstamps(skb); in kvaser_pciefd_handle_status_resp()
1379 shhwtstamps->hwtstamp = in kvaser_pciefd_handle_status_resp()
/linux/drivers/net/ethernet/oki-semi/pch_gbe/
A Dpch_gbe_main.c131 struct skb_shared_hwtstamps *shhwtstamps; in pch_rx_timestamp() local
155 shhwtstamps = skb_hwtstamps(skb); in pch_rx_timestamp()
156 memset(shhwtstamps, 0, sizeof(*shhwtstamps)); in pch_rx_timestamp()
157 shhwtstamps->hwtstamp = ns_to_ktime(ns); in pch_rx_timestamp()
165 struct skb_shared_hwtstamps shhwtstamps; in pch_tx_timestamp() local
196 memset(&shhwtstamps, 0, sizeof(shhwtstamps)); in pch_tx_timestamp()
197 shhwtstamps.hwtstamp = ns_to_ktime(ns); in pch_tx_timestamp()
198 skb_tstamp_tx(skb, &shhwtstamps); in pch_tx_timestamp()
/linux/drivers/net/ethernet/intel/igb/
A Digb_ptp.c820 struct skb_shared_hwtstamps shhwtstamps; in igb_ptp_tx_hwtstamp() local
827 igb_ptp_systim_to_hwtstamp(adapter, &shhwtstamps, regval); in igb_ptp_tx_hwtstamp()
843 shhwtstamps.hwtstamp = in igb_ptp_tx_hwtstamp()
844 ktime_add_ns(shhwtstamps.hwtstamp, adjust); in igb_ptp_tx_hwtstamp()
855 skb_tstamp_tx(skb, &shhwtstamps); in igb_ptp_tx_hwtstamp()
/linux/drivers/net/ethernet/mscc/
A Docelot.c849 struct skb_shared_hwtstamps shhwtstamps; in ocelot_get_txtstamp() local
904 memset(&shhwtstamps, 0, sizeof(shhwtstamps)); in ocelot_get_txtstamp()
905 shhwtstamps.hwtstamp = ktime_set(ts.tv_sec, ts.tv_nsec); in ocelot_get_txtstamp()
906 skb_complete_tx_timestamp(skb_match, &shhwtstamps); in ocelot_get_txtstamp()
971 struct skb_shared_hwtstamps *shhwtstamps; in ocelot_xtr_poll_frame() local
1043 shhwtstamps = skb_hwtstamps(skb); in ocelot_xtr_poll_frame()
1044 memset(shhwtstamps, 0, sizeof(struct skb_shared_hwtstamps)); in ocelot_xtr_poll_frame()
1045 shhwtstamps->hwtstamp = full_ts_in_ns; in ocelot_xtr_poll_frame()
/linux/drivers/net/ethernet/freescale/dpaa/
A Ddpaa_eth.c1657 struct skb_shared_hwtstamps shhwtstamps; in dpaa_cleanup_tx_fd() local
1708 memset(&shhwtstamps, 0, sizeof(shhwtstamps)); in dpaa_cleanup_tx_fd()
1712 shhwtstamps.hwtstamp = ns_to_ktime(ns); in dpaa_cleanup_tx_fd()
1713 skb_tstamp_tx(skb, &shhwtstamps); in dpaa_cleanup_tx_fd()
2646 struct skb_shared_hwtstamps *shhwtstamps; in rx_default_dqrr() local
2769 shhwtstamps = skb_hwtstamps(skb); in rx_default_dqrr()
2770 memset(shhwtstamps, 0, sizeof(*shhwtstamps)); in rx_default_dqrr()
2771 shhwtstamps->hwtstamp = ns_to_ktime(ns); in rx_default_dqrr()
/linux/drivers/net/ethernet/renesas/
A Dravb_main.c690 struct skb_shared_hwtstamps shhwtstamps; in ravb_get_tx_tstamp() local
704 memset(&shhwtstamps, 0, sizeof(shhwtstamps)); in ravb_get_tx_tstamp()
705 shhwtstamps.hwtstamp = timespec64_to_ktime(ts); in ravb_get_tx_tstamp()
713 skb_tstamp_tx(skb, &shhwtstamps); in ravb_get_tx_tstamp()
941 struct skb_shared_hwtstamps *shhwtstamps; in ravb_rx_rcar() local
943 shhwtstamps = skb_hwtstamps(skb); in ravb_rx_rcar()
944 memset(shhwtstamps, 0, sizeof(*shhwtstamps)); in ravb_rx_rcar()
948 shhwtstamps->hwtstamp = timespec64_to_ktime(ts); in ravb_rx_rcar()
/linux/drivers/net/ethernet/freescale/enetc/
A Denetc.c744 struct skb_shared_hwtstamps shhwtstamps; in enetc_tstamp_tx() local
747 memset(&shhwtstamps, 0, sizeof(shhwtstamps)); in enetc_tstamp_tx()
748 shhwtstamps.hwtstamp = ns_to_ktime(tstamp); in enetc_tstamp_tx()
750 skb_tstamp_tx(skb, &shhwtstamps); in enetc_tstamp_tx()
959 struct skb_shared_hwtstamps *shhwtstamps = skb_hwtstamps(skb); in enetc_get_rx_tstamp() local
974 memset(shhwtstamps, 0, sizeof(*shhwtstamps)); in enetc_get_rx_tstamp()
975 shhwtstamps->hwtstamp = ns_to_ktime(tstamp); in enetc_get_rx_tstamp()
/linux/drivers/net/ethernet/intel/ixgbe/
A Dixgbe_ptp.c816 struct skb_shared_hwtstamps shhwtstamps; in ixgbe_ptp_tx_hwtstamp() local
821 ixgbe_ptp_convert_to_hwtstamp(adapter, &shhwtstamps, regval); in ixgbe_ptp_tx_hwtstamp()
832 skb_tstamp_tx(skb, &shhwtstamps); in ixgbe_ptp_tx_hwtstamp()
/linux/drivers/net/ethernet/freescale/
A Dgianfar.c2210 struct skb_shared_hwtstamps shhwtstamps; in gfar_clean_tx_ring() local
2214 memset(&shhwtstamps, 0, sizeof(shhwtstamps)); in gfar_clean_tx_ring()
2215 shhwtstamps.hwtstamp = ns_to_ktime(be64_to_cpu(*ns)); in gfar_clean_tx_ring()
2217 skb_tstamp_tx(skb, &shhwtstamps); in gfar_clean_tx_ring()
2474 struct skb_shared_hwtstamps *shhwtstamps = skb_hwtstamps(skb); in gfar_process_frame() local
2477 memset(shhwtstamps, 0, sizeof(*shhwtstamps)); in gfar_process_frame()
2478 shhwtstamps->hwtstamp = ns_to_ktime(be64_to_cpu(*ns)); in gfar_process_frame()
/linux/drivers/net/dsa/ocelot/
A Dfelix.c1377 struct skb_shared_hwtstamps *shhwtstamps; in felix_rxtstamp() local
1402 shhwtstamps = skb_hwtstamps(skb); in felix_rxtstamp()
1403 memset(shhwtstamps, 0, sizeof(struct skb_shared_hwtstamps)); in felix_rxtstamp()
1404 shhwtstamps->hwtstamp = tstamp; in felix_rxtstamp()
/linux/drivers/net/ethernet/intel/i40e/
A Di40e_ptp.c786 struct skb_shared_hwtstamps shhwtstamps; in i40e_ptp_tx_hwtstamp() local
803 i40e_ptp_convert_to_hwtstamp(&shhwtstamps, ns); in i40e_ptp_tx_hwtstamp()
814 skb_tstamp_tx(skb, &shhwtstamps); in i40e_ptp_tx_hwtstamp()
/linux/drivers/net/ethernet/freescale/dpaa2/
A Ddpaa2-eth.c515 struct skb_shared_hwtstamps *shhwtstamps = skb_hwtstamps(skb); in dpaa2_eth_rx() local
519 memset(shhwtstamps, 0, sizeof(*shhwtstamps)); in dpaa2_eth_rx()
522 shhwtstamps->hwtstamp = ns_to_ktime(ns); in dpaa2_eth_rx()
1071 struct skb_shared_hwtstamps shhwtstamps; in dpaa2_eth_free_tx_fd() local
1075 memset(&shhwtstamps, 0, sizeof(shhwtstamps)); in dpaa2_eth_free_tx_fd()
1078 shhwtstamps.hwtstamp = ns_to_ktime(ns); in dpaa2_eth_free_tx_fd()
1079 skb_tstamp_tx(skb, &shhwtstamps); in dpaa2_eth_free_tx_fd()
/linux/drivers/net/ethernet/intel/ice/
A Dice_ptp.c1532 struct skb_shared_hwtstamps shhwtstamps = {}; in ice_ptp_tx_tstamp_work() local
1566 shhwtstamps.hwtstamp = ns_to_ktime(tstamp); in ice_ptp_tx_tstamp_work()
1568 skb_tstamp_tx(skb, &shhwtstamps); in ice_ptp_tx_tstamp_work()
/linux/drivers/net/ethernet/cavium/liquidio/
A Dlio_core.c580 struct skb_shared_hwtstamps *shhwtstamps; in liquidio_push_packet() local
643 shhwtstamps = skb_hwtstamps(skb); in liquidio_push_packet()
644 shhwtstamps->hwtstamp = in liquidio_push_packet()
/linux/net/
A Dsocket.c830 struct skb_shared_hwtstamps *shhwtstamps = in __sock_recv_timestamp() local
876 if (shhwtstamps && in __sock_recv_timestamp()
880 ptp_convert_timestamp(shhwtstamps, sk->sk_bind_phc); in __sock_recv_timestamp()
882 if (ktime_to_timespec64_cond(shhwtstamps->hwtstamp, in __sock_recv_timestamp()

Completed in 89 milliseconds

12