Home
last modified time | relevance | path

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

/Linux-v4.19/arch/arm/mach-w90x900/
Dtime.c45 #define PRESCALE 0x63 /* Divider = prescale + 1 */ macro
63 val |= (ONESHOT | COUNTEN | INTEN | PRESCALE); in nuc900_clockevent_set_oneshot()
74 val |= (PERIOD | COUNTEN | INTEN | PRESCALE); in nuc900_clockevent_set_periodic()
87 val |= (COUNTEN | INTEN | PRESCALE); in nuc900_clockevent_setnextevent()
133 rate = clk_get_rate(clk) / (PRESCALE + 1); in nuc900_clockevents_init()
157 rate = clk_get_rate(clk) / (PRESCALE + 1); in nuc900_clocksource_init()
162 val |= (COUNTEN | PERIOD | PRESCALE); in nuc900_clocksource_init()
/Linux-v4.19/drivers/clocksource/
Dcadence_ttc_timer.c64 #define PRESCALE 2048 /* The exponent must match this */ macro
216 DIV_ROUND_CLOSEST(ttce->ttc.freq, PRESCALE * HZ)); in ttc_set_periodic()
373 err = clocksource_register_hz(&ttccs->cs, ttccs->ttc.freq / PRESCALE); in ttc_setup_clocksource()
381 ttccs->ttc.freq / PRESCALE); in ttc_setup_clocksource()
399 clockevents_update_freq(&ttcce->ce, ndata->new_rate / PRESCALE); in ttc_rate_change_clockevent_cb()
470 ttcce->ttc.freq / PRESCALE, 1, 0xfffe); in ttc_setup_clockevent()