Home
last modified time | relevance | path

Searched full:timestamping (Results 1 – 25 of 243) sorted by relevance

12345678910

/linux/drivers/hte/
H A DKconfig3 bool "Hardware Timestamping Engine (HTE) Support"
5 Hardware Timestamping Engine (HTE) Support.
7 Some devices provide a hardware timestamping engine which can
9 benefit for the applications needing accurate timestamping event with
22 Enable this option for integrated hardware timestamping engine also
23 known as generic timestamping engine (GTE) support on NVIDIA Tegra194
25 lines for timestamping in realtime.
/linux/Documentation/networking/
H A Dtimestamping.rst4 Timestamping title
24 Same timestamping mechanism as SO_TIMESTAMP, but reports the
45 This socket option enables timestamping of datagrams on the reception
98 requested by a particular socket, such as when receive timestamping is
180 have multiple concurrent timestamping requests outstanding. Packets
221 timestamping applications. SOF_TIMESTAMPING_OPT_ID defines how the
354 The SO_TIMESTAMPING interface supports timestamping of bytes in a
356 entire contents of the buffer has passed a timestamping point. That
536 3. Hardware Timestamping configuration: ETHTOOL_MSG_TSCONFIG_SET/GET
626 3.1 Hardware Timestamping Implementation: Device Drivers
[all …]
/linux/tools/testing/selftests/drivers/net/hw/
H A Dnic_timestamp.py6 Tests related to configuration of HW timestamping
43 raise KsftSkipEx("timestamping configuration is not supported") from e
73 raise KsftSkipEx("timestamping configuration is not supported via ioctl") from e
85 raise KsftSkipEx("timestamping configuration is not supported via netlink") from e
105 raise KsftSkipEx("timestamping configuration is not supported via ioctl") from e
117 raise KsftSkipEx("timestamping configuration is not supported via netlink") from e
167 Some extension of the timestamping scope is allowed for PTP filters.
188 # the driver can fallback to some value which has higher coverage for timestamping
198 Some extension of the timestamping scope is allowed for PTP filters.
208 Some extension of the timestamping scope is allowed for PTP filters.
/linux/drivers/net/dsa/hirschmann/
H A Dhellcreek_hwtstamp.c29 /* enabled tx timestamping */ in hellcreek_get_ts_info()
38 /* Enabling/disabling TX and RX HW timestamping for different PTP messages is
60 /* TX HW timestamping can't be disabled on the switch */ in hellcreek_set_hwtstamp_config()
70 /* RX HW timestamping can't be disabled on the switch */ in hellcreek_set_hwtstamp_config()
88 /* RX HW timestamping can't be enabled for all messages on the switch */ in hellcreek_set_hwtstamp_config()
105 * enable the interaction with the HW timestamping in hellcreek_set_hwtstamp_config()
192 /* Get nanoseconds timestamp from timestamping unit */
229 dev_err(hellcreek->dev, "Wrong port for timestamping!\n"); in hellcreek_txtstamp_work()
375 * and the interaction with the HW timestamping is enabled. If not, stop in hellcreek_port_txtstamp()
412 * timestamping beforehand. in hellcreek_port_rxtstamp()
[all …]
H A Dhellcreek.h234 /* A structure to hold hardware timestamping information per port */
236 /* Timestamping state */
239 /* Resources for receive timestamping */
242 /* Resources for transmit timestamping */
257 /* Per-port timestamping resources */
/linux/drivers/net/dsa/microchip/
H A DKconfig36 Select to enable support for timestamping & PTP clock manipulation in
38 only one step timestamping. LAN937x switch supports both one step and
39 two step timestamping.
/linux/Documentation/driver-api/hte/
H A Dhte.rst4 The Linux Hardware Timestamping Engine (HTE)
12 Certain devices have built in hardware timestamping engines which can
19 This document describes the API that can be used by hardware timestamping
20 engine provider and consumer drivers that want to use the hardware timestamping
H A Dtegra-hte.rst8 The Nvidia tegra HTE provider also known as GTE (Generic Timestamping Engine)
19 instance supports timestamping GPIOs in real time as it is tightly coupled with
/linux/Documentation/networking/devlink/
H A Dstmmac.rst25 - Enable the Coarse timestamping mode, as defined in the DWMAC TRM.
26 A detailed explanation of this timestamping mode can be found in the
31 timestamping is set to 1/ptp_clock_rate.
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dnet_timestamping.c8 #define CG_NAME "/net-timestamping-test"
231 if (test__start_subtest("INET4: bpf timestamping")) in test_net_timestamping()
233 if (test__start_subtest("INET4: bpf and socket timestamping")) in test_net_timestamping()
235 if (test__start_subtest("INET6: bpf timestamping")) in test_net_timestamping()
237 if (test__start_subtest("INET6: bpf and socket timestamping")) in test_net_timestamping()
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_ptp.h117 * struct idpf_ptp_tx_tstamp - Parameters for Tx timestamping
171 * @get_cross_tstamp_access: access type for the cross timestamping
226 * idpf_ptp_is_vport_tx_tstamp_ena - Verify the Tx timestamping enablement for
236 * Return: true if the Tx timestamping is enabled, false otherwise.
247 * idpf_ptp_is_vport_rx_tstamp_ena - Verify the Rx timestamping enablement for
256 * Return: true if the Rx timestamping is enabled, false otherwise.
/linux/Documentation/devicetree/bindings/timestamp/
H A Dnvidia,tegra194-hte.yaml7 title: Tegra on chip generic hardware timestamping engine (HTE) provider
13 Tegra SoC has two instances of generic hardware timestamping engines (GTE)
18 to enable or disable for the hardware timestamping. The GTE GPIO monitors
/linux/net/core/
H A Ddev_ioctl.c245 * dev_get_hwtstamp_phylib() - Get hardware timestamping settings of NIC
248 * @cfg: Timestamping configuration structure
250 * Helper for calling the default hardware provider timestamping.
316 * dev_set_hwtstamp_phylib() - Change hardware timestamping of NIC
319 * @cfg: Timestamping configuration structure
322 * Helper for enforcing a common policy that phylib timestamping, if available,
323 * should take precedence in front of hardware timestamping provided by the
325 * timestamping to work properly (a switch port must trap the timestamped
/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_ptp.c11 * iavf_ptp_disable_rx_tstamp - Disable timestamping in Rx rings
23 * iavf_ptp_enable_rx_tstamp - Enable timestamping in Rx rings
35 * iavf_ptp_set_timestamp_mode - Set device timestamping mode
39 * Set the timestamping mode requested from the userspace.
79 * iavf_ptp_set_ts_config - Set timestamping configuration
84 * Program the requested timestamping configuration to the device.
/linux/include/uapi/linux/
H A Derrqueue.h49 * The timestamping interfaces SO_TIMESTAMPING, MSG_TSTAMP_*
51 * recvmsg(). See Documentation/networking/timestamping.rst for details.
/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_ptp.c297 NL_SET_ERR_MSG_MOD(extack, "HW timestamping is not supported"); in qede_hwtstamp_set()
311 "One-step timestamping is not supported"); in qede_hwtstamp_set()
429 /* Init work queue for Tx timestamping */ in qede_ptp_init()
513 DP_VERBOSE(edev, QED_MSG_DEBUG, "Timestamping in progress\n"); in qede_ptp_tx_ts()
520 "Tx timestamping was not enabled, this pkt will not be timestamped\n"); in qede_ptp_tx_ts()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ptp.c939 * ixgbe_ptp_hwtstamp_get - get current hardware timestamping configuration
941 * @config: timestamping configuration structure
943 * This function returns the current timestamping settings. Rather than
974 * Since hardware always timestamps Path delay packets when timestamping V2
1040 /* The X550 controller is capable of timestamping all packets, in ixgbe_ptp_set_timestamp_mode()
1055 * timestamping all packets => return error in ixgbe_ptp_set_timestamp_mode()
1069 /* Per-packet timestamping only works if the filter is set to all in ixgbe_ptp_set_timestamp_mode()
1078 /* enable timestamping all packets only if at least some in ixgbe_ptp_set_timestamp_mode()
1080 * timestamping in ixgbe_ptp_set_timestamp_mode()
1097 /* define ethertype filter for timestamping L2 packets */ in ixgbe_ptp_set_timestamp_mode()
[all …]
/linux/drivers/net/ethernet/cavium/
H A DKconfig60 Timestamping coprocessor (PTP) found on Cavium processors.
61 PTP provides timestamping mechanism that is suitable for use in IEEE 1588
/linux/drivers/net/ethernet/cavium/thunder/
H A Dnic.h334 /* Inbound timestamping is on */
336 /* When the packet that requires timestamping is sent, hardware inserts
349 * requires timestamping. Cavium hardware can not process more than one
351 * a packet that requires timestamping to the send queue and clears
355 * packet that requires timestamping to the hardware for transmitting.
/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-eth.h575 enum hwtstamp_tx_types tx_tstamp_type; /* Tx timestamping type */
576 bool rx_tstamp; /* Rx timestamping enabled */
624 /* The one-step timestamping configuration on hardware
626 * timestamping frames are in flight. So we use a mutex
628 * one-step timestamping packet through TX confirmation
757 /* If we have Tx timestamping, need 128B hardware annotation */ in dpaa2_eth_needed_headroom()
/linux/drivers/net/dsa/mv88e6xxx/
H A Dhwtstamp.c3 * Marvell 88E6xxx Switch hardware timestamping support
114 /* The switch supports timestamping both L2 and L4; one cannot be in mv88e6xxx_set_hwtstamp_config()
558 /* Disable timestamping on all ports. */ in mv88e6xxx_hwtstamp_setup()
578 * timestamp. This affects all ports that have timestamping enabled, in mv88e6xxx_hwtstamp_setup()
593 /* 88E6341 devices default to timestamping at the PHY, but this has in mv88e6xxx_hwtstamp_setup()
/linux/net/mptcp/
H A Dsockopt.c212 struct so_timestamping timestamping; in mptcp_setsockopt_sol_socket_timestamping() local
215 if (optlen == sizeof(timestamping)) { in mptcp_setsockopt_sol_socket_timestamping()
216 if (copy_from_sockptr(&timestamping, optval, in mptcp_setsockopt_sol_socket_timestamping()
217 sizeof(timestamping))) in mptcp_setsockopt_sol_socket_timestamping()
220 memset(&timestamping, 0, sizeof(timestamping)); in mptcp_setsockopt_sol_socket_timestamping()
222 if (copy_from_sockptr(&timestamping.flags, optval, sizeof(int))) in mptcp_setsockopt_sol_socket_timestamping()
229 KERNEL_SOCKPTR(&timestamping), in mptcp_setsockopt_sol_socket_timestamping()
230 sizeof(timestamping)); in mptcp_setsockopt_sol_socket_timestamping()
240 sock_set_timestamping(sk, optname, timestamping); in mptcp_setsockopt_sol_socket_timestamping()
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_ptp.c326 * the upper level timestamping functions. Since the timestamp is simply a 64-
679 * configured for Tx timestamping, we check if Rx timestamping is in i40e_ptp_rx_hang()
819 * doing Tx timestamping, check if Rx timestamping is configured. in i40e_ptp_rx_hwtstamp()
915 * i40e_ptp_hwtstamp_get - interface to read the HW timestamping
917 * @config: Timestamping configuration structure
919 * Obtain the current hardware timestamping settigs as requested. To do this,
1296 * i40e_ptp_hwtstamp_set - interface to control the HW timestamping
1298 * @config: Timestamping configuration structure
1302 * changes here. The XL710 cannot support splitting of the Tx/Rx timestamping
1523 /* reset timestamping mode */ in i40e_ptp_init()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_ptp.c132 * ice_set_rx_tstamp - Enable or disable Rx timestamping
157 * Called during preparation for reset to temporarily disable timestamping on
158 * the device. Called during remove to disable timestamping while cleaning up
1130 * registers with the calibrated offset values and enable timestamping. The Tx
1171 * ice_ptp_port_phy_stop - Stop timestamping for a PHY port
1210 * ice_ptp_port_phy_restart - (Re)start and calibrate PHY timestamping
1213 * Start the PHY timestamping block, and initiate Vernier timestamping
1214 * calibration. If timestamping cannot be calibrated (such as if link is down)
1215 * then disable the timestamping block instead.
1414 * ice_ptp_reset_phy_timestamping - Reset PHY timestamping block
[all …]
/linux/Documentation/sound/designs/
H A Dtimestamping.rst2 ALSA PCM Timestamping
119 Due to the varied nature of timestamping needs, even for a single
146 Examples of timestamping with HDAudio:

12345678910