Searched refs:clk_div (Results 1 – 8 of 8) sorted by relevance
31 struct clk *clk_div; member81 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()
335 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 …]
92 unsigned int clk_div : 8; member
89 unsigned int clk_div : 16; member
331 u8 clk_div; member
240 int clk_div; member
1446 uint64_t clk_div:3; member1453 uint64_t clk_div:3; member
850 mcbsp_cfg.srgr1 |= CLKGDV(spi_cfg->clk_div - 1); in omap_mcbsp_set_spi_mode()