Searched refs:iclk (Results 1 - 22 of 22) sorted by relevance

/linux-4.1.27/drivers/usb/host/
H A Dehci-sh.c17 struct clk *iclk, *fclk; member in struct:ehci_sh_priv
129 priv->iclk = devm_clk_get(&pdev->dev, "usb_ick"); ehci_hcd_sh_probe()
130 if (IS_ERR(priv->iclk)) ehci_hcd_sh_probe()
131 priv->iclk = NULL; ehci_hcd_sh_probe()
134 clk_enable(priv->iclk); ehci_hcd_sh_probe()
152 clk_disable(priv->iclk); ehci_hcd_sh_probe()
172 clk_disable(priv->iclk); ehci_hcd_sh_remove()
H A Dehci-atmel.c36 struct clk *iclk; member in struct:atmel_ehci_priv
55 clk_prepare_enable(atmel_ehci->iclk); atmel_start_clock()
64 clk_disable_unprepare(atmel_ehci->iclk); atmel_stop_clock()
138 atmel_ehci->iclk = devm_clk_get(&pdev->dev, "ehci_clk"); ehci_atmel_drv_probe()
139 if (IS_ERR(atmel_ehci->iclk)) { ehci_atmel_drv_probe()
H A Dohci-at91.c40 struct clk *iclk; member in struct:ohci_at91_priv
69 clk_prepare_enable(ohci_at91->iclk); at91_start_clock()
80 clk_disable_unprepare(ohci_at91->iclk); at91_stop_clock()
172 ohci_at91->iclk = devm_clk_get(dev, "ohci_clk"); usb_hcd_at91_probe()
173 if (IS_ERR(ohci_at91->iclk)) { usb_hcd_at91_probe()
175 retval = PTR_ERR(ohci_at91->iclk); usb_hcd_at91_probe()
/linux-4.1.27/drivers/spi/
H A Dspi-qup.c134 struct clk *iclk; /* interface clock */ member in struct:spi_qup
756 struct clk *iclk, *cclk; spi_qup_probe() local
778 iclk = devm_clk_get(dev, "iface"); spi_qup_probe()
779 if (IS_ERR(iclk)) spi_qup_probe()
780 return PTR_ERR(iclk); spi_qup_probe()
797 ret = clk_prepare_enable(iclk); spi_qup_probe()
807 clk_disable_unprepare(iclk); spi_qup_probe()
835 controller->iclk = iclk; spi_qup_probe()
924 clk_disable_unprepare(iclk); spi_qup_probe()
973 clk_disable_unprepare(controller->iclk); spi_qup_suspend()
983 ret = clk_prepare_enable(controller->iclk); spi_qup_resume()
1016 clk_disable_unprepare(controller->iclk); spi_qup_remove()
/linux-4.1.27/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; calc_CCR() local
410 iclk = mck / (1 + cdf); calc_CCR()
411 if (iclk >= 20000000) calc_CCR()
413 scgds = ((iclk / scl_hz) - 20) >> 3; calc_CCR()
415 m1 = iclk / (20 + (scgd << 3)); calc_CCR()
H A Di2c-omap.c403 * The filter is iclk (fclk for HS) period. omap_i2c_init()
/linux-4.1.27/sound/soc/codecs/
H A Dmax9850.c142 /* lrclk_div = 2^22 * rate / iclk with iclk = mclk / sf */ max9850_hw_params()
176 /* calculate mclk -> iclk divider */ max9850_set_dai_sysclk()
/linux-4.1.27/arch/arm/mach-omap1/
H A Dclock.c62 struct arm_idlect1_clk * iclk = (struct arm_idlect1_clk *)clk; omap1_clk_allow_idle() local
67 if (iclk->no_idle_count > 0 && !(--iclk->no_idle_count)) omap1_clk_allow_idle()
68 arm_idlect1_mask |= 1 << iclk->idlect_shift; omap1_clk_allow_idle()
73 struct arm_idlect1_clk * iclk = (struct arm_idlect1_clk *)clk; omap1_clk_deny_idle() local
78 if (iclk->no_idle_count++ == 0) omap1_clk_deny_idle()
79 arm_idlect1_mask &= ~(1 << iclk->idlect_shift); omap1_clk_deny_idle()
/linux-4.1.27/drivers/crypto/
H A Datmel-sha.c118 struct clk *iclk; member in struct:atmel_sha_dev
786 clk_disable(dd->iclk); atmel_sha_finish_req()
799 err = clk_enable(dd->iclk); atmel_sha_hw_init()
826 clk_disable(dd->iclk); atmel_sha_hw_version_init()
1400 sha_dd->iclk = devm_clk_get(&pdev->dev, "sha_clk"); atmel_sha_probe()
1401 if (IS_ERR(sha_dd->iclk)) { atmel_sha_probe()
1403 err = PTR_ERR(sha_dd->iclk); atmel_sha_probe()
1414 err = clk_prepare(sha_dd->iclk); atmel_sha_probe()
1466 clk_unprepare(sha_dd->iclk); atmel_sha_probe()
1493 clk_unprepare(sha_dd->iclk); atmel_sha_remove()
H A Datmel-aes.c107 struct clk *iclk; member in struct:atmel_aes_dev
265 err = clk_prepare_enable(dd->iclk); atmel_aes_hw_init()
293 clk_disable_unprepare(dd->iclk); atmel_aes_hw_version_init()
300 clk_disable_unprepare(dd->iclk); atmel_aes_finish_req()
1391 aes_dd->iclk = devm_clk_get(&pdev->dev, "aes_clk"); atmel_aes_probe()
1392 if (IS_ERR(aes_dd->iclk)) { atmel_aes_probe()
1394 err = PTR_ERR(aes_dd->iclk); atmel_aes_probe()
H A Datmel-tdes.c100 struct clk *iclk; member in struct:atmel_tdes_dev
223 err = clk_prepare_enable(dd->iclk); atmel_tdes_hw_init()
250 clk_disable_unprepare(dd->iclk); atmel_tdes_hw_version_init()
581 clk_disable_unprepare(dd->iclk); atmel_tdes_finish_req()
1412 tdes_dd->iclk = devm_clk_get(&pdev->dev, "tdes_clk"); atmel_tdes_probe()
1413 if (IS_ERR(tdes_dd->iclk)) { atmel_tdes_probe()
1415 err = PTR_ERR(tdes_dd->iclk); atmel_tdes_probe()
/linux-4.1.27/drivers/mmc/host/
H A Domap.c128 struct clk * iclk; member in struct:mmc_omap_host
1373 host->iclk = clk_get(&pdev->dev, "ick"); mmc_omap_probe()
1374 if (IS_ERR(host->iclk)) mmc_omap_probe()
1375 return PTR_ERR(host->iclk); mmc_omap_probe()
1376 clk_enable(host->iclk); mmc_omap_probe()
1451 clk_disable(host->iclk); mmc_omap_probe()
1452 clk_put(host->iclk); mmc_omap_probe()
1472 clk_disable(host->iclk); mmc_omap_remove()
1473 clk_put(host->iclk); mmc_omap_remove()
/linux-4.1.27/arch/m68k/68360/
H A Dconfig.c90 pquicc->timer_tmr1 = 0x001a | /* or=1, frr=1, iclk=01b */ hw_timer_init()
/linux-4.1.27/drivers/tty/serial/
H A Dsh-sci.c94 struct clk *iclk; member in struct:sci_port
445 clk_prepare_enable(sci_port->iclk); sci_port_enable()
446 sci_port->port.uartclk = clk_get_rate(sci_port->iclk); sci_port_enable()
464 clk_disable_unprepare(sci_port->iclk); sci_port_disable()
1084 port->uartclk = clk_get_rate(sci_port->iclk); sci_notifier()
2275 sci_port->iclk = clk_get(&dev->dev, "sci_ick"); sci_init_single()
2276 if (IS_ERR(sci_port->iclk)) { sci_init_single()
2277 sci_port->iclk = clk_get(&dev->dev, "peripheral_clk"); sci_init_single()
2278 if (IS_ERR(sci_port->iclk)) { sci_init_single()
2279 dev_err(&dev->dev, "can't get iclk\n"); sci_init_single()
2280 return PTR_ERR(sci_port->iclk); sci_init_single()
2344 clk_put(port->iclk); sci_cleanup_single()
/linux-4.1.27/arch/powerpc/sysdev/
H A Dfsl_gtm.c175 u8 iclk = GTMDR_ICLK_ICLK; gtm_set_ref_timer16() local
195 iclk = GTMDR_ICLK_SLGO; gtm_set_ref_timer16()
220 clrsetbits_be16(tmr->gtmdr, 0xFFFF, iclk | GTMDR_SPS(sps) | gtm_set_ref_timer16()
/linux-4.1.27/arch/arm/mach-omap2/
H A Dprm3xxx.c232 u32 wkst, fclk, iclk, clken; omap3xxx_prm_clear_mod_irqs() local
244 iclk = omap2_cm_read_mod_reg(module, iclk_off); omap3xxx_prm_clear_mod_irqs()
261 omap2_cm_write_mod_reg(iclk, module, iclk_off); omap3xxx_prm_clear_mod_irqs()
H A Dsram34xx.S207 bic r12, r12, #EN_SDRC_MASK @ disable iclk bit for SDRC
232 orr r12, r12, #EN_SDRC_MASK @ enable iclk bit for SDRC
H A Domap_hwmod_2430_data.c95 * the iclk and fclk. Needs to be handled using
H A Domap_hwmod.c2512 * a stub; implementing this properly requires iclk autoidle usecounting in
/linux-4.1.27/drivers/usb/gadget/udc/
H A Dat91_udc.h134 struct clk *iclk, *fclk; member in struct:at91_udc
H A Dat91_udc.c899 clk_enable(udc->iclk); clk_on()
910 clk_disable(udc->iclk); clk_off()
1855 udc->iclk = devm_clk_get(dev, "pclk"); at91udc_probe()
1856 if (IS_ERR(udc->iclk)) at91udc_probe()
1857 return PTR_ERR(udc->iclk); at91udc_probe()
1869 retval = clk_prepare_enable(udc->iclk); at91udc_probe()
1877 clk_disable(udc->iclk); at91udc_probe()
1936 clk_unprepare(udc->iclk); at91udc_probe()
1963 clk_unprepare(udc->iclk); at91udc_remove()
/linux-4.1.27/drivers/video/fbdev/omap2/dss/
H A Dhdmi5_core.c53 const unsigned long long iclk = 266000000; /* DSS L3 ICLK */ hdmi_core_ddc_init() local
63 sfr = iclk / sfr_div; /* SFR_DIV */ hdmi_core_ddc_init()

Completed in 598 milliseconds