Home
last modified time | relevance | path

Searched full:iclk (Results 1 – 25 of 26) 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()
/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()
H A Di2c-omap.c406 * The filter is iclk (fclk for HS) period. in omap_i2c_init()
/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/arch/arm/mach-omap1/
H A 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/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/drivers/mmc/host/
H A Domap.c130 struct clk * iclk; member
1433 host->iclk = clk_get(&pdev->dev, "ick"); in mmc_omap_probe()
1434 if (IS_ERR(host->iclk)) in mmc_omap_probe()
1435 return PTR_ERR(host->iclk); in mmc_omap_probe()
1436 clk_prepare_enable(host->iclk); in mmc_omap_probe()
1522 clk_disable_unprepare(host->iclk); in mmc_omap_probe()
1523 clk_put(host->iclk); in mmc_omap_probe()
1544 clk_disable_unprepare(host->iclk); in mmc_omap_remove()
1545 clk_put(host->iclk); in mmc_omap_remove()
/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()
2112 thp7312->iclk = devm_clk_get(dev, NULL); in thp7312_probe()
2113 if (IS_ERR(thp7312->iclk)) in thp7312_probe()
2114 return dev_err_probe(dev, PTR_ERR(thp7312->iclk), in thp7312_probe()
2115 "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/clk/microchip/
H A Dclk-pic32mzda.c199 /* PLL ICLK mux */ in pic32mzda_clk_probe()
H A Dclk-core.c585 u32 idiv; /* PLL iclk divider, treated fixed */
/linux/include/sound/
H A Dcs8427.h94 #define CS8427_SISPOL (1<<1) /* ICLK clock polarity, 0 = rising edge of ISCLK, 1 = falling edge of…

12