Home
last modified time | relevance | path

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

/linux-4.4.14/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-4.4.14/drivers/clocksource/
Dcadence_ttc_timer.c63 #define PRESCALE 2048 /* The exponent must match this */ macro
215 DIV_ROUND_CLOSEST(ttce->ttc.freq, PRESCALE * HZ)); in ttc_set_periodic()
370 err = clocksource_register_hz(&ttccs->cs, ttccs->ttc.freq / PRESCALE); in ttc_setup_clocksource()
378 ttccs->ttc.freq / PRESCALE); in ttc_setup_clocksource()
394 clockevents_update_freq(&ttcce->ce, ndata->new_rate / PRESCALE); in ttc_rate_change_clockevent_cb()
460 ttcce->ttc.freq / PRESCALE, 1, 0xfffe); in ttc_setup_clockevent()
/linux-4.4.14/include/linux/i2c/
Dbfin_twi.h81 #define PRESCALE 0x007F /* SCLKs Per Internal Time Reference (10MHz) */ macro