Home
last modified time | relevance | path

Searched full:phc (Results 1 – 25 of 71) sorted by relevance

123

/Linux-v5.10/drivers/net/ethernet/intel/i40e/
Di40e_ptp.c28 * i40e_ptp_read - Read the PHC time from the device
31 * @sts: structure to hold the system time before and after reading the PHC
56 * i40e_ptp_write - Write the PHC time to the device
94 * i40e_ptp_adjfreq - Adjust the PHC frequency
98 * Adjust the frequency of the PHC by the indicated parts per billion from the
139 * i40e_ptp_adjtime - Adjust the PHC time
141 * @delta: Offset in nanoseconds to adjust the PHC time by
163 * i40e_ptp_gettimex - Get the time of the PHC
166 * @sts: structure to hold the system time before and after reading the PHC
184 * i40e_ptp_settime - Set the time of the PHC
[all …]
/Linux-v5.10/drivers/net/ethernet/intel/e1000e/
Dptp.c4 /* 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()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx4/
Den_clock.c88 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()
/Linux-v5.10/include/linux/
Dptp_clock_kernel.h31 * 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
/Linux-v5.10/drivers/net/usb/
Dkalmia.c216 "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()
/Linux-v5.10/drivers/net/ethernet/qlogic/qede/
Dqede_ptp.c118 /* 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()
/Linux-v5.10/Documentation/networking/
Dtimestamping.rst596 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,
/Linux-v5.10/drivers/scsi/qla2xxx/
Dqla_init.c208 "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 …]
Dqla_target.c566 "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 …]
Dqla_gs.c2821 "%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 …]
Dqla_inline.h123 "FCPort %8phC disc_state transition: %s to %s - portid=%06x.\n", in qla2x00_set_fcport_disc_state()
306 "%8phC: I/O throttling requested (status qualifier = %04xh), holding off I/Os for %ums.\n", in qla2x00_set_retry_delay_timestamp()
/Linux-v5.10/Documentation/driver-api/
Dptp.rst101 - Up to 4 independent PHC channels
108 … - Lock to GNSS input, automatic switching between GNSS and user-space PHC control (optional)
/Linux-v5.10/tools/testing/selftests/ptp/
Dtestptp.c127 " -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()
/Linux-v5.10/drivers/net/phy/mscc/
Dmscc.h382 /* LOAD/SAVE GPIO pin, used for retrieving or setting time to the PHC. */
394 * phc_lock: used for per-PHY PHC opertations.
401 * gpio_lock: used for PHC operations. Common for all PHYs as the load/save GPIO
/Linux-v5.10/Documentation/devicetree/bindings/ptp/
Dptp-idt82p33.yaml41 phc@51 {
Dptp-idtcm.yaml67 phc@5b {
/Linux-v5.10/include/uapi/linux/
Dptp_clock.h143 * Array of interleaved system/phc time stamps. The kernel
154 * Array of [system, phc, system] time stamps. The kernel will provide
/Linux-v5.10/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ptp.c197 * cxgb4_ptp_adjfreq - Adjust frequency of PHC cycle counter
201 * Adjust the frequency of the PHC cycle counter by the indicated ppb from
389 * Enable (or disable) ancillary features of the PHC subsystem.
/Linux-v5.10/net/mac802154/
Drx.c127 pr_debug("%s is hardware: %8phC\n", name, &hw); in ieee802154_print_addr()
181 pr_debug("key source %8phC %02x\n", &key, in ieee802154_parse_frame_start()
/Linux-v5.10/net/tipc/
Dib_media.c54 sprintf(str_buf, "%20phC", a->value); in tipc_ib_addr2str()
/Linux-v5.10/drivers/net/bonding/
Dbond_sysfs_slave.c54 return sprintf(buf, "%*phC\n", in perm_hwaddr_show()
/Linux-v5.10/Documentation/devicetree/bindings/net/
Dmscc-phy-vsc8531.txt35 hardware clock (PHC).
/Linux-v5.10/drivers/net/ethernet/intel/igc/
Digc_ptp.c512 netdev_info(netdev, "PHC added\n"); in igc_ptp_init()
567 netdev_info(adapter->netdev, "PHC removed\n"); in igc_ptp_stop()
/Linux-v5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ptp.c550 * @ts: timespec to hold the PHC timestamp
551 * @sts: structure to hold the system time before and after reading the PHC
633 * enable (or disable) ancillary features of the phc subsystem.
1416 e_dev_info("registered PHC device on %s\n", netdev->name); in ixgbe_ptp_create_clock()
1498 e_dev_info("removed PHC on %s\n", in ixgbe_ptp_stop()
/Linux-v5.10/drivers/media/pci/ttpci/
Dttpci-eeprom.c144 dprintk("encoded MAC from EEPROM was %*phC", in ttpci_eeprom_parse_mac()

123