Home
last modified time | relevance | path

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

12

/linux/drivers/usb/host/
H A 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()
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 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/drivers/i2c/busses/
H A 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/drivers/clk/bcm/
H A 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/arch/arm/mach-omap2/
H A 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.
H A 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()
H A Domap_hwmod_2430_data.c81 * the iclk and fclk. Needs to be handled using
H A Domap_hwmod.c2362 * a stub; implementing this properly requires iclk autoidle usecounting in
2378 * we might have multiple users of one iclk with in _setup_iclk_autoidle()
2380 * the module is enabled, e.g. dss iclk in _setup_iclk_autoidle()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Disp_v4_1_1.c89 u32 iclk, xclk; in isp_set_performance_state() local
95 iclk = ISP_HIGH_PERFORMANC_ICLK; in isp_set_performance_state()
111 ret = amdgpu_dpm_set_soft_freq_range(adev, PP_ISPICLK, iclk, 0); in isp_set_performance_state()
113 drm_err(&adev->ddev, "failed to set iclk %u to %u: %d\n", in isp_set_performance_state()
114 iclk, state, ret); in isp_set_performance_state()
/linux/sound/soc/codecs/
H A 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/sound/soc/ti/
H A Domap-mcbsp.h20 OMAP_MCBSP_SYSCLK_CLK, /* Internal ICLK */
/linux/arch/powerpc/sysdev/
H A 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/Documentation/devicetree/bindings/net/
H A Didt,3243x-emac.yaml71 clocks = <&iclk>;
/linux/drivers/usb/gadget/udc/
H A Dat91_udc.c905 clk_enable(udc->iclk); in clk_on()
916 clk_disable(udc->iclk); in clk_off()
1845 udc->iclk = devm_clk_get(dev, "pclk"); in at91udc_probe()
1846 if (IS_ERR(udc->iclk)) in at91udc_probe()
1847 return PTR_ERR(udc->iclk); in at91udc_probe()
1859 retval = clk_prepare_enable(udc->iclk); in at91udc_probe()
1867 clk_disable(udc->iclk); in at91udc_probe()
1919 clk_unprepare(udc->iclk); in at91udc_probe()
1949 clk_unprepare(udc->iclk); in at91udc_remove()
H A Dat91_udc.h136 struct clk *iclk, *fclk; member
/linux/arch/arm/boot/dts/st/
H A Dst-pincfg.h66 #define ICLK (RT | CLKNOTDATA | INVERTCLK) macro
/linux/Documentation/devicetree/bindings/display/ti/
H A Dti,omap3-dss.txt52 - clocks: handles to fclk and iclk
H A Dti,omap5-dss.txt51 - clocks: handles to fclk and iclk
H A Dti,omap4-dss.txt51 - clocks: handles to fclk and iclk
/linux/drivers/media/i2c/
H A Dthp7312.c257 struct clk *iclk; member
554 rate = clk_get_rate(thp7312->iclk); in thp7312_reset()
575 clk_disable_unprepare(thp7312->iclk); in __thp7312_power_off()
593 ret = clk_prepare_enable(thp7312->iclk); in __thp7312_power_on()
2109 thp7312->iclk = devm_clk_get(dev, NULL); in thp7312_probe()
2110 if (IS_ERR(thp7312->iclk)) in thp7312_probe()
2111 return dev_err_probe(dev, PTR_ERR(thp7312->iclk), in thp7312_probe()
2112 "Failed to get iclk\n"); in thp7312_probe()
/linux/drivers/gpu/drm/amd/pm/powerplay/inc/
H A Dpower_state.h180 unsigned long iclk; member
/linux/drivers/crypto/
H A 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()
2622 sha_dd->iclk = devm_clk_get_prepared(&pdev->dev, "sha_clk"); in atmel_sha_probe()
2623 if (IS_ERR(sha_dd->iclk)) { in atmel_sha_probe()
2625 err = PTR_ERR(sha_dd->iclk); in atmel_sha_probe()
/linux/drivers/clk/microchip/
H A Dclk-pic32mzda.c199 /* PLL ICLK mux */ in pic32mzda_clk_probe()
/linux/include/sound/
H A Dcs8427.h94 #define CS8427_SISPOL (1<<1) /* ICLK clock polarity, 0 = rising edge of ISCLK, 1 = falling edge of…
/linux/drivers/gpu/drm/bridge/
H A Dtc358767.c635 u32 clk, iclk; in tc_pxl_pll_calc() local
639 iclk = refclk / (div * ext_div[i_pre]); in tc_pxl_pll_calc()
640 if (iclk < 6000000 || iclk > 40000000) in tc_pxl_pll_calc()

12