Searched refs:PRESCALE (Results 1 – 3 of 3) sorted by relevance
45 #define PRESCALE 0x63 /* Divider = prescale + 1 */ macro63 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()
63 #define PRESCALE 2048 /* The exponent must match this */ macro215 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()
81 #define PRESCALE 0x007F /* SCLKs Per Internal Time Reference (10MHz) */ macro