Home
last modified time | relevance | path

Searched refs:clk_div (Results 1 – 8 of 8) sorted by relevance

/arch/arm/plat-s3c24xx/
Dpwm.c31 struct clk *clk_div; member
81 return clk_get_parent(pwm->clk) == pwm->clk_div; in pwm_is_tdiv()
179 tin_parent_rate = clk_get_rate(clk_get_parent(pwm->clk_div)); in pwm_calc_tin()
232 clk_set_rate(pwm->clk_div, tin_rate); in pwm_config()
322 pwm->clk_div = clk_get(dev, "pwm-tdiv"); in s3c_pwm_probe()
323 if (IS_ERR(pwm->clk_div)) { in s3c_pwm_probe()
325 ret = PTR_ERR(pwm->clk_div); in s3c_pwm_probe()
349 clk_get_rate(pwm->clk_div), in s3c_pwm_probe()
356 clk_put(pwm->clk_div); in s3c_pwm_probe()
370 clk_put(pwm->clk_div); in s3c_pwm_remove()
/arch/cris/arch-v32/drivers/
Dsync_serial.c335 cfg.clk_div = 256; in initialize_port()
700 gen_cfg.clk_div = 125 * in sync_serial_ioctl()
704 gen_cfg.clk_div = 62; in sync_serial_ioctl()
709 gen_cfg.clk_div = 8 * (1 << freq) - 1; in sync_serial_ioctl()
716 gen_cfg.clk_div = 29493000 / (150 * 8) - 1; in sync_serial_ioctl()
719 gen_cfg.clk_div = 29493000 / (300 * 8) - 1; in sync_serial_ioctl()
722 gen_cfg.clk_div = 29493000 / (600 * 8) - 1; in sync_serial_ioctl()
725 gen_cfg.clk_div = 29493000 / (1200 * 8) - 1; in sync_serial_ioctl()
728 gen_cfg.clk_div = 29493000 / (2400 * 8) - 1; in sync_serial_ioctl()
731 gen_cfg.clk_div = 29493000 / (4800 * 8) - 1; in sync_serial_ioctl()
[all …]
/arch/cris/include/arch-v32/arch/hwregs/iop/
Diop_timer_grp_defs.h92 unsigned int clk_div : 8; member
/arch/cris/include/arch-v32/arch/hwregs/
Dsser_defs.h89 unsigned int clk_div : 16; member
/arch/arm/plat-omap/include/mach/
Dmcbsp.h331 u8 clk_div; member
Domapfb.h240 int clk_div; member
/arch/mips/include/asm/octeon/
Dcvmx-ciu-defs.h1446 uint64_t clk_div:3; member
1453 uint64_t clk_div:3; member
/arch/arm/plat-omap/
Dmcbsp.c850 mcbsp_cfg.srgr1 |= CLKGDV(spi_cfg->clk_div - 1); in omap_mcbsp_set_spi_mode()