Home
last modified time | relevance | path

Searched full:iclk (Results 1 – 25 of 38) sorted by relevance

12

/linux-6.12.1/drivers/usb/host/
Dehci-sh.c13 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()
123 clk_enable(priv->iclk); in ehci_hcd_sh_probe()
138 clk_disable(priv->iclk); in ehci_hcd_sh_probe()
158 clk_disable(priv->iclk); in ehci_hcd_sh_remove()
Dehci-atmel.c36 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()
Dohci-at91.c53 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()
/linux-6.12.1/drivers/spi/
Dspi-qup.c133 struct clk *iclk; /* interface clock */ member
1026 struct clk *iclk, *cclk; in spi_qup_probe() local
1047 iclk = devm_clk_get(dev, "iface"); in spi_qup_probe()
1048 if (IS_ERR(iclk)) in spi_qup_probe()
1049 return PTR_ERR(iclk); in spi_qup_probe()
1105 controller->iclk = iclk; in spi_qup_probe()
1130 ret = clk_prepare_enable(iclk); in spi_qup_probe()
1207 clk_disable_unprepare(iclk); in spi_qup_probe()
1229 clk_disable_unprepare(controller->iclk); in spi_qup_pm_suspend_runtime()
1241 ret = clk_prepare_enable(controller->iclk); in spi_qup_pm_resume_runtime()
[all …]
/linux-6.12.1/drivers/i2c/busses/
Di2c-sh7760.c387 * derived from I2C module clock (iclk) which in turn is derived from
389 * iclk = mclk/(CDF + 1). iclk must be < 20MHz.
390 * scl = iclk/(SCGD*8 + 20).
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()
/linux-6.12.1/drivers/clk/bcm/
Dclk-iproc-pll.c724 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 …]
/linux-6.12.1/arch/arm/mach-omap2/
Dmcbsp.c28 * FIXME: Find a mechanism to enable/disable runtime the McBSP ICLK autoidle.
29 * Sidetone needs non-gated ICLK and sidetone autoidle is broken.
Dprm3xxx.c230 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()
/linux-6.12.1/arch/arm/mach-omap1/
Dclock.c65 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()
/linux-6.12.1/sound/soc/codecs/
Dmax9850.c123 /* lrclk_div = 2^22 * rate / iclk with iclk = mclk / sf */ in max9850_hw_params()
157 /* calculate mclk -> iclk divider */ in max9850_set_dai_sysclk()
/linux-6.12.1/drivers/crypto/
Datmel-tdes.c91 struct clk *iclk; member
205 err = clk_prepare_enable(dd->iclk); in atmel_tdes_hw_init()
235 clk_disable_unprepare(dd->iclk); in atmel_tdes_hw_version_init()
545 clk_disable_unprepare(dd->iclk); in atmel_tdes_finish_req()
1002 tdes_dd->iclk = devm_clk_get(&pdev->dev, "tdes_clk"); in atmel_tdes_probe()
1003 if (IS_ERR(tdes_dd->iclk)) { in atmel_tdes_probe()
1005 err = PTR_ERR(tdes_dd->iclk); in atmel_tdes_probe()
Datmel-aes.c185 struct clk *iclk; member
427 err = clk_enable(dd->iclk); in atmel_aes_hw_init()
454 clk_disable(dd->iclk); in atmel_aes_hw_version_init()
527 clk_disable(dd->iclk); in atmel_aes_complete()
2379 aes_dd->iclk = devm_clk_get_prepared(&pdev->dev, "aes_clk"); in atmel_aes_probe()
2380 if (IS_ERR(aes_dd->iclk)) { in atmel_aes_probe()
2382 err = PTR_ERR(aes_dd->iclk); in atmel_aes_probe()
Datmel-sha.c134 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()
2626 sha_dd->iclk = devm_clk_get_prepared(&pdev->dev, "sha_clk"); in atmel_sha_probe()
2627 if (IS_ERR(sha_dd->iclk)) { in atmel_sha_probe()
2629 err = PTR_ERR(sha_dd->iclk); in atmel_sha_probe()
/linux-6.12.1/sound/soc/ti/
Domap-mcbsp.h20 OMAP_MCBSP_SYSCLK_CLK, /* Internal ICLK */
/linux-6.12.1/drivers/mmc/host/
Domap.c130 struct clk * iclk; member
1425 host->iclk = clk_get(&pdev->dev, "ick"); in mmc_omap_probe()
1426 if (IS_ERR(host->iclk)) in mmc_omap_probe()
1427 return PTR_ERR(host->iclk); in mmc_omap_probe()
1428 clk_prepare_enable(host->iclk); in mmc_omap_probe()
1514 clk_disable_unprepare(host->iclk); in mmc_omap_probe()
1515 clk_put(host->iclk); in mmc_omap_probe()
1536 clk_disable_unprepare(host->iclk); in mmc_omap_remove()
1537 clk_put(host->iclk); in mmc_omap_remove()
/linux-6.12.1/Documentation/devicetree/bindings/net/
Didt,3243x-emac.yaml71 clocks = <&iclk>;
/linux-6.12.1/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()
/linux-6.12.1/arch/arm/boot/dts/st/
Dst-pincfg.h66 #define ICLK (RT | CLKNOTDATA | INVERTCLK) macro
/linux-6.12.1/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
/linux-6.12.1/drivers/usb/gadget/udc/
Dat91_udc.c904 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()
1948 clk_unprepare(udc->iclk); in at91udc_remove()
/linux-6.12.1/drivers/media/i2c/
Dthp7312.c258 struct clk *iclk; member
555 rate = clk_get_rate(thp7312->iclk); in thp7312_reset()
576 clk_disable_unprepare(thp7312->iclk); in __thp7312_power_off()
594 ret = clk_prepare_enable(thp7312->iclk); in __thp7312_power_on()
2115 thp7312->iclk = devm_clk_get(dev, NULL); in thp7312_probe()
2116 if (IS_ERR(thp7312->iclk)) in thp7312_probe()
2117 return dev_err_probe(dev, PTR_ERR(thp7312->iclk), in thp7312_probe()
2118 "Failed to get iclk\n"); in thp7312_probe()
/linux-6.12.1/drivers/gpu/drm/amd/pm/powerplay/inc/
Dpower_state.h180 unsigned long iclk; member
/linux-6.12.1/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()

12