Searched refs:tstamp_cc (Results 1 – 5 of 5) sorted by relevance
/drivers/net/dsa/mv88e6xxx/ |
D | ptp.c | 47 #define cc_to_chip(cc) container_of(cc, struct mv88e6xxx_chip, tstamp_cc) 221 chip->tstamp_cc.mult = neg_adj ? mult - diff : mult + diff; in mv88e6xxx_ptp_adjfine() 263 timecounter_init(&chip->tstamp_tc, &chip->tstamp_cc, ns); in mv88e6xxx_ptp_settime() 483 memset(&chip->tstamp_cc, 0, sizeof(chip->tstamp_cc)); in mv88e6xxx_ptp_setup() 484 chip->tstamp_cc.read = mv88e6xxx_ptp_clock_read; in mv88e6xxx_ptp_setup() 485 chip->tstamp_cc.mask = CYCLECOUNTER_MASK(32); in mv88e6xxx_ptp_setup() 486 chip->tstamp_cc.mult = ptp_ops->cc_mult; in mv88e6xxx_ptp_setup() 487 chip->tstamp_cc.shift = ptp_ops->cc_shift; in mv88e6xxx_ptp_setup() 489 timecounter_init(&chip->tstamp_tc, &chip->tstamp_cc, in mv88e6xxx_ptp_setup()
|
D | chip.h | 397 struct cyclecounter tstamp_cc; member
|
/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-ptp.c | 129 tstamp_cc); in xgbe_cc_read() 202 timecounter_init(&pdata->tstamp_tc, &pdata->tstamp_cc, nsec); in xgbe_settime() 219 struct cyclecounter *cc = &pdata->tstamp_cc; in xgbe_ptp_register() 254 timecounter_init(&pdata->tstamp_tc, &pdata->tstamp_cc, in xgbe_ptp_register()
|
D | xgbe.h | 1226 struct cyclecounter tstamp_cc; member
|
D | xgbe-dev.c | 1692 timecounter_init(&pdata->tstamp_tc, &pdata->tstamp_cc, in xgbe_config_tstamp()
|