Lines Matching full:tsc
89 struct clocksource tsc; member
298 tsc); in tegra186_timer_tsc_read()
304 * The 56-bit value of the TSC is spread across two registers that are in tegra186_timer_tsc_read()
321 tegra->tsc.name = "tsc"; in tegra186_timer_tsc_init()
322 tegra->tsc.rating = 300; in tegra186_timer_tsc_init()
323 tegra->tsc.read = tegra186_timer_tsc_read; in tegra186_timer_tsc_init()
324 tegra->tsc.mask = CLOCKSOURCE_MASK(56); in tegra186_timer_tsc_init()
325 tegra->tsc.flags = CLOCK_SOURCE_IS_CONTINUOUS; in tegra186_timer_tsc_init()
327 return clocksource_register_hz(&tegra->tsc, 31250000); in tegra186_timer_tsc_init()
415 dev_err(dev, "failed to register TSC counter: %d\n", err); in tegra186_timer_probe()
445 clocksource_unregister(&tegra->tsc); in tegra186_timer_probe()
455 clocksource_unregister(&tegra->tsc); in tegra186_timer_remove()