Searched refs:tstamp_cc (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/dsa/mv88e6xxx/ |
D | ptp.c | 46 #define cc_to_chip(cc) container_of(cc, struct mv88e6xxx_chip, tstamp_cc) 220 chip->tstamp_cc.mult = neg_adj ? mult - diff : mult + diff; in mv88e6xxx_ptp_adjfine() 262 timecounter_init(&chip->tstamp_tc, &chip->tstamp_cc, ns); in mv88e6xxx_ptp_settime() 454 memset(&chip->tstamp_cc, 0, sizeof(chip->tstamp_cc)); in mv88e6xxx_ptp_setup() 455 chip->tstamp_cc.read = mv88e6xxx_ptp_clock_read; in mv88e6xxx_ptp_setup() 456 chip->tstamp_cc.mask = CYCLECOUNTER_MASK(32); in mv88e6xxx_ptp_setup() 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() 460 timecounter_init(&chip->tstamp_tc, &chip->tstamp_cc, in mv88e6xxx_ptp_setup()
|
D | chip.h | 330 struct cyclecounter tstamp_cc; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-ptp.c | 129 tstamp_cc); in xgbe_cc_read() 214 timecounter_init(&pdata->tstamp_tc, &pdata->tstamp_cc, nsec); in xgbe_settime() 231 struct cyclecounter *cc = &pdata->tstamp_cc; in xgbe_ptp_register() 266 timecounter_init(&pdata->tstamp_tc, &pdata->tstamp_cc, in xgbe_ptp_register()
|
D | xgbe.h | 1192 struct cyclecounter tstamp_cc; member
|
D | xgbe-dev.c | 1635 timecounter_init(&pdata->tstamp_tc, &pdata->tstamp_cc, in xgbe_config_tstamp()
|