Searched refs:PRESCALE (Results 1 - 14 of 14) sorted by relevance

/linux-4.1.27/arch/arm/mach-w90x900/
H A Dtime.c45 #define PRESCALE 0x63 /* Divider = prescale + 1 */ macro
62 val |= (PERIOD | COUNTEN | INTEN | PRESCALE); nuc900_clockevent_setmode()
66 val |= (ONESHOT | COUNTEN | INTEN | PRESCALE); nuc900_clockevent_setmode()
86 val |= (COUNTEN | INTEN | PRESCALE); nuc900_clockevent_setnextevent()
128 rate = clk_get_rate(clk) / (PRESCALE + 1); nuc900_clockevents_init()
152 rate = clk_get_rate(clk) / (PRESCALE + 1); nuc900_clocksource_init()
157 val |= (COUNTEN | PERIOD | PRESCALE); nuc900_clocksource_init()
/linux-4.1.27/drivers/pwm/
H A Dpwm-puv3.c38 * period_ns = 10^9 * (PRESCALE + 1) * (PV + 1) / PWM_CLK_RATE
39 * duty_ns = 10^9 * (PRESCALE + 1) * DC / PWM_CLK_RATE
H A Dpwm-spear.c89 * period_ns = 10^9 * (PRESCALE + 1) * PV / PWM_CLK_RATE spear_pwm_config()
90 * duty_ns = 10^9 * (PRESCALE + 1) * DC / PWM_CLK_RATE spear_pwm_config()
92 * PV = (PWM_CLK_RATE * period_ns) / (10^9 * (PRESCALE + 1)) spear_pwm_config()
93 * DC = (PWM_CLK_RATE * duty_ns) / (10^9 * (PRESCALE + 1)) spear_pwm_config()
H A Dpwm-pxa.c60 * period_ns = 10^9 * (PRESCALE + 1) * (PV + 1) / PWM_CLK_RATE
61 * duty_ns = 10^9 * (PRESCALE + 1) * DC / PWM_CLK_RATE
H A Dpwm-bcm-kona.c106 * period_ns = 10^9 * (PRESCALE + 1) * PC / PWM_CLK_RATE kona_pwmc_config()
107 * duty_ns = 10^9 * (PRESCALE + 1) * DC / PWM_CLK_RATE kona_pwmc_config()
109 * PC = (PWM_CLK_RATE * period_ns) / (10^9 * (PRESCALE + 1)) kona_pwmc_config()
110 * DC = (PWM_CLK_RATE * duty_ns) / (10^9 * (PRESCALE + 1)) kona_pwmc_config()
/linux-4.1.27/drivers/clocksource/
H A Dcadence_ttc_timer.c63 #define PRESCALE_EXPONENT 11 /* 2 ^ PRESCALE_EXPONENT = PRESCALE */
64 #define PRESCALE 2048 /* The exponent must match this */ macro
209 PRESCALE * HZ)); ttc_set_mode()
369 err = clocksource_register_hz(&ttccs->cs, ttccs->ttc.freq / PRESCALE); ttc_setup_clocksource()
377 ttccs->ttc.freq / PRESCALE); ttc_setup_clocksource()
393 clockevents_update_freq(&ttcce->ce, ndata->new_rate / PRESCALE); ttc_rate_change_clockevent_cb()
456 ttcce->ttc.freq / PRESCALE, 1, 0xfffe); ttc_setup_clockevent()
/linux-4.1.27/include/linux/i2c/
H A Dbfin_twi.h81 #define PRESCALE 0x007F /* SCLKs Per Internal Time Reference (10MHz) */ macro
/linux-4.1.27/arch/blackfin/lib/
H A Dudivsi3.S223 /* METHOD 3: PRESCALE AND USE THE DIVIDE PRIMITIVES WITH SOME POST-CORRECTION
/linux-4.1.27/sound/soc/codecs/
H A Dwm8804.c433 /* set PLLN and PRESCALE */ wm8804_set_pll()
H A Dwm8990.h807 #define WM8990_PRESCALE 0x0040 /* PRESCALE */
H A Dwm8991.h796 #define WM8991_PRESCALE 0x0040 /* PRESCALE */
H A Dwm8983.c863 /* set PLLN and PRESCALE */ wm8983_set_pll()
H A Dwm8985.c837 /* set PLLN and PRESCALE */ wm8985_set_pll()
/linux-4.1.27/arch/ia64/include/asm/sn/
H A Dshubio.h2192 * internal counter reaches the value of the PRESCALE field, the *

Completed in 452 milliseconds