Home
last modified time | relevance | path

Searched refs:phc_time (Results 1 - 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/dsa/mv88e6xxx/
H A Dptp.c88 u16 phc_time[2]; in mv88e6352_ptp_clock_read() local
91 err = mv88e6xxx_tai_read(chip, MV88E6XXX_TAI_TIME_LO, phc_time, in mv88e6352_ptp_clock_read()
92 ARRAY_SIZE(phc_time)); in mv88e6352_ptp_clock_read()
96 return ((u32)phc_time[1] << 16) | phc_time[0]; in mv88e6352_ptp_clock_read()
102 u16 phc_time[2]; in mv88e6165_ptp_clock_read() local
105 err = mv88e6xxx_tai_read(chip, MV88E6XXX_PTP_GC_TIME_LO, phc_time, in mv88e6165_ptp_clock_read()
106 ARRAY_SIZE(phc_time)); in mv88e6165_ptp_clock_read()
110 return ((u32)phc_time[1] << 16) | phc_time[ in mv88e6165_ptp_clock_read()
[all...]
/kernel/linux/linux-6.6/drivers/net/dsa/mv88e6xxx/
H A Dptp.c89 u16 phc_time[2]; in mv88e6352_ptp_clock_read() local
92 err = mv88e6xxx_tai_read(chip, MV88E6XXX_TAI_TIME_LO, phc_time, in mv88e6352_ptp_clock_read()
93 ARRAY_SIZE(phc_time)); in mv88e6352_ptp_clock_read()
97 return ((u32)phc_time[1] << 16) | phc_time[0]; in mv88e6352_ptp_clock_read()
103 u16 phc_time[2]; in mv88e6165_ptp_clock_read() local
106 err = mv88e6xxx_tai_read(chip, MV88E6XXX_PTP_GC_TIME_LO, phc_time, in mv88e6165_ptp_clock_read()
107 ARRAY_SIZE(phc_time)); in mv88e6165_ptp_clock_read()
111 return ((u32)phc_time[1] << 16) | phc_time[ in mv88e6165_ptp_clock_read()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/
H A Dice_ptp_hw.c2197 * @phc_time: on return, the lower 64bits of PHC time
2204 u64 *phc_time) in ice_read_phy_and_phc_time_e822()
2227 *phc_time = (u64)lo << 32 | zo; in ice_read_phy_and_phc_time_e822()
2262 u64 phc_time, phy_time, difference; in ice_sync_phy_timer_e822() local
2270 err = ice_read_phy_and_phc_time_e822(hw, port, &phy_time, &phc_time); in ice_sync_phy_timer_e822()
2282 difference = phc_time - phy_time; in ice_sync_phy_timer_e822()
2301 err = ice_read_phy_and_phc_time_e822(hw, port, &phy_time, &phc_time); in ice_sync_phy_timer_e822()
2308 (unsigned long long)phc_time); in ice_sync_phy_timer_e822()
2203 ice_read_phy_and_phc_time_e822(struct ice_hw *hw, u8 port, u64 *phy_time, u64 *phc_time) ice_read_phy_and_phc_time_e822() argument

Completed in 5 milliseconds