| /kernel/linux/linux-4.19/drivers/net/ethernet/intel/i40e/ |
| D | i40e_ptp.c | 28 * i40e_ptp_read - Read the PHC time from the device 52 * i40e_ptp_write - Write the PHC time to the device 90 * i40e_ptp_adjfreq - Adjust the PHC frequency 94 * Adjust the frequency of the PHC by the indicated parts per billion from the 135 * i40e_ptp_adjtime - Adjust the PHC time 137 * @delta: Offset in nanoseconds to adjust the PHC time by 139 * Adjust the frequency of the PHC by the indicated parts per billion from the 159 * i40e_ptp_gettime - Get the time of the PHC 178 * i40e_ptp_settime - Set the time of the PHC 198 * i40e_ptp_feature_enable - Enable/disable ancillary features of the PHC subsystem [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/ |
| D | i40e_ptp.c | 29 * i40e_ptp_read - Read the PHC time from the device 32 * @sts: structure to hold the system time before and after reading the PHC 57 * i40e_ptp_write - Write the PHC time to the device 95 * i40e_ptp_adjfreq - Adjust the PHC frequency 99 * Adjust the frequency of the PHC by the indicated parts per billion from the 140 * i40e_ptp_adjtime - Adjust the PHC time 142 * @delta: Offset in nanoseconds to adjust the PHC time by 164 * i40e_ptp_gettimex - Get the time of the PHC 167 * @sts: structure to hold the system time before and after reading the PHC 185 * i40e_ptp_settime - Set the time of the PHC [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/intel/e1000e/ |
| D | ptp.c | 4 /* PTP 1588 Hardware Clock (PHC) 22 * Adjust the frequency of the PHC cycle counter by the indicated delta from 167 * @ts: timespec structure to hold the current PHC time 227 * Enable (or disable) ancillary features of the PHC subsystem. 334 e_info("registered PHC clock\n"); in e1000e_ptp_init() 354 e_info("removed PHC\n"); in e1000e_ptp_remove()
|
| /kernel/linux/linux-4.19/drivers/net/ethernet/mellanox/mlx4/ |
| D | en_clock.c | 88 mlx4_info(mdev, "removed PHC\n"); in mlx4_en_remove_timestamp() 118 * Adjust the frequency of the PHC cycle counter by the indicated delta from 222 * Enable (or disable) ancillary features of the PHC subsystem. 290 /* Configure the PHC */ in mlx4_en_init_timestamp() 300 mlx4_info(mdev, "registered PHC clock\n"); in mlx4_en_init_timestamp()
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
| D | en_clock.c | 88 mlx4_info(mdev, "removed PHC\n"); in mlx4_en_remove_timestamp() 118 * Adjust the frequency of the PHC cycle counter by the indicated delta from 222 * Enable (or disable) ancillary features of the PHC subsystem. 290 /* Configure the PHC */ in mlx4_en_init_timestamp() 300 mlx4_info(mdev, "registered PHC clock\n"); in mlx4_en_init_timestamp()
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | ptp_clock_kernel.h | 31 * struct ptp_system_timestamp - system time corresponding to a PHC timestamp 81 * parameter ts: Holds the PHC timestamp. 84 * reading the lowest bits of the PHC timestamp and the second 101 * array on behalf of the drivers, but the PHC subsystem 184 * Returns a valid pointer on success or PTR_ERR on failure. If PHC
|
| /kernel/linux/linux-4.19/drivers/net/ethernet/intel/e1000e/ |
| D | ptp.c | 4 /* PTP 1588 Hardware Clock (PHC) 22 * Adjust the frequency of the PHC cycle counter by the indicated delta from 223 * Enable (or disable) ancillary features of the PHC subsystem. 327 e_info("registered PHC clock\n"); in e1000e_ptp_init() 347 e_info("removed PHC\n"); in e1000e_ptp_remove()
|
| /kernel/linux/linux-5.10/drivers/net/usb/ |
| D | kalmia.c | 216 "Sending package with length %i and padding %i. Header: %6phC.", in kalmia_tx_fixup() 255 "Received expected unknown frame header: %6phC. Package length: %i\n", in kalmia_rx_fixup() 261 "Received unknown frame header: %6phC. Package length: %i\n", in kalmia_rx_fixup() 269 "Received header: %6phC. Package length: %i\n", in kalmia_rx_fixup() 293 "End header: %6phC. Package length: %i\n", in kalmia_rx_fixup()
|
| /kernel/linux/linux-4.19/drivers/net/usb/ |
| D | kalmia.c | 220 "Sending package with length %i and padding %i. Header: %6phC.", in kalmia_tx_fixup() 259 "Received expected unknown frame header: %6phC. Package length: %i\n", in kalmia_rx_fixup() 265 "Received unknown frame header: %6phC. Package length: %i\n", in kalmia_rx_fixup() 273 "Received header: %6phC. Package length: %i\n", in kalmia_rx_fixup() 297 "End header: %6phC. Package length: %i\n", in kalmia_rx_fixup()
|
| /kernel/linux/linux-4.19/drivers/scsi/qla2xxx/ |
| D | qla_gs.c | 2982 "%s %8phC DS %d LS %d rc %d login %d|%d rscn %d|%d lid %d\n", in qla24xx_handle_gidpn_event() 2993 "%s %8phC generation changed rscn %d|%d n", in qla24xx_handle_gidpn_event() 3016 "%s %d %8phC post adisc\n", in qla24xx_handle_gidpn_event() 3028 "%s %d %8phC post %s\n", __func__, in qla24xx_handle_gidpn_event() 3051 "%s %d %8phC post del sess\n", in qla24xx_handle_gidpn_event() 3058 "%s %d %8phC post gidpn\n", in qla24xx_handle_gidpn_event() 3068 "%s %d %8phC post del sess\n", __func__, in qla24xx_handle_gidpn_event() 3073 "%s %d %8phC login\n", __func__, __LINE__, in qla24xx_handle_gidpn_event() 3079 "%s %d %8phC post gidpn\n", __func__, __LINE__, in qla24xx_handle_gidpn_event() 3107 "Async done-%s WWPN %8phC timed out.\n", in qla2x00_async_gidpn_sp_done() [all …]
|
| D | qla_init.c | 109 "Async-%s timeout - hdl=%x portid=%06x %8phC.\n", in qla2x00_async_iocb_timeout() 176 "%s %8phC res %d \n", __func__, sp->fcport->port_name, res); in qla2x00_async_login_sp_done() 222 "%s: %8phC - not sending command.\n", in qla2x00_async_login() 254 "Async-login - %8phC hdl=%x, loopid=%x portid=%02x%02x%02x " in qla2x00_async_login() 309 "Async-logout - hdl=%x loop-id=%x portid=%02x%02x%02x %8phC.\n", in qla2x00_async_logout() 394 "%s %8phC DS %d LS %d rc %d login %d|%d rscn %d|%d lid %d\n", in qla24xx_handle_adisc_event() 401 "%s %8phC: adisc fail: post delete\n", in qla24xx_handle_adisc_event() 413 "%s %8phC generation changed\n", in qla24xx_handle_adisc_event() 417 ql_dbg(ql_dbg_disc, vha, 0x20d4, "%s %d %8phC post gidpn\n", in qla24xx_handle_adisc_event() 449 "Async done-%s res %x %8phC\n", in qla2x00_async_adisc_sp_done() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/ |
| D | qede_ptp.c | 118 /* Enable (or disable) ancillary features of the phc subsystem */ 129 DP_ERR(edev, "PHC ancillary features are not supported\n"); in qede_ptp_ancillary_feature_enable() 180 /* Read the PHC. This API is invoked with ptp_lock held. */ 192 WARN_ONCE(1, "PHC read err %d\n", rc); in qede_ptp_read_cc() 194 DP_VERBOSE(edev, QED_MSG_DEBUG, "PHC read cycles = %llu\n", phc_cycles); in qede_ptp_read_cc()
|
| /kernel/linux/linux-5.10/Documentation/networking/ |
| D | timestamping.rst | 596 There are situations when there may be more than one PHC (PTP Hardware Clock) 598 user to select which PHC to use for timestamping Ethernet frames. Instead, the 599 assumption is that the outermost PHC is always the most preferable, and that 621 I/O, they do have their own PHC). It is typical, but not mandatory, for all 622 interfaces of a DSA switch to share the same PHC. 727 But a MAC driver that is unaware of PHC stacking might get tripped up by 738 described above, in the case of a stacked PHC system, this condition should 739 never trigger, as this MAC is certainly not the outermost PHC. But this is 746 PHC system, this is incorrect because this MAC driver is not the only entity 754 that PTP timestamping is not enabled for anything other than the outermost PHC,
|
| /kernel/linux/linux-4.19/drivers/net/ethernet/qlogic/qede/ |
| D | qede_ptp.c | 141 /* Enable (or disable) ancillary features of the phc subsystem */ 152 DP_ERR(edev, "PHC ancillary features are not supported\n"); in qede_ptp_ancillary_feature_enable() 191 /* Read the PHC. This API is invoked with ptp_lock held. */ 203 WARN_ONCE(1, "PHC read err %d\n", rc); in qede_ptp_read_cc() 205 DP_VERBOSE(edev, QED_MSG_DEBUG, "PHC read cycles = %llu\n", phc_cycles); in qede_ptp_read_cc()
|
| /kernel/linux/linux-5.10/drivers/scsi/qla2xxx/ |
| D | qla_init.c | 208 "Async-%s timeout - hdl=%x portid=%06x %8phC.\n", in qla2x00_async_iocb_timeout() 274 "%s %8phC res %d \n", __func__, sp->fcport->port_name, res); in qla2x00_async_login_sp_done() 319 "%s: %8phC - not sending command.\n", in qla2x00_async_login() 351 "Async-login - %8phC hdl=%x, loopid=%x portid=%02x%02x%02x " in qla2x00_async_login() 403 "Async-logout - hdl=%x loop-id=%x portid=%02x%02x%02x %8phC.\n", in qla2x00_async_logout() 488 "%s %8phC DS %d LS %d rc %d login %d|%d rscn %d|%d lid %d\n", in qla24xx_handle_adisc_event() 498 "%s %8phC: adisc fail: post delete\n", in qla24xx_handle_adisc_event() 513 "%s %8phC generation changed\n", in qla24xx_handle_adisc_event() 546 "Async done-%s res %x %8phC\n", in qla2x00_async_adisc_sp_done() 595 "Async-adisc - hdl=%x loopid=%x portid=%06x %8phC.\n", in qla2x00_async_adisc() [all …]
|
| D | qla_target.c | 566 "Async done-%s res %x %8phC type %d\n", in qla2x00_async_nack_sp_done() 653 "Async-%s %8phC hndl %x %s\n", in qla24xx_async_notify_ack() 746 "%s: kref_get fail sess %8phC \n", in qlt_fc_port_added() 753 "qla_target(%u): %ssession for port %8phC " in qlt_fc_port_added() 768 "port %8phC (loop ID %d) became global\n", vha->vp_idx, in qlt_fc_port_added() 793 "%s %d %8phC Term INOT due to new INOT", in qlt_plogi_ack_find_add() 832 "Sending PLOGI ACK to wwn %8phC s_id %02x:%02x:%02x loop_id %#04x" in qlt_plogi_ack_unref() 873 "Linking sess %p [%d] wwn %8phC with PLOGI ACK to wwn %8phC" in qlt_plogi_ack_link() 960 "%s: se_sess %p / sess %p from port %8phC loop_id %#04x" in qlt_free_session_done() 1086 "se_sess %p / sess %p port %8phC is gone," in qlt_free_session_done() [all …]
|
| D | qla_gs.c | 2821 "%s %8phC DS %d LS %d rc %d login %d|%d rscn %d|%d lid %d\n", in qla24xx_handle_gpsc_event() 2832 "%s %8phC generation changed\n", in qla24xx_handle_gpsc_event() 2853 "Async done-%s res %x, WWPN %8phC \n", in qla24xx_async_gpsc_sp_done() 2879 "Async-%s OUT WWPN %8phC speeds=%04x speed=%04x.\n", in qla24xx_async_gpsc_sp_done() 2934 "Async-%s %8phC hdl=%x loopid=%x portid=%02x%02x%02x.\n", in qla24xx_async_gpsc() 3049 "%s %d %8phC revalidate session with ADISC\n", in qla24xx_handle_gpnid_event() 3057 "%s %d %8phC login\n", __func__, __LINE__, in qla24xx_handle_gpnid_event() 3078 "%s %d %8phC DS %d\n", in qla24xx_handle_gpnid_event() 3090 "%s %d %8phC post new sess\n", in qla24xx_handle_gpnid_event() 3111 "Async done-%s fail res %x rscn gen %d ID %3phC. %8phC\n", in qla2x00_async_gpnid_sp_done() [all …]
|
| /kernel/linux/linux-5.10/Documentation/driver-api/ |
| D | ptp.rst | 101 - Up to 4 independent PHC channels 108 … - Lock to GNSS input, automatic switching between GNSS and user-space PHC control (optional)
|
| /kernel/linux/linux-5.10/tools/testing/selftests/ptp/ |
| D | testptp.c | 127 " -k val measure the time offset between system and phc clock\n" in usage() 485 puts("system and phc clock time offset request okay"); in main() 497 printf("phc time: %lld.%u\n", in main() 501 printf("system/phc clock time offset is %" PRId64 " ns\n" in main()
|
| /kernel/linux/linux-5.10/drivers/net/phy/mscc/ |
| D | mscc.h | 386 /* LOAD/SAVE GPIO pin, used for retrieving or setting time to the PHC. */ 398 * phc_lock: used for per-PHY PHC opertations. 405 * gpio_lock: used for PHC operations. Common for all PHYs as the load/save GPIO
|
| /kernel/linux/linux-4.19/tools/testing/selftests/ptp/ |
| D | testptp.c | 124 " -k val measure the time offset between system and phc clock\n" in usage() 495 puts("system and phc clock time offset request okay"); in main() 507 printf("phc time: %lld.%u\n", in main() 511 printf("system/phc clock time offset is %" PRId64 " ns\n" in main()
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/ptp/ |
| D | ptp-idt82p33.yaml | 41 phc@51 {
|
| D | ptp-idtcm.yaml | 67 phc@5b {
|
| /kernel/linux/linux-5.10/include/uapi/linux/ |
| D | ptp_clock.h | 143 * Array of interleaved system/phc time stamps. The kernel 154 * Array of [system, phc, system] time stamps. The kernel will provide
|
| /kernel/linux/linux-4.19/include/linux/ |
| D | ptp_clock_kernel.h | 92 * array on behalf of the drivers, but the PHC subsystem 172 * Returns a valid pointer on success or PTR_ERR on failure. If PHC
|