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

/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.c2334 * @phc_time: on return, the lower 64bits of PHC time
2341 u64 *phc_time)
2364 *phc_time = (u64)lo << 32 | zo;
2400 u64 phc_time, phy_time, difference; local
2408 err = ice_read_phy_and_phc_time_e82x(hw, port, &phy_time, &phc_time);
2420 difference = phc_time - phy_time;
2439 err = ice_read_phy_and_phc_time_e82x(hw, port, &phy_time, &phc_time);
2446 (unsigned long long)phc_time);
2340 ice_read_phy_and_phc_time_e82x(struct ice_hw *hw, u8 port, u64 *phy_time, u64 *phc_time) argument

Completed in 218 milliseconds