Home
last modified time | relevance | path

Searched refs:iclk (Results 1 – 21 of 21) sorted by relevance

/kernel/linux/linux-5.10/drivers/usb/host/
Dehci-sh.c13 struct clk *iclk, *fclk; member
119 priv->iclk = devm_clk_get(&pdev->dev, "usb_ick"); in ehci_hcd_sh_probe()
120 if (IS_ERR(priv->iclk)) in ehci_hcd_sh_probe()
121 priv->iclk = NULL; in ehci_hcd_sh_probe()
124 clk_enable(priv->iclk); in ehci_hcd_sh_probe()
139 clk_disable(priv->iclk); in ehci_hcd_sh_probe()
159 clk_disable(priv->iclk); in ehci_hcd_sh_remove()
Dehci-atmel.c33 struct clk *iclk; member
52 clk_prepare_enable(atmel_ehci->iclk); in atmel_start_clock()
61 clk_disable_unprepare(atmel_ehci->iclk); in atmel_stop_clock()
132 atmel_ehci->iclk = devm_clk_get(&pdev->dev, "ehci_clk"); in ehci_atmel_drv_probe()
133 if (IS_ERR(atmel_ehci->iclk)) { in ehci_atmel_drv_probe()
Dohci-at91.c52 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()
196 ohci_at91->iclk = devm_clk_get(dev, "ohci_clk"); in usb_hcd_at91_probe()
197 if (IS_ERR(ohci_at91->iclk)) { in usb_hcd_at91_probe()
199 retval = PTR_ERR(ohci_at91->iclk); in usb_hcd_at91_probe()
/kernel/linux/linux-5.10/drivers/clk/bcm/
Dclk-iproc-pll.c734 struct iproc_clk *iclk; in iproc_pll_clk_setup() local
783 iclk = &iclk_array[0]; in iproc_pll_clk_setup()
784 iclk->pll = pll; in iproc_pll_clk_setup()
792 iclk->hw.init = &init; in iproc_pll_clk_setup()
801 ret = clk_hw_register(NULL, &iclk->hw); in iproc_pll_clk_setup()
805 clk_data->hws[0] = &iclk->hw; in iproc_pll_clk_setup()
819 iclk = &iclk_array[i]; in iproc_pll_clk_setup()
820 iclk->pll = pll; in iproc_pll_clk_setup()
821 iclk->ctrl = &clk_ctrl[i]; in iproc_pll_clk_setup()
828 iclk->hw.init = &init; in iproc_pll_clk_setup()
[all …]
/kernel/linux/linux-5.10/drivers/spi/
Dspi-qup.c129 struct clk *iclk; /* interface clock */ member
998 struct clk *iclk, *cclk; in spi_qup_probe() local
1020 iclk = devm_clk_get(dev, "iface"); in spi_qup_probe()
1021 if (IS_ERR(iclk)) in spi_qup_probe()
1022 return PTR_ERR(iclk); in spi_qup_probe()
1039 ret = clk_prepare_enable(iclk); in spi_qup_probe()
1049 clk_disable_unprepare(iclk); in spi_qup_probe()
1077 controller->iclk = iclk; in spi_qup_probe()
1167 clk_disable_unprepare(iclk); in spi_qup_probe()
1185 clk_disable_unprepare(controller->iclk); in spi_qup_pm_suspend_runtime()
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-omap1/
Dclock.c59 struct arm_idlect1_clk * iclk = (struct arm_idlect1_clk *)clk; in omap1_clk_allow_idle() local
64 if (iclk->no_idle_count > 0 && !(--iclk->no_idle_count)) in omap1_clk_allow_idle()
65 arm_idlect1_mask |= 1 << iclk->idlect_shift; in omap1_clk_allow_idle()
70 struct arm_idlect1_clk * iclk = (struct arm_idlect1_clk *)clk; in omap1_clk_deny_idle() local
75 if (iclk->no_idle_count++ == 0) in omap1_clk_deny_idle()
76 arm_idlect1_mask &= ~(1 << iclk->idlect_shift); in omap1_clk_deny_idle()
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-sh7760.c395 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()
/kernel/linux/linux-5.10/arch/powerpc/sysdev/
Dfsl_gtm.c171 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()
/kernel/linux/linux-5.10/arch/arm/mach-omap2/
Dprm3xxx.c229 u32 wkst, fclk, iclk, clken; in omap3xxx_prm_clear_mod_irqs() local
241 iclk = omap2_cm_read_mod_reg(module, iclk_off); in omap3xxx_prm_clear_mod_irqs()
258 omap2_cm_write_mod_reg(iclk, module, iclk_off); in omap3xxx_prm_clear_mod_irqs()
/kernel/linux/linux-5.10/drivers/mmc/host/
Domap.c125 struct clk * iclk; member
1375 host->iclk = clk_get(&pdev->dev, "ick"); in mmc_omap_probe()
1376 if (IS_ERR(host->iclk)) in mmc_omap_probe()
1377 return PTR_ERR(host->iclk); in mmc_omap_probe()
1378 clk_enable(host->iclk); in mmc_omap_probe()
1460 clk_disable(host->iclk); in mmc_omap_probe()
1461 clk_put(host->iclk); in mmc_omap_probe()
1481 clk_disable(host->iclk); in mmc_omap_remove()
1482 clk_put(host->iclk); in mmc_omap_remove()
/kernel/linux/linux-5.10/drivers/crypto/
Datmel-tdes.c101 struct clk *iclk; member
223 err = clk_prepare_enable(dd->iclk); in atmel_tdes_hw_init()
253 clk_disable_unprepare(dd->iclk); in atmel_tdes_hw_version_init()
596 clk_disable_unprepare(dd->iclk); in atmel_tdes_finish_req()
1211 tdes_dd->iclk = devm_clk_get(&pdev->dev, "tdes_clk"); in atmel_tdes_probe()
1212 if (IS_ERR(tdes_dd->iclk)) { in atmel_tdes_probe()
1214 err = PTR_ERR(tdes_dd->iclk); in atmel_tdes_probe()
Datmel-aes.c195 struct clk *iclk; member
446 err = clk_enable(dd->iclk); in atmel_aes_hw_init()
473 clk_disable(dd->iclk); in atmel_aes_hw_version_init()
552 clk_disable(dd->iclk); in atmel_aes_complete()
2533 aes_dd->iclk = devm_clk_get(&pdev->dev, "aes_clk"); in atmel_aes_probe()
2534 if (IS_ERR(aes_dd->iclk)) { in atmel_aes_probe()
2536 err = PTR_ERR(aes_dd->iclk); in atmel_aes_probe()
2547 err = clk_prepare(aes_dd->iclk); in atmel_aes_probe()
2594 clk_unprepare(aes_dd->iclk); in atmel_aes_probe()
2621 clk_unprepare(aes_dd->iclk); in atmel_aes_remove()
Datmel-sha.c133 struct clk *iclk; member
291 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()
2604 sha_dd->iclk = devm_clk_get(&pdev->dev, "sha_clk"); in atmel_sha_probe()
2605 if (IS_ERR(sha_dd->iclk)) { in atmel_sha_probe()
2607 err = PTR_ERR(sha_dd->iclk); in atmel_sha_probe()
2618 err = clk_prepare(sha_dd->iclk); in atmel_sha_probe()
2658 clk_unprepare(sha_dd->iclk); in atmel_sha_probe()
2685 clk_unprepare(sha_dd->iclk); in atmel_sha_remove()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/inc/
Dpower_state.h179 unsigned long iclk; member
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
Dat91_udc.c902 clk_enable(udc->iclk); in clk_on()
913 clk_disable(udc->iclk); in clk_off()
1854 udc->iclk = devm_clk_get(dev, "pclk"); in at91udc_probe()
1855 if (IS_ERR(udc->iclk)) in at91udc_probe()
1856 return PTR_ERR(udc->iclk); in at91udc_probe()
1868 retval = clk_prepare_enable(udc->iclk); in at91udc_probe()
1876 clk_disable(udc->iclk); in at91udc_probe()
1936 clk_unprepare(udc->iclk); in at91udc_probe()
1963 clk_unprepare(udc->iclk); in at91udc_remove()
Dat91_udc.h138 struct clk *iclk, *fclk; member
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/ti/
Dti,omap3-dss.txt52 - clocks: handles to fclk and iclk
Dti,omap5-dss.txt51 - clocks: handles to fclk and iclk
Dti,omap4-dss.txt51 - clocks: handles to fclk and iclk
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/
Dhdmi5_core.c42 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/
Dhdmi5_core.c29 const unsigned long long iclk = 266000000; /* DSS L3 ICLK */ in hdmi5_core_ddc_init() local
39 sfr = iclk / sfr_div; /* SFR_DIV */ in hdmi5_core_ddc_init()