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

/linux-master/drivers/net/dsa/mv88e6xxx/
H A Dptp.c89 u16 phc_time[2]; local
92 err = mv88e6xxx_tai_read(chip, MV88E6XXX_TAI_TIME_LO, phc_time,
93 ARRAY_SIZE(phc_time));
97 return ((u32)phc_time[1] << 16) | phc_time[0];
103 u16 phc_time[2]; local
106 err = mv88e6xxx_tai_read(chip, MV88E6XXX_PTP_GC_TIME_LO, phc_time,
107 ARRAY_SIZE(phc_time));
111 return ((u32)phc_time[1] << 16) | phc_time[
[all...]
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_ptp_hw.c2331 * @phc_time: on return, the lower 64bits of PHC time
2338 u64 *phc_time)
2361 *phc_time = (u64)lo << 32 | zo;
2397 u64 phc_time, phy_time, difference; local
2405 err = ice_read_phy_and_phc_time_e82x(hw, port, &phy_time, &phc_time);
2417 difference = phc_time - phy_time;
2436 err = ice_read_phy_and_phc_time_e82x(hw, port, &phy_time, &phc_time);
2443 (unsigned long long)phc_time);
2337 ice_read_phy_and_phc_time_e82x(struct ice_hw *hw, u8 port, u64 *phy_time, u64 *phc_time) argument

Completed in 219 milliseconds