/openbmc/linux/drivers/clk/ti/ |
H A 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 …]
|
/openbmc/linux/drivers/clk/sunxi-ng/ |
H A D | ccu_common.c | 124 struct ccu_common *cclk = desc->ccu_clks[i]; in sunxi_ccu_probe() local 126 if (!cclk) in sunxi_ccu_probe() 129 cclk->base = reg; in sunxi_ccu_probe() 130 cclk->lock = &ccu->lock; in sunxi_ccu_probe() 152 struct ccu_common *cclk = desc->ccu_clks[i]; in sunxi_ccu_probe() local 154 if (!cclk) in sunxi_ccu_probe() 157 if (cclk->max_rate) in sunxi_ccu_probe() 158 clk_hw_set_rate_range(&cclk->hw, cclk->min_rate, in sunxi_ccu_probe() 159 cclk->max_rate); in sunxi_ccu_probe() 161 WARN(cclk->min_rate, in sunxi_ccu_probe() [all …]
|
/openbmc/linux/drivers/clk/sprd/ |
H A D | common.c | 27 struct sprd_clk_common *cclk; in sprd_clk_set_regmap() local 30 cclk = desc->clk_clks[i]; in sprd_clk_set_regmap() 31 if (!cclk) in sprd_clk_set_regmap() 34 cclk->regmap = regmap; in sprd_clk_set_regmap()
|
/openbmc/linux/sound/soc/samsung/ |
H A D | pcm.c | 113 * @cclk: the SCLK_AUDIO (audio-bus) clock pointer 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() [all …]
|
/openbmc/linux/drivers/iio/adc/ |
H A D | ti-adc12138.c | 42 struct clk *cclk; member 49 /* The number of cclk periods for the S/H's acquisition time */ 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()
|
/openbmc/linux/drivers/spi/ |
H A D | spi-qup.c | 127 struct clk *cclk; /* core clock */ member 670 ret = clk_set_rate(controller->cclk, xfer->speed_hz); in spi_qup_io_prep() 996 struct clk *iclk, *cclk; in spi_qup_probe() local 1013 cclk = devm_clk_get(dev, "core"); in spi_qup_probe() 1014 if (IS_ERR(cclk)) in spi_qup_probe() 1015 return PTR_ERR(cclk); in spi_qup_probe() 1062 controller->cclk = cclk; in spi_qup_probe() 1079 ret = clk_prepare_enable(cclk); in spi_qup_probe() 1087 clk_disable_unprepare(cclk); in spi_qup_probe() 1161 clk_disable_unprepare(cclk); in spi_qup_probe() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/can/ |
H A D | bosch,m_can.yaml | 51 - const: cclk 143 clock-names = "hclk", "cclk"; 160 clock-names = "hclk", "cclk";
|
/openbmc/linux/arch/arm/boot/dts/st/ |
H A D | stm32mp153.dtsi | 41 clock-names = "hclk", "cclk"; 54 clock-names = "hclk", "cclk";
|
H A D | stm32mp133.dtsi | 19 clock-names = "hclk", "cclk"; 32 clock-names = "hclk", "cclk";
|
/openbmc/linux/Documentation/devicetree/bindings/iio/adc/ |
H A D | ti,adc12138.yaml | 49 For less ADC accuracy and/or slower CCLK frequencies this value may be 80 clocks = <&cclk>;
|
/openbmc/linux/drivers/net/can/m_can/ |
H A D | m_can_platform.c | 146 mcan_class->can.clock.freq = clk_get_rate(mcan_class->cclk); in m_can_plat_probe() 195 clk_disable_unprepare(mcan_class->cclk); in m_can_runtime_suspend() 211 err = clk_prepare_enable(mcan_class->cclk); in m_can_runtime_resume()
|
H A D | m_can.h | 80 struct clk *cclk; member
|
/openbmc/linux/drivers/clk/rockchip/ |
H A D | clk-cpu.c | 308 struct clk *clk, *cclk; in rockchip_clk_register_cpuclk() local 381 cclk = clk_register(NULL, &cpuclk->hw); in rockchip_clk_register_cpuclk() 382 if (IS_ERR(cclk)) { in rockchip_clk_register_cpuclk() 384 ret = PTR_ERR(cclk); in rockchip_clk_register_cpuclk() 388 return cclk; in rockchip_clk_register_cpuclk()
|
/openbmc/linux/arch/arm64/boot/dts/ti/ |
H A D | k3-j784s4-main.dtsi | 1025 clock-names = "hclk", "cclk"; 1040 clock-names = "hclk", "cclk"; 1055 clock-names = "hclk", "cclk"; 1070 clock-names = "hclk", "cclk"; 1085 clock-names = "hclk", "cclk"; 1100 clock-names = "hclk", "cclk"; 1115 clock-names = "hclk", "cclk"; 1130 clock-names = "hclk", "cclk"; 1145 clock-names = "hclk", "cclk"; 1160 clock-names = "hclk", "cclk"; [all …]
|
H A D | k3-j721s2-main.dtsi | 1302 clock-names = "hclk", "cclk"; 1317 clock-names = "hclk", "cclk"; 1332 clock-names = "hclk", "cclk"; 1347 clock-names = "hclk", "cclk"; 1362 clock-names = "hclk", "cclk"; 1377 clock-names = "hclk", "cclk"; 1392 clock-names = "hclk", "cclk"; 1407 clock-names = "hclk", "cclk"; 1422 clock-names = "hclk", "cclk"; 1437 clock-names = "hclk", "cclk"; [all …]
|
H A D | k3-am62a-mcu.dtsi | 154 clock-names = "hclk", "cclk"; 166 clock-names = "hclk", "cclk";
|
H A D | k3-am62-mcu.dtsi | 158 clock-names = "hclk", "cclk"; 170 clock-names = "hclk", "cclk";
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A 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()
|
/openbmc/linux/drivers/mmc/host/ |
H A D | mmci_stm32_sdmmc.c | 306 * cclk = mclk / (2 * clkdiv) in mmci_sdmmc_set_clkreg() 312 host->cclk = host->mclk; in mmci_sdmmc_set_clkreg() 317 host->cclk = host->mclk / (2 * clk); in mmci_sdmmc_set_clkreg() 326 host->cclk = host->mclk / (2 * clk); in mmci_sdmmc_set_clkreg() 331 host->mmc->actual_clock = host->cclk; in mmci_sdmmc_set_clkreg()
|
H A D | mmci.c | 390 if (host->cclk < 25000000) in mmci_reg_delay() 440 /* Make sure cclk reflects the current calculated clock */ in mmci_set_clkreg() 441 host->cclk = 0; in mmci_set_clkreg() 445 host->cclk = host->mclk; in mmci_set_clkreg() 450 host->cclk = host->mclk; in mmci_set_clkreg() 461 host->cclk = host->mclk / (clk + 2); in mmci_set_clkreg() 470 host->cclk = host->mclk / (2 * (clk + 1)); in mmci_set_clkreg() 480 host->mmc->actual_clock = host->cclk; in mmci_set_clkreg() 1245 clks = (unsigned long long)data->timeout_ns * host->cclk; in mmci_start_data() 1353 clks = (unsigned long long)host->mmc->max_busy_timeout * host->cclk; in mmci_start_command() [all …]
|
/openbmc/linux/drivers/fpga/ |
H A D | xilinx-spi.c | 164 dev_err(&spi->dev, "applying CCLK cycles failed: %d\n", ret); in xilinx_spi_apply_cclk_cycles() 181 * before giving up and we apply 8 extra CCLK cycles in all cases. in xilinx_spi_write_complete()
|
/openbmc/linux/drivers/clk/tegra/ |
H A D | Makefile | 17 obj-y += clk-tegra-super-cclk.o
|
/openbmc/linux/drivers/scsi/csiostor/ |
H A 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()
|
/openbmc/linux/arch/arm/boot/dts/microchip/ |
H A D | sama7g5.dtsi | 373 clock-names = "hclk", "cclk"; 389 clock-names = "hclk", "cclk"; 405 clock-names = "hclk", "cclk"; 421 clock-names = "hclk", "cclk"; 437 clock-names = "hclk", "cclk"; 453 clock-names = "hclk", "cclk";
|
/openbmc/linux/arch/x86/include/uapi/asm/ |
H A D | amd_hsmp.h | 31 HSMP_GET_CCLK_THROTTLE_LIMIT, /* 10h Get CCLK frequency limit in socket */ 41 HSMP_GET_CCLK_CORE_LIMIT, /* 1Ah Get CCLK frequency limit per core */
|