Lines Matching refs:ptp_ops
202 const struct mv88e6xxx_ptp_ops *ptp_ops = chip->info->ops->ptp_ops; in mv88e6xxx_ptp_adjfine() local
212 mult = ptp_ops->cc_mult; in mv88e6xxx_ptp_adjfine()
213 adj = ptp_ops->cc_mult_num; in mv88e6xxx_ptp_adjfine()
215 diff = div_u64(adj, ptp_ops->cc_mult_dem); in mv88e6xxx_ptp_adjfine()
426 if (chip->info->ops->ptp_ops->clock_read) in mv88e6xxx_ptp_clock_read()
427 return chip->info->ops->ptp_ops->clock_read(cc); in mv88e6xxx_ptp_clock_read()
450 const struct mv88e6xxx_ptp_ops *ptp_ops = chip->info->ops->ptp_ops; in mv88e6xxx_ptp_setup() local
457 chip->tstamp_cc.mult = ptp_ops->cc_mult; in mv88e6xxx_ptp_setup()
458 chip->tstamp_cc.shift = ptp_ops->cc_shift; in mv88e6xxx_ptp_setup()
464 if (ptp_ops->event_work) in mv88e6xxx_ptp_setup()
465 INIT_DELAYED_WORK(&chip->tai_event_work, ptp_ops->event_work); in mv88e6xxx_ptp_setup()
471 chip->ptp_clock_info.n_ext_ts = ptp_ops->n_ext_ts; in mv88e6xxx_ptp_setup()
490 chip->ptp_clock_info.enable = ptp_ops->ptp_enable; in mv88e6xxx_ptp_setup()
491 chip->ptp_clock_info.verify = ptp_ops->ptp_verify; in mv88e6xxx_ptp_setup()
508 if (chip->info->ops->ptp_ops->event_work) in mv88e6xxx_ptp_free()