Home
last modified time | relevance | path

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

/linux-4.1.27/arch/arm/mach-w90x900/
Dtime.c45 #define PRESCALE 0x63 /* Divider = prescale + 1 */ macro
62 val |= (PERIOD | COUNTEN | INTEN | PRESCALE); in nuc900_clockevent_setmode()
66 val |= (ONESHOT | COUNTEN | INTEN | PRESCALE); in nuc900_clockevent_setmode()
86 val |= (COUNTEN | INTEN | PRESCALE); in nuc900_clockevent_setnextevent()
128 rate = clk_get_rate(clk) / (PRESCALE + 1); in nuc900_clockevents_init()
152 rate = clk_get_rate(clk) / (PRESCALE + 1); in nuc900_clocksource_init()
157 val |= (COUNTEN | PERIOD | PRESCALE); in nuc900_clocksource_init()
/linux-4.1.27/drivers/clocksource/
Dcadence_ttc_timer.c64 #define PRESCALE 2048 /* The exponent must match this */ macro
209 PRESCALE * HZ)); in ttc_set_mode()
369 err = clocksource_register_hz(&ttccs->cs, ttccs->ttc.freq / PRESCALE); in ttc_setup_clocksource()
377 ttccs->ttc.freq / PRESCALE); in ttc_setup_clocksource()
393 clockevents_update_freq(&ttcce->ce, ndata->new_rate / PRESCALE); in ttc_rate_change_clockevent_cb()
456 ttcce->ttc.freq / PRESCALE, 1, 0xfffe); in ttc_setup_clockevent()
/linux-4.1.27/include/linux/i2c/
Dbfin_twi.h81 #define PRESCALE 0x007F /* SCLKs Per Internal Time Reference (10MHz) */ macro