Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/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[0]; in mv88e6165_ptp_clock_read()