Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/mips/ath79/
Dclock.c238 u32 pll, out_div, ref_div, nint, nfrac, frac, clk_ctrl, postdiv; in ar934x_clocks_init() local
307 clk_ctrl = __raw_readl(pll_base + AR934X_PLL_CPU_DDR_CLK_CTRL_REG); in ar934x_clocks_init()
309 postdiv = (clk_ctrl >> AR934X_PLL_CPU_DDR_CLK_CTRL_CPU_POST_DIV_SHIFT) & in ar934x_clocks_init()
312 if (clk_ctrl & AR934X_PLL_CPU_DDR_CLK_CTRL_CPU_PLL_BYPASS) in ar934x_clocks_init()
314 else if (clk_ctrl & AR934X_PLL_CPU_DDR_CLK_CTRL_CPUCLK_FROM_CPUPLL) in ar934x_clocks_init()
319 postdiv = (clk_ctrl >> AR934X_PLL_CPU_DDR_CLK_CTRL_DDR_POST_DIV_SHIFT) & in ar934x_clocks_init()
322 if (clk_ctrl & AR934X_PLL_CPU_DDR_CLK_CTRL_DDR_PLL_BYPASS) in ar934x_clocks_init()
324 else if (clk_ctrl & AR934X_PLL_CPU_DDR_CLK_CTRL_DDRCLK_FROM_DDRPLL) in ar934x_clocks_init()
329 postdiv = (clk_ctrl >> AR934X_PLL_CPU_DDR_CLK_CTRL_AHB_POST_DIV_SHIFT) & in ar934x_clocks_init()
332 if (clk_ctrl & AR934X_PLL_CPU_DDR_CLK_CTRL_AHB_PLL_BYPASS) in ar934x_clocks_init()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_vbif.h19 u32 clk_ctrl; member
25 u32 clk_ctrl; member
40 u32 clk_ctrl; member
Ddpu_hw_top.c92 enum dpu_clk_ctrl_type clk_ctrl, bool enable) in dpu_hw_setup_clk_force_ctrl() argument
104 if (clk_ctrl <= DPU_CLK_CTRL_NONE || clk_ctrl >= DPU_CLK_CTRL_MAX) in dpu_hw_setup_clk_force_ctrl()
107 reg_off = mdp->caps->clk_ctrls[clk_ctrl].reg_off; in dpu_hw_setup_clk_force_ctrl()
108 bit_off = mdp->caps->clk_ctrls[clk_ctrl].bit_off; in dpu_hw_setup_clk_force_ctrl()
Ddpu_vbif.c191 forced_on = mdp->ops.setup_clk_force_ctrl(mdp, params->clk_ctrl, true); in dpu_vbif_set_ot_limit()
204 mdp->ops.setup_clk_force_ctrl(mdp, params->clk_ctrl, false); in dpu_vbif_set_ot_limit()
242 forced_on = mdp->ops.setup_clk_force_ctrl(mdp, params->clk_ctrl, true); in dpu_vbif_set_qos_remap()
253 mdp->ops.setup_clk_force_ctrl(mdp, params->clk_ctrl, false); in dpu_vbif_set_qos_remap()
Ddpu_hw_top.h103 enum dpu_clk_ctrl_type clk_ctrl, bool enable);
Ddpu_hw_catalog.h484 enum dpu_clk_ctrl_type clk_ctrl; member
617 enum dpu_clk_ctrl_type clk_ctrl; member
Ddpu_plane.c469 ot_params.clk_ctrl = pdpu->pipe_hw->cap->clk_ctrl; in _dpu_plane_set_ot_limit()
487 qos_params.clk_ctrl = pdpu->pipe_hw->cap->clk_ctrl; in _dpu_plane_set_qos_remap()
496 qos_params.clk_ctrl); in _dpu_plane_set_qos_remap()
1469 (u32 *) &cfg->clk_ctrl); in _dpu_plane_init_debugfs()
Ddpu_hw_catalog.c338 .clk_ctrl = _clkctrl \
591 .clk_ctrl = DPU_CLK_CTRL_REG_DMA,
/kernel/linux/linux-5.10/include/linux/platform_data/
Dnet-cw1200.h21 int (*clk_ctrl)(const struct cw1200_platform_data_spi *pdata, member
38 int (*clk_ctrl)(const struct cw1200_platform_data_sdio *pdata, member
/kernel/linux/linux-5.10/drivers/net/wireless/st/cw1200/
Dcw1200_sdio.c191 if (pdata->clk_ctrl) in cw1200_sdio_off()
192 pdata->clk_ctrl(pdata, false); in cw1200_sdio_off()
220 if (pdata->clk_ctrl) { in cw1200_sdio_on()
221 if (pdata->clk_ctrl(pdata, true)) { in cw1200_sdio_on()
Dcw1200_spi.c288 if (pdata->clk_ctrl) in cw1200_spi_off()
289 pdata->clk_ctrl(pdata, false); in cw1200_spi_off()
317 if (pdata->clk_ctrl) { in cw1200_spi_on()
318 if (pdata->clk_ctrl(pdata, true)) { in cw1200_spi_on()
/kernel/linux/linux-5.10/drivers/clk/zynq/
Dclkc.c176 const char *clk_name1, void __iomem *clk_ctrl, in zynq_clk_register_periph_clk() argument
193 CLK_SET_RATE_NO_REPARENT, clk_ctrl, 4, 2, 0, lock); in zynq_clk_register_periph_clk()
195 clk = clk_register_divider(NULL, div_name, mux_name, 0, clk_ctrl, 8, 6, in zynq_clk_register_periph_clk()
199 CLK_SET_RATE_PARENT, clk_ctrl, 0, 0, lock); in zynq_clk_register_periph_clk()
202 CLK_SET_RATE_PARENT, clk_ctrl, 1, 0, lock); in zynq_clk_register_periph_clk()
/kernel/linux/linux-5.10/sound/soc/codecs/
Dpcm186x.c362 u8 clk_ctrl = 0; in pcm186x_set_fmt() local
374 clk_ctrl |= PCM186X_CLK_CTRL_MST_MODE; in pcm186x_set_fmt()
418 PCM186X_CLK_CTRL_MST_MODE, clk_ctrl); in pcm186x_set_fmt()
/kernel/linux/linux-5.10/drivers/clk/bcm/
Dclk-iproc.h217 const struct iproc_clk_ctrl *clk_ctrl,
Dclk-iproc-pll.c729 const struct iproc_clk_ctrl *clk_ctrl, in iproc_pll_clk_setup() argument
741 if (WARN_ON(!pll_ctrl) || WARN_ON(!clk_ctrl)) in iproc_pll_clk_setup()
825 iclk->ctrl = &clk_ctrl[i]; in iproc_pll_clk_setup()
/kernel/linux/linux-5.10/drivers/mmc/host/
Dsdhci-tegra.c363 u32 misc_ctrl, clk_ctrl, pad_ctrl; in tegra_sdhci_reset() local
373 clk_ctrl = sdhci_readl(host, SDHCI_TEGRA_VENDOR_CLOCK_CTRL); in tegra_sdhci_reset()
380 clk_ctrl &= ~(SDHCI_CLOCK_CTRL_TRIM_MASK | in tegra_sdhci_reset()
395 clk_ctrl |= SDHCI_CLOCK_CTRL_SDR50_TUNING_OVERRIDE; in tegra_sdhci_reset()
398 clk_ctrl |= tegra_host->default_trim << SDHCI_CLOCK_CTRL_TRIM_SHIFT; in tegra_sdhci_reset()
401 sdhci_writel(host, clk_ctrl, SDHCI_TEGRA_VENDOR_CLOCK_CTRL); in tegra_sdhci_reset()
/kernel/linux/patches/linux-5.10/yangfan_patch/
Ddrivers.patch50363 + u32 clk_ctrl;
50371 + clk_ctrl = DP_PLL_DATA_RATE_HBR2;
50377 + clk_ctrl = DP_PLL_DATA_RATE_HBR;
50384 + clk_ctrl = DP_PLL_DATA_RATE_RBR;
50394 + clk_ctrl |= DP_PLL_CLOCK_ENABLE | DP_PLL_ENABLE;
50395 + writel(clk_ctrl, tcphy->base + PHY_DP_CLK_CTL);
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0030_linux_drivers_pci_misc_nvmem_of_mtd_mmc.patch13377 clk_ctrl |= SDHCI_CLOCK_CTRL_SDR50_TUNING_OVERRIDE;