prescaler 432 arch/arm/mach-omap2/vc.c u32 prescaler; prescaler 441 arch/arm/mach-omap2/vc.c prescaler = 0; prescaler 448 arch/arm/mach-omap2/vc.c prescaler++; prescaler 454 arch/arm/mach-omap2/vc.c prescaler++; prescaler 460 arch/arm/mach-omap2/vc.c prescaler++; prescaler 472 arch/arm/mach-omap2/vc.c return (prescaler << OMAP4430_RAMP_UP_PRESCAL_SHIFT) | prescaler 126 arch/powerpc/kernel/udbg_16550.c unsigned int dll, dlm, divisor, prescaler, speed; prescaler 141 arch/powerpc/kernel/udbg_16550.c prescaler = 4; prescaler 143 arch/powerpc/kernel/udbg_16550.c prescaler = 1; prescaler 149 arch/powerpc/kernel/udbg_16550.c speed = (clock / prescaler) / (divisor * 16); prescaler 170 arch/powerpc/sysdev/fsl_gtm.c unsigned int prescaler; prescaler 181 arch/powerpc/sysdev/fsl_gtm.c prescaler = gtm->clock / frequency; prescaler 187 arch/powerpc/sysdev/fsl_gtm.c if (prescaler > max_prescaler) prescaler 190 arch/powerpc/sysdev/fsl_gtm.c if (prescaler > max_prescaler / 16) { prescaler 192 arch/powerpc/sysdev/fsl_gtm.c prescaler /= 16; prescaler 195 arch/powerpc/sysdev/fsl_gtm.c if (prescaler <= 256) { prescaler 197 arch/powerpc/sysdev/fsl_gtm.c sps = prescaler - 1; prescaler 200 arch/powerpc/sysdev/fsl_gtm.c sps = prescaler / 256 - 1; prescaler 1154 drivers/atm/eni.c (aal5 ? MID_SEG_AAL5 : 0) | (tx->prescaler << MID_SEG_PR_SHIFT) | prescaler 1367 drivers/atm/eni.c tx->prescaler = pre; prescaler 1989 drivers/atm/eni.c (tx->prescaler << MID_SEG_PR_SHIFT) | prescaler 43 drivers/atm/eni.h int prescaler; /* shaping prescaler */ prescaler 437 drivers/clk/clk-stm32h7.c u32 prescaler; prescaler 442 drivers/clk/clk-stm32h7.c prescaler = (readl(base + RCC_D2CFGR) >> dppre_shift) & 0x03; prescaler 446 drivers/clk/clk-stm32h7.c if (prescaler < 4) prescaler 449 drivers/clk/clk-stm32h7.c else if (timpre && prescaler > 4) prescaler 920 drivers/clk/clk-stm32mp1.c u32 prescaler; prescaler 923 drivers/clk/clk-stm32mp1.c prescaler = readl_relaxed(tim_ker->apbdiv) & APB_DIV_MASK; prescaler 924 drivers/clk/clk-stm32mp1.c if (prescaler < 2) prescaler 974 drivers/clk/clk-stm32mp1.c u32 prescaler, timpre; prescaler 977 drivers/clk/clk-stm32mp1.c prescaler = readl_relaxed(tim_ker->apbdiv) & APB_DIV_MASK; prescaler 981 drivers/clk/clk-stm32mp1.c if (!prescaler) prescaler 209 drivers/clocksource/timer-stm32.c int prescaler = 1; prescaler 212 drivers/clocksource/timer-stm32.c prescaler = DIV_ROUND_CLOSEST(timer_of_rate(to), prescaler 219 drivers/clocksource/timer-stm32.c prescaler = prescaler < TIM_PSC_MAX ? prescaler : TIM_PSC_MAX; prescaler 222 drivers/clocksource/timer-stm32.c writel_relaxed(prescaler - 1, timer_of_base(to) + TIM_PSC); prescaler 227 drivers/clocksource/timer-stm32.c to->of_clk.rate = DIV_ROUND_CLOSEST(to->of_clk.rate, prescaler); prescaler 638 drivers/clocksource/timer-ti-dm.c int prescaler) prescaler 642 drivers/clocksource/timer-ti-dm.c if (unlikely(!timer) || prescaler < -1 || prescaler > 7) prescaler 648 drivers/clocksource/timer-ti-dm.c if (prescaler >= 0) { prescaler 650 drivers/clocksource/timer-ti-dm.c l |= prescaler << 2; prescaler 39 drivers/hwmon/max6650.c static int prescaler; prescaler 44 drivers/hwmon/max6650.c module_param(prescaler, int, 0444); prescaler 375 drivers/hwmon/max6650.c prescale = prescaler; prescaler 360 drivers/i2c/busses/i2c-mpc.c u32 prescaler = 1; prescaler 375 drivers/i2c/busses/i2c-mpc.c prescaler = 1; prescaler 379 drivers/i2c/busses/i2c-mpc.c prescaler = mpc_i2c_get_sec_cfg_8xxx() ? 3 : 2; prescaler 382 drivers/i2c/busses/i2c-mpc.c prescaler = 2; prescaler 385 drivers/i2c/busses/i2c-mpc.c return prescaler; prescaler 392 drivers/i2c/busses/i2c-mpc.c u32 prescaler = mpc_i2c_get_prescaler_8xxx(); prescaler 398 drivers/i2c/busses/i2c-mpc.c *real_clk = fsl_get_sys_freq() / prescaler / (16 * 3072); prescaler 402 drivers/i2c/busses/i2c-mpc.c divider = fsl_get_sys_freq() / clock / prescaler; prescaler 417 drivers/i2c/busses/i2c-mpc.c *real_clk = fsl_get_sys_freq() / prescaler / div->divider; prescaler 509 drivers/i2c/busses/i2c-stm32f7.c u32 prescaler = (v->presc + 1) * i2cclk; prescaler 512 drivers/i2c/busses/i2c-stm32f7.c u32 tscl_l = (l + 1) * prescaler + tsync; prescaler 521 drivers/i2c/busses/i2c-stm32f7.c u32 tscl_h = (h + 1) * prescaler + tsync; prescaler 133 drivers/iio/frequency/adf4350.c u32 div_gcd, prescaler, chspc; prescaler 141 drivers/iio/frequency/adf4350.c prescaler = ADF4350_REG1_PRESCALER; prescaler 144 drivers/iio/frequency/adf4350.c prescaler = 0; prescaler 198 drivers/iio/frequency/adf4350.c 1 << st->r4_rf_div_sel, prescaler ? "8/9" : "4/5", prescaler 206 drivers/iio/frequency/adf4350.c prescaler; prescaler 108 drivers/iio/trigger/stm32-timer-trigger.c int prescaler = 0; prescaler 123 drivers/iio/trigger/stm32-timer-trigger.c prescaler++; prescaler 125 drivers/iio/trigger/stm32-timer-trigger.c do_div(div, (prescaler + 1)); prescaler 129 drivers/iio/trigger/stm32-timer-trigger.c if (prescaler > MAX_TIM_PSC) { prescaler 143 drivers/iio/trigger/stm32-timer-trigger.c regmap_write(priv->regmap, TIM_PSC, prescaler); prescaler 1029 drivers/media/rc/mceusb.c int prescaler = 0, divisor = 0; prescaler 1045 drivers/media/rc/mceusb.c for (prescaler = 0; prescaler < 4; ++prescaler) { prescaler 1046 drivers/media/rc/mceusb.c divisor = (clk >> (2 * prescaler)) / carrier; prescaler 1049 drivers/media/rc/mceusb.c cmdbuf[2] = prescaler; prescaler 793 drivers/mmc/host/mxcmmc.c int prescaler = 0; prescaler 796 drivers/mmc/host/mxcmmc.c while (prescaler <= 0x800) { prescaler 802 drivers/mmc/host/mxcmmc.c if (prescaler) prescaler 803 drivers/mmc/host/mxcmmc.c x /= (prescaler * 2); prescaler 811 drivers/mmc/host/mxcmmc.c if (prescaler == 0) prescaler 812 drivers/mmc/host/mxcmmc.c prescaler = 1; prescaler 814 drivers/mmc/host/mxcmmc.c prescaler <<= 1; prescaler 817 drivers/mmc/host/mxcmmc.c mxcmci_writew(host, (prescaler << 4) | divider, MMC_REG_CLK_RATE); prescaler 820 drivers/mmc/host/mxcmmc.c prescaler, divider, clk_in, clk_ios); prescaler 429 drivers/mmc/host/s3cmci.c writel(host->prescaler, host->base + S3C2410_SDIPRE); prescaler 858 drivers/mmc/host/s3cmci.c writel(host->prescaler, host->base + S3C2410_SDIPRE); prescaler 1084 drivers/mmc/host/s3cmci.c writel(host->prescaler, host->base + S3C2410_SDIPRE); prescaler 1196 drivers/mmc/host/s3cmci.c host->prescaler = mci_psc; prescaler 1197 drivers/mmc/host/s3cmci.c writel(host->prescaler, host->base + S3C2410_SDIPRE); prescaler 1391 drivers/mmc/host/s3cmci.c seq_printf(seq, "Prescale = %d\n", host->prescaler); prescaler 31 drivers/mmc/host/s3cmci.h u8 prescaler; prescaler 122 drivers/pwm/pwm-imx27.c u32 period, prescaler, pwm_clk, val; prescaler 148 drivers/pwm/pwm-imx27.c prescaler = MX3_PWMCR_PRESCALER_GET(val); prescaler 150 drivers/pwm/pwm-imx27.c pwm_clk = DIV_ROUND_CLOSEST_ULL(pwm_clk, prescaler); prescaler 96 drivers/pwm/pwm-jz4740.c unsigned int prescaler = 0; prescaler 103 drivers/pwm/pwm-jz4740.c while (period > 0xffff && prescaler < 6) { prescaler 105 drivers/pwm/pwm-jz4740.c ++prescaler; prescaler 108 drivers/pwm/pwm-jz4740.c if (prescaler == 6) prescaler 124 drivers/pwm/pwm-jz4740.c ctrl = JZ_TIMER_CTRL_PRESCALER(prescaler) | JZ_TIMER_CTRL_SRC_EXT | prescaler 76 drivers/pwm/pwm-renesas-tpu.c unsigned int prescaler; prescaler 176 drivers/pwm/pwm-renesas-tpu.c pwm->prescaler); prescaler 225 drivers/pwm/pwm-renesas-tpu.c pwm->prescaler = 0; prescaler 250 drivers/pwm/pwm-renesas-tpu.c unsigned int prescaler; prescaler 263 drivers/pwm/pwm-renesas-tpu.c for (prescaler = 0; prescaler < ARRAY_SIZE(prescalers); ++prescaler) { prescaler 264 drivers/pwm/pwm-renesas-tpu.c period = clk_rate / prescalers[prescaler] prescaler 270 drivers/pwm/pwm-renesas-tpu.c if (prescaler == ARRAY_SIZE(prescalers) || period == 0) { prescaler 276 drivers/pwm/pwm-renesas-tpu.c duty = clk_rate / prescalers[prescaler] prescaler 286 drivers/pwm/pwm-renesas-tpu.c clk_rate, prescalers[prescaler], period, duty); prescaler 288 drivers/pwm/pwm-renesas-tpu.c if (pwm->prescaler == prescaler && pwm->period == period) prescaler 291 drivers/pwm/pwm-renesas-tpu.c pwm->prescaler = prescaler; prescaler 49 drivers/pwm/pwm-rockchip.c unsigned int prescaler; prescaler 78 drivers/pwm/pwm-rockchip.c tmp *= pc->data->prescaler * NSEC_PER_SEC; prescaler 82 drivers/pwm/pwm-rockchip.c tmp *= pc->data->prescaler * NSEC_PER_SEC; prescaler 118 drivers/pwm/pwm-rockchip.c pc->data->prescaler * NSEC_PER_SEC); prescaler 121 drivers/pwm/pwm-rockchip.c duty = DIV_ROUND_CLOSEST_ULL(div, pc->data->prescaler * NSEC_PER_SEC); prescaler 234 drivers/pwm/pwm-rockchip.c .prescaler = 2, prescaler 247 drivers/pwm/pwm-rockchip.c .prescaler = 1, prescaler 261 drivers/pwm/pwm-rockchip.c .prescaler = 1, prescaler 275 drivers/pwm/pwm-rockchip.c .prescaler = 1, prescaler 323 drivers/pwm/pwm-stm32.c unsigned int prescaler = 0; prescaler 333 drivers/pwm/pwm-stm32.c prescaler++; prescaler 335 drivers/pwm/pwm-stm32.c do_div(div, prescaler + 1); prescaler 340 drivers/pwm/pwm-stm32.c if (prescaler > MAX_TIM_PSC) prescaler 353 drivers/pwm/pwm-stm32.c if ((psc != prescaler) || (arr != prd - 1)) prescaler 357 drivers/pwm/pwm-stm32.c regmap_write(priv->regmap, TIM_PSC, prescaler); prescaler 112 drivers/pwm/pwm-sun4i.c unsigned int prescaler; prescaler 120 drivers/pwm/pwm-sun4i.c prescaler = 1; prescaler 122 drivers/pwm/pwm-sun4i.c prescaler = prescaler_table[PWM_REG_PRESCAL(val, pwm->hwpwm)]; prescaler 124 drivers/pwm/pwm-sun4i.c if (prescaler == 0) prescaler 140 drivers/pwm/pwm-sun4i.c tmp = (u64)prescaler * NSEC_PER_SEC * PWM_REG_DTY(val); prescaler 143 drivers/pwm/pwm-sun4i.c tmp = (u64)prescaler * NSEC_PER_SEC * PWM_REG_PRD(val); prescaler 152 drivers/pwm/pwm-sun4i.c unsigned int pval, prescaler = 0; prescaler 158 drivers/pwm/pwm-sun4i.c prescaler = PWM_PRESCAL_MASK; prescaler 168 drivers/pwm/pwm-sun4i.c prescaler = 0; prescaler 171 drivers/pwm/pwm-sun4i.c if (prescaler == 0) { prescaler 173 drivers/pwm/pwm-sun4i.c for (prescaler = 0; prescaler < PWM_PRESCAL_MASK; prescaler++) { prescaler 174 drivers/pwm/pwm-sun4i.c if (!prescaler_table[prescaler]) prescaler 176 drivers/pwm/pwm-sun4i.c pval = prescaler_table[prescaler]; prescaler 193 drivers/pwm/pwm-sun4i.c *prsclr = prescaler; prescaler 224 drivers/pwm/pwm-sun4i.c unsigned int prescaler; prescaler 227 drivers/pwm/pwm-sun4i.c &duty, &period, &prescaler); prescaler 236 drivers/pwm/pwm-sun4i.c if (PWM_REG_PRESCAL(ctrl, pwm->hwpwm) != prescaler) { prescaler 242 drivers/pwm/pwm-sun4i.c ctrl |= BIT_CH(prescaler, pwm->hwpwm); prescaler 192 drivers/thermal/st/stm_thermal.c u32 prescaler; prescaler 199 drivers/thermal/st/stm_thermal.c prescaler = 0; prescaler 202 drivers/thermal/st/stm_thermal.c while (prescaler <= clk_freq) prescaler 203 drivers/thermal/st/stm_thermal.c prescaler++; prescaler 212 drivers/thermal/st/stm_thermal.c value |= (prescaler << HSREF_CLK_DIV_POS); prescaler 127 drivers/tty/serial/mpc52xx_uart.c u16 prescaler, unsigned int divisor) prescaler 130 drivers/tty/serial/mpc52xx_uart.c out_be16(&psc->mpc52xx_psc_clock_select, prescaler); prescaler 314 drivers/tty/serial/mpc52xx_uart.c u16 prescaler; prescaler 327 drivers/tty/serial/mpc52xx_uart.c prescaler = 0xdd00; /* /32 */ prescaler 329 drivers/tty/serial/mpc52xx_uart.c prescaler = 0xff00; /* /4 */ prescaler 330 drivers/tty/serial/mpc52xx_uart.c mpc52xx_set_divisor(PSC(port), prescaler, divisor); prescaler 878 drivers/tty/serial/mpc52xx_uart.c u8 prescaler, unsigned int divisor) prescaler 881 drivers/tty/serial/mpc52xx_uart.c out_8(&psc->mpc52xx_psc_clock_select, prescaler); prescaler 495 drivers/tty/serial/sc16is7xx.c u8 prescaler = 0; prescaler 499 drivers/tty/serial/sc16is7xx.c prescaler = SC16IS7XX_MCR_CLKSEL_BIT; prescaler 537 drivers/tty/serial/sc16is7xx.c prescaler); prescaler 69 drivers/usb/serial/keyspan.c u8 *prescaler, int portnum); prescaler 73 drivers/usb/serial/keyspan.c u8 *prescaler, int portnum); prescaler 77 drivers/usb/serial/keyspan.c u8 *prescaler, int portnum); prescaler 81 drivers/usb/serial/keyspan.c u8 *prescaler, int portnum); prescaler 196 drivers/usb/serial/keyspan.c u8 *rate_hi, u8 *rate_low, u8 *prescaler, prescaler 1861 drivers/usb/serial/keyspan.c u8 *rate_low, u8 *prescaler, int portnum) prescaler 1902 drivers/usb/serial/keyspan.c u8 *rate_low, u8 *prescaler, int portnum) prescaler 1938 drivers/usb/serial/keyspan.c u8 *rate_low, u8 *prescaler, int portnum) prescaler 1992 drivers/usb/serial/keyspan.c if (prescaler) { prescaler 1993 drivers/usb/serial/keyspan.c *prescaler = best_prescaler; prescaler 2002 drivers/usb/serial/keyspan.c u8 *rate_low, u8 *prescaler, int portnum) prescaler 2091 drivers/usb/serial/keyspan.c &msg.baudHi, &msg.baudLo, &msg.prescaler, prescaler 2097 drivers/usb/serial/keyspan.c msg.prescaler = 10; prescaler 2361 drivers/usb/serial/keyspan.c &msg.baudHi, &msg.baudLo, &msg.prescaler, prescaler 2367 drivers/usb/serial/keyspan.c msg.prescaler = 10; prescaler 2498 drivers/usb/serial/keyspan.c u8 prescaler; prescaler 2528 drivers/usb/serial/keyspan.c &msg.baudHi, &msg.baudLo, &prescaler, 0) == KEYSPAN_INVALID_BAUD_RATE) { prescaler 2533 drivers/usb/serial/keyspan.c &msg.baudHi, &msg.baudLo, &prescaler, 0); prescaler 2663 drivers/usb/serial/keyspan.c &msg.baudHi, &msg.baudLo, &msg.prescaler, prescaler 2669 drivers/usb/serial/keyspan.c msg.prescaler = 10; prescaler 155 drivers/usb/serial/keyspan_usa26msg.h prescaler; // BOTH: specified as N/8; values 8-ff are valid prescaler 143 drivers/usb/serial/keyspan_usa49msg.h prescaler, // specified as N/8; values 8-ff are valid prescaler 153 drivers/usb/serial/keyspan_usa67msg.h prescaler; // specified as N/8; values 8-ff are valid prescaler 78 drivers/watchdog/cadence_wdt.c u32 prescaler; prescaler 186 drivers/watchdog/cadence_wdt.c count = (wdd->timeout * (clock_f / wdt->prescaler)) / prescaler 354 drivers/watchdog/cadence_wdt.c wdt->prescaler = CDNS_WDT_PRESCALE_512; prescaler 357 drivers/watchdog/cadence_wdt.c wdt->prescaler = CDNS_WDT_PRESCALE_4096; prescaler 135 drivers/watchdog/kempld_wdt.c u32 prescaler; prescaler 141 drivers/watchdog/kempld_wdt.c prescaler = kempld_prescaler[PRESCALER_21]; prescaler 147 drivers/watchdog/kempld_wdt.c remainder = do_div(stage_timeout64, prescaler); prescaler 177 drivers/watchdog/kempld_wdt.c u32 prescaler; prescaler 186 drivers/watchdog/kempld_wdt.c prescaler = kempld_prescaler[STAGE_CFG_GET_PRESCALER(stage_cfg)]; prescaler 188 drivers/watchdog/kempld_wdt.c stage_timeout = (stage_timeout & stage->mask) * prescaler; prescaler 44 drivers/watchdog/mpc8xxx_wdt.c int prescaler; prescaler 186 drivers/watchdog/mpc8xxx_wdt.c ddata->swtc = min(ddata->wdd.timeout * freq / wdt_type->prescaler, prescaler 197 drivers/watchdog/mpc8xxx_wdt.c ddata->wdd.max_hw_heartbeat_ms = (ddata->swtc * wdt_type->prescaler) / prescaler 219 drivers/watchdog/mpc8xxx_wdt.c .prescaler = 0x10000, prescaler 226 drivers/watchdog/mpc8xxx_wdt.c .prescaler = 0x10000, prescaler 234 drivers/watchdog/mpc8xxx_wdt.c .prescaler = 0x800, prescaler 39 include/linux/platform_data/dmtimer-omap.h int (*set_prescaler)(struct omap_dm_timer *timer, int prescaler); prescaler 82 include/linux/platform_data/pwm_omap_dmtimer.h int (*set_prescaler)(pwm_omap_dmtimer *timer, int prescaler);