Lines Matching full:tsc
94 struct clocksource tsc; member
349 tsc); in tegra186_timer_tsc_read()
355 * The 56-bit value of the TSC is spread across two registers that are in tegra186_timer_tsc_read()
372 tegra->tsc.name = "tsc"; in tegra186_timer_tsc_init()
373 tegra->tsc.rating = 300; in tegra186_timer_tsc_init()
374 tegra->tsc.read = tegra186_timer_tsc_read; in tegra186_timer_tsc_init()
375 tegra->tsc.mask = CLOCKSOURCE_MASK(56); in tegra186_timer_tsc_init()
376 tegra->tsc.flags = CLOCK_SOURCE_IS_CONTINUOUS; in tegra186_timer_tsc_init()
377 tegra->tsc.owner = THIS_MODULE; in tegra186_timer_tsc_init()
379 return clocksource_register_hz(&tegra->tsc, 31250000); in tegra186_timer_tsc_init()
454 dev_err(dev, "failed to register TSC counter: %d\n", err); in tegra186_timer_probe()
475 clocksource_unregister(&tegra->tsc); in tegra186_timer_probe()
485 clocksource_unregister(&tegra->tsc); in tegra186_timer_remove()