Searched refs:src_clk (Results 1 - 7 of 7) sorted by relevance
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp4/ |
H A D | mdp4_dtv_encoder.c | 26 struct clk *src_clk; member in struct:mdp4_dtv_encoder 189 clk_disable_unprepare(mdp4_dtv_encoder->src_clk); mdp4_dtv_encoder_disable() 218 DBG("setting src_clk=%lu", pc); mdp4_dtv_encoder_enable() 220 ret = clk_set_rate(mdp4_dtv_encoder->src_clk, pc); mdp4_dtv_encoder_enable() 222 dev_err(dev->dev, "failed to set src_clk to %lu: %d\n", pc, ret); mdp4_dtv_encoder_enable() 223 clk_prepare_enable(mdp4_dtv_encoder->src_clk); mdp4_dtv_encoder_enable() 246 return clk_round_rate(mdp4_dtv_encoder->src_clk, rate); mdp4_dtv_round_pixclk() 268 mdp4_dtv_encoder->src_clk = devm_clk_get(dev->dev, "src_clk"); mdp4_dtv_encoder_init() 269 if (IS_ERR(mdp4_dtv_encoder->src_clk)) { mdp4_dtv_encoder_init() 270 dev_err(dev->dev, "failed to get src_clk\n"); mdp4_dtv_encoder_init() 271 ret = PTR_ERR(mdp4_dtv_encoder->src_clk); mdp4_dtv_encoder_init()
|
/linux-4.4.14/drivers/spi/ |
H A D | spi-s3c64xx.c | 165 * @src_clk: Pointer to the clock used to generate SPI signals. 184 struct clk *src_clk; member in struct:s3c64xx_spi_driver_data 582 clk_disable_unprepare(sdd->src_clk); s3c64xx_spi_config() 628 clk_set_rate(sdd->src_clk, sdd->cur_speed * 2); s3c64xx_spi_config() 630 clk_prepare_enable(sdd->src_clk); s3c64xx_spi_config() 635 val |= ((clk_get_rate(sdd->src_clk) / sdd->cur_speed / 2 - 1) s3c64xx_spi_config() 832 speed = clk_get_rate(sdd->src_clk) / 2 / (0 + 1); s3c64xx_spi_setup() 837 psr = clk_get_rate(sdd->src_clk) / 2 / spi->max_speed_hz - 1; s3c64xx_spi_setup() 842 speed = clk_get_rate(sdd->src_clk) / 2 / (psr + 1); s3c64xx_spi_setup() 852 speed = clk_get_rate(sdd->src_clk) / 2 / (psr + 1); s3c64xx_spi_setup() 1154 sdd->src_clk = devm_clk_get(&pdev->dev, clk_name); s3c64xx_spi_probe() 1155 if (IS_ERR(sdd->src_clk)) { s3c64xx_spi_probe() 1158 ret = PTR_ERR(sdd->src_clk); s3c64xx_spi_probe() 1162 if (clk_prepare_enable(sdd->src_clk)) { s3c64xx_spi_probe() 1214 clk_disable_unprepare(sdd->src_clk); s3c64xx_spi_probe() 1232 clk_disable_unprepare(sdd->src_clk); s3c64xx_spi_remove() 1289 clk_disable_unprepare(sdd->src_clk); s3c64xx_spi_runtime_suspend() 1300 ret = clk_prepare_enable(sdd->src_clk); s3c64xx_spi_runtime_resume() 1306 clk_disable_unprepare(sdd->src_clk); s3c64xx_spi_runtime_resume()
|
/linux-4.4.14/drivers/input/serio/ |
H A D | sun4i-ps2.c | 144 u32 src_clk = 0; sun4i_ps2_open() local 162 src_clk = clk_get_rate(drvdata->clk); sun4i_ps2_open() 164 clk_scdf = src_clk / PS2_SAMPLE_CLK - 1; sun4i_ps2_open()
|
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp5/ |
H A D | mdp5_kms.c | 528 ret = get_clk(pdev, &mdp5_kms->src_clk, "core_clk_src", true); mdp5_kms_init() 545 clk_set_rate(mdp5_kms->src_clk, 200000000); mdp5_kms_init() 560 clk_set_rate(mdp5_kms->src_clk, config->hw->max_clk); mdp5_kms_init()
|
H A D | mdp5_kms.h | 52 struct clk *src_clk; member in struct:mdp5_kms
|
/linux-4.4.14/drivers/mmc/host/ |
H A D | mtk-sd.c | 320 struct clk *src_clk; /* msdc source clock */ member in struct:msdc_host 505 clk_disable_unprepare(host->src_clk); msdc_gate_clock() 512 clk_prepare_enable(host->src_clk); msdc_ungate_clock() 1494 host->src_clk = devm_clk_get(&pdev->dev, "source"); msdc_drv_probe() 1495 if (IS_ERR(host->src_clk)) { msdc_drv_probe() 1496 ret = PTR_ERR(host->src_clk); msdc_drv_probe() 1540 host->src_clk_freq = clk_get_rate(host->src_clk); msdc_drv_probe()
|
/linux-4.4.14/drivers/gpu/drm/msm/ |
H A D | msm_gpu.c | 565 "src_clk", "core_clk", "iface_clk", "mem_clk", "mem_iface_clk",
|
Completed in 307 milliseconds