/openbmc/linux/drivers/mmc/host/ |
H A D | sdhci-of-at91.c | 46 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 D | sdhci-atmel.txt | 11 - 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 D | microchip-sama5d2-isc.c | 489 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 D | microchip-sama7g5-isc.c | 478 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 D | microchip-isc.h | 201 * @hclock: Hclock clock input (refer datasheet) 283 struct clk *hclock; member
|
/openbmc/linux/drivers/staging/media/deprecated/atmel/ |
H A D | atmel-sama5d2-isc.c | 469 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 D | atmel-sama7g5-isc.c | 458 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 D | atmel-isc.h | 189 * @hclock: Hclock clock input (refer datasheet) 265 struct clk *hclock; member
|
/openbmc/linux/Documentation/devicetree/bindings/media/ |
H A D | atmel,isc.yaml | 36 - const: hclock 100 clock-names = "hclock", "iscck", "gck";
|
H A D | microchip,xisc.yaml | 38 - const: hclock 116 clock-names = "hclock";
|
/openbmc/linux/arch/arm/boot/dts/microchip/ |
H A D | sama7g5.dtsi | 485 clock-names = "hclock", "multclk"; 498 clock-names = "hclock", "multclk"; 511 clock-names = "hclock", "multclk"; 554 clock-names = "hclock";
|
H A D | sama5d2.dtsi | 196 clock-names = "hclock", "multclk", "baseclk"; 207 clock-names = "hclock", "multclk", "baseclk"; 255 clock-names = "hclock", "iscck", "gck";
|
H A D | sam9x60.dtsi | 142 clock-names = "hclock", "multclk"; 153 clock-names = "hclock", "multclk";
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb/ |
H A D | cxgb2.c | 98 #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 D | sama5d2.dtsi | 54 clock-names = "hclock", "multclk", "baseclk"; 62 clock-names = "hclock", "multclk", "baseclk";
|
/openbmc/linux/drivers/media/pci/cx25821/ |
H A D | cx25821-medusa-video.c | 152 /* NTSC hclock */ in medusa_initialize_ntsc() 322 /* PAL hclock */ in medusa_initialize_pal()
|
/openbmc/linux/sound/soc/rockchip/ |
H A D | rockchip_pdm.c | 435 dev_err(pdm->dev, "hclock enable failed %d\n", ret); in rockchip_pdm_runtime_resume()
|
H A D | rockchip_i2s.c | 770 dev_err(i2s->dev, "hclock enable failed %d\n", ret); in rockchip_i2s_probe()
|
/openbmc/u-boot/board/armadeus/apf27/ |
H A D | apf27.h | 394 /* fixme none integer value (7.5ns) => 2*hclock = 15ns */
|