Home
last modified time | relevance | path

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

/Linux-v5.4/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 …]
/Linux-v5.4/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.c93 enum dpu_clk_ctrl_type clk_ctrl, bool enable) in dpu_hw_setup_clk_force_ctrl() argument
105 if (clk_ctrl <= DPU_CLK_CTRL_NONE || clk_ctrl >= DPU_CLK_CTRL_MAX) in dpu_hw_setup_clk_force_ctrl()
108 reg_off = mdp->caps->clk_ctrls[clk_ctrl].reg_off; in dpu_hw_setup_clk_force_ctrl()
109 bit_off = mdp->caps->clk_ctrls[clk_ctrl].bit_off; in dpu_hw_setup_clk_force_ctrl()
Ddpu_vbif.c192 forced_on = mdp->ops.setup_clk_force_ctrl(mdp, params->clk_ctrl, true); in dpu_vbif_set_ot_limit()
205 mdp->ops.setup_clk_force_ctrl(mdp, params->clk_ctrl, false); in dpu_vbif_set_ot_limit()
249 forced_on = mdp->ops.setup_clk_force_ctrl(mdp, params->clk_ctrl, true); in dpu_vbif_set_qos_remap()
260 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_plane.c384 ot_params.clk_ctrl = pdpu->pipe_hw->cap->clk_ctrl; in _dpu_plane_set_ot_limit()
402 qos_params.clk_ctrl = pdpu->pipe_hw->cap->clk_ctrl; in _dpu_plane_set_qos_remap()
411 qos_params.clk_ctrl); in _dpu_plane_set_qos_remap()
1371 (u32 *) &cfg->clk_ctrl); in _dpu_plane_init_debugfs()
Ddpu_hw_catalog.h448 enum dpu_clk_ctrl_type clk_ctrl; member
Ddpu_hw_catalog.c184 .clk_ctrl = _clkctrl \
/Linux-v5.4/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
/Linux-v5.4/drivers/net/wireless/st/cw1200/
Dcw1200_sdio.c197 if (pdata->clk_ctrl) in cw1200_sdio_off()
198 pdata->clk_ctrl(pdata, false); in cw1200_sdio_off()
226 if (pdata->clk_ctrl) { in cw1200_sdio_on()
227 if (pdata->clk_ctrl(pdata, true)) { in cw1200_sdio_on()
Dcw1200_spi.c292 if (pdata->clk_ctrl) in cw1200_spi_off()
293 pdata->clk_ctrl(pdata, false); in cw1200_spi_off()
321 if (pdata->clk_ctrl) { in cw1200_spi_on()
322 if (pdata->clk_ctrl(pdata, true)) { in cw1200_spi_on()
/Linux-v5.4/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()
/Linux-v5.4/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()
/Linux-v5.4/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
740 if (WARN_ON(!pll_ctrl) || WARN_ON(!clk_ctrl)) in iproc_pll_clk_setup()
821 iclk->ctrl = &clk_ctrl[i]; in iproc_pll_clk_setup()
/Linux-v5.4/drivers/mmc/host/
Dsdhci-tegra.c358 u32 misc_ctrl, clk_ctrl, pad_ctrl; in tegra_sdhci_reset() local
368 clk_ctrl = sdhci_readl(host, SDHCI_TEGRA_VENDOR_CLOCK_CTRL); in tegra_sdhci_reset()
375 clk_ctrl &= ~(SDHCI_CLOCK_CTRL_TRIM_MASK | in tegra_sdhci_reset()
390 clk_ctrl |= SDHCI_CLOCK_CTRL_SDR50_TUNING_OVERRIDE; in tegra_sdhci_reset()
393 clk_ctrl |= tegra_host->default_trim << SDHCI_CLOCK_CTRL_TRIM_SHIFT; in tegra_sdhci_reset()
396 sdhci_writel(host, clk_ctrl, SDHCI_TEGRA_VENDOR_CLOCK_CTRL); in tegra_sdhci_reset()