Searched refs:tstamp_tc (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.15/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-ptp.c | 176 timecounter_adjtime(&pdata->tstamp_tc, delta); in xgbe_adjtime() 192 nsec = timecounter_read(&pdata->tstamp_tc); in xgbe_gettime() 214 timecounter_init(&pdata->tstamp_tc, &pdata->tstamp_cc, nsec); in xgbe_settime() 266 timecounter_init(&pdata->tstamp_tc, &pdata->tstamp_cc, in xgbe_ptp_register()
|
D | xgbe.h | 1193 struct timecounter tstamp_tc; member
|
D | xgbe-drv.c | 1476 nsec = timecounter_cyc2time(&pdata->tstamp_tc, in xgbe_tx_tstamp() 2629 nsec = timecounter_cyc2time(&pdata->tstamp_tc, in xgbe_rx_poll()
|
D | xgbe-dev.c | 1635 timecounter_init(&pdata->tstamp_tc, &pdata->tstamp_cc, in xgbe_config_tstamp()
|
/Linux-v5.15/drivers/net/dsa/mv88e6xxx/ |
D | ptp.c | 191 ev.timestamp = timecounter_cyc2time(&chip->tstamp_tc, raw_ts); in mv88e6352_tai_event_work() 219 timecounter_read(&chip->tstamp_tc); in mv88e6xxx_ptp_adjfine() 232 timecounter_adjtime(&chip->tstamp_tc, delta); in mv88e6xxx_ptp_adjtime() 245 ns = timecounter_read(&chip->tstamp_tc); in mv88e6xxx_ptp_gettime() 262 timecounter_init(&chip->tstamp_tc, &chip->tstamp_cc, ns); in mv88e6xxx_ptp_settime() 460 timecounter_init(&chip->tstamp_tc, &chip->tstamp_cc, in mv88e6xxx_ptp_setup()
|
D | hwtstamp.c | 301 ns = timecounter_cyc2time(&chip->tstamp_tc, ns); in mv88e6xxx_get_rxts() 421 ns = timecounter_cyc2time(&chip->tstamp_tc, time_raw); in mv88e6xxx_txtstamp_work()
|
D | chip.h | 367 struct timecounter tstamp_tc; member
|