Home
last modified time | relevance | path

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

/linux/drivers/net/dsa/mv88e6xxx/
H A Dptp.c271 mult = chip->cc_coeffs->cc_mult; in mv88e6xxx_ptp_adjfine()
272 adj = chip->cc_coeffs->cc_mult_num; in mv88e6xxx_ptp_adjfine()
274 diff = div_u64(adj, chip->cc_coeffs->cc_mult_dem); in mv88e6xxx_ptp_adjfine()
525 chip->cc_coeffs = mv88e6xxx_cc_coeff_get(chip); in mv88e6xxx_ptp_setup()
526 if (IS_ERR(chip->cc_coeffs)) in mv88e6xxx_ptp_setup()
527 return PTR_ERR(chip->cc_coeffs); in mv88e6xxx_ptp_setup()
532 chip->tstamp_cc.mult = chip->cc_coeffs->cc_mult; in mv88e6xxx_ptp_setup()
533 chip->tstamp_cc.shift = chip->cc_coeffs->cc_shift; in mv88e6xxx_ptp_setup()
H A Dchip.h412 const struct mv88e6xxx_cc_coeffs *cc_coeffs; member