/openbmc/linux/drivers/usb/host/ |
H A D | ehci-sh.c | 13 struct clk *iclk, *fclk; member 118 priv->iclk = devm_clk_get(&pdev->dev, "usb_ick"); in ehci_hcd_sh_probe() 119 if (IS_ERR(priv->iclk)) in ehci_hcd_sh_probe() 120 priv->iclk = NULL; in ehci_hcd_sh_probe() 125 ret = clk_enable(priv->iclk); in ehci_hcd_sh_probe() 142 clk_disable(priv->iclk); in ehci_hcd_sh_probe() 163 clk_disable(priv->iclk); in ehci_hcd_sh_remove()
|
H A D | ehci-atmel.c | 36 struct clk *iclk; member 55 clk_prepare_enable(atmel_ehci->iclk); in atmel_start_clock() 64 clk_disable_unprepare(atmel_ehci->iclk); in atmel_stop_clock() 134 atmel_ehci->iclk = devm_clk_get(&pdev->dev, "ehci_clk"); in ehci_atmel_drv_probe() 135 if (IS_ERR(atmel_ehci->iclk)) { in ehci_atmel_drv_probe()
|
H A D | ohci-at91.c | 53 struct clk *iclk; member 80 clk_prepare_enable(ohci_at91->iclk); in at91_start_clock() 91 clk_disable_unprepare(ohci_at91->iclk); in at91_stop_clock() 209 ohci_at91->iclk = devm_clk_get(dev, "ohci_clk"); in usb_hcd_at91_probe() 210 if (IS_ERR(ohci_at91->iclk)) { in usb_hcd_at91_probe() 212 retval = PTR_ERR(ohci_at91->iclk); in usb_hcd_at91_probe()
|
/openbmc/linux/drivers/spi/ |
H A D | spi-qup.c | 128 struct clk *iclk; /* interface clock */ member 996 struct clk *iclk, *cclk; in spi_qup_probe() local 1017 iclk = devm_clk_get(dev, "iface"); in spi_qup_probe() 1018 if (IS_ERR(iclk)) in spi_qup_probe() 1019 return PTR_ERR(iclk); in spi_qup_probe() 1061 controller->iclk = iclk; in spi_qup_probe() 1085 ret = clk_prepare_enable(iclk); in spi_qup_probe() 1162 clk_disable_unprepare(iclk); in spi_qup_probe() 1183 clk_disable_unprepare(controller->iclk); in spi_qup_pm_suspend_runtime() 1195 ret = clk_prepare_enable(controller->iclk); in spi_qup_pm_resume_runtime() [all …]
|
/openbmc/linux/drivers/clk/bcm/ |
H A D | clk-iproc-pll.c | 724 struct iproc_clk *iclk; in iproc_pll_clk_setup() local 774 iclk = &iclk_array[0]; in iproc_pll_clk_setup() 775 iclk->pll = pll; in iproc_pll_clk_setup() 788 iclk->hw.init = &init; in iproc_pll_clk_setup() 797 ret = clk_hw_register(NULL, &iclk->hw); in iproc_pll_clk_setup() 801 clk_data->hws[0] = &iclk->hw; in iproc_pll_clk_setup() 813 iclk = &iclk_array[i]; in iproc_pll_clk_setup() 814 iclk->pll = pll; in iproc_pll_clk_setup() 815 iclk->ctrl = &clk_ctrl[i]; in iproc_pll_clk_setup() 822 iclk->hw.init = &init; in iproc_pll_clk_setup() [all …]
|
/openbmc/linux/arch/arm/mach-omap1/ |
H A D | clock.c | 65 struct arm_idlect1_clk * iclk = (struct arm_idlect1_clk *)clk; in omap1_clk_allow_idle() local 70 if (iclk->no_idle_count > 0 && !(--iclk->no_idle_count)) in omap1_clk_allow_idle() 71 arm_idlect1_mask |= 1 << iclk->idlect_shift; in omap1_clk_allow_idle() 76 struct arm_idlect1_clk * iclk = (struct arm_idlect1_clk *)clk; in omap1_clk_deny_idle() local 81 if (iclk->no_idle_count++ == 0) in omap1_clk_deny_idle() 82 arm_idlect1_mask &= ~(1 << iclk->idlect_shift); in omap1_clk_deny_idle()
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-sh7760.c | 395 unsigned long mck, m1, dff, odff, iclk; in calc_CCR() local 410 iclk = mck / (1 + cdf); in calc_CCR() 411 if (iclk >= 20000000) in calc_CCR() 413 scgds = ((iclk / scl_hz) - 20) >> 3; in calc_CCR() 415 m1 = iclk / (20 + (scgd << 3)); in calc_CCR()
|
/openbmc/qemu/hw/intc/ |
H A D | omap_intc.c | 47 void *iclk; member 363 if (!s->iclk) { in omap_intc_realize() 370 intc->iclk = clk; in omap_intc_set_iclk()
|
/openbmc/u-boot/drivers/clk/ |
H A D | clk_pic32.c | 93 u32 iclk, idiv, odiv, mult; in pic32_get_pll_rate() local 97 iclk = (v & ICLK_MASK); in pic32_get_pll_rate() 102 plliclk = iclk ? SYS_FRC_CLK_HZ : SYS_POSC_CLK_HZ; in pic32_get_pll_rate()
|
/openbmc/linux/arch/powerpc/sysdev/ |
H A D | fsl_gtm.c | 171 u8 iclk = GTMDR_ICLK_ICLK; in gtm_set_ref_timer16() local 191 iclk = GTMDR_ICLK_SLGO; in gtm_set_ref_timer16() 216 clrsetbits_be16(tmr->gtmdr, 0xFFFF, iclk | GTMDR_SPS(sps) | in gtm_set_ref_timer16()
|
/openbmc/linux/arch/arm/mach-omap2/ |
H A D | prm3xxx.c | 230 u32 wkst, fclk, iclk, clken; in omap3xxx_prm_clear_mod_irqs() local 242 iclk = omap2_cm_read_mod_reg(module, iclk_off); in omap3xxx_prm_clear_mod_irqs() 259 omap2_cm_write_mod_reg(iclk, module, iclk_off); in omap3xxx_prm_clear_mod_irqs()
|
/openbmc/qemu/hw/i2c/ |
H A D | omap_i2c.c | 40 void *iclk; member 497 if (s->revision >= OMAP2_INTR_REV && !s->iclk) { in omap_i2c_realize() 506 i2c->iclk = clk; in omap_i2c_set_iclk()
|
/openbmc/qemu/hw/char/ |
H A D | omap_uart.c | 51 qemu_irq irq, omap_clk fclk, omap_clk iclk, in omap_uart_init() argument
|
/openbmc/linux/drivers/mmc/host/ |
H A D | omap.c | 129 struct clk * iclk; member 1429 host->iclk = clk_get(&pdev->dev, "ick"); in mmc_omap_probe() 1430 if (IS_ERR(host->iclk)) in mmc_omap_probe() 1431 return PTR_ERR(host->iclk); in mmc_omap_probe() 1432 clk_prepare_enable(host->iclk); in mmc_omap_probe() 1518 clk_disable_unprepare(host->iclk); in mmc_omap_probe() 1519 clk_put(host->iclk); in mmc_omap_probe() 1540 clk_disable_unprepare(host->iclk); in mmc_omap_remove() 1541 clk_put(host->iclk); in mmc_omap_remove()
|
/openbmc/linux/drivers/crypto/ |
H A D | atmel-tdes.c | 101 struct clk *iclk; member 215 err = clk_prepare_enable(dd->iclk); in atmel_tdes_hw_init() 245 clk_disable_unprepare(dd->iclk); in atmel_tdes_hw_version_init() 581 clk_disable_unprepare(dd->iclk); in atmel_tdes_finish_req() 1195 tdes_dd->iclk = devm_clk_get(&pdev->dev, "tdes_clk"); in atmel_tdes_probe() 1196 if (IS_ERR(tdes_dd->iclk)) { in atmel_tdes_probe() 1198 err = PTR_ERR(tdes_dd->iclk); in atmel_tdes_probe()
|
H A D | atmel-aes.c | 197 struct clk *iclk; member 439 err = clk_enable(dd->iclk); in atmel_aes_hw_init() 466 clk_disable(dd->iclk); in atmel_aes_hw_version_init() 539 clk_disable(dd->iclk); in atmel_aes_complete() 2589 aes_dd->iclk = devm_clk_get(&pdev->dev, "aes_clk"); in atmel_aes_probe() 2590 if (IS_ERR(aes_dd->iclk)) { in atmel_aes_probe() 2592 err = PTR_ERR(aes_dd->iclk); in atmel_aes_probe() 2596 err = clk_prepare(aes_dd->iclk); in atmel_aes_probe() 2643 clk_unprepare(aes_dd->iclk); in atmel_aes_probe() 2669 clk_unprepare(aes_dd->iclk); in atmel_aes_remove()
|
H A D | atmel-sha.c | 134 struct clk *iclk; member 292 clk_disable(dd->iclk); in atmel_sha_complete() 1019 err = clk_enable(dd->iclk); in atmel_sha_hw_init() 1049 clk_disable(dd->iclk); in atmel_sha_hw_version_init() 2628 sha_dd->iclk = devm_clk_get(&pdev->dev, "sha_clk"); in atmel_sha_probe() 2629 if (IS_ERR(sha_dd->iclk)) { in atmel_sha_probe() 2631 err = PTR_ERR(sha_dd->iclk); in atmel_sha_probe() 2635 err = clk_prepare(sha_dd->iclk); in atmel_sha_probe() 2675 clk_unprepare(sha_dd->iclk); in atmel_sha_probe() 2699 clk_unprepare(sha_dd->iclk); in atmel_sha_remove()
|
/openbmc/linux/drivers/usb/gadget/udc/ |
H A D | at91_udc.c | 904 clk_enable(udc->iclk); in clk_on() 915 clk_disable(udc->iclk); in clk_off() 1844 udc->iclk = devm_clk_get(dev, "pclk"); in at91udc_probe() 1845 if (IS_ERR(udc->iclk)) in at91udc_probe() 1846 return PTR_ERR(udc->iclk); in at91udc_probe() 1858 retval = clk_prepare_enable(udc->iclk); in at91udc_probe() 1866 clk_disable(udc->iclk); in at91udc_probe() 1918 clk_unprepare(udc->iclk); in at91udc_probe() 1945 clk_unprepare(udc->iclk); in at91udc_remove()
|
H A D | at91_udc.h | 136 struct clk *iclk, *fclk; member
|
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/inc/ |
H A D | power_state.h | 180 unsigned long iclk; member
|
/openbmc/linux/Documentation/devicetree/bindings/display/ti/ |
H A D | ti,omap3-dss.txt | 52 - clocks: handles to fclk and iclk
|
H A D | ti,omap5-dss.txt | 51 - clocks: handles to fclk and iclk
|
H A D | ti,omap4-dss.txt | 51 - clocks: handles to fclk and iclk
|
/openbmc/qemu/include/hw/arm/ |
H A D | omap.h | 344 int chans, omap_clk iclk, omap_clk fclk); 483 qemu_irq irq, omap_clk fclk, omap_clk iclk,
|
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | hdmi5_core.c | 42 const unsigned long long iclk = 266000000; /* DSS L3 ICLK */ in hdmi_core_ddc_init() local 52 sfr = iclk / sfr_div; /* SFR_DIV */ in hdmi_core_ddc_init()
|