Home
last modified time | relevance | path

Searched refs:clksel (Results 1 – 18 of 18) sorted by relevance

/linux-5.19.10/drivers/mmc/host/
Ddw_mmc-exynos.c143 u32 clksel; in dw_mci_exynos_set_clksel_timing() local
148 clksel = mci_readl(host, CLKSEL64); in dw_mci_exynos_set_clksel_timing()
150 clksel = mci_readl(host, CLKSEL); in dw_mci_exynos_set_clksel_timing()
152 clksel = (clksel & ~SDMMC_CLKSEL_TIMING_MASK) | timing; in dw_mci_exynos_set_clksel_timing()
157 mci_writel(host, CLKSEL64, clksel); in dw_mci_exynos_set_clksel_timing()
159 mci_writel(host, CLKSEL, clksel); in dw_mci_exynos_set_clksel_timing()
168 if (!SDMMC_CLKSEL_GET_DRV_WD3(clksel) && host->slot) in dw_mci_exynos_set_clksel_timing()
217 u32 clksel; in dw_mci_exynos_resume_noirq() local
227 clksel = mci_readl(host, CLKSEL64); in dw_mci_exynos_resume_noirq()
229 clksel = mci_readl(host, CLKSEL); in dw_mci_exynos_resume_noirq()
[all …]
/linux-5.19.10/Documentation/devicetree/bindings/clock/ti/
Dti,clksel.yaml4 $id: http://devicetree.org/schemas/clock/ti/ti,clksel.yaml#
7 title: Binding for TI clksel clock
18 const: ti,clksel
47 compatible = "ti,clksel";
/linux-5.19.10/drivers/clocksource/
Dtimer-cadence-ttc.c475 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()
/linux-5.19.10/arch/mips/ralink/
Drt3883.c24 u32 clksel; in ralink_clk_init() local
28 clksel = ((syscfg0 >> RT3883_SYSCFG0_CPUCLK_SHIFT) & in ralink_clk_init()
32 switch (clksel) { in ralink_clk_init()
/linux-5.19.10/drivers/clk/rockchip/
Dclk-cpu.c105 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()
/linux-5.19.10/arch/arm/boot/dts/
Domap36xx-omap3430es2plus-clocks.dtsi9 compatible = "ti,clksel";
24 compatible = "ti,clksel";
54 compatible = "ti,clksel";
85 compatible = "ti,clksel";
172 compatible = "ti,clksel";
194 compatible = "ti,clksel";
Domap34xx-omap36xx-clocks.dtsi17 compatible = "ti,clksel";
65 compatible = "ti,clksel";
105 compatible = "ti,clksel";
160 compatible = "ti,clksel";
228 compatible = "ti,clksel";
252 compatible = "ti,clksel";
Domap3430es1-clocks.dtsi50 compatible = "ti,clksel";
81 compatible = "ti,clksel";
121 compatible = "ti,clksel";
174 compatible = "ti,clksel";
Domap36xx-am35xx-omap3430es2plus-clocks.dtsi138 compatible = "ti,clksel";
153 compatible = "ti,clksel";
168 compatible = "ti,clksel";
183 compatible = "ti,clksel";
Dam35xx-clocks.dtsi66 compatible = "ti,clksel";
101 compatible = "ti,clksel";
Domap3xxx-clocks.dtsi83 compatible = "ti,clksel";
120 compatible = "ti,clksel";
259 compatible = "ti,clksel";
429 compatible = "ti,clksel";
471 compatible = "ti,clksel";
603 compatible = "ti,clksel";
666 compatible = "ti,clksel";
709 compatible = "ti,clksel";
734 compatible = "ti,clksel";
914 compatible = "ti,clksel";
[all …]
Domap36xx-clocks.dtsi62 compatible = "ti,clksel";
Dam33xx-clocks.dtsi108 compatible = "ti,clksel";
566 compatible = "ti,clksel";
571 gfx_fclk_clksel_ck: clock-gfx-fclk-clksel {
589 compatible = "ti,clksel";
Dam43xx-clocks.dtsi572 dpll_clksel_mac_clk: clock-dpll-clksel-mac-2@4234 {
606 gfx_fclk_clksel_ck: clock-gfx-fclk-clksel-1@423c {
/linux-5.19.10/arch/arm/mach-imx/
Dmach-imx6q.c85 u32 clksel; in imx6q_1588_init() local
110 clksel = clk_is_match(ptp_clk, enet_ref) ? in imx6q_1588_init()
117 clksel); in imx6q_1588_init()
/linux-5.19.10/drivers/clk/
Dclk-qoriq.c59 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 …]
/linux-5.19.10/drivers/gpu/drm/rcar-du/
Drcar_lvds.c129 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()
/linux-5.19.10/drivers/mfd/
Dasic3.c387 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()