sys_clk 614 arch/arm/mach-omap2/timer.c static struct clk *sys_clk; sys_clk 624 arch/arm/mach-omap2/timer.c sys_clk = clk_get(NULL, "sys_clkin"); sys_clk 625 arch/arm/mach-omap2/timer.c if (IS_ERR(sys_clk)) { sys_clk 631 arch/arm/mach-omap2/timer.c rate = clk_get_rate(sys_clk); sys_clk 336 arch/arm/mach-omap2/vc.c val *= voltdm->sys_clk.rate / 8 / 1000000 + 1; sys_clk 438 arch/arm/mach-omap2/vc.c cycles = voltdm->sys_clk.rate / 1000 * time / 1000; sys_clk 638 arch/arm/mach-omap2/vc.c switch (voltdm->sys_clk.rate) { sys_clk 656 arch/arm/mach-omap2/vc.c voltdm->sys_clk.rate); sys_clk 252 arch/arm/mach-omap2/voltage.c sys_ck = clk_get(NULL, voltdm->sys_clk.name); sys_clk 257 arch/arm/mach-omap2/voltage.c voltdm->sys_clk.rate = clk_get_rate(sys_ck); sys_clk 258 arch/arm/mach-omap2/voltage.c WARN_ON(!voltdm->sys_clk.rate); sys_clk 81 arch/arm/mach-omap2/voltage.h } sys_clk; sys_clk 128 arch/arm/mach-omap2/voltagedomains3xxx_data.c voltdm->sys_clk.name = sys_clk_name; sys_clk 124 arch/arm/mach-omap2/voltagedomains44xx_data.c voltdm->sys_clk.name = sys_clk_name; sys_clk 86 arch/arm/mach-omap2/voltagedomains54xx_data.c voltdm->sys_clk.name = sys_clk_name; sys_clk 59 arch/arm/mach-omap2/vp.c sys_clk_rate = voltdm->sys_clk.rate / 1000; sys_clk 331 arch/powerpc/boot/4xx.c void ibm440gp_fixup_clocks(unsigned int sys_clk, unsigned int ser_clk) sys_clk 341 arch/powerpc/boot/4xx.c cpu = plb = sys_clk; sys_clk 349 arch/powerpc/boot/4xx.c cpu = sys_clk * m / CPC0_SYS0_FWDVA(sys0); sys_clk 350 arch/powerpc/boot/4xx.c plb = sys_clk * m / CPC0_SYS0_FWDVB(sys0); sys_clk 359 arch/powerpc/boot/4xx.c tb = sys_clk; sys_clk 379 arch/powerpc/boot/4xx.c (sys_clk + 500000) / 1000000, sys_clk); sys_clk 397 arch/powerpc/boot/4xx.c static unsigned int __ibm440eplike_fixup_clocks(unsigned int sys_clk, sys_clk 446 arch/powerpc/boot/4xx.c vco = sys_clk * m; sys_clk 453 arch/powerpc/boot/4xx.c clk_a = clk_b = sys_clk; sys_clk 512 arch/powerpc/boot/4xx.c void ibm440ep_fixup_clocks(unsigned int sys_clk, sys_clk 516 arch/powerpc/boot/4xx.c unsigned int plb_clk = __ibm440eplike_fixup_clocks(sys_clk, tmr_clk, 0); sys_clk 525 arch/powerpc/boot/4xx.c void ibm440gx_fixup_clocks(unsigned int sys_clk, sys_clk 529 arch/powerpc/boot/4xx.c unsigned int plb_clk = __ibm440eplike_fixup_clocks(sys_clk, tmr_clk, 1); sys_clk 536 arch/powerpc/boot/4xx.c void ibm440spe_fixup_clocks(unsigned int sys_clk, sys_clk 540 arch/powerpc/boot/4xx.c unsigned int plb_clk = __ibm440eplike_fixup_clocks(sys_clk, tmr_clk, 1); sys_clk 548 arch/powerpc/boot/4xx.c void ibm405gp_fixup_clocks(unsigned int sys_clk, unsigned int ser_clk) sys_clk 585 arch/powerpc/boot/4xx.c cpu = sys_clk * m / fwdv; sys_clk 586 arch/powerpc/boot/4xx.c plb = sys_clk * m / (fwdvb * cbdv); sys_clk 589 arch/powerpc/boot/4xx.c cpu = sys_clk * m / fwdv; sys_clk 621 arch/powerpc/boot/4xx.c void ibm405ep_fixup_clocks(unsigned int sys_clk) sys_clk 644 arch/powerpc/boot/4xx.c cpu = sys_clk * m / (fwdva * pllmr0_ccdv); sys_clk 646 arch/powerpc/boot/4xx.c cpu = sys_clk / pllmr0_ccdv; sys_clk 723 arch/powerpc/boot/4xx.c void ibm405ex_fixup_clocks(unsigned int sys_clk, unsigned int uart_clk) sys_clk 774 arch/powerpc/boot/4xx.c vco = (unsigned int)(sys_clk * m); sys_clk 22 arch/powerpc/boot/4xx.h void ibm405gp_fixup_clocks(unsigned int sys_clk, unsigned int ser_clk); sys_clk 23 arch/powerpc/boot/4xx.h void ibm405ep_fixup_clocks(unsigned int sys_clk); sys_clk 24 arch/powerpc/boot/4xx.h void ibm405ex_fixup_clocks(unsigned int sys_clk, unsigned int uart_clk); sys_clk 25 arch/powerpc/boot/4xx.h void ibm440gp_fixup_clocks(unsigned int sys_clk, unsigned int ser_clk); sys_clk 26 arch/powerpc/boot/4xx.h void ibm440ep_fixup_clocks(unsigned int sys_clk, unsigned int ser_clk, sys_clk 28 arch/powerpc/boot/4xx.h void ibm440gx_fixup_clocks(unsigned int sys_clk, unsigned int ser_clk, sys_clk 30 arch/powerpc/boot/4xx.h void ibm440spe_fixup_clocks(unsigned int sys_clk, unsigned int ser_clk, sys_clk 88 drivers/bluetooth/hci_nokia.c u16 sys_clk; sys_clk 109 drivers/bluetooth/hci_nokia.c u16 sys_clk; sys_clk 287 drivers/bluetooth/hci_nokia.c neg_cmd->sys_clk = cpu_to_le16(sysclk); sys_clk 561 drivers/bluetooth/hci_nokia.c evt->baud, evt->sys_clk, evt->man_id, evt->ver_id); sys_clk 153 drivers/clocksource/timer-pistachio.c struct clk *sys_clk, *fast_clk; sys_clk 177 drivers/clocksource/timer-pistachio.c sys_clk = of_clk_get_by_name(node, "sys"); sys_clk 178 drivers/clocksource/timer-pistachio.c if (IS_ERR(sys_clk)) { sys_clk 179 drivers/clocksource/timer-pistachio.c pr_err("clock get failed (%ld)\n", PTR_ERR(sys_clk)); sys_clk 180 drivers/clocksource/timer-pistachio.c return PTR_ERR(sys_clk); sys_clk 189 drivers/clocksource/timer-pistachio.c ret = clk_prepare_enable(sys_clk); sys_clk 198 drivers/clocksource/timer-pistachio.c clk_disable_unprepare(sys_clk); sys_clk 78 drivers/cpufreq/spear-cpufreq.c struct clk *sys_clk; sys_clk 81 drivers/cpufreq/spear-cpufreq.c sys_clk = clk_get_parent(spear_cpufreq.clk); sys_clk 82 drivers/cpufreq/spear-cpufreq.c if (IS_ERR(sys_clk)) { sys_clk 84 drivers/cpufreq/spear-cpufreq.c return PTR_ERR(sys_clk); sys_clk 94 drivers/cpufreq/spear-cpufreq.c ret = clk_set_parent(sys_clk, sys_pclk); sys_clk 119 drivers/crypto/img-hash.c struct clk *sys_clk; sys_clk 1000 drivers/crypto/img-hash.c hdev->sys_clk = devm_clk_get(&pdev->dev, "sys"); sys_clk 1001 drivers/crypto/img-hash.c if (IS_ERR(hdev->sys_clk)) { sys_clk 1003 drivers/crypto/img-hash.c err = PTR_ERR(hdev->sys_clk); sys_clk 1011 drivers/crypto/img-hash.c err = clk_prepare_enable(hdev->sys_clk); sys_clk 1039 drivers/crypto/img-hash.c clk_disable_unprepare(hdev->sys_clk); sys_clk 1066 drivers/crypto/img-hash.c clk_disable_unprepare(hdev->sys_clk); sys_clk 1077 drivers/crypto/img-hash.c clk_disable_unprepare(hdev->sys_clk); sys_clk 1091 drivers/crypto/img-hash.c ret = clk_prepare_enable(hdev->sys_clk); sys_clk 78 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c ret = clk_prepare_enable(crtc->dc->hlcdc->sys_clk); sys_clk 102 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c prate = clk_get_rate(crtc->dc->hlcdc->sys_clk); sys_clk 155 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c clk_disable_unprepare(crtc->dc->hlcdc->sys_clk); sys_clk 194 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c clk_disable_unprepare(crtc->dc->hlcdc->sys_clk); sys_clk 215 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c clk_prepare_enable(crtc->dc->hlcdc->sys_clk); sys_clk 731 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c ret = clk_prepare_enable(dc->hlcdc->sys_clk); sys_clk 779 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c clk_disable_unprepare(dc->hlcdc->sys_clk); sys_clk 805 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c clk_disable_unprepare(dc->hlcdc->sys_clk); sys_clk 920 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c clk_disable_unprepare(dc->hlcdc->sys_clk); sys_clk 931 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c clk_prepare_enable(dc->hlcdc->sys_clk); sys_clk 374 drivers/i2c/busses/i2c-img-scb.c struct clk *scb_clk, *sys_clk; sys_clk 1352 drivers/i2c/busses/i2c-img-scb.c i2c->sys_clk = devm_clk_get(&pdev->dev, "sys"); sys_clk 1353 drivers/i2c/busses/i2c-img-scb.c if (IS_ERR(i2c->sys_clk)) { sys_clk 1355 drivers/i2c/busses/i2c-img-scb.c return PTR_ERR(i2c->sys_clk); sys_clk 1437 drivers/i2c/busses/i2c-img-scb.c clk_disable_unprepare(i2c->sys_clk); sys_clk 1447 drivers/i2c/busses/i2c-img-scb.c ret = clk_prepare_enable(i2c->sys_clk); sys_clk 1456 drivers/i2c/busses/i2c-img-scb.c clk_disable_unprepare(i2c->sys_clk); sys_clk 48 drivers/media/dvb-frontends/si2165.c u32 sys_clk; sys_clk 245 drivers/media/dvb-frontends/si2165.c state->sys_clk = state->fvco_hz / (divl * 2u); sys_clk 257 drivers/media/dvb-frontends/si2165.c state->sys_clk = state->fvco_hz / (divl * 2u); sys_clk 68 drivers/media/platform/cadence/cdns-csi2rx.c struct clk *sys_clk; sys_clk 169 drivers/media/platform/cadence/cdns-csi2rx.c ret = clk_prepare_enable(csi2rx->sys_clk); sys_clk 192 drivers/media/platform/cadence/cdns-csi2rx.c clk_disable_unprepare(csi2rx->sys_clk); sys_clk 292 drivers/media/platform/cadence/cdns-csi2rx.c csi2rx->sys_clk = devm_clk_get(&pdev->dev, "sys_clk"); sys_clk 293 drivers/media/platform/cadence/cdns-csi2rx.c if (IS_ERR(csi2rx->sys_clk)) { sys_clk 295 drivers/media/platform/cadence/cdns-csi2rx.c return PTR_ERR(csi2rx->sys_clk); sys_clk 108 drivers/media/rc/img-ir/img-ir-core.c priv->sys_clk = devm_clk_get(&pdev->dev, "sys"); sys_clk 109 drivers/media/rc/img-ir/img-ir-core.c if (IS_ERR(priv->sys_clk)) sys_clk 116 drivers/media/rc/img-ir/img-ir-core.c if (!IS_ERR(priv->sys_clk)) { sys_clk 117 drivers/media/rc/img-ir/img-ir-core.c error = clk_prepare_enable(priv->sys_clk); sys_clk 152 drivers/media/rc/img-ir/img-ir-core.c if (!IS_ERR(priv->sys_clk)) sys_clk 153 drivers/media/rc/img-ir/img-ir-core.c clk_disable_unprepare(priv->sys_clk); sys_clk 167 drivers/media/rc/img-ir/img-ir-core.c if (!IS_ERR(priv->sys_clk)) sys_clk 168 drivers/media/rc/img-ir/img-ir-core.c clk_disable_unprepare(priv->sys_clk); sys_clk 147 drivers/media/rc/img-ir/img-ir.h struct clk *sys_clk; sys_clk 103 drivers/mfd/atmel-hlcdc.c hlcdc->sys_clk = devm_clk_get(dev, "sys_clk"); sys_clk 104 drivers/mfd/atmel-hlcdc.c if (IS_ERR(hlcdc->sys_clk)) { sys_clk 106 drivers/mfd/atmel-hlcdc.c return PTR_ERR(hlcdc->sys_clk); sys_clk 47 drivers/mmc/host/sdhci-pic32.c struct clk *sys_clk; sys_clk 166 drivers/mmc/host/sdhci-pic32.c sdhci_pdata->sys_clk = devm_clk_get(&pdev->dev, "sys_clk"); sys_clk 167 drivers/mmc/host/sdhci-pic32.c if (IS_ERR(sdhci_pdata->sys_clk)) { sys_clk 168 drivers/mmc/host/sdhci-pic32.c ret = PTR_ERR(sdhci_pdata->sys_clk); sys_clk 173 drivers/mmc/host/sdhci-pic32.c ret = clk_prepare_enable(sdhci_pdata->sys_clk); sys_clk 212 drivers/mmc/host/sdhci-pic32.c clk_disable_unprepare(sdhci_pdata->sys_clk); sys_clk 229 drivers/mmc/host/sdhci-pic32.c clk_disable_unprepare(sdhci_pdata->sys_clk); sys_clk 56 drivers/pci/controller/dwc/pcie-histb.c struct clk *sys_clk; sys_clk 219 drivers/pci/controller/dwc/pcie-histb.c clk_disable_unprepare(hipcie->sys_clk); sys_clk 254 drivers/pci/controller/dwc/pcie-histb.c ret = clk_prepare_enable(hipcie->sys_clk); sys_clk 286 drivers/pci/controller/dwc/pcie-histb.c clk_disable_unprepare(hipcie->sys_clk); sys_clk 373 drivers/pci/controller/dwc/pcie-histb.c hipcie->sys_clk = devm_clk_get(dev, "sys"); sys_clk 374 drivers/pci/controller/dwc/pcie-histb.c if (IS_ERR(hipcie->sys_clk)) { sys_clk 376 drivers/pci/controller/dwc/pcie-histb.c return PTR_ERR(hipcie->sys_clk); sys_clk 90 drivers/phy/ti/phy-omap-control.c rate = clk_get_rate(control_phy->sys_clk); sys_clk 306 drivers/phy/ti/phy-omap-control.c control_phy->sys_clk = devm_clk_get(control_phy->dev, sys_clk 308 drivers/phy/ti/phy-omap-control.c if (IS_ERR(control_phy->sys_clk)) { sys_clk 170 drivers/phy/ti/phy-ti-pipe3.c struct clk *sys_clk; sys_clk 304 drivers/phy/ti/phy-ti-pipe3.c rate = clk_get_rate(phy->sys_clk); sys_clk 350 drivers/phy/ti/phy-ti-pipe3.c rate = clk_get_rate(phy->sys_clk); sys_clk 629 drivers/phy/ti/phy-ti-pipe3.c phy->sys_clk = devm_clk_get(dev, "sysclk"); sys_clk 630 drivers/phy/ti/phy-ti-pipe3.c if (IS_ERR(phy->sys_clk)) { sys_clk 69 drivers/pwm/pwm-atmel-hlcdc.c new_clk = hlcdc->sys_clk; sys_clk 104 drivers/pwm/pwm-atmel-hlcdc.c if (new_clk == hlcdc->sys_clk) sys_clk 65 drivers/pwm/pwm-img.c struct clk *sys_clk; sys_clk 210 drivers/pwm/pwm-img.c clk_disable_unprepare(pwm_chip->sys_clk); sys_clk 220 drivers/pwm/pwm-img.c ret = clk_prepare_enable(pwm_chip->sys_clk); sys_clk 229 drivers/pwm/pwm-img.c clk_disable_unprepare(pwm_chip->sys_clk); sys_clk 266 drivers/pwm/pwm-img.c pwm->sys_clk = devm_clk_get(&pdev->dev, "sys"); sys_clk 267 drivers/pwm/pwm-img.c if (IS_ERR(pwm->sys_clk)) { sys_clk 269 drivers/pwm/pwm-img.c return PTR_ERR(pwm->sys_clk); sys_clk 97 drivers/spi/spi-img-spfi.c struct clk *sys_clk; sys_clk 614 drivers/spi/spi-img-spfi.c spfi->sys_clk = devm_clk_get(spfi->dev, "sys"); sys_clk 615 drivers/spi/spi-img-spfi.c if (IS_ERR(spfi->sys_clk)) { sys_clk 616 drivers/spi/spi-img-spfi.c ret = PTR_ERR(spfi->sys_clk); sys_clk 625 drivers/spi/spi-img-spfi.c ret = clk_prepare_enable(spfi->sys_clk); sys_clk 702 drivers/spi/spi-img-spfi.c clk_disable_unprepare(spfi->sys_clk); sys_clk 722 drivers/spi/spi-img-spfi.c clk_disable_unprepare(spfi->sys_clk); sys_clk 735 drivers/spi/spi-img-spfi.c clk_disable_unprepare(spfi->sys_clk); sys_clk 746 drivers/spi/spi-img-spfi.c ret = clk_prepare_enable(spfi->sys_clk); sys_clk 751 drivers/spi/spi-img-spfi.c clk_disable_unprepare(spfi->sys_clk); sys_clk 140 drivers/spi/spi-pic32-sqi.c struct clk *sys_clk; sys_clk 596 drivers/spi/spi-pic32-sqi.c sqi->sys_clk = devm_clk_get(&pdev->dev, "reg_ck"); sys_clk 597 drivers/spi/spi-pic32-sqi.c if (IS_ERR(sqi->sys_clk)) { sys_clk 598 drivers/spi/spi-pic32-sqi.c ret = PTR_ERR(sqi->sys_clk); sys_clk 610 drivers/spi/spi-pic32-sqi.c ret = clk_prepare_enable(sqi->sys_clk); sys_clk 619 drivers/spi/spi-pic32-sqi.c clk_disable_unprepare(sqi->sys_clk); sys_clk 674 drivers/spi/spi-pic32-sqi.c clk_disable_unprepare(sqi->sys_clk); sys_clk 691 drivers/spi/spi-pic32-sqi.c clk_disable_unprepare(sqi->sys_clk); sys_clk 213 drivers/usb/host/xhci-mtk.c mtk->sys_clk = devm_clk_get(dev, "sys_ck"); sys_clk 214 drivers/usb/host/xhci-mtk.c if (IS_ERR(mtk->sys_clk)) { sys_clk 216 drivers/usb/host/xhci-mtk.c return PTR_ERR(mtk->sys_clk); sys_clk 245 drivers/usb/host/xhci-mtk.c ret = clk_prepare_enable(mtk->sys_clk); sys_clk 276 drivers/usb/host/xhci-mtk.c clk_disable_unprepare(mtk->sys_clk); sys_clk 288 drivers/usb/host/xhci-mtk.c clk_disable_unprepare(mtk->sys_clk); sys_clk 141 drivers/usb/host/xhci-mtk.h struct clk *sys_clk; /* sys and mac clock */ sys_clk 253 drivers/usb/mtu3/mtu3.h struct clk *sys_clk; sys_clk 108 drivers/usb/mtu3/mtu3_plat.c ret = clk_prepare_enable(ssusb->sys_clk); sys_clk 139 drivers/usb/mtu3/mtu3_plat.c clk_disable_unprepare(ssusb->sys_clk); sys_clk 149 drivers/usb/mtu3/mtu3_plat.c clk_disable_unprepare(ssusb->sys_clk); sys_clk 229 drivers/usb/mtu3/mtu3_plat.c ssusb->sys_clk = devm_clk_get(dev, "sys_ck"); sys_clk 230 drivers/usb/mtu3/mtu3_plat.c if (IS_ERR(ssusb->sys_clk)) { sys_clk 232 drivers/usb/mtu3/mtu3_plat.c return PTR_ERR(ssusb->sys_clk); sys_clk 750 drivers/video/fbdev/omap/hwa742.c unsigned long *sys_clk, unsigned long *pix_clk) sys_clk 762 drivers/video/fbdev/omap/hwa742.c *sys_clk = ext_clk * sys_mul / sys_div; sys_clk 764 drivers/video/fbdev/omap/hwa742.c *sys_clk = ext_clk; sys_clk 766 drivers/video/fbdev/omap/hwa742.c *pix_clk = *sys_clk / pix_div; /* HZ */ sys_clk 771 drivers/video/fbdev/omap/hwa742.c *sys_clk, *pix_clk); sys_clk 927 drivers/video/fbdev/omap/hwa742.c unsigned long sys_clk, pix_clk; sys_clk 955 drivers/video/fbdev/omap/hwa742.c calc_hwa742_clk_rates(ext_clk, &sys_clk, &pix_clk); sys_clk 956 drivers/video/fbdev/omap/hwa742.c if ((r = calc_extif_timings(sys_clk, &extif_mem_div)) < 0) sys_clk 85 drivers/watchdog/imgpdc_wdt.c struct clk *sys_clk; sys_clk 199 drivers/watchdog/imgpdc_wdt.c pdc_wdt->sys_clk = devm_clk_get(dev, "sys"); sys_clk 200 drivers/watchdog/imgpdc_wdt.c if (IS_ERR(pdc_wdt->sys_clk)) { sys_clk 202 drivers/watchdog/imgpdc_wdt.c return PTR_ERR(pdc_wdt->sys_clk); sys_clk 211 drivers/watchdog/imgpdc_wdt.c ret = clk_prepare_enable(pdc_wdt->sys_clk); sys_clk 217 drivers/watchdog/imgpdc_wdt.c pdc_wdt->sys_clk); sys_clk 69 include/linux/mfd/atmel-hlcdc.h struct clk *sys_clk; sys_clk 29 include/linux/phy/omap_control_phy.h struct clk *sys_clk; sys_clk 42 sound/soc/codecs/rt274.c int sys_clk; sys_clk 632 sound/soc/codecs/rt274.c switch (rt274->sys_clk) { sys_clk 637 sound/soc/codecs/rt274.c params_rate(params), rt274->sys_clk); sys_clk 645 sound/soc/codecs/rt274.c params_rate(params), rt274->sys_clk); sys_clk 868 sound/soc/codecs/rt274.c rt274->sys_clk = freq; sys_clk 45 sound/soc/codecs/rt286.c int sys_clk; sys_clk 692 sound/soc/codecs/rt286.c switch (rt286->sys_clk) { sys_clk 697 sound/soc/codecs/rt286.c params_rate(params), rt286->sys_clk); sys_clk 705 sound/soc/codecs/rt286.c params_rate(params), rt286->sys_clk); sys_clk 858 sound/soc/codecs/rt286.c rt286->sys_clk = freq; sys_clk 44 sound/soc/codecs/rt298.c int sys_clk; sys_clk 761 sound/soc/codecs/rt298.c switch (rt298->sys_clk) { sys_clk 766 sound/soc/codecs/rt298.c params_rate(params), rt298->sys_clk); sys_clk 774 sound/soc/codecs/rt298.c params_rate(params), rt298->sys_clk); sys_clk 925 sound/soc/codecs/rt298.c rt298->sys_clk = freq;