Home
last modified time | relevance | path

Searched refs:hclk (Results 1 – 14 of 14) sorted by relevance

/drivers/cpufreq/
Ds3c2416-cpufreq.c30 struct clk *hclk; member
144 clk_get_rate(s3c_freq->hclk) / 1000); in s3c2416_cpufreq_enter_dvs()
145 ret = clk_set_parent(s3c_freq->armclk, s3c_freq->hclk); in s3c2416_cpufreq_enter_dvs()
202 if (clk_get_rate(s3c_freq->armdiv) > clk_get_rate(s3c_freq->hclk)) { in s3c2416_cpufreq_leave_dvs()
204 clk_get_rate(s3c_freq->hclk) / 1000); in s3c2416_cpufreq_leave_dvs()
206 clk_get_rate(s3c_freq->hclk) / 1000); in s3c2416_cpufreq_leave_dvs()
209 clk_get_rate(s3c_freq->hclk) / 1000, ret); in s3c2416_cpufreq_leave_dvs()
269 ? clk_get_rate(s3c_freq->hclk) / 1000 in s3c2416_cpufreq_set_target()
425 s3c_freq->hclk = clk_get(NULL, "hclk"); in s3c2416_cpufreq_driver_init()
426 if (IS_ERR(s3c_freq->hclk)) { in s3c2416_cpufreq_driver_init()
[all …]
/drivers/usb/host/
Dohci-at91.c35 static struct clk *iclk, *fclk, *hclk; variable
44 clk_enable(hclk); in at91_start_clock()
54 clk_disable(hclk); in at91_stop_clock()
159 hclk = clk_get(&pdev->dev, "hclk"); in usb_hcd_at91_probe()
160 if (IS_ERR(hclk)) { in usb_hcd_at91_probe()
162 retval = PTR_ERR(hclk); in usb_hcd_at91_probe()
176 clk_put(hclk); in usb_hcd_at91_probe()
215 clk_put(hclk); in usb_hcd_at91_remove()
218 fclk = iclk = hclk = NULL; in usb_hcd_at91_remove()
/drivers/mmc/host/
Dsh_mmcif.c216 struct clk *hclk; member
1288 host->hclk = clk_get(&pdev->dev, clk_name); in sh_mmcif_probe()
1289 if (IS_ERR(host->hclk)) { in sh_mmcif_probe()
1291 ret = PTR_ERR(host->hclk); in sh_mmcif_probe()
1294 clk_enable(host->hclk); in sh_mmcif_probe()
1295 host->clk = clk_get_rate(host->hclk); in sh_mmcif_probe()
1358 clk_disable(host->hclk); in sh_mmcif_probe()
1398 clk_disable(host->hclk); in sh_mmcif_remove()
1415 clk_disable(host->hclk); in sh_mmcif_suspend()
1426 clk_enable(host->hclk); in sh_mmcif_resume()
Dsh_mobile_sdhi.c135 mmc_data->hclk = clk_get_rate(priv->clk); in sh_mobile_sdhi_probe()
229 mmc_data->hclk / 1000000); in sh_mobile_sdhi_probe()
Dtmio_mmc.c71 if (!pdata || !pdata->hclk) in tmio_mmc_probe()
Dtmio_mmc_pio.c907 mmc->f_max = pdata->hclk; in tmio_mmc_host_probe()
/drivers/net/ethernet/cadence/
Dmacb.c1332 bp->hclk = clk_get(&pdev->dev, "hclk"); in macb_probe()
1333 if (IS_ERR(bp->hclk)) { in macb_probe()
1337 clk_enable(bp->hclk); in macb_probe()
1425 clk_disable(bp->hclk); in macb_probe()
1426 clk_put(bp->hclk); in macb_probe()
1454 clk_disable(bp->hclk); in macb_remove()
1455 clk_put(bp->hclk); in macb_remove()
1473 clk_disable(bp->hclk); in macb_suspend()
1485 clk_enable(bp->hclk); in macb_resume()
Dmacb.h515 struct clk *hclk; member
/drivers/usb/gadget/
Datmel_usba_udc.c1820 clk_enable(udc->hclk); in atmel_usba_start()
1881 clk_disable(udc->hclk); in atmel_usba_stop()
1893 struct clk *pclk, *hclk; in usba_udc_probe() local
1909 hclk = clk_get(&pdev->dev, "hclk"); in usba_udc_probe()
1910 if (IS_ERR(hclk)) { in usba_udc_probe()
1911 ret = PTR_ERR(hclk); in usba_udc_probe()
1918 udc->hclk = hclk; in usba_udc_probe()
2055 clk_put(hclk); in usba_udc_probe()
2087 clk_put(udc->hclk); in usba_udc_remove()
Datmel_usba_udc.h328 struct clk *hclk; member
/drivers/mfd/
Dtc6387xb.c122 .hclk = 24000000,
Dt7l66xb.c145 .hclk = 24000000,
Dtc6393xb.c380 .hclk = 24000000,
Dasic3.c707 .hclk = 24576000,