Searched refs:phc_time (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/net/dsa/mv88e6xxx/ |
D | ptp.c | 144 u16 phc_time[2]; in mv88e6352_ptp_clock_read() local 147 err = mv88e6xxx_tai_read(chip, MV88E6XXX_TAI_TIME_LO, phc_time, in mv88e6352_ptp_clock_read() 148 ARRAY_SIZE(phc_time)); in mv88e6352_ptp_clock_read() 152 return ((u32)phc_time[1] << 16) | phc_time[0]; in mv88e6352_ptp_clock_read() 158 u16 phc_time[2]; in mv88e6165_ptp_clock_read() local 161 err = mv88e6xxx_tai_read(chip, MV88E6XXX_PTP_GC_TIME_LO, phc_time, in mv88e6165_ptp_clock_read() 162 ARRAY_SIZE(phc_time)); in mv88e6165_ptp_clock_read() 166 return ((u32)phc_time[1] << 16) | phc_time[0]; in mv88e6165_ptp_clock_read()
|
/linux-6.12.1/drivers/net/ethernet/intel/ice/ |
D | ice_ptp_hw.c | 2328 u64 *phy_time, u64 *phc_time) in ice_read_phy_and_phc_time_eth56g() argument 2351 *phc_time = (u64)lo << 32 | zo; in ice_read_phy_and_phc_time_eth56g() 2390 u64 phc_time, phy_time, difference; in ice_sync_phy_timer_eth56g() local 2398 err = ice_read_phy_and_phc_time_eth56g(hw, port, &phy_time, &phc_time); in ice_sync_phy_timer_eth56g() 2412 difference = phc_time - phy_time; in ice_sync_phy_timer_eth56g() 2428 err = ice_read_phy_and_phc_time_eth56g(hw, port, &phy_time, &phc_time); in ice_sync_phy_timer_eth56g() 2434 port, phy_time, phc_time); in ice_sync_phy_timer_eth56g() 4417 u64 *phc_time) in ice_read_phy_and_phc_time_e82x() argument 4440 *phc_time = (u64)lo << 32 | zo; in ice_read_phy_and_phc_time_e82x() 4476 u64 phc_time, phy_time, difference; in ice_sync_phy_timer_e82x() local [all …]
|