Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/dsa/mv88e6xxx/
H A Dptp.c267 mult = chip->cc_coeffs->cc_mult; in mv88e6xxx_ptp_adjfine()
268 adj = chip->cc_coeffs->cc_mult_num; in mv88e6xxx_ptp_adjfine()
270 diff = div_u64(adj, chip->cc_coeffs->cc_mult_dem); in mv88e6xxx_ptp_adjfine()
521 chip->cc_coeffs = mv88e6xxx_cc_coeff_get(chip); in mv88e6xxx_ptp_setup()
522 if (IS_ERR(chip->cc_coeffs)) in mv88e6xxx_ptp_setup()
523 return PTR_ERR(chip->cc_coeffs); in mv88e6xxx_ptp_setup()
528 chip->tstamp_cc.mult = chip->cc_coeffs->cc_mult; in mv88e6xxx_ptp_setup()
529 chip->tstamp_cc.shift = chip->cc_coeffs->cc_shift; in mv88e6xxx_ptp_setup()
H A Dchip.h401 const struct mv88e6xxx_cc_coeffs *cc_coeffs; member