/linux-6.1.9/drivers/clk/ti/ |
D | composite.c | 116 struct clk_hw_omap_comp *cclk = to_clk_hw_comp(hw); in _register_composite() local 126 if (!cclk->comp_nodes[i]) in _register_composite() 129 comp = _lookup_component(cclk->comp_nodes[i]); in _register_composite() 132 cclk->comp_nodes[i]->name, node); in _register_composite() 139 if (cclk->comp_clks[comp->type] != NULL) { in _register_composite() 145 cclk->comp_clks[comp->type] = comp; in _register_composite() 148 cclk->comp_nodes[i] = NULL; in _register_composite() 153 comp = cclk->comp_clks[i]; in _register_composite() 171 _get_hw(cclk, CLK_COMPONENT_TYPE_MUX), in _register_composite() 173 _get_hw(cclk, CLK_COMPONENT_TYPE_DIVIDER), in _register_composite() [all …]
|
/linux-6.1.9/drivers/clk/sprd/ |
D | common.c | 28 struct sprd_clk_common *cclk; in sprd_clk_set_regmap() local 31 cclk = desc->clk_clks[i]; in sprd_clk_set_regmap() 32 if (!cclk) in sprd_clk_set_regmap() 35 cclk->regmap = regmap; in sprd_clk_set_regmap()
|
/linux-6.1.9/sound/soc/samsung/ |
D | pcm.c | 128 struct clk *cclk; member 288 clk = pcm->cclk; in s3c_pcm_hw_params() 421 if (clk_get_rate(pcm->cclk) != freq) in s3c_pcm_set_sysclk() 422 clk_set_rate(pcm->cclk, freq); in s3c_pcm_set_sysclk() 520 pcm->cclk = devm_clk_get(&pdev->dev, "audio-bus"); in s3c_pcm_dev_probe() 521 if (IS_ERR(pcm->cclk)) { in s3c_pcm_dev_probe() 523 return PTR_ERR(pcm->cclk); in s3c_pcm_dev_probe() 525 ret = clk_prepare_enable(pcm->cclk); in s3c_pcm_dev_probe() 578 clk_disable_unprepare(pcm->cclk); in s3c_pcm_dev_probe() 587 clk_disable_unprepare(pcm->cclk); in s3c_pcm_dev_remove()
|
/linux-6.1.9/drivers/spi/ |
D | spi-qup.c | 128 struct clk *cclk; /* core clock */ member 671 ret = clk_set_rate(controller->cclk, xfer->speed_hz); in spi_qup_io_prep() 997 struct clk *iclk, *cclk; in spi_qup_probe() local 1015 cclk = devm_clk_get(dev, "core"); in spi_qup_probe() 1016 if (IS_ERR(cclk)) in spi_qup_probe() 1017 return PTR_ERR(cclk); in spi_qup_probe() 1032 ret = clk_prepare_enable(cclk); in spi_qup_probe() 1040 clk_disable_unprepare(cclk); in spi_qup_probe() 1047 clk_disable_unprepare(cclk); in spi_qup_probe() 1079 controller->cclk = cclk; in spi_qup_probe() [all …]
|
/linux-6.1.9/drivers/clk/sunxi-ng/ |
D | ccu_common.c | 102 struct ccu_common *cclk = desc->ccu_clks[i]; in sunxi_ccu_probe() local 104 if (!cclk) in sunxi_ccu_probe() 107 cclk->base = reg; in sunxi_ccu_probe() 108 cclk->lock = &ccu->lock; in sunxi_ccu_probe()
|
/linux-6.1.9/drivers/iio/adc/ |
D | ti-adc12138.c | 42 struct clk *cclk; member 439 adc->cclk = devm_clk_get(&spi->dev, NULL); in adc12138_probe() 440 if (IS_ERR(adc->cclk)) in adc12138_probe() 441 return PTR_ERR(adc->cclk); in adc12138_probe() 463 ret = clk_prepare_enable(adc->cclk); in adc12138_probe() 501 clk_disable_unprepare(adc->cclk); in adc12138_probe() 516 clk_disable_unprepare(adc->cclk); in adc12138_remove()
|
/linux-6.1.9/drivers/clk/rockchip/ |
D | clk-cpu.c | 255 struct clk *clk, *cclk; in rockchip_clk_register_cpuclk() local 328 cclk = clk_register(NULL, &cpuclk->hw); in rockchip_clk_register_cpuclk() 329 if (IS_ERR(cclk)) { in rockchip_clk_register_cpuclk() 331 ret = PTR_ERR(cclk); in rockchip_clk_register_cpuclk() 335 return cclk; in rockchip_clk_register_cpuclk()
|
/linux-6.1.9/arch/arm64/boot/dts/ti/ |
D | k3-j721s2-main.dtsi | 696 clock-names = "hclk", "cclk"; 710 clock-names = "hclk", "cclk"; 724 clock-names = "hclk", "cclk"; 738 clock-names = "hclk", "cclk"; 752 clock-names = "hclk", "cclk"; 766 clock-names = "hclk", "cclk"; 780 clock-names = "hclk", "cclk"; 794 clock-names = "hclk", "cclk"; 808 clock-names = "hclk", "cclk"; 822 clock-names = "hclk", "cclk"; [all …]
|
D | k3-j721e-main.dtsi | 2024 clock-names = "hclk", "cclk"; 2038 clock-names = "hclk", "cclk"; 2052 clock-names = "hclk", "cclk"; 2066 clock-names = "hclk", "cclk"; 2080 clock-names = "hclk", "cclk"; 2094 clock-names = "hclk", "cclk"; 2108 clock-names = "hclk", "cclk"; 2122 clock-names = "hclk", "cclk"; 2136 clock-names = "hclk", "cclk"; 2150 clock-names = "hclk", "cclk"; [all …]
|
D | k3-j721s2-mcu-wakeup.dtsi | 178 clock-names = "hclk", "cclk"; 192 clock-names = "hclk", "cclk";
|
D | k3-am65-mcu.dtsi | 169 clock-names = "hclk", "cclk"; 184 clock-names = "hclk", "cclk";
|
/linux-6.1.9/arch/arm/boot/dts/ |
D | stm32mp133.dtsi | 19 clock-names = "hclk", "cclk"; 32 clock-names = "hclk", "cclk";
|
D | stm32mp153.dtsi | 41 clock-names = "hclk", "cclk"; 54 clock-names = "hclk", "cclk";
|
D | sama7g5.dtsi | 322 clock-names = "hclk", "cclk"; 338 clock-names = "hclk", "cclk"; 354 clock-names = "hclk", "cclk"; 370 clock-names = "hclk", "cclk"; 386 clock-names = "hclk", "cclk"; 402 clock-names = "hclk", "cclk";
|
D | dra76x.dtsi | 36 clock-names = "hclk", "cclk";
|
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | t4vf_common.h | 198 u32 cclk; /* Core Clock (KHz) */ member 311 return adapter->params.vpd.cclk / 1000; in core_ticks_per_usec() 317 return (us * adapter->params.vpd.cclk) / 1000; in us_to_core_ticks() 323 return (ticks * 1000) / adapter->params.vpd.cclk; in core_ticks_to_us()
|
/linux-6.1.9/drivers/net/can/m_can/ |
D | m_can_platform.c | 133 mcan_class->can.clock.freq = clk_get_rate(mcan_class->cclk); in m_can_plat_probe() 184 clk_disable_unprepare(mcan_class->cclk); in m_can_runtime_suspend() 200 err = clk_prepare_enable(mcan_class->cclk); in m_can_runtime_resume()
|
D | m_can.h | 80 struct clk *cclk; member
|
D | tcan4x5x-core.c | 321 if (IS_ERR(mcan_class->cclk)) { in tcan4x5x_can_probe() 325 freq = clk_get_rate(mcan_class->cclk); in tcan4x5x_can_probe()
|
/linux-6.1.9/drivers/scsi/csiostor/ |
D | csio_hw.h | 265 uint32_t cclk; member 582 return (ticks * 1000 + hw->vpd.cclk/2) / hw->vpd.cclk; in csio_core_ticks_to_us() 588 return (us * hw->vpd.cclk) / 1000; in csio_us_to_core_ticks()
|
/linux-6.1.9/drivers/mmc/host/ |
D | mmci_stm32_sdmmc.c | 264 host->cclk = host->mclk; in mmci_sdmmc_set_clkreg() 269 host->cclk = host->mclk / (2 * clk); in mmci_sdmmc_set_clkreg() 278 host->cclk = host->mclk / (2 * clk); in mmci_sdmmc_set_clkreg() 283 host->mmc->actual_clock = host->cclk; in mmci_sdmmc_set_clkreg()
|
D | mmci.c | 359 if (host->cclk < 25000000) in mmci_reg_delay() 410 host->cclk = 0; in mmci_set_clkreg() 414 host->cclk = host->mclk; in mmci_set_clkreg() 419 host->cclk = host->mclk; in mmci_set_clkreg() 430 host->cclk = host->mclk / (clk + 2); in mmci_set_clkreg() 439 host->cclk = host->mclk / (2 * (clk + 1)); in mmci_set_clkreg() 449 host->mmc->actual_clock = host->cclk; in mmci_set_clkreg() 1143 clks = (unsigned long long)data->timeout_ns * host->cclk; in mmci_start_data() 1246 clks = (unsigned long long)host->mmc->max_busy_timeout * host->cclk; in mmci_start_command() 1248 clks = (unsigned long long)cmd->busy_timeout * host->cclk; in mmci_start_command()
|
/linux-6.1.9/Documentation/devicetree/bindings/net/can/ |
D | bosch,m_can.yaml | 51 - const: cclk 144 clock-names = "hclk", "cclk";
|
/linux-6.1.9/drivers/clk/tegra/ |
D | Makefile | 17 obj-y += clk-tegra-super-cclk.o
|
/linux-6.1.9/Documentation/devicetree/bindings/iio/adc/ |
D | ti,adc12138.yaml | 80 clocks = <&cclk>;
|