Searched refs:clksel (Results 1 – 7 of 7) sorted by relevance
/drivers/mmc/host/ |
D | dw_mmc-exynos.c | 133 u32 clksel; in dw_mci_exynos_set_clksel_timing() local 137 clksel = mci_readl(host, CLKSEL64); in dw_mci_exynos_set_clksel_timing() 139 clksel = mci_readl(host, CLKSEL); in dw_mci_exynos_set_clksel_timing() 141 clksel = (clksel & ~SDMMC_CLKSEL_TIMING_MASK) | timing; in dw_mci_exynos_set_clksel_timing() 145 mci_writel(host, CLKSEL64, clksel); in dw_mci_exynos_set_clksel_timing() 147 mci_writel(host, CLKSEL, clksel); in dw_mci_exynos_set_clksel_timing() 156 if (!SDMMC_CLKSEL_GET_DRV_WD3(clksel) && host->slot) in dw_mci_exynos_set_clksel_timing() 205 u32 clksel; in dw_mci_exynos_resume_noirq() local 214 clksel = mci_readl(host, CLKSEL64); in dw_mci_exynos_resume_noirq() 216 clksel = mci_readl(host, CLKSEL); in dw_mci_exynos_resume_noirq() [all …]
|
/drivers/clocksource/ |
D | timer-cadence-ttc.c | 475 int clksel, ret; in ttc_timer_probe() local 503 clksel = readl_relaxed(timer_baseaddr + TTC_CLK_CNTRL_OFFSET); in ttc_timer_probe() 504 clksel = !!(clksel & TTC_CLK_CNTRL_CSRC_MASK); in ttc_timer_probe() 505 clk_cs = of_clk_get(timer, clksel); in ttc_timer_probe() 511 clksel = readl_relaxed(timer_baseaddr + 4 + TTC_CLK_CNTRL_OFFSET); in ttc_timer_probe() 512 clksel = !!(clksel & TTC_CLK_CNTRL_CSRC_MASK); in ttc_timer_probe() 513 clk_ce = of_clk_get(timer, clksel); in ttc_timer_probe()
|
/drivers/clk/rockchip/ |
D | clk-cpu.c | 105 const struct rockchip_cpuclk_clksel *clksel = &rate->divs[i]; in rockchip_cpuclk_set_dividers() local 107 if (!clksel->reg) in rockchip_cpuclk_set_dividers() 111 __func__, clksel->reg, clksel->val); in rockchip_cpuclk_set_dividers() 112 writel(clksel->val, cpuclk->reg_base + clksel->reg); in rockchip_cpuclk_set_dividers()
|
/drivers/clk/ |
D | clk-qoriq.c | 59 struct clockgen_sourceinfo clksel[NUM_MUX_PARENTS]; member 852 u32 clksel; in mux_set_parent() local 857 clksel = hwc->parent_to_clksel[idx]; in mux_set_parent() 858 cg_out(hwc->cg, (clksel << CLKSEL_SHIFT) & CLKSEL_MASK, hwc->reg); in mux_set_parent() 866 u32 clksel; in mux_get_parent() local 869 clksel = (cg_in(hwc->cg, hwc->reg) & CLKSEL_MASK) >> CLKSEL_SHIFT; in mux_get_parent() 871 ret = hwc->clksel_to_parent[clksel]; in mux_get_parent() 899 if (!(hwc->info->clksel[idx].flags & CLKSEL_VALID)) in get_pll_div() 902 pll = hwc->info->clksel[idx].pll; in get_pll_div() 903 div = hwc->info->clksel[idx].div; in get_pll_div() [all …]
|
/drivers/gpu/drm/zte/ |
D | zx_vou.c | 138 u32 clksel; member 145 .clksel = VOU_CLK_GL0_SEL, 149 .clksel = VOU_CLK_GL1_SEL, 157 .clksel = VOU_CLK_VL0_SEL, 161 .clksel = VOU_CLK_VL1_SEL, 165 .clksel = VOU_CLK_VL2_SEL, 618 zx_writel_mask(vou->vouctl + VOU_CLK_SEL, bits->clksel, 0); in zx_vou_layer_enable() 622 zx_writel_mask(vou->vouctl + VOU_CLK_SEL, bits->clksel, in zx_vou_layer_enable() 623 bits->clksel); in zx_vou_layer_enable()
|
/drivers/gpu/drm/rcar-du/ |
D | rcar_lvds.c | 129 u32 clksel; member 134 u32 clksel, bool dot_clock_only) in rcar_lvds_d3_e3_pll_calc() argument 242 pll->clksel = clksel; in rcar_lvds_d3_e3_pll_calc() 276 lvdpllcr = LVDPLLCR_PLLON | pll.clksel | LVDPLLCR_CLKOUT in __rcar_lvds_pll_setup_d3_e3()
|
/drivers/mfd/ |
D | asic3.c | 387 unsigned long clksel = 0; in asic3_irq_probe() local 397 clksel |= CLOCK_SEL_CX; in asic3_irq_probe() 399 clksel); in asic3_irq_probe() 953 unsigned long clksel; in asic3_probe() local 982 clksel = 0; in asic3_probe() 983 asic3_write_register(asic, ASIC3_OFFSET(CLOCK, SEL), clksel); in asic3_probe()
|