cclk 254 drivers/clk/rockchip/clk-cpu.c struct clk *clk, *cclk; cclk 327 drivers/clk/rockchip/clk-cpu.c cclk = clk_register(NULL, &cpuclk->hw); cclk 328 drivers/clk/rockchip/clk-cpu.c if (IS_ERR(cclk)) { cclk 330 drivers/clk/rockchip/clk-cpu.c ret = PTR_ERR(cclk); cclk 334 drivers/clk/rockchip/clk-cpu.c return cclk; cclk 28 drivers/clk/sprd/common.c struct sprd_clk_common *cclk; cclk 31 drivers/clk/sprd/common.c cclk = desc->clk_clks[i]; cclk 32 drivers/clk/sprd/common.c if (!cclk) cclk 35 drivers/clk/sprd/common.c cclk->regmap = regmap; cclk 89 drivers/clk/sunxi-ng/ccu_common.c struct ccu_common *cclk = desc->ccu_clks[i]; cclk 91 drivers/clk/sunxi-ng/ccu_common.c if (!cclk) cclk 94 drivers/clk/sunxi-ng/ccu_common.c cclk->base = reg; cclk 95 drivers/clk/sunxi-ng/ccu_common.c cclk->lock = &ccu_lock; cclk 124 drivers/clk/ti/composite.c struct clk_hw_omap_comp *cclk = to_clk_hw_comp(hw); cclk 133 drivers/clk/ti/composite.c if (!cclk->comp_nodes[i]) cclk 136 drivers/clk/ti/composite.c comp = _lookup_component(cclk->comp_nodes[i]); cclk 139 drivers/clk/ti/composite.c cclk->comp_nodes[i]->name, node); cclk 146 drivers/clk/ti/composite.c if (cclk->comp_clks[comp->type] != NULL) { cclk 152 drivers/clk/ti/composite.c cclk->comp_clks[comp->type] = comp; cclk 155 drivers/clk/ti/composite.c cclk->comp_nodes[i] = NULL; cclk 160 drivers/clk/ti/composite.c comp = cclk->comp_clks[i]; cclk 177 drivers/clk/ti/composite.c _get_hw(cclk, CLK_COMPONENT_TYPE_MUX), cclk 179 drivers/clk/ti/composite.c _get_hw(cclk, CLK_COMPONENT_TYPE_DIVIDER), cclk 181 drivers/clk/ti/composite.c _get_hw(cclk, CLK_COMPONENT_TYPE_GATE), cclk 196 drivers/clk/ti/composite.c if (!cclk->comp_clks[i]) cclk 198 drivers/clk/ti/composite.c list_del(&cclk->comp_clks[i]->link); cclk 199 drivers/clk/ti/composite.c kfree(cclk->comp_clks[i]); cclk 202 drivers/clk/ti/composite.c kfree(cclk); cclk 209 drivers/clk/ti/composite.c struct clk_hw_omap_comp *cclk; cclk 219 drivers/clk/ti/composite.c cclk = kzalloc(sizeof(*cclk), GFP_KERNEL); cclk 220 drivers/clk/ti/composite.c if (!cclk) cclk 225 drivers/clk/ti/composite.c cclk->comp_nodes[i] = _get_component_node(node, i); cclk 227 drivers/clk/ti/composite.c _register_composite(&cclk->hw, node); cclk 41 drivers/iio/adc/ti-adc12138.c struct clk *cclk; cclk 433 drivers/iio/adc/ti-adc12138.c adc->cclk = devm_clk_get(&spi->dev, NULL); cclk 434 drivers/iio/adc/ti-adc12138.c if (IS_ERR(adc->cclk)) cclk 435 drivers/iio/adc/ti-adc12138.c return PTR_ERR(adc->cclk); cclk 457 drivers/iio/adc/ti-adc12138.c ret = clk_prepare_enable(adc->cclk); cclk 495 drivers/iio/adc/ti-adc12138.c clk_disable_unprepare(adc->cclk); cclk 510 drivers/iio/adc/ti-adc12138.c clk_disable_unprepare(adc->cclk); cclk 318 drivers/mmc/host/mmci.c if (host->cclk < 25000000) cclk 369 drivers/mmc/host/mmci.c host->cclk = 0; cclk 373 drivers/mmc/host/mmci.c host->cclk = host->mclk; cclk 378 drivers/mmc/host/mmci.c host->cclk = host->mclk; cclk 389 drivers/mmc/host/mmci.c host->cclk = host->mclk / (clk + 2); cclk 398 drivers/mmc/host/mmci.c host->cclk = host->mclk / (2 * (clk + 1)); cclk 408 drivers/mmc/host/mmci.c host->mmc->actual_clock = host->cclk; cclk 1004 drivers/mmc/host/mmci.c clks = (unsigned long long)data->timeout_ns * host->cclk; cclk 389 drivers/mmc/host/mmci.h unsigned int cclk; cclk 185 drivers/mmc/host/mmci_stm32_sdmmc.c host->cclk = host->mclk; cclk 190 drivers/mmc/host/mmci_stm32_sdmmc.c host->cclk = host->mclk / (2 * clk); cclk 199 drivers/mmc/host/mmci_stm32_sdmmc.c host->cclk = host->mclk / (2 * clk); cclk 204 drivers/mmc/host/mmci_stm32_sdmmc.c host->mmc->actual_clock = host->cclk; cclk 1711 drivers/net/can/m_can/m_can.c m_can_dev->cclk = devm_clk_get(m_can_dev->dev, "cclk"); cclk 1713 drivers/net/can/m_can/m_can.c if (IS_ERR(m_can_dev->cclk)) { cclk 78 drivers/net/can/m_can/m_can.h struct clk *cclk; cclk 103 drivers/net/can/m_can/m_can_platform.c mcan_class->can.clock.freq = clk_get_rate(mcan_class->cclk); cclk 149 drivers/net/can/m_can/m_can_platform.c clk_disable_unprepare(mcan_class->cclk); cclk 165 drivers/net/can/m_can/m_can_platform.c err = clk_prepare_enable(mcan_class->cclk); cclk 431 drivers/net/can/m_can/tcan4x5x.c if (IS_ERR(mcan_class->cclk)) { cclk 435 drivers/net/can/m_can/tcan4x5x.c freq = clk_get_rate(mcan_class->cclk); cclk 487 drivers/net/can/m_can/tcan4x5x.c if (!IS_ERR(mcan_class->cclk)) { cclk 488 drivers/net/can/m_can/tcan4x5x.c clk_disable_unprepare(mcan_class->cclk); cclk 355 drivers/net/ethernet/chelsio/cxgb3/common.h unsigned int cclk; cclk 634 drivers/net/ethernet/chelsio/cxgb3/common.h return adap->params.vpd.cclk / 1000; cclk 819 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c v = (adap->params.vpd.cclk * 1000) / cpt; cclk 198 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c u32 clkdiv = adap->params.vpd.cclk / (2 * adap->params.vpd.mdc) - 1; cclk 583 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c VPD_ENTRY(cclk, 6); /* core clock */ cclk 730 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c ret = vpdstrtouint(vpd.cclk_data, vpd.cclk_len, 10, &p->cclk); cclk 3039 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c unsigned int clk = adap->params.vpd.cclk * 1000; cclk 3080 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c tp_set_timers(adap, adap->params.vpd.cclk * 1000); cclk 3566 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c V_I2C_CLKDIV(adapter->params.vpd.cclk / 80 - 1)); cclk 407 drivers/net/ethernet/chelsio/cxgb3/xgmac.c thres = (adap->params.vpd.cclk * 1000) / 15625; cclk 1235 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c if (!padap->params.vpd.cclk) cclk 1553 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c if (!padap->params.vpd.cclk) cclk 1562 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c clk_info_buff->cclk_ps = 1000000000 / padap->params.vpd.cclk; /* psec */ cclk 317 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h unsigned int cclk; cclk 1476 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h return adap->params.vpd.cclk / 1000; cclk 1482 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h return (us * adap->params.vpd.cclk) / 1000; cclk 1489 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h return ((ticks * 1000 + adapter->params.vpd.cclk/2) / cclk 1490 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h adapter->params.vpd.cclk); cclk 906 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c unsigned int cclk_ps = 1000000000 / adap->params.vpd.cclk; /* in ps */ cclk 672 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c lld->cclk_ps = 1000000000 / adap->params.vpd.cclk; cclk 2731 drivers/net/ethernet/chelsio/cxgb4/sge.c u64 tmp = (sgetstamp * 1000 * 1000 + adap->params.vpd.cclk / 2); cclk 2733 drivers/net/ethernet/chelsio/cxgb4/sge.c ns = div_u64(tmp, adap->params.vpd.cclk); cclk 2880 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c p->cclk = cclk_val; cclk 5906 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c u64 v = bytes256 * adap->params.vpd.cclk; cclk 9180 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c adapter->params.vpd.cclk = 50000; cclk 10275 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c v = (adap->params.vpd.cclk * 1000) / cpt; /* ticks/s */ cclk 198 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_common.h u32 cclk; /* Core Clock (KHz) */ cclk 311 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_common.h return adapter->params.vpd.cclk / 1000; cclk 317 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_common.h return (us * adapter->params.vpd.cclk) / 1000; cclk 323 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_common.h return (ticks * 1000) / adapter->params.vpd.cclk; cclk 978 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c vpd_params->cclk = vals[0]; cclk 2158 drivers/net/ethernet/chelsio/cxgb4vf/t4vf_hw.c adapter->params.vpd.cclk = 50000; cclk 1405 drivers/scsi/csiostor/csio_hw.c hw->vpd.cclk = param[1]; cclk 265 drivers/scsi/csiostor/csio_hw.h uint32_t cclk; cclk 582 drivers/scsi/csiostor/csio_hw.h return (ticks * 1000 + hw->vpd.cclk/2) / hw->vpd.cclk; cclk 588 drivers/scsi/csiostor/csio_hw.h return (us * hw->vpd.cclk) / 1000; cclk 128 drivers/spi/spi-qup.c struct clk *cclk; /* core clock */ cclk 672 drivers/spi/spi-qup.c ret = clk_set_rate(controller->cclk, xfer->speed_hz); cclk 998 drivers/spi/spi-qup.c struct clk *iclk, *cclk; cclk 1016 drivers/spi/spi-qup.c cclk = devm_clk_get(dev, "core"); cclk 1017 drivers/spi/spi-qup.c if (IS_ERR(cclk)) cclk 1018 drivers/spi/spi-qup.c return PTR_ERR(cclk); cclk 1033 drivers/spi/spi-qup.c ret = clk_prepare_enable(cclk); cclk 1041 drivers/spi/spi-qup.c clk_disable_unprepare(cclk); cclk 1048 drivers/spi/spi-qup.c clk_disable_unprepare(cclk); cclk 1078 drivers/spi/spi-qup.c controller->cclk = cclk; cclk 1166 drivers/spi/spi-qup.c clk_disable_unprepare(cclk); cclk 1184 drivers/spi/spi-qup.c clk_disable_unprepare(controller->cclk); cclk 1201 drivers/spi/spi-qup.c ret = clk_prepare_enable(controller->cclk); cclk 1233 drivers/spi/spi-qup.c clk_disable_unprepare(controller->cclk); cclk 1248 drivers/spi/spi-qup.c ret = clk_prepare_enable(controller->cclk); cclk 1276 drivers/spi/spi-qup.c clk_disable_unprepare(controller->cclk); cclk 123 sound/soc/samsung/pcm.c struct clk *cclk; cclk 283 sound/soc/samsung/pcm.c clk = pcm->cclk; cclk 416 sound/soc/samsung/pcm.c if (clk_get_rate(pcm->cclk) != freq) cclk 417 sound/soc/samsung/pcm.c clk_set_rate(pcm->cclk, freq); cclk 515 sound/soc/samsung/pcm.c pcm->cclk = devm_clk_get(&pdev->dev, "audio-bus"); cclk 516 sound/soc/samsung/pcm.c if (IS_ERR(pcm->cclk)) { cclk 518 sound/soc/samsung/pcm.c return PTR_ERR(pcm->cclk); cclk 520 sound/soc/samsung/pcm.c ret = clk_prepare_enable(pcm->cclk); cclk 573 sound/soc/samsung/pcm.c clk_disable_unprepare(pcm->cclk); cclk 582 sound/soc/samsung/pcm.c clk_disable_unprepare(pcm->cclk);