Home
last modified time | relevance | path

Searched refs:ttcce (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/clocksource/
H A Dtimer-cadence-ttc.c407 struct ttc_timer_clockevent *ttcce; in ttc_setup_clockevent() local
410 ttcce = kzalloc(sizeof(*ttcce), GFP_KERNEL); in ttc_setup_clockevent()
411 if (!ttcce) in ttc_setup_clockevent()
414 ttcce->ttc.clk = clk; in ttc_setup_clockevent()
431 ttcce->ttc.freq = clk_get_rate(ttcce->ttc.clk); in ttc_setup_clockevent()
433 ttcce->ttc.base_addr = base; in ttc_setup_clockevent()
434 ttcce->ce.name = "ttc_clockevent"; in ttc_setup_clockevent()
441 ttcce->ce.rating = 200; in ttc_setup_clockevent()
442 ttcce->ce.irq = irq; in ttc_setup_clockevent()
456 IRQF_TIMER, ttcce->ce.name, ttcce); in ttc_setup_clockevent()
[all …]