Home
last modified time | relevance | path

Searched full:hclock (Results 1 – 19 of 19) sorted by relevance

/openbmc/linux/drivers/mmc/host/
H A Dsdhci-of-at91.c46 struct clk *hclock; member
177 clk_prepare_enable(priv->hclock); in sdhci_at91_set_clks_presets()
262 clk_disable_unprepare(priv->hclock); in sdhci_at91_runtime_suspend()
290 ret = clk_prepare_enable(priv->hclock); in sdhci_at91_runtime_resume()
292 dev_err(dev, "can't enable hclock\n"); in sdhci_at91_runtime_resume()
345 priv->hclock = devm_clk_get(&pdev->dev, "hclock"); in sdhci_at91_probe()
346 if (IS_ERR(priv->hclock)) { in sdhci_at91_probe()
347 dev_err(&pdev->dev, "failed to get hclock\n"); in sdhci_at91_probe()
348 ret = PTR_ERR(priv->hclock); in sdhci_at91_probe()
440 clk_disable_unprepare(priv->hclock); in sdhci_at91_probe()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/mmc/
H A Dsdhci-atmel.txt11 - clock-names: Must be "hclock", "multclk", "baseclk" for
13 Must be "hclock", "multclk" for "microchip,sam9x60-sdhci".
14 Must be "hclock", "multclk" for "microchip,sam9x7-sdhci".
32 clock-names = "hclock", "multclk", "baseclk";
/openbmc/linux/drivers/media/platform/microchip/
H A Dmicrochip-sama5d2-isc.c489 isc->hclock = devm_clk_get(dev, "hclock"); in microchip_isc_probe()
490 if (IS_ERR(isc->hclock)) { in microchip_isc_probe()
491 ret = PTR_ERR(isc->hclock); in microchip_isc_probe()
492 dev_err(dev, "failed to get hclock: %d\n", ret); in microchip_isc_probe()
496 ret = clk_prepare_enable(isc->hclock); in microchip_isc_probe()
498 dev_err(dev, "failed to enable hclock: %d\n", ret); in microchip_isc_probe()
574 /* ispck should be greater or equal to hclock */ in microchip_isc_probe()
575 ret = clk_set_rate(isc->ispck, clk_get_rate(isc->hclock)); in microchip_isc_probe()
601 clk_disable_unprepare(isc->hclock); in microchip_isc_probe()
621 clk_disable_unprepare(isc->hclock); in microchip_isc_remove()
[all …]
H A Dmicrochip-sama7g5-isc.c478 isc->hclock = devm_clk_get(dev, "hclock"); in microchip_xisc_probe()
479 if (IS_ERR(isc->hclock)) { in microchip_xisc_probe()
480 ret = PTR_ERR(isc->hclock); in microchip_xisc_probe()
481 dev_err(dev, "failed to get hclock: %d\n", ret); in microchip_xisc_probe()
485 ret = clk_prepare_enable(isc->hclock); in microchip_xisc_probe()
487 dev_err(dev, "failed to enable hclock: %d\n", ret); in microchip_xisc_probe()
570 clk_disable_unprepare(isc->hclock); in microchip_xisc_probe()
589 clk_disable_unprepare(isc->hclock); in microchip_xisc_remove()
598 clk_disable_unprepare(isc->hclock); in xisc_runtime_suspend()
608 ret = clk_prepare_enable(isc->hclock); in xisc_runtime_resume()
H A Dmicrochip-isc.h201 * @hclock: Hclock clock input (refer datasheet)
283 struct clk *hclock; member
/openbmc/linux/drivers/staging/media/deprecated/atmel/
H A Datmel-sama5d2-isc.c469 isc->hclock = devm_clk_get(dev, "hclock"); in atmel_isc_probe()
470 if (IS_ERR(isc->hclock)) { in atmel_isc_probe()
471 ret = PTR_ERR(isc->hclock); in atmel_isc_probe()
472 dev_err(dev, "failed to get hclock: %d\n", ret); in atmel_isc_probe()
476 ret = clk_prepare_enable(isc->hclock); in atmel_isc_probe()
478 dev_err(dev, "failed to enable hclock: %d\n", ret); in atmel_isc_probe()
548 /* ispck should be greater or equal to hclock */ in atmel_isc_probe()
549 ret = clk_set_rate(isc->ispck, clk_get_rate(isc->hclock)); in atmel_isc_probe()
573 clk_disable_unprepare(isc->hclock); in atmel_isc_probe()
591 clk_disable_unprepare(isc->hclock); in atmel_isc_remove()
[all …]
H A Datmel-sama7g5-isc.c458 isc->hclock = devm_clk_get(dev, "hclock"); in microchip_xisc_probe()
459 if (IS_ERR(isc->hclock)) { in microchip_xisc_probe()
460 ret = PTR_ERR(isc->hclock); in microchip_xisc_probe()
461 dev_err(dev, "failed to get hclock: %d\n", ret); in microchip_xisc_probe()
465 ret = clk_prepare_enable(isc->hclock); in microchip_xisc_probe()
467 dev_err(dev, "failed to enable hclock: %d\n", ret); in microchip_xisc_probe()
542 clk_disable_unprepare(isc->hclock); in microchip_xisc_probe()
559 clk_disable_unprepare(isc->hclock); in microchip_xisc_remove()
568 clk_disable_unprepare(isc->hclock); in xisc_runtime_suspend()
578 ret = clk_prepare_enable(isc->hclock); in xisc_runtime_resume()
H A Datmel-isc.h189 * @hclock: Hclock clock input (refer datasheet)
265 struct clk *hclock; member
/openbmc/linux/Documentation/devicetree/bindings/media/
H A Datmel,isc.yaml36 - const: hclock
100 clock-names = "hclock", "iscck", "gck";
H A Dmicrochip,xisc.yaml38 - const: hclock
116 clock-names = "hclock";
/openbmc/linux/arch/arm/boot/dts/microchip/
H A Dsama7g5.dtsi485 clock-names = "hclock", "multclk";
498 clock-names = "hclock", "multclk";
511 clock-names = "hclock", "multclk";
554 clock-names = "hclock";
H A Dsama5d2.dtsi196 clock-names = "hclock", "multclk", "baseclk";
207 clock-names = "hclock", "multclk", "baseclk";
255 clock-names = "hclock", "iscck", "gck";
H A Dsam9x60.dtsi142 clock-names = "hclock", "multclk";
153 clock-names = "hclock", "multclk";
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb/
H A Dcxgb2.c98 #define HCLOCK 0x0 macro
1122 adapter->t1powersave = HCLOCK; in init_one()
1214 if ((mode & 1) == HCLOCK) { in t1_clock()
1217 adapter->t1powersave = HCLOCK; /* overclock */ in t1_clock()
/openbmc/u-boot/arch/arm/dts/
H A Dsama5d2.dtsi54 clock-names = "hclock", "multclk", "baseclk";
62 clock-names = "hclock", "multclk", "baseclk";
/openbmc/linux/drivers/media/pci/cx25821/
H A Dcx25821-medusa-video.c152 /* NTSC hclock */ in medusa_initialize_ntsc()
322 /* PAL hclock */ in medusa_initialize_pal()
/openbmc/linux/sound/soc/rockchip/
H A Drockchip_pdm.c435 dev_err(pdm->dev, "hclock enable failed %d\n", ret); in rockchip_pdm_runtime_resume()
H A Drockchip_i2s.c770 dev_err(i2s->dev, "hclock enable failed %d\n", ret); in rockchip_i2s_probe()
/openbmc/u-boot/board/armadeus/apf27/
H A Dapf27.h394 /* fixme none integer value (7.5ns) => 2*hclock = 15ns */