pclk 132 arch/arm/mach-cns3xxx/core.c int pclk = cns3xxx_cpu_clock() / 8; pclk 135 arch/arm/mach-cns3xxx/core.c reload = pclk * 20 / (3 * HZ) * 0x25000; pclk 79 arch/arm/mach-mv78xx0/common.c static void get_pclk_l2clk(int hclk, int core_index, int *pclk, int *l2clk) pclk 97 arch/arm/mach-mv78xx0/common.c *pclk = ((u64)hclk * (2 + (cfg & 0xf))) >> 1; pclk 103 arch/arm/mach-mv78xx0/common.c *l2clk = *pclk / (((cfg >> 4) & 3) + 1); pclk 389 arch/arm/mach-mv78xx0/common.c int pclk; pclk 394 arch/arm/mach-mv78xx0/common.c get_pclk_l2clk(hclk, core_index, &pclk, &l2clk); pclk 398 arch/arm/mach-mv78xx0/common.c printk("PCLK = %dMHz, ", (pclk + 499999) / 1000000); pclk 103 arch/arm/mach-spear/spear13xx.c struct clk *gpt_clk, *pclk; pclk 115 arch/arm/mach-spear/spear13xx.c pclk = clk_get(NULL, pclk_name); pclk 116 arch/arm/mach-spear/spear13xx.c if (IS_ERR(pclk)) { pclk 122 arch/arm/mach-spear/spear13xx.c clk_set_parent(gpt_clk, pclk); pclk 124 arch/arm/mach-spear/spear13xx.c clk_put(pclk); pclk 86 arch/arm/mach-spear/spear3xx.c struct clk *gpt_clk, *pclk; pclk 98 arch/arm/mach-spear/spear3xx.c pclk = clk_get(NULL, pclk_name); pclk 99 arch/arm/mach-spear/spear3xx.c if (IS_ERR(pclk)) { pclk 105 arch/arm/mach-spear/spear3xx.c clk_set_parent(gpt_clk, pclk); pclk 107 arch/arm/mach-spear/spear3xx.c clk_put(pclk); pclk 373 arch/arm/mach-spear/spear6xx.c struct clk *gpt_clk, *pclk; pclk 385 arch/arm/mach-spear/spear6xx.c pclk = clk_get(NULL, pclk_name); pclk 386 arch/arm/mach-spear/spear6xx.c if (IS_ERR(pclk)) { pclk 392 arch/arm/mach-spear/spear6xx.c clk_set_parent(gpt_clk, pclk); pclk 394 arch/arm/mach-spear/spear6xx.c clk_put(pclk); pclk 36 arch/arm/plat-samsung/include/plat/cpu-freq.h unsigned long pclk; pclk 168 drivers/amba/bus.c clk_disable(pcdev->pclk); pclk 170 drivers/amba/bus.c clk_disable_unprepare(pcdev->pclk); pclk 183 drivers/amba/bus.c ret = clk_enable(pcdev->pclk); pclk 185 drivers/amba/bus.c ret = clk_prepare_enable(pcdev->pclk); pclk 236 drivers/amba/bus.c pcdev->pclk = clk_get(&pcdev->dev, "apb_pclk"); pclk 237 drivers/amba/bus.c if (IS_ERR(pcdev->pclk)) pclk 238 drivers/amba/bus.c return PTR_ERR(pcdev->pclk); pclk 240 drivers/amba/bus.c ret = clk_prepare_enable(pcdev->pclk); pclk 242 drivers/amba/bus.c clk_put(pcdev->pclk); pclk 249 drivers/amba/bus.c clk_disable_unprepare(pcdev->pclk); pclk 250 drivers/amba/bus.c clk_put(pcdev->pclk); pclk 45 drivers/ata/pata_ftide010.c struct clk *pclk; pclk 481 drivers/ata/pata_ftide010.c ftide->pclk = devm_clk_get(dev, "PCLK"); pclk 482 drivers/ata/pata_ftide010.c if (!IS_ERR(ftide->pclk)) { pclk 483 drivers/ata/pata_ftide010.c ret = clk_prepare_enable(ftide->pclk); pclk 539 drivers/ata/pata_ftide010.c if (!IS_ERR(ftide->pclk)) pclk 540 drivers/ata/pata_ftide010.c clk_disable_unprepare(ftide->pclk); pclk 550 drivers/ata/pata_ftide010.c if (!IS_ERR(ftide->pclk)) pclk 551 drivers/ata/pata_ftide010.c clk_disable_unprepare(ftide->pclk); pclk 197 drivers/ata/sata_gemini.c struct clk *pclk; pclk 201 drivers/ata/sata_gemini.c pclk = sg->sata0_pclk; pclk 203 drivers/ata/sata_gemini.c pclk = sg->sata1_pclk; pclk 204 drivers/ata/sata_gemini.c clk_enable(pclk); pclk 210 drivers/ata/sata_gemini.c clk_disable(pclk); pclk 276 drivers/clk/at91/clk-audio-pll.c struct clk_hw *pclk = clk_hw_get_parent(hw); pclk 306 drivers/clk/at91/clk-audio-pll.c best_parent_rate = clk_hw_round_rate(pclk, pclk 327 drivers/clk/at91/clk-audio-pll.c struct clk_hw *pclk = clk_hw_get_parent(hw); pclk 341 drivers/clk/at91/clk-audio-pll.c best_parent_rate = clk_round_rate(pclk->clk, 1); pclk 344 drivers/clk/at91/clk-audio-pll.c best_parent_rate = clk_round_rate(pclk->clk, rate * div); pclk 18 drivers/clk/clk-conf.c struct clk *clk, *pclk; pclk 38 drivers/clk/clk-conf.c pclk = of_clk_get_from_provider(&clkspec); pclk 39 drivers/clk/clk-conf.c if (IS_ERR(pclk)) { pclk 40 drivers/clk/clk-conf.c if (PTR_ERR(pclk) != -EPROBE_DEFER) pclk 43 drivers/clk/clk-conf.c return PTR_ERR(pclk); pclk 63 drivers/clk/clk-conf.c rc = clk_set_parent(clk, pclk); pclk 66 drivers/clk/clk-conf.c __clk_get_name(clk), __clk_get_name(pclk), rc); pclk 68 drivers/clk/clk-conf.c clk_put(pclk); pclk 72 drivers/clk/clk-conf.c clk_put(pclk); pclk 998 drivers/clk/clk-stm32h7.c static const struct pclk_t pclk[] = { pclk 1334 drivers/clk/clk-stm32h7.c for (n = 0; n < ARRAY_SIZE(pclk); n++) pclk 1335 drivers/clk/clk-stm32h7.c hws[PERIF_BANK + n] = clk_hw_register_gate(NULL, pclk[n].name, pclk 1336 drivers/clk/clk-stm32h7.c pclk[n].parent, pclk 1337 drivers/clk/clk-stm32h7.c pclk[n].flags, base + pclk[n].gate_offset, pclk 1338 drivers/clk/clk-stm32h7.c pclk[n].bit_idx, pclk[n].flags, &stm32rcc_lock); pclk 446 drivers/clk/clk-xgene.c struct xgene_clk *pclk = to_xgene_clk(hw); pclk 450 drivers/clk/clk-xgene.c if (pclk->lock) pclk 451 drivers/clk/clk-xgene.c spin_lock_irqsave(pclk->lock, flags); pclk 453 drivers/clk/clk-xgene.c if (pclk->param.csr_reg) { pclk 456 drivers/clk/clk-xgene.c data = xgene_clk_read(pclk->param.csr_reg + pclk 457 drivers/clk/clk-xgene.c pclk->param.reg_clk_offset); pclk 458 drivers/clk/clk-xgene.c data |= pclk->param.reg_clk_mask; pclk 459 drivers/clk/clk-xgene.c xgene_clk_write(data, pclk->param.csr_reg + pclk 460 drivers/clk/clk-xgene.c pclk->param.reg_clk_offset); pclk 463 drivers/clk/clk-xgene.c pclk->param.reg_clk_offset, pclk->param.reg_clk_mask, pclk 467 drivers/clk/clk-xgene.c data = xgene_clk_read(pclk->param.csr_reg + pclk 468 drivers/clk/clk-xgene.c pclk->param.reg_csr_offset); pclk 469 drivers/clk/clk-xgene.c data &= ~pclk->param.reg_csr_mask; pclk 470 drivers/clk/clk-xgene.c xgene_clk_write(data, pclk->param.csr_reg + pclk 471 drivers/clk/clk-xgene.c pclk->param.reg_csr_offset); pclk 474 drivers/clk/clk-xgene.c pclk->param.reg_csr_offset, pclk->param.reg_csr_mask, pclk 478 drivers/clk/clk-xgene.c if (pclk->lock) pclk 479 drivers/clk/clk-xgene.c spin_unlock_irqrestore(pclk->lock, flags); pclk 486 drivers/clk/clk-xgene.c struct xgene_clk *pclk = to_xgene_clk(hw); pclk 490 drivers/clk/clk-xgene.c if (pclk->lock) pclk 491 drivers/clk/clk-xgene.c spin_lock_irqsave(pclk->lock, flags); pclk 493 drivers/clk/clk-xgene.c if (pclk->param.csr_reg) { pclk 496 drivers/clk/clk-xgene.c data = xgene_clk_read(pclk->param.csr_reg + pclk 497 drivers/clk/clk-xgene.c pclk->param.reg_csr_offset); pclk 498 drivers/clk/clk-xgene.c data |= pclk->param.reg_csr_mask; pclk 499 drivers/clk/clk-xgene.c xgene_clk_write(data, pclk->param.csr_reg + pclk 500 drivers/clk/clk-xgene.c pclk->param.reg_csr_offset); pclk 503 drivers/clk/clk-xgene.c data = xgene_clk_read(pclk->param.csr_reg + pclk 504 drivers/clk/clk-xgene.c pclk->param.reg_clk_offset); pclk 505 drivers/clk/clk-xgene.c data &= ~pclk->param.reg_clk_mask; pclk 506 drivers/clk/clk-xgene.c xgene_clk_write(data, pclk->param.csr_reg + pclk 507 drivers/clk/clk-xgene.c pclk->param.reg_clk_offset); pclk 510 drivers/clk/clk-xgene.c if (pclk->lock) pclk 511 drivers/clk/clk-xgene.c spin_unlock_irqrestore(pclk->lock, flags); pclk 516 drivers/clk/clk-xgene.c struct xgene_clk *pclk = to_xgene_clk(hw); pclk 519 drivers/clk/clk-xgene.c if (pclk->param.csr_reg) { pclk 521 drivers/clk/clk-xgene.c data = xgene_clk_read(pclk->param.csr_reg + pclk 522 drivers/clk/clk-xgene.c pclk->param.reg_clk_offset); pclk 524 drivers/clk/clk-xgene.c data & pclk->param.reg_clk_mask ? "enabled" : pclk 528 drivers/clk/clk-xgene.c if (!pclk->param.csr_reg) pclk 530 drivers/clk/clk-xgene.c return data & pclk->param.reg_clk_mask ? 1 : 0; pclk 536 drivers/clk/clk-xgene.c struct xgene_clk *pclk = to_xgene_clk(hw); pclk 539 drivers/clk/clk-xgene.c if (pclk->param.divider_reg) { pclk 540 drivers/clk/clk-xgene.c data = xgene_clk_read(pclk->param.divider_reg + pclk 541 drivers/clk/clk-xgene.c pclk->param.reg_divider_offset); pclk 542 drivers/clk/clk-xgene.c data >>= pclk->param.reg_divider_shift; pclk 543 drivers/clk/clk-xgene.c data &= (1 << pclk->param.reg_divider_width) - 1; pclk 560 drivers/clk/clk-xgene.c struct xgene_clk *pclk = to_xgene_clk(hw); pclk 566 drivers/clk/clk-xgene.c if (pclk->lock) pclk 567 drivers/clk/clk-xgene.c spin_lock_irqsave(pclk->lock, flags); pclk 569 drivers/clk/clk-xgene.c if (pclk->param.divider_reg) { pclk 574 drivers/clk/clk-xgene.c divider &= (1 << pclk->param.reg_divider_width) - 1; pclk 575 drivers/clk/clk-xgene.c divider <<= pclk->param.reg_divider_shift; pclk 578 drivers/clk/clk-xgene.c data = xgene_clk_read(pclk->param.divider_reg + pclk 579 drivers/clk/clk-xgene.c pclk->param.reg_divider_offset); pclk 580 drivers/clk/clk-xgene.c data &= ~(((1 << pclk->param.reg_divider_width) - 1) pclk 581 drivers/clk/clk-xgene.c << pclk->param.reg_divider_shift); pclk 583 drivers/clk/clk-xgene.c xgene_clk_write(data, pclk->param.divider_reg + pclk 584 drivers/clk/clk-xgene.c pclk->param.reg_divider_offset); pclk 591 drivers/clk/clk-xgene.c if (pclk->lock) pclk 592 drivers/clk/clk-xgene.c spin_unlock_irqrestore(pclk->lock, flags); pclk 600 drivers/clk/clk-xgene.c struct xgene_clk *pclk = to_xgene_clk(hw); pclk 604 drivers/clk/clk-xgene.c if (pclk->param.divider_reg) { pclk 59 drivers/clk/pxa/clk-pxa.c struct pxa_clk *pclk = to_pxa_clk(hw); pclk 62 drivers/clk/pxa/clk-pxa.c if (!pclk->is_in_low_power || pclk->is_in_low_power()) pclk 63 drivers/clk/pxa/clk-pxa.c fix = &pclk->lp; pclk 65 drivers/clk/pxa/clk-pxa.c fix = &pclk->hp; pclk 76 drivers/clk/pxa/clk-pxa.c struct pxa_clk *pclk = to_pxa_clk(hw); pclk 78 drivers/clk/pxa/clk-pxa.c if (!pclk->is_in_low_power) pclk 80 drivers/clk/pxa/clk-pxa.c return pclk->is_in_low_power() ? 0 : 1; pclk 79 drivers/clk/qcom/apcs-msm8916.c a53cc->pclk = devm_clk_get(parent, NULL); pclk 80 drivers/clk/qcom/apcs-msm8916.c if (IS_ERR(a53cc->pclk)) { pclk 81 drivers/clk/qcom/apcs-msm8916.c ret = PTR_ERR(a53cc->pclk); pclk 87 drivers/clk/qcom/apcs-msm8916.c ret = clk_notifier_register(a53cc->pclk, &a53cc->clk_nb); pclk 111 drivers/clk/qcom/apcs-msm8916.c clk_notifier_unregister(a53cc->pclk, &a53cc->clk_nb); pclk 119 drivers/clk/qcom/apcs-msm8916.c clk_notifier_unregister(a53cc->pclk, &a53cc->clk_nb); pclk 37 drivers/clk/qcom/clk-regmap-mux-div.h struct clk *pclk; pclk 1516 drivers/clk/samsung/clk-exynos5420.c #define E5420_KFC_DIV(kpll, pclk, aclk) \ pclk 1517 drivers/clk/samsung/clk-exynos5420.c ((((kpll) << 24) | ((pclk) << 20) | ((aclk) << 4))) pclk 3656 drivers/clk/samsung/clk-exynos5433.c #define E5433_APOLLO_DIV0(cntclk, pclk_dbg, atclk, pclk, aclk) \ pclk 3658 drivers/clk/samsung/clk-exynos5433.c ((pclk) << 12) | ((aclk) << 8)) pclk 3905 drivers/clk/samsung/clk-exynos5433.c #define E5433_ATLAS_DIV0(cntclk, pclk_dbg, atclk, pclk, aclk) \ pclk 3907 drivers/clk/samsung/clk-exynos5433.c ((pclk) << 12) | ((aclk) << 8)) pclk 949 drivers/clk/sunxi/clk-sunxi.c struct clk **clks, *pclk; pclk 992 drivers/clk/sunxi/clk-sunxi.c pclk = sunxi_factors_clk_setup(node, &factors); pclk 993 drivers/clk/sunxi/clk-sunxi.c if (!pclk) pclk 996 drivers/clk/sunxi/clk-sunxi.c parent = __clk_get_name(pclk); pclk 1026 drivers/clk/sunxi/clk-sunxi.c clk_data->clks[i] = pclk; pclk 725 drivers/clk/ti/dpll3xxx.c struct clk_hw_omap *pclk = NULL; pclk 734 drivers/clk/ti/dpll3xxx.c pclk = to_clk_hw_omap(hw); pclk 735 drivers/clk/ti/dpll3xxx.c } while (pclk && !pclk->dpll_data); pclk 738 drivers/clk/ti/dpll3xxx.c if (!pclk) { pclk 743 drivers/clk/ti/dpll3xxx.c return pclk; pclk 759 drivers/clk/ti/dpll3xxx.c struct clk_hw_omap *pclk = NULL; pclk 764 drivers/clk/ti/dpll3xxx.c pclk = omap3_find_clkoutx2_dpll(hw); pclk 766 drivers/clk/ti/dpll3xxx.c if (!pclk) pclk 769 drivers/clk/ti/dpll3xxx.c dd = pclk->dpll_data; pclk 21 drivers/clk/versatile/clk-impd1.c struct clk *pclk; pclk 88 drivers/clk/versatile/clk-impd1.c struct clk *pclk; pclk 99 drivers/clk/versatile/clk-impd1.c pclk = clk_register_fixed_rate(NULL, imc->pclkname, NULL, 0, 0); pclk 100 drivers/clk/versatile/clk-impd1.c imc->pclk = pclk; pclk 106 drivers/clk/versatile/clk-impd1.c imc->clks[0] = clkdev_alloc(pclk, "apb_pclk", "lm%x:01000", id); pclk 116 drivers/clk/versatile/clk-impd1.c imc->clks[2] = clkdev_alloc(pclk, "apb_pclk", "lm%x:00700", id); pclk 124 drivers/clk/versatile/clk-impd1.c imc->clks[4] = clkdev_alloc(pclk, "apb_pclk", "lm%x:00100", id); pclk 126 drivers/clk/versatile/clk-impd1.c imc->clks[6] = clkdev_alloc(pclk, "apb_pclk", "lm%x:00200", id); pclk 133 drivers/clk/versatile/clk-impd1.c imc->clks[8] = clkdev_alloc(pclk, "apb_pclk", "lm%x:00300", id); pclk 137 drivers/clk/versatile/clk-impd1.c imc->clks[10] = clkdev_alloc(pclk, "apb_pclk", "lm%x:00400", id); pclk 138 drivers/clk/versatile/clk-impd1.c imc->clks[11] = clkdev_alloc(pclk, "apb_pclk", "lm%x:00500", id); pclk 139 drivers/clk/versatile/clk-impd1.c imc->clks[12] = clkdev_alloc(pclk, "apb_pclk", "lm%x:00800", id); pclk 146 drivers/clk/versatile/clk-impd1.c imc->clks[13] = clkdev_alloc(pclk, "apb_pclk", "lm%x:00600", id); pclk 169 drivers/clk/versatile/clk-impd1.c clk_unregister(imc->pclk); pclk 165 drivers/clk/x86/clk-pmc-atom.c struct clk_plt *pclk; pclk 169 drivers/clk/x86/clk-pmc-atom.c pclk = devm_kzalloc(&pdev->dev, sizeof(*pclk), GFP_KERNEL); pclk 170 drivers/clk/x86/clk-pmc-atom.c if (!pclk) pclk 179 drivers/clk/x86/clk-pmc-atom.c pclk->hw.init = &init; pclk 180 drivers/clk/x86/clk-pmc-atom.c pclk->reg = pmc_data->base + PMC_CLK_CTL_OFFSET + id * PMC_CLK_CTL_SIZE; pclk 181 drivers/clk/x86/clk-pmc-atom.c spin_lock_init(&pclk->lock); pclk 188 drivers/clk/x86/clk-pmc-atom.c if (pmc_data->critical && plt_clk_is_enabled(&pclk->hw)) pclk 191 drivers/clk/x86/clk-pmc-atom.c ret = devm_clk_hw_register(&pdev->dev, &pclk->hw); pclk 193 drivers/clk/x86/clk-pmc-atom.c pclk = ERR_PTR(ret); pclk 197 drivers/clk/x86/clk-pmc-atom.c pclk->lookup = clkdev_hw_create(&pclk->hw, init.name, NULL); pclk 198 drivers/clk/x86/clk-pmc-atom.c if (!pclk->lookup) { pclk 199 drivers/clk/x86/clk-pmc-atom.c pclk = ERR_PTR(-ENOMEM); pclk 205 drivers/clk/x86/clk-pmc-atom.c return pclk; pclk 208 drivers/clk/x86/clk-pmc-atom.c static void plt_clk_unregister(struct clk_plt *pclk) pclk 210 drivers/clk/x86/clk-pmc-atom.c clkdev_drop(pclk->lookup); pclk 218 drivers/clk/x86/clk-pmc-atom.c struct clk_plt_fixed *pclk; pclk 220 drivers/clk/x86/clk-pmc-atom.c pclk = devm_kzalloc(&pdev->dev, sizeof(*pclk), GFP_KERNEL); pclk 221 drivers/clk/x86/clk-pmc-atom.c if (!pclk) pclk 224 drivers/clk/x86/clk-pmc-atom.c pclk->clk = clk_hw_register_fixed_rate(&pdev->dev, name, parent_name, pclk 226 drivers/clk/x86/clk-pmc-atom.c if (IS_ERR(pclk->clk)) pclk 227 drivers/clk/x86/clk-pmc-atom.c return ERR_CAST(pclk->clk); pclk 229 drivers/clk/x86/clk-pmc-atom.c pclk->lookup = clkdev_hw_create(pclk->clk, name, NULL); pclk 230 drivers/clk/x86/clk-pmc-atom.c if (!pclk->lookup) { pclk 231 drivers/clk/x86/clk-pmc-atom.c clk_hw_unregister_fixed_rate(pclk->clk); pclk 235 drivers/clk/x86/clk-pmc-atom.c return pclk; pclk 238 drivers/clk/x86/clk-pmc-atom.c static void plt_clk_unregister_fixed_rate(struct clk_plt_fixed *pclk) pclk 240 drivers/clk/x86/clk-pmc-atom.c clkdev_drop(pclk->lookup); pclk 241 drivers/clk/x86/clk-pmc-atom.c clk_hw_unregister_fixed_rate(pclk->clk); pclk 21 drivers/clocksource/dw_apb_timer_of.c struct clk *pclk; pclk 43 drivers/clocksource/dw_apb_timer_of.c pclk = of_clk_get_by_name(np, "pclk"); pclk 44 drivers/clocksource/dw_apb_timer_of.c if (!IS_ERR(pclk)) pclk 45 drivers/clocksource/dw_apb_timer_of.c if (clk_prepare_enable(pclk)) pclk 192 drivers/clocksource/nomadik-mtu.c struct clk *pclk, struct clk *clk) pclk 199 drivers/clocksource/nomadik-mtu.c BUG_ON(clk_prepare_enable(pclk)); pclk 249 drivers/clocksource/nomadik-mtu.c struct clk *pclk; pclk 260 drivers/clocksource/nomadik-mtu.c pclk = of_clk_get_by_name(node, "apb_pclk"); pclk 261 drivers/clocksource/nomadik-mtu.c if (IS_ERR(pclk)) { pclk 263 drivers/clocksource/nomadik-mtu.c return PTR_ERR(pclk); pclk 278 drivers/clocksource/nomadik-mtu.c return nmdk_timer_init(base, irq, pclk, clk); pclk 268 drivers/clocksource/samsung_pwm_timer.c unsigned long pclk; pclk 272 drivers/clocksource/samsung_pwm_timer.c pclk = clk_get_rate(pwm.timerclk); pclk 277 drivers/clocksource/samsung_pwm_timer.c clock_rate = pclk / (pwm.tscaler_div * pwm.tdiv); pclk 335 drivers/clocksource/samsung_pwm_timer.c unsigned long pclk; pclk 338 drivers/clocksource/samsung_pwm_timer.c pclk = clk_get_rate(pwm.timerclk); pclk 343 drivers/clocksource/samsung_pwm_timer.c clock_rate = pclk / (pwm.tscaler_div * pwm.tdiv); pclk 37 drivers/clocksource/timer-rockchip.c struct clk *pclk; pclk 131 drivers/clocksource/timer-rockchip.c struct clk *pclk; pclk 146 drivers/clocksource/timer-rockchip.c pclk = of_clk_get_by_name(np, "pclk"); pclk 147 drivers/clocksource/timer-rockchip.c if (IS_ERR(pclk)) { pclk 148 drivers/clocksource/timer-rockchip.c ret = PTR_ERR(pclk); pclk 153 drivers/clocksource/timer-rockchip.c ret = clk_prepare_enable(pclk); pclk 158 drivers/clocksource/timer-rockchip.c timer->pclk = pclk; pclk 191 drivers/clocksource/timer-rockchip.c clk_disable_unprepare(pclk); pclk 201 drivers/clocksource/timer-rockchip.c clk_disable_unprepare(timer->pclk); pclk 28 drivers/cpufreq/qoriq-cpufreq.c struct clk **pclk; pclk 189 drivers/cpufreq/qoriq-cpufreq.c data->pclk = kcalloc(count, sizeof(struct clk *), GFP_KERNEL); pclk 190 drivers/cpufreq/qoriq-cpufreq.c if (!data->pclk) pclk 199 drivers/cpufreq/qoriq-cpufreq.c data->pclk[i] = clk; pclk 224 drivers/cpufreq/qoriq-cpufreq.c kfree(data->pclk); pclk 237 drivers/cpufreq/qoriq-cpufreq.c kfree(data->pclk); pclk 251 drivers/cpufreq/qoriq-cpufreq.c parent = data->pclk[data->table[index].driver_data]; pclk 45 drivers/cpufreq/s3c2410-cpufreq.c unsigned long hclk, fclk, pclk; pclk 65 drivers/cpufreq/s3c2410-cpufreq.c pdiv = (hclk > cfg->max.pclk) ? 2 : 1; pclk 66 drivers/cpufreq/s3c2410-cpufreq.c pclk = hclk / pdiv; pclk 68 drivers/cpufreq/s3c2410-cpufreq.c if (pclk > cfg->max.pclk) { pclk 86 drivers/cpufreq/s3c2410-cpufreq.c .pclk = 50000000, pclk 139 drivers/cpufreq/s3c2410-cpufreq.c s3c2410_cpufreq_info.max.pclk = 66500000; pclk 60 drivers/cpufreq/s3c2412-cpufreq.c cfg->freq.hclk, cfg->freq.pclk); pclk 90 drivers/cpufreq/s3c2412-cpufreq.c pdiv = (hclk > cfg->max.pclk) ? 2 : 1; pclk 92 drivers/cpufreq/s3c2412-cpufreq.c if ((hclk / pdiv) > cfg->max.pclk) pclk 95 drivers/cpufreq/s3c2412-cpufreq.c cfg->freq.pclk = hclk / pdiv; pclk 171 drivers/cpufreq/s3c2412-cpufreq.c .pclk = 50000000, pclk 215 drivers/cpufreq/s3c2412-cpufreq.c s3c2412_cpufreq_info.max.pclk = 66000000; pclk 90 drivers/cpufreq/s3c2440-cpufreq.c pdiv = (hclk > cfg->max.pclk) ? 2 : 1; pclk 92 drivers/cpufreq/s3c2440-cpufreq.c if ((hclk / pdiv) > cfg->max.pclk) pclk 245 drivers/cpufreq/s3c2440-cpufreq.c .pclk = 66666666, pclk 33 drivers/cpufreq/s3c24xx-cpufreq-debugfs.c f->fclk, f->hclk, f->pclk, f->armclk); pclk 64 drivers/cpufreq/s3c24xx-cpufreq.c unsigned long fclk, pclk, hclk, armclk; pclk 68 drivers/cpufreq/s3c24xx-cpufreq.c cfg->freq.pclk = pclk = clk_get_rate(clk_pclk); pclk 77 drivers/cpufreq/s3c24xx-cpufreq.c cfg->divs.p_divisor = fclk / pclk; pclk 86 drivers/cpufreq/s3c24xx-cpufreq.c cfg->freq.pclk = pll / cfg->divs.p_divisor; pclk 106 drivers/cpufreq/s3c24xx-cpufreq.c cfg->freq.pclk, cfg->divs.p_divisor); pclk 211 drivers/cpufreq/s3c24xx-cpufreq.c s3c_cpufreq_updateclk(clk_pclk, cpu_new.freq.pclk); pclk 521 drivers/cpufreq/s3c24xx-cpufreq.c dst->pclk = do_min(a->pclk, b->pclk); pclk 37 drivers/cpufreq/spear-cpufreq.c int pclk; pclk 54 drivers/cpufreq/spear-cpufreq.c pclk = 0; /* src is sys_syn_clk */ pclk 56 drivers/cpufreq/spear-cpufreq.c pclk = 3; /* src is pll3_clk */ pclk 58 drivers/cpufreq/spear-cpufreq.c pclk = 1; /* src is pll1_clk */ pclk 63 drivers/cpufreq/spear-cpufreq.c sys_pclk = clk_get(NULL, sys_clk_src[pclk]); pclk 65 drivers/cpufreq/spear-cpufreq.c pr_err("Failed to get %s clock\n", sys_clk_src[pclk]); pclk 301 drivers/crypto/s5p-sss.c struct clk *pclk; pclk 2253 drivers/crypto/s5p-sss.c pdata->pclk = devm_clk_get(dev, variant->clk_names[1]); pclk 2254 drivers/crypto/s5p-sss.c if (IS_ERR(pdata->pclk)) { pclk 2261 drivers/crypto/s5p-sss.c err = clk_prepare_enable(pdata->pclk); pclk 2268 drivers/crypto/s5p-sss.c pdata->pclk = NULL; pclk 2346 drivers/crypto/s5p-sss.c if (pdata->pclk) pclk 2347 drivers/crypto/s5p-sss.c clk_disable_unprepare(pdata->pclk); pclk 2377 drivers/crypto/s5p-sss.c if (pdata->pclk) pclk 2378 drivers/crypto/s5p-sss.c clk_disable_unprepare(pdata->pclk); pclk 34 drivers/gpio/gpio-cadence.c struct clk *pclk; pclk 202 drivers/gpio/gpio-cadence.c cgpio->pclk = devm_clk_get(&pdev->dev, NULL); pclk 203 drivers/gpio/gpio-cadence.c if (IS_ERR(cgpio->pclk)) { pclk 204 drivers/gpio/gpio-cadence.c ret = PTR_ERR(cgpio->pclk); pclk 210 drivers/gpio/gpio-cadence.c ret = clk_prepare_enable(cgpio->pclk); pclk 259 drivers/gpio/gpio-cadence.c clk_disable_unprepare(cgpio->pclk); pclk 272 drivers/gpio/gpio-cadence.c clk_disable_unprepare(cgpio->pclk); pclk 30 drivers/gpio/sgpio-aspeed.c struct clk *pclk; pclk 467 drivers/gpio/sgpio-aspeed.c gpio->pclk = devm_clk_get(&pdev->dev, NULL); pclk 468 drivers/gpio/sgpio-aspeed.c if (IS_ERR(gpio->pclk)) { pclk 470 drivers/gpio/sgpio-aspeed.c return PTR_ERR(gpio->pclk); pclk 473 drivers/gpio/sgpio-aspeed.c apb_freq = clk_get_rate(gpio->pclk); pclk 701 drivers/gpu/drm/arm/malidp_drv.c clk_disable_unprepare(hwdev->pclk); pclk 712 drivers/gpu/drm/arm/malidp_drv.c clk_prepare_enable(hwdev->pclk); pclk 752 drivers/gpu/drm/arm/malidp_drv.c hwdev->pclk = devm_clk_get(dev, "pclk"); pclk 753 drivers/gpu/drm/arm/malidp_drv.c if (IS_ERR(hwdev->pclk)) pclk 754 drivers/gpu/drm/arm/malidp_drv.c return PTR_ERR(hwdev->pclk); pclk 234 drivers/gpu/drm/arm/malidp_hw.h struct clk *pclk; pclk 231 drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c struct clk *pclk; pclk 821 drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c clk_disable_unprepare(dsi->slave->pclk); pclk 826 drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c clk_disable_unprepare(dsi->pclk); pclk 852 drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c clk_prepare_enable(dsi->pclk); pclk 1012 drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c dsi->pclk = devm_clk_get(dev, "pclk"); pclk 1013 drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c if (IS_ERR(dsi->pclk)) { pclk 1014 drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c ret = PTR_ERR(dsi->pclk); pclk 1034 drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c ret = clk_prepare_enable(dsi->pclk); pclk 1044 drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c clk_disable_unprepare(dsi->pclk); pclk 47 drivers/gpu/drm/exynos/exynos7_drm_decon.c struct clk *pclk; pclk 697 drivers/gpu/drm/exynos/exynos7_drm_decon.c ctx->pclk = devm_clk_get(dev, "pclk_decon0"); pclk 698 drivers/gpu/drm/exynos/exynos7_drm_decon.c if (IS_ERR(ctx->pclk)) { pclk 700 drivers/gpu/drm/exynos/exynos7_drm_decon.c ret = PTR_ERR(ctx->pclk); pclk 789 drivers/gpu/drm/exynos/exynos7_drm_decon.c clk_disable_unprepare(ctx->pclk); pclk 799 drivers/gpu/drm/exynos/exynos7_drm_decon.c ret = clk_prepare_enable(ctx->pclk); pclk 78 drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c struct clk *pclk; pclk 582 drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c clk_disable_unprepare(ctx->pclk); pclk 596 drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c ret = clk_prepare_enable(ctx->pclk); pclk 835 drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c ctx->pclk = devm_clk_get(&pdev->dev, "pclk"); pclk 836 drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c if (IS_ERR(ctx->pclk)) { pclk 838 drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c return PTR_ERR(ctx->pclk); pclk 313 drivers/gpu/drm/i915/display/icl_dsi.c afe_clk_khz = DIV_ROUND_CLOSEST(intel_dsi->pclk * bpp, pclk 1252 drivers/gpu/drm/i915/display/icl_dsi.c pipe_config->base.adjusted_mode.crtc_clock = intel_dsi->pclk; pclk 16 drivers/gpu/drm/i915/display/intel_dsi.c return intel_dsi->pclk * bpp / intel_dsi->lane_count; pclk 114 drivers/gpu/drm/i915/display/intel_dsi.h u32 pclk; pclk 535 drivers/gpu/drm/i915/display/intel_dsi_vbt.c DRM_DEBUG_KMS("Pclk %d\n", intel_dsi->pclk); pclk 606 drivers/gpu/drm/i915/display/intel_dsi_vbt.c intel_dsi->pclk = mode->clock; pclk 610 drivers/gpu/drm/i915/display/intel_dsi_vbt.c intel_dsi->pclk /= 2; pclk 616 drivers/gpu/drm/i915/display/intel_dsi_vbt.c intel_dsi->pclk += DIV_ROUND_UP(mode->vtotal * intel_dsi->pixel_overlap * 60, 1000); pclk 648 drivers/gpu/drm/i915/display/intel_dsi_vbt.c intel_dsi->pclk = DIV_ROUND_UP(intel_dsi->pclk * burst_mode_ratio, 100); pclk 1194 drivers/gpu/drm/i915/display/vlv_dsi.c u32 pclk; pclk 1201 drivers/gpu/drm/i915/display/vlv_dsi.c pclk = bxt_dsi_get_pclk(encoder, pipe_config); pclk 1203 drivers/gpu/drm/i915/display/vlv_dsi.c pclk = vlv_dsi_get_pclk(encoder, pipe_config); pclk 1206 drivers/gpu/drm/i915/display/vlv_dsi.c if (pclk) { pclk 1207 drivers/gpu/drm/i915/display/vlv_dsi.c pipe_config->base.adjusted_mode.crtc_clock = pclk; pclk 1208 drivers/gpu/drm/i915/display/vlv_dsi.c pipe_config->port_clock = pclk; pclk 1908 drivers/gpu/drm/i915/display/vlv_dsi.c intel_dsi->pclk, current_mode->clock); pclk 1909 drivers/gpu/drm/i915/display/vlv_dsi.c if (intel_fuzzy_clock_check(intel_dsi->pclk, pclk 1912 drivers/gpu/drm/i915/display/vlv_dsi.c intel_dsi->pclk = current_mode->clock; pclk 43 drivers/gpu/drm/i915/display/vlv_dsi_pll.c static u32 dsi_clk_from_pclk(u32 pclk, enum mipi_dsi_pixel_format fmt, pclk 51 drivers/gpu/drm/i915/display/vlv_dsi_pll.c dsi_clk_khz = DIV_ROUND_CLOSEST(pclk * bpp, lane_count); pclk 124 drivers/gpu/drm/i915/display/vlv_dsi_pll.c dsi_clk = dsi_clk_from_pclk(intel_dsi->pclk, intel_dsi->pixel_format, pclk 260 drivers/gpu/drm/i915/display/vlv_dsi_pll.c u32 dsi_clock, pclk; pclk 313 drivers/gpu/drm/i915/display/vlv_dsi_pll.c pclk = DIV_ROUND_CLOSEST(dsi_clock * intel_dsi->lane_count, bpp); pclk 315 drivers/gpu/drm/i915/display/vlv_dsi_pll.c return pclk; pclk 321 drivers/gpu/drm/i915/display/vlv_dsi_pll.c u32 pclk; pclk 334 drivers/gpu/drm/i915/display/vlv_dsi_pll.c pclk = DIV_ROUND_CLOSEST(dsi_clk * intel_dsi->lane_count, bpp); pclk 336 drivers/gpu/drm/i915/display/vlv_dsi_pll.c DRM_DEBUG_DRIVER("Calculated pclk=%u\n", pclk); pclk 337 drivers/gpu/drm/i915/display/vlv_dsi_pll.c return pclk; pclk 462 drivers/gpu/drm/i915/display/vlv_dsi_pll.c dsi_clk = dsi_clk_from_pclk(intel_dsi->pclk, intel_dsi->pixel_format, pclk 213 drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c if (mdp4_kms->pclk) pclk 214 drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c clk_disable_unprepare(mdp4_kms->pclk); pclk 228 drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c if (mdp4_kms->pclk) pclk 229 drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c clk_prepare_enable(mdp4_kms->pclk); pclk 479 drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c mdp4_kms->pclk = devm_clk_get(&pdev->dev, "iface_clk"); pclk 480 drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c if (IS_ERR(mdp4_kms->pclk)) pclk 481 drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c mdp4_kms->pclk = NULL; pclk 31 drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.h struct clk *pclk; pclk 34 drivers/gpu/drm/msm/hdmi/hdmi_audio.c #define HDMI_MSM_AUDIO_ARCS(pclk, ...) { (1000 * (pclk)), __VA_ARGS__ } pclk 719 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c int index, bool allow_reclock, struct nvkm_clk **pclk) pclk 721 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c if (!(*pclk = kzalloc(sizeof(**pclk), GFP_KERNEL))) pclk 723 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c return nvkm_clk_ctor(func, device, index, allow_reclock, *pclk); pclk 44 drivers/gpu/drm/nouveau/nvkm/subdev/clk/g84.c g84_clk_new(struct nvkm_device *device, int index, struct nvkm_clk **pclk) pclk 47 drivers/gpu/drm/nouveau/nvkm/subdev/clk/g84.c (device->chipset >= 0x94), pclk); pclk 471 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c gf100_clk_new(struct nvkm_device *device, int index, struct nvkm_clk **pclk) pclk 477 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c *pclk = &clk->base; pclk 507 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c gk104_clk_new(struct nvkm_device *device, int index, struct nvkm_clk **pclk) pclk 513 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c *pclk = &clk->base; pclk 642 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c gk20a_clk_new(struct nvkm_device *device, int index, struct nvkm_clk **pclk) pclk 650 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c *pclk = &clk->base; pclk 912 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c struct nvkm_clk **pclk) pclk 920 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c *pclk = &clk->base; pclk 1017 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c gm20b_clk_new(struct nvkm_device *device, int index, struct nvkm_clk **pclk) pclk 1027 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c return gm20b_clk_new_speedo0(device, index, pclk); pclk 1033 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c *pclk = &clk->base.base; pclk 1053 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c return gm20b_clk_new_speedo0(device, index, pclk); pclk 540 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c gt215_clk_new(struct nvkm_device *device, int index, struct nvkm_clk **pclk) pclk 546 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c *pclk = &clk->base; pclk 415 drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c mcp77_clk_new(struct nvkm_device *device, int index, struct nvkm_clk **pclk) pclk 421 drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c *pclk = &clk->base; pclk 75 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv04.c nv04_clk_new(struct nvkm_device *device, int index, struct nvkm_clk **pclk) pclk 77 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv04.c int ret = nvkm_clk_new_(&nv04_clk, device, index, false, pclk); pclk 79 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv04.c (*pclk)->pll_calc = nv04_clk_pll_calc; pclk 80 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv04.c (*pclk)->pll_prog = nv04_clk_pll_prog; pclk 221 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv40.c nv40_clk_new(struct nvkm_device *device, int index, struct nvkm_clk **pclk) pclk 229 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv40.c *pclk = &clk->base; pclk 510 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c int index, bool allow_reclock, struct nvkm_clk **pclk) pclk 518 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c *pclk = &clk->base; pclk 558 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c nv50_clk_new(struct nvkm_device *device, int index, struct nvkm_clk **pclk) pclk 560 drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c return nv50_clk_new_(&nv50_clk, device, index, false, pclk); pclk 101 drivers/gpu/drm/omapdrm/dss/dispc.c unsigned long pclk, unsigned long lclk, pclk 107 drivers/gpu/drm/omapdrm/dss/dispc.c unsigned long (*calc_core_clk) (unsigned long pclk, pclk 2141 drivers/gpu/drm/omapdrm/dss/dispc.c static int check_horiz_timing_omap3(unsigned long pclk, unsigned long lclk, pclk 2161 drivers/gpu/drm/omapdrm/dss/dispc.c lclk, pclk); pclk 2175 drivers/gpu/drm/omapdrm/dss/dispc.c val = div_u64((u64)(nonactive - pos_x) * lclk, pclk); pclk 2186 drivers/gpu/drm/omapdrm/dss/dispc.c val = div_u64((u64)nonactive * lclk, pclk); pclk 2195 drivers/gpu/drm/omapdrm/dss/dispc.c static unsigned long calc_core_clk_five_taps(unsigned long pclk, pclk 2204 drivers/gpu/drm/omapdrm/dss/dispc.c return (unsigned long) pclk; pclk 2209 drivers/gpu/drm/omapdrm/dss/dispc.c tmp = (u64)pclk * height * out_width; pclk 2217 drivers/gpu/drm/omapdrm/dss/dispc.c tmp = (u64)pclk * (height - 2 * out_height) * out_width; pclk 2224 drivers/gpu/drm/omapdrm/dss/dispc.c tmp = (u64)pclk * width; pclk 2235 drivers/gpu/drm/omapdrm/dss/dispc.c static unsigned long calc_core_clk_24xx(unsigned long pclk, u16 width, pclk 2239 drivers/gpu/drm/omapdrm/dss/dispc.c return pclk * 4; pclk 2241 drivers/gpu/drm/omapdrm/dss/dispc.c return pclk * 2; pclk 2244 drivers/gpu/drm/omapdrm/dss/dispc.c static unsigned long calc_core_clk_34xx(unsigned long pclk, u16 width, pclk 2267 drivers/gpu/drm/omapdrm/dss/dispc.c return pclk * vf * hf; pclk 2270 drivers/gpu/drm/omapdrm/dss/dispc.c static unsigned long calc_core_clk_44xx(unsigned long pclk, u16 width, pclk 2283 drivers/gpu/drm/omapdrm/dss/dispc.c return DIV_ROUND_UP(pclk, out_width) * width; pclk 2285 drivers/gpu/drm/omapdrm/dss/dispc.c return pclk; pclk 2289 drivers/gpu/drm/omapdrm/dss/dispc.c unsigned long pclk, unsigned long lclk, pclk 2309 drivers/gpu/drm/omapdrm/dss/dispc.c *core_clk = dispc->feat->calc_core_clk(pclk, in_width, pclk 2338 drivers/gpu/drm/omapdrm/dss/dispc.c unsigned long pclk, unsigned long lclk, pclk 2363 drivers/gpu/drm/omapdrm/dss/dispc.c *core_clk = calc_core_clk_five_taps(pclk, vm, pclk 2367 drivers/gpu/drm/omapdrm/dss/dispc.c *core_clk = dispc->feat->calc_core_clk(pclk, in_width, pclk 2371 drivers/gpu/drm/omapdrm/dss/dispc.c error = check_horiz_timing_omap3(pclk, lclk, vm, pclk 2406 drivers/gpu/drm/omapdrm/dss/dispc.c if (check_horiz_timing_omap3(pclk, lclk, vm, pos_x, in_width, pclk 2426 drivers/gpu/drm/omapdrm/dss/dispc.c unsigned long pclk, unsigned long lclk, pclk 2446 drivers/gpu/drm/omapdrm/dss/dispc.c / DIV_ROUND_UP(pclk, out_width); pclk 2484 drivers/gpu/drm/omapdrm/dss/dispc.c *core_clk = dispc->feat->calc_core_clk(pclk, in_width, in_height, pclk 2494 drivers/gpu/drm/omapdrm/dss/dispc.c unsigned long pclk, unsigned long lclk, pclk 2527 drivers/gpu/drm/omapdrm/dss/dispc.c if (!mem_to_mem && (pclk == 0 || vm->pixelclock == 0)) { pclk 2553 drivers/gpu/drm/omapdrm/dss/dispc.c ret = dispc->feat->calc_scaling(dispc, pclk, lclk, vm, width, height, pclk 2613 drivers/gpu/drm/omapdrm/dss/dispc.c unsigned long pclk = dispc_plane_pclk_rate(dispc, plane); pclk 2621 drivers/gpu/drm/omapdrm/dss/dispc.c pclk = vm->pixelclock; pclk 2652 drivers/gpu/drm/omapdrm/dss/dispc.c r = dispc_ovl_calc_scaling(dispc, plane, pclk, lclk, caps, vm, in_width, pclk 3088 drivers/gpu/drm/omapdrm/dss/dispc.c unsigned long pclk) pclk 3091 drivers/gpu/drm/omapdrm/dss/dispc.c return pclk <= dispc->feat->max_lcd_pclk; pclk 3093 drivers/gpu/drm/omapdrm/dss/dispc.c return pclk <= dispc->feat->max_tv_pclk; pclk 3357 drivers/gpu/drm/omapdrm/dss/dispc.c void dispc_set_tv_pclk(struct dispc_device *dispc, unsigned long pclk) pclk 3359 drivers/gpu/drm/omapdrm/dss/dispc.c dispc->tv_pclk_rate = pclk; pclk 427 drivers/gpu/drm/omapdrm/dss/dss.h void dispc_set_tv_pclk(struct dispc_device *dispc, unsigned long pclk); pclk 335 drivers/gpu/drm/omapdrm/dss/hdmi.h int hdmi_compute_acr(u32 pclk, u32 sample_freq, u32 *n, u32 *cts); pclk 673 drivers/gpu/drm/omapdrm/dss/hdmi4_core.c struct omap_dss_audio *audio, u32 pclk) pclk 740 drivers/gpu/drm/omapdrm/dss/hdmi4_core.c err = hdmi_compute_acr(pclk, fs_nr, &n, &cts); pclk 265 drivers/gpu/drm/omapdrm/dss/hdmi4_core.h struct omap_dss_audio *audio, u32 pclk); pclk 796 drivers/gpu/drm/omapdrm/dss/hdmi5_core.c struct omap_dss_audio *audio, u32 pclk) pclk 844 drivers/gpu/drm/omapdrm/dss/hdmi5_core.c err = hdmi_compute_acr(pclk, fs_nr, &n, &cts); pclk 292 drivers/gpu/drm/omapdrm/dss/hdmi5_core.h struct omap_dss_audio *audio, u32 pclk); pclk 52 drivers/gpu/drm/omapdrm/dss/hdmi_common.c int hdmi_compute_acr(u32 pclk, u32 sample_freq, u32 *n, u32 *cts) pclk 75 drivers/gpu/drm/omapdrm/dss/hdmi_common.c if (pclk == 27027000 || pclk == 74250000) pclk 78 drivers/gpu/drm/omapdrm/dss/hdmi_common.c if (pclk == 27027000) pclk 85 drivers/gpu/drm/omapdrm/dss/hdmi_common.c if (pclk == 27027000) pclk 146 drivers/gpu/drm/omapdrm/dss/hdmi_common.c *cts = (pclk/1000) * (*n / 128) * deep_color / (sample_freq / 10); pclk 69 drivers/gpu/drm/omapdrm/dss/sdi.c static int sdi_calc_clock_div(struct sdi_device *sdi, unsigned long pclk, pclk 90 drivers/gpu/drm/omapdrm/dss/sdi.c if (pclk > 1000 * i * i * i) pclk 91 drivers/gpu/drm/omapdrm/dss/sdi.c ctx.pck_min = max(pclk - 1000 * i * i * i, 0lu); pclk 94 drivers/gpu/drm/omapdrm/dss/sdi.c ctx.pck_max = pclk + 1000 * i * i * i; pclk 96 drivers/gpu/drm/omapdrm/dss/sdi.c ok = dss_div_calc(sdi->dss, pclk, ctx.pck_min, pclk 279 drivers/gpu/drm/radeon/rs690.c fixed20_12 pclk, request_fifo_depth, tolerable_latency, estimated_width; pclk 330 drivers/gpu/drm/radeon/rs690.c pclk.full = dfixed_div(b, a); pclk 338 drivers/gpu/drm/radeon/rs690.c consumption_time.full = dfixed_div(pclk, b); pclk 340 drivers/gpu/drm/radeon/rs690.c consumption_time.full = pclk.full; pclk 352 drivers/gpu/drm/radeon/rs690.c line_time.full = dfixed_mul(a, pclk); pclk 962 drivers/gpu/drm/radeon/rv515.c fixed20_12 pclk, request_fifo_depth, tolerable_latency, estimated_width; pclk 1010 drivers/gpu/drm/radeon/rv515.c pclk.full = dfixed_div(b, a); pclk 1018 drivers/gpu/drm/radeon/rv515.c consumption_time.full = dfixed_div(pclk, b); pclk 1020 drivers/gpu/drm/radeon/rv515.c consumption_time.full = pclk.full; pclk 1032 drivers/gpu/drm/radeon/rv515.c line_time.full = dfixed_mul(a, pclk); pclk 64 drivers/gpu/drm/rockchip/analogix_dp-rockchip.c struct clk *pclk; pclk 89 drivers/gpu/drm/rockchip/analogix_dp-rockchip.c ret = clk_prepare_enable(dp->pclk); pclk 98 drivers/gpu/drm/rockchip/analogix_dp-rockchip.c clk_disable_unprepare(dp->pclk); pclk 109 drivers/gpu/drm/rockchip/analogix_dp-rockchip.c clk_disable_unprepare(dp->pclk); pclk 286 drivers/gpu/drm/rockchip/analogix_dp-rockchip.c dp->pclk = devm_clk_get(dev, "pclk"); pclk 287 drivers/gpu/drm/rockchip/analogix_dp-rockchip.c if (IS_ERR(dp->pclk)) { pclk 289 drivers/gpu/drm/rockchip/analogix_dp-rockchip.c return PTR_ERR(dp->pclk); pclk 88 drivers/gpu/drm/rockchip/cdn-dp-core.c ret = clk_prepare_enable(dp->pclk); pclk 130 drivers/gpu/drm/rockchip/cdn-dp-core.c clk_disable_unprepare(dp->pclk); pclk 138 drivers/gpu/drm/rockchip/cdn-dp-core.c clk_disable_unprepare(dp->pclk); pclk 722 drivers/gpu/drm/rockchip/cdn-dp-core.c dp->pclk = devm_clk_get(dev, "pclk"); pclk 723 drivers/gpu/drm/rockchip/cdn-dp-core.c if (IS_ERR(dp->pclk)) { pclk 725 drivers/gpu/drm/rockchip/cdn-dp-core.c return PTR_ERR(dp->pclk); pclk 86 drivers/gpu/drm/rockchip/cdn-dp-core.h struct clk *pclk; pclk 226 drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c int pclk = mode->clock * 1000; pclk 231 drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c if (pclk == mpll_cfg[i].mpixelclock) { pclk 54 drivers/gpu/drm/rockchip/inno_hdmi.c struct clk *pclk; pclk 831 drivers/gpu/drm/rockchip/inno_hdmi.c hdmi->pclk = devm_clk_get(hdmi->dev, "pclk"); pclk 832 drivers/gpu/drm/rockchip/inno_hdmi.c if (IS_ERR(hdmi->pclk)) { pclk 834 drivers/gpu/drm/rockchip/inno_hdmi.c return PTR_ERR(hdmi->pclk); pclk 837 drivers/gpu/drm/rockchip/inno_hdmi.c ret = clk_prepare_enable(hdmi->pclk); pclk 865 drivers/gpu/drm/rockchip/inno_hdmi.c hdmi->tmds_rate = clk_get_rate(hdmi->pclk); pclk 890 drivers/gpu/drm/rockchip/inno_hdmi.c clk_disable_unprepare(hdmi->pclk); pclk 903 drivers/gpu/drm/rockchip/inno_hdmi.c clk_disable_unprepare(hdmi->pclk); pclk 57 drivers/gpu/drm/rockchip/rockchip_lvds.c struct clk *pclk; pclk 106 drivers/gpu/drm/rockchip/rockchip_lvds.c ret = clk_enable(lvds->pclk); pclk 114 drivers/gpu/drm/rockchip/rockchip_lvds.c clk_disable(lvds->pclk); pclk 187 drivers/gpu/drm/rockchip/rockchip_lvds.c clk_disable(lvds->pclk); pclk 513 drivers/gpu/drm/rockchip/rockchip_lvds.c lvds->pclk = devm_clk_get(&pdev->dev, "pclk_lvds"); pclk 514 drivers/gpu/drm/rockchip/rockchip_lvds.c if (IS_ERR(lvds->pclk)) { pclk 516 drivers/gpu/drm/rockchip/rockchip_lvds.c return PTR_ERR(lvds->pclk); pclk 548 drivers/gpu/drm/rockchip/rockchip_lvds.c ret = clk_prepare(lvds->pclk); pclk 556 drivers/gpu/drm/rockchip/rockchip_lvds.c clk_unprepare(lvds->pclk); pclk 567 drivers/gpu/drm/rockchip/rockchip_lvds.c clk_unprepare(lvds->pclk); pclk 331 drivers/gpu/drm/stm/dw_mipi_dsi-stm.c struct clk *pclk; pclk 374 drivers/gpu/drm/stm/dw_mipi_dsi-stm.c pclk = devm_clk_get(dev, "pclk"); pclk 375 drivers/gpu/drm/stm/dw_mipi_dsi-stm.c if (IS_ERR(pclk)) { pclk 376 drivers/gpu/drm/stm/dw_mipi_dsi-stm.c ret = PTR_ERR(pclk); pclk 381 drivers/gpu/drm/stm/dw_mipi_dsi-stm.c ret = clk_prepare_enable(pclk); pclk 388 drivers/gpu/drm/stm/dw_mipi_dsi-stm.c clk_disable_unprepare(pclk); pclk 1184 drivers/gpu/drm/tegra/dc.c copy->pclk = state->pclk; pclk 1631 drivers/gpu/drm/tegra/dc.c struct clk *clk, unsigned long pclk, pclk 1640 drivers/gpu/drm/tegra/dc.c state->pclk = pclk; pclk 1664 drivers/gpu/drm/tegra/dc.c if (state->pclk > 0) { pclk 1665 drivers/gpu/drm/tegra/dc.c err = clk_set_rate(state->clk, state->pclk); pclk 1669 drivers/gpu/drm/tegra/dc.c state->pclk); pclk 1674 drivers/gpu/drm/tegra/dc.c DRM_DEBUG_KMS("pclk: %lu\n", state->pclk); pclk 1681 drivers/gpu/drm/tegra/dc.c err = clk_set_rate(dc->clk, state->pclk); pclk 1684 drivers/gpu/drm/tegra/dc.c dc->clk, state->pclk, err); pclk 22 drivers/gpu/drm/tegra/dc.h unsigned long pclk; pclk 153 drivers/gpu/drm/tegra/dc.h struct clk *clk, unsigned long pclk, pclk 40 drivers/gpu/drm/tegra/dsi.c unsigned long pclk; pclk 957 drivers/gpu/drm/tegra/dsi.c state->pclk = crtc_state->mode.clock * 1000; pclk 972 drivers/gpu/drm/tegra/dsi.c state->bclk = (state->pclk * state->mul) / (state->div * state->lanes); pclk 35 drivers/gpu/drm/tegra/hdmi.c unsigned int pclk; pclk 128 drivers/gpu/drm/tegra/hdmi.c .pclk = 27000000, pclk 143 drivers/gpu/drm/tegra/hdmi.c .pclk = UINT_MAX, pclk 161 drivers/gpu/drm/tegra/hdmi.c .pclk = 27000000, pclk 175 drivers/gpu/drm/tegra/hdmi.c .pclk = 74250000, pclk 189 drivers/gpu/drm/tegra/hdmi.c .pclk = UINT_MAX, pclk 207 drivers/gpu/drm/tegra/hdmi.c .pclk = 27000000, pclk 225 drivers/gpu/drm/tegra/hdmi.c .pclk = 74250000, pclk 244 drivers/gpu/drm/tegra/hdmi.c .pclk = 148500000, pclk 263 drivers/gpu/drm/tegra/hdmi.c .pclk = UINT_MAX, pclk 286 drivers/gpu/drm/tegra/hdmi.c .pclk = 27000000, pclk 304 drivers/gpu/drm/tegra/hdmi.c .pclk = 74250000, pclk 323 drivers/gpu/drm/tegra/hdmi.c .pclk = 148500000, pclk 342 drivers/gpu/drm/tegra/hdmi.c .pclk = UINT_MAX, pclk 1119 drivers/gpu/drm/tegra/hdmi.c unsigned long pclk = mode->clock * 1000; pclk 1126 drivers/gpu/drm/tegra/hdmi.c err = clk_round_rate(parent, pclk * 4); pclk 1299 drivers/gpu/drm/tegra/hdmi.c if (hdmi->pixel_clock <= hdmi->config->tmds[i].pclk) { pclk 1405 drivers/gpu/drm/tegra/hdmi.c unsigned long pclk = crtc_state->mode.clock * 1000; pclk 1410 drivers/gpu/drm/tegra/hdmi.c pclk, 0); pclk 648 drivers/gpu/drm/tegra/hub.c if (!hub_state->clk || dc->pclk > hub_state->rate) { pclk 651 drivers/gpu/drm/tegra/hub.c hub_state->rate = dc->pclk; pclk 174 drivers/gpu/drm/tegra/rgb.c unsigned long pclk = crtc_state->mode.clock * 1000; pclk 195 drivers/gpu/drm/tegra/rgb.c div = ((clk_get_rate(rgb->clk) * 2) / pclk) - 2; pclk 196 drivers/gpu/drm/tegra/rgb.c pclk = 0; pclk 199 drivers/gpu/drm/tegra/rgb.c pclk, div); pclk 440 drivers/gpu/drm/tegra/sor.c unsigned long pclk; pclk 909 drivers/gpu/drm/tegra/sor.c const u64 pclk = mode->clock * 1000; pclk 915 drivers/gpu/drm/tegra/sor.c if (!link_rate || !link->num_lanes || !pclk || !config->bits_per_pixel) pclk 919 drivers/gpu/drm/tegra/sor.c input = pclk * config->bits_per_pixel; pclk 926 drivers/gpu/drm/tegra/sor.c params.num_clocks = div_u64(link_rate * mode->hdisplay, pclk); pclk 977 drivers/gpu/drm/tegra/sor.c config->hblank_symbols = div_u64(num, pclk); pclk 986 drivers/gpu/drm/tegra/sor.c config->vblank_symbols = div_u64(num, pclk); pclk 1992 drivers/gpu/drm/tegra/sor.c unsigned long pclk = crtc_state->mode.clock * 1000; pclk 2003 drivers/gpu/drm/tegra/sor.c if (pclk >= 340000000) { pclk 2005 drivers/gpu/drm/tegra/sor.c state->pclk = pclk / 2; pclk 2008 drivers/gpu/drm/tegra/sor.c state->pclk = pclk; pclk 2012 drivers/gpu/drm/tegra/sor.c pclk, 0); pclk 2430 drivers/gpu/drm/tegra/sor.c unsigned long rate, pclk; pclk 2437 drivers/gpu/drm/tegra/sor.c pclk = mode->clock * 1000; pclk 2581 drivers/gpu/drm/tegra/sor.c DRM_DEBUG_KMS("setting clock to %lu Hz, mode: %lu Hz\n", rate, pclk); pclk 113 drivers/gpu/drm/tve200/tve200_drm.h struct clk *pclk; pclk 184 drivers/gpu/drm/tve200/tve200_drv.c priv->pclk = devm_clk_get(dev, "PCLK"); pclk 185 drivers/gpu/drm/tve200/tve200_drv.c if (IS_ERR(priv->pclk)) { pclk 187 drivers/gpu/drm/tve200/tve200_drv.c ret = PTR_ERR(priv->pclk); pclk 190 drivers/gpu/drm/tve200/tve200_drv.c ret = clk_prepare_enable(priv->pclk); pclk 244 drivers/gpu/drm/tve200/tve200_drv.c clk_disable_unprepare(priv->pclk); pclk 259 drivers/gpu/drm/tve200/tve200_drv.c clk_disable_unprepare(priv->pclk); pclk 261 drivers/i2c/busses/i2c-designware-common.c ret = clk_prepare_enable(dev->pclk); pclk 267 drivers/i2c/busses/i2c-designware-common.c clk_disable_unprepare(dev->pclk); pclk 273 drivers/i2c/busses/i2c-designware-common.c clk_disable_unprepare(dev->pclk); pclk 231 drivers/i2c/busses/i2c-designware-core.h struct clk *pclk; pclk 346 drivers/i2c/busses/i2c-designware-platdrv.c dev->pclk = devm_clk_get_optional(&pdev->dev, "pclk"); pclk 347 drivers/i2c/busses/i2c-designware-platdrv.c if (IS_ERR(dev->pclk)) { pclk 348 drivers/i2c/busses/i2c-designware-platdrv.c ret = PTR_ERR(dev->pclk); pclk 234 drivers/i2c/busses/i2c-qup.c struct clk *pclk; pclk 1642 drivers/i2c/busses/i2c-qup.c clk_prepare_enable(qup->pclk); pclk 1654 drivers/i2c/busses/i2c-qup.c clk_disable_unprepare(qup->pclk); pclk 1791 drivers/i2c/busses/i2c-qup.c qup->pclk = devm_clk_get(qup->dev, "iface"); pclk 1792 drivers/i2c/busses/i2c-qup.c if (IS_ERR(qup->pclk)) { pclk 1794 drivers/i2c/busses/i2c-qup.c return PTR_ERR(qup->pclk); pclk 200 drivers/i2c/busses/i2c-rk3x.c struct clk *pclk; pclk 883 drivers/i2c/busses/i2c-rk3x.c clk_enable(i2c->pclk); pclk 894 drivers/i2c/busses/i2c-rk3x.c clk_disable(i2c->pclk); pclk 1055 drivers/i2c/busses/i2c-rk3x.c clk_enable(i2c->pclk); pclk 1105 drivers/i2c/busses/i2c-rk3x.c clk_disable(i2c->pclk); pclk 1282 drivers/i2c/busses/i2c-rk3x.c i2c->pclk = i2c->clk; pclk 1285 drivers/i2c/busses/i2c-rk3x.c i2c->pclk = devm_clk_get(&pdev->dev, "pclk"); pclk 1294 drivers/i2c/busses/i2c-rk3x.c if (IS_ERR(i2c->pclk)) { pclk 1295 drivers/i2c/busses/i2c-rk3x.c ret = PTR_ERR(i2c->pclk); pclk 1306 drivers/i2c/busses/i2c-rk3x.c ret = clk_prepare(i2c->pclk); pclk 1331 drivers/i2c/busses/i2c-rk3x.c clk_unprepare(i2c->pclk); pclk 1344 drivers/i2c/busses/i2c-rk3x.c clk_unprepare(i2c->pclk); pclk 141 drivers/i2c/busses/i2c-synquacer.c struct clk *pclk; pclk 555 drivers/i2c/busses/i2c-synquacer.c i2c->pclk = devm_clk_get(&pdev->dev, "pclk"); pclk 556 drivers/i2c/busses/i2c-synquacer.c if (IS_ERR(i2c->pclk) && PTR_ERR(i2c->pclk) == -EPROBE_DEFER) pclk 558 drivers/i2c/busses/i2c-synquacer.c if (!IS_ERR_OR_NULL(i2c->pclk)) { pclk 559 drivers/i2c/busses/i2c-synquacer.c dev_dbg(&pdev->dev, "clock source %p\n", i2c->pclk); pclk 561 drivers/i2c/busses/i2c-synquacer.c ret = clk_prepare_enable(i2c->pclk); pclk 567 drivers/i2c/busses/i2c-synquacer.c i2c->pclkrate = clk_get_rate(i2c->pclk); pclk 631 drivers/i2c/busses/i2c-synquacer.c if (!IS_ERR(i2c->pclk)) pclk 632 drivers/i2c/busses/i2c-synquacer.c clk_disable_unprepare(i2c->pclk); pclk 408 drivers/i3c/master/i3c-master-cdns.c struct clk *pclk; pclk 1540 drivers/i3c/master/i3c-master-cdns.c master->pclk = devm_clk_get(&pdev->dev, "pclk"); pclk 1541 drivers/i3c/master/i3c-master-cdns.c if (IS_ERR(master->pclk)) pclk 1542 drivers/i3c/master/i3c-master-cdns.c return PTR_ERR(master->pclk); pclk 1552 drivers/i3c/master/i3c-master-cdns.c ret = clk_prepare_enable(master->pclk); pclk 1614 drivers/i3c/master/i3c-master-cdns.c clk_disable_unprepare(master->pclk); pclk 1629 drivers/i3c/master/i3c-master-cdns.c clk_disable_unprepare(master->pclk); pclk 158 drivers/iio/adc/ep93xx_adc.c struct clk *pclk; pclk 191 drivers/iio/adc/ep93xx_adc.c pclk = clk_get_parent(priv->clk); pclk 192 drivers/iio/adc/ep93xx_adc.c if (!pclk) { pclk 202 drivers/iio/adc/ep93xx_adc.c ret = clk_set_rate(priv->clk, clk_get_rate(pclk) / 16); pclk 45 drivers/iio/adc/rockchip_saradc.c struct clk *pclk; pclk 257 drivers/iio/adc/rockchip_saradc.c info->pclk = devm_clk_get(&pdev->dev, "apb_pclk"); pclk 258 drivers/iio/adc/rockchip_saradc.c if (IS_ERR(info->pclk)) { pclk 260 drivers/iio/adc/rockchip_saradc.c return PTR_ERR(info->pclk); pclk 295 drivers/iio/adc/rockchip_saradc.c ret = clk_prepare_enable(info->pclk); pclk 327 drivers/iio/adc/rockchip_saradc.c clk_disable_unprepare(info->pclk); pclk 340 drivers/iio/adc/rockchip_saradc.c clk_disable_unprepare(info->pclk); pclk 353 drivers/iio/adc/rockchip_saradc.c clk_disable_unprepare(info->pclk); pclk 369 drivers/iio/adc/rockchip_saradc.c ret = clk_prepare_enable(info->pclk); pclk 27 drivers/iio/dac/stm32-dac-core.c struct clk *pclk; pclk 103 drivers/iio/dac/stm32-dac-core.c priv->pclk = devm_clk_get(dev, "pclk"); pclk 104 drivers/iio/dac/stm32-dac-core.c if (IS_ERR(priv->pclk)) { pclk 105 drivers/iio/dac/stm32-dac-core.c ret = PTR_ERR(priv->pclk); pclk 110 drivers/iio/dac/stm32-dac-core.c ret = clk_prepare_enable(priv->pclk); pclk 125 drivers/iio/dac/stm32-dac-core.c priv->common.hfsel = (clk_get_rate(priv->pclk) > 80000000UL); pclk 145 drivers/iio/dac/stm32-dac-core.c clk_disable_unprepare(priv->pclk); pclk 158 drivers/iio/dac/stm32-dac-core.c clk_disable_unprepare(priv->pclk); pclk 69 drivers/input/keyboard/nomadik-ske-keypad.c struct clk *pclk; pclk 273 drivers/input/keyboard/nomadik-ske-keypad.c keypad->pclk = clk_get(&pdev->dev, "apb_pclk"); pclk 274 drivers/input/keyboard/nomadik-ske-keypad.c if (IS_ERR(keypad->pclk)) { pclk 276 drivers/input/keyboard/nomadik-ske-keypad.c error = PTR_ERR(keypad->pclk); pclk 303 drivers/input/keyboard/nomadik-ske-keypad.c error = clk_prepare_enable(keypad->pclk); pclk 352 drivers/input/keyboard/nomadik-ske-keypad.c clk_disable_unprepare(keypad->pclk); pclk 356 drivers/input/keyboard/nomadik-ske-keypad.c clk_put(keypad->pclk); pclk 268 drivers/iommu/exynos-iommu.c struct clk *pclk; /* SYSMMU's pclk clock */ pclk 355 drivers/iommu/exynos-iommu.c BUG_ON(clk_prepare_enable(data->pclk)); pclk 362 drivers/iommu/exynos-iommu.c clk_disable_unprepare(data->pclk); pclk 608 drivers/iommu/exynos-iommu.c data->pclk = devm_clk_get(dev, "pclk"); pclk 609 drivers/iommu/exynos-iommu.c if (PTR_ERR(data->pclk) == -ENOENT) pclk 610 drivers/iommu/exynos-iommu.c data->pclk = NULL; pclk 611 drivers/iommu/exynos-iommu.c else if (IS_ERR(data->pclk)) pclk 612 drivers/iommu/exynos-iommu.c return PTR_ERR(data->pclk); pclk 614 drivers/iommu/exynos-iommu.c if (!data->clk && (!data->aclk || !data->pclk)) { pclk 59 drivers/iommu/msm_iommu.c ret = clk_enable(iommu->pclk); pclk 66 drivers/iommu/msm_iommu.c clk_disable(iommu->pclk); pclk 76 drivers/iommu/msm_iommu.c clk_disable(iommu->pclk); pclk 732 drivers/iommu/msm_iommu.c iommu->pclk = devm_clk_get(iommu->dev, "smmu_pclk"); pclk 733 drivers/iommu/msm_iommu.c if (IS_ERR(iommu->pclk)) { pclk 735 drivers/iommu/msm_iommu.c return PTR_ERR(iommu->pclk); pclk 738 drivers/iommu/msm_iommu.c ret = clk_prepare(iommu->pclk); pclk 747 drivers/iommu/msm_iommu.c clk_unprepare(iommu->pclk); pclk 754 drivers/iommu/msm_iommu.c clk_unprepare(iommu->pclk); pclk 831 drivers/iommu/msm_iommu.c clk_unprepare(iommu->pclk); pclk 845 drivers/iommu/msm_iommu.c clk_unprepare(iommu->pclk); pclk 54 drivers/iommu/msm_iommu.h struct clk *pclk; pclk 43 drivers/mailbox/rockchip-mailbox.c struct clk *pclk; pclk 210 drivers/mailbox/rockchip-mailbox.c mb->pclk = devm_clk_get(&pdev->dev, "pclk_mailbox"); pclk 211 drivers/mailbox/rockchip-mailbox.c if (IS_ERR(mb->pclk)) { pclk 212 drivers/mailbox/rockchip-mailbox.c ret = PTR_ERR(mb->pclk); pclk 218 drivers/mailbox/rockchip-mailbox.c ret = clk_prepare_enable(mb->pclk); pclk 458 drivers/media/i2c/mt9v111.c unsigned int pclk; pclk 493 drivers/media/i2c/mt9v111.c pclk = DIV_ROUND_CLOSEST(mt9v111->sysclk, 2); pclk 504 drivers/media/i2c/mt9v111.c unsigned int t_fps = DIV_ROUND_CLOSEST(pclk, t_frame); pclk 552 drivers/media/i2c/ov6650.c unsigned long pclk; pclk 555 drivers/media/i2c/ov6650.c pclk = pclk_max * timeperframe->denominator / pclk 558 drivers/media/i2c/ov6650.c pclk = pclk_max; pclk 560 drivers/media/i2c/ov6650.c if (pclk_limit && pclk_limit < pclk) pclk 561 drivers/media/i2c/ov6650.c pclk = pclk_limit; pclk 563 drivers/media/i2c/ov6650.c return (pclk_max - 1) / pclk; pclk 583 drivers/media/i2c/ov6650.c unsigned long mclk, pclk; pclk 661 drivers/media/i2c/ov6650.c pclk = priv->pclk_max / GET_CLKRC_DIV(clkrc); pclk 663 drivers/media/i2c/ov6650.c mclk / pclk, 10 * mclk % pclk / pclk); pclk 633 drivers/media/i2c/ov772x.c unsigned int pclk; pclk 652 drivers/media/i2c/ov772x.c pclk = fps * fsize; pclk 682 drivers/media/i2c/ov772x.c if (pll_out < pclk) pclk 685 drivers/media/i2c/ov772x.c div = DIV_ROUND_CLOSEST(pll_out, pclk); pclk 687 drivers/media/i2c/ov772x.c diff = abs(pclk - t_pclk); pclk 111 drivers/media/platform/atmel/atmel-isi.c struct clk *pclk; pclk 1166 drivers/media/platform/atmel/atmel-isi.c isi->pclk = devm_clk_get(&pdev->dev, "isi_clk"); pclk 1167 drivers/media/platform/atmel/atmel-isi.c if (IS_ERR(isi->pclk)) pclk 1168 drivers/media/platform/atmel/atmel-isi.c return PTR_ERR(isi->pclk); pclk 1310 drivers/media/platform/atmel/atmel-isi.c clk_disable_unprepare(isi->pclk); pclk 1318 drivers/media/platform/atmel/atmel-isi.c return clk_prepare_enable(isi->pclk); pclk 612 drivers/media/platform/pxa_camera.c bool hsync = true, vsync = true, pclk, data, mode; pclk 625 drivers/media/platform/pxa_camera.c pclk = common_flags & (V4L2_MBUS_PCLK_SAMPLE_RISING | pclk 630 drivers/media/platform/pxa_camera.c return (!hsync || !vsync || !pclk || !data || !mode) ? pclk 1146 drivers/media/platform/pxa_camera.c unsigned long pclk) pclk 1149 drivers/media/platform/pxa_camera.c u32 ciclk_per_pixel = pcdev->ciclk / pclk + 1; pclk 391 drivers/media/v4l2-core/v4l2-dv-timings.c u64 pclk; pclk 398 drivers/media/v4l2-core/v4l2-dv-timings.c pclk = bt->pixelclock; pclk 402 drivers/media/v4l2-core/v4l2-dv-timings.c pclk = div_u64(pclk * 1000ULL, 1001); pclk 404 drivers/media/v4l2-core/v4l2-dv-timings.c fps = (htot * vtot) > 0 ? div_u64((100 * pclk), (htot * vtot)) : 0; pclk 1096 drivers/net/ethernet/cadence/macb.h int (*clk_init)(struct platform_device *pdev, struct clk **pclk, pclk 1174 drivers/net/ethernet/cadence/macb.h struct clk *pclk; pclk 2116 drivers/net/ethernet/cadence/macb_main.c unsigned long pclk_hz = clk_get_rate(bp->pclk); pclk 2142 drivers/net/ethernet/cadence/macb_main.c pclk_hz = clk_get_rate(bp->pclk); pclk 2797 drivers/net/ethernet/cadence/macb_main.c else if (!IS_ERR(bp->pclk)) { pclk 2798 drivers/net/ethernet/cadence/macb_main.c tsu_clk = bp->pclk; pclk 3380 drivers/net/ethernet/cadence/macb_main.c static int macb_clk_init(struct platform_device *pdev, struct clk **pclk, pclk 3389 drivers/net/ethernet/cadence/macb_main.c *pclk = pdata->pclk; pclk 3392 drivers/net/ethernet/cadence/macb_main.c *pclk = devm_clk_get(&pdev->dev, "pclk"); pclk 3396 drivers/net/ethernet/cadence/macb_main.c if (IS_ERR_OR_NULL(*pclk)) { pclk 3397 drivers/net/ethernet/cadence/macb_main.c err = PTR_ERR(*pclk); pclk 3426 drivers/net/ethernet/cadence/macb_main.c err = clk_prepare_enable(*pclk); pclk 3468 drivers/net/ethernet/cadence/macb_main.c clk_disable_unprepare(*pclk); pclk 3917 drivers/net/ethernet/cadence/macb_main.c static int at91ether_clk_init(struct platform_device *pdev, struct clk **pclk, pclk 3928 drivers/net/ethernet/cadence/macb_main.c *pclk = devm_clk_get(&pdev->dev, "ether_clk"); pclk 3929 drivers/net/ethernet/cadence/macb_main.c if (IS_ERR(*pclk)) pclk 3930 drivers/net/ethernet/cadence/macb_main.c return PTR_ERR(*pclk); pclk 3932 drivers/net/ethernet/cadence/macb_main.c err = clk_prepare_enable(*pclk); pclk 4019 drivers/net/ethernet/cadence/macb_main.c static int fu540_c000_clk_init(struct platform_device *pdev, struct clk **pclk, pclk 4026 drivers/net/ethernet/cadence/macb_main.c err = macb_clk_init(pdev, pclk, hclk, tx_clk, rx_clk, tsu_clk); pclk 4186 drivers/net/ethernet/cadence/macb_main.c struct clk *pclk, *hclk = NULL, *tx_clk = NULL, *rx_clk = NULL; pclk 4214 drivers/net/ethernet/cadence/macb_main.c err = clk_init(pdev, &pclk, &hclk, &tx_clk, &rx_clk, &tsu_clk); pclk 4252 drivers/net/ethernet/cadence/macb_main.c bp->pclk = pclk; pclk 4371 drivers/net/ethernet/cadence/macb_main.c clk_disable_unprepare(pclk); pclk 4406 drivers/net/ethernet/cadence/macb_main.c clk_disable_unprepare(bp->pclk); pclk 4513 drivers/net/ethernet/cadence/macb_main.c clk_disable_unprepare(bp->pclk); pclk 4527 drivers/net/ethernet/cadence/macb_main.c clk_prepare_enable(bp->pclk); pclk 63 drivers/net/ethernet/cadence/macb_pci.c plat_data.pclk = clk_register_fixed_rate(&pdev->dev, "pclk", NULL, 0, pclk 65 drivers/net/ethernet/cadence/macb_pci.c if (IS_ERR(plat_data.pclk)) { pclk 66 drivers/net/ethernet/cadence/macb_pci.c err = PTR_ERR(plat_data.pclk); pclk 104 drivers/net/ethernet/cadence/macb_pci.c clk_unregister(plat_data.pclk); pclk 116 drivers/net/ethernet/cadence/macb_pci.c clk_unregister(plat_data->pclk); pclk 112 drivers/net/ethernet/cortina/gemini.c struct clk *pclk; pclk 2299 drivers/net/ethernet/cortina/gemini.c clk_disable_unprepare(port->pclk); pclk 2432 drivers/net/ethernet/cortina/gemini.c port->pclk = devm_clk_get(dev, "PCLK"); pclk 2433 drivers/net/ethernet/cortina/gemini.c if (IS_ERR(port->pclk)) { pclk 2435 drivers/net/ethernet/cortina/gemini.c return PTR_ERR(port->pclk); pclk 2437 drivers/net/ethernet/cortina/gemini.c ret = clk_prepare_enable(port->pclk); pclk 140 drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c plat_dat->pclk = devm_clk_get(&pdev->dev, "phy_ref_clk"); pclk 141 drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c if (IS_ERR(plat_dat->pclk)) { pclk 143 drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c err = PTR_ERR(plat_dat->pclk); pclk 147 drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c err = clk_prepare_enable(plat_dat->pclk); pclk 166 drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c clk_disable_unprepare(priv->plat->pclk); pclk 4739 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c clk_disable_unprepare(priv->plat->pclk); pclk 4799 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c clk_disable_unprepare(priv->plat->pclk); pclk 4864 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c clk_prepare_enable(priv->plat->pclk); pclk 577 drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c plat->pclk = devm_clk_get(&pdev->dev, "pclk"); pclk 578 drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c if (IS_ERR(plat->pclk)) { pclk 579 drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c if (PTR_ERR(plat->pclk) == -EPROBE_DEFER) pclk 582 drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c plat->pclk = NULL; pclk 584 drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c clk_prepare_enable(plat->pclk); pclk 610 drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c clk_disable_unprepare(plat->pclk); pclk 58 drivers/net/phy/mdio-mux-meson-g12a.c struct clk *pclk; pclk 317 drivers/net/phy/mdio-mux-meson-g12a.c priv->pclk = devm_clk_get(dev, "pclk"); pclk 318 drivers/net/phy/mdio-mux-meson-g12a.c if (IS_ERR(priv->pclk)) { pclk 319 drivers/net/phy/mdio-mux-meson-g12a.c ret = PTR_ERR(priv->pclk); pclk 326 drivers/net/phy/mdio-mux-meson-g12a.c ret = clk_prepare_enable(priv->pclk); pclk 348 drivers/net/phy/mdio-mux-meson-g12a.c clk_disable_unprepare(priv->pclk); pclk 361 drivers/net/phy/mdio-mux-meson-g12a.c clk_disable_unprepare(priv->pclk); pclk 35 drivers/pwm/pwm-rockchip.c struct clk *pclk; pclk 71 drivers/pwm/pwm-rockchip.c ret = clk_enable(pc->pclk); pclk 98 drivers/pwm/pwm-rockchip.c clk_disable(pc->pclk); pclk 193 drivers/pwm/pwm-rockchip.c ret = clk_enable(pc->pclk); pclk 216 drivers/pwm/pwm-rockchip.c clk_disable(pc->pclk); pclk 326 drivers/pwm/pwm-rockchip.c pc->pclk = devm_clk_get(&pdev->dev, "pclk"); pclk 328 drivers/pwm/pwm-rockchip.c pc->pclk = pc->clk; pclk 330 drivers/pwm/pwm-rockchip.c if (IS_ERR(pc->pclk)) { pclk 331 drivers/pwm/pwm-rockchip.c ret = PTR_ERR(pc->pclk); pclk 343 drivers/pwm/pwm-rockchip.c ret = clk_prepare(pc->pclk); pclk 376 drivers/pwm/pwm-rockchip.c clk_unprepare(pc->pclk); pclk 401 drivers/pwm/pwm-rockchip.c clk_unprepare(pc->pclk); pclk 31 drivers/pwm/pwm-zx.c struct clk *pclk; pclk 212 drivers/pwm/pwm-zx.c zpc->pclk = devm_clk_get(&pdev->dev, "pclk"); pclk 213 drivers/pwm/pwm-zx.c if (IS_ERR(zpc->pclk)) pclk 214 drivers/pwm/pwm-zx.c return PTR_ERR(zpc->pclk); pclk 220 drivers/pwm/pwm-zx.c ret = clk_prepare_enable(zpc->pclk); pclk 255 drivers/pwm/pwm-zx.c clk_disable_unprepare(zpc->pclk); pclk 81 drivers/rtc/rtc-cadence.c struct clk *pclk; pclk 275 drivers/rtc/rtc-cadence.c crtc->pclk = devm_clk_get(&pdev->dev, "pclk"); pclk 276 drivers/rtc/rtc-cadence.c if (IS_ERR(crtc->pclk)) { pclk 277 drivers/rtc/rtc-cadence.c ret = PTR_ERR(crtc->pclk); pclk 297 drivers/rtc/rtc-cadence.c ret = clk_prepare_enable(crtc->pclk); pclk 354 drivers/rtc/rtc-cadence.c clk_disable_unprepare(crtc->pclk); pclk 366 drivers/rtc/rtc-cadence.c clk_disable_unprepare(crtc->pclk); pclk 34 drivers/rtc/rtc-ftrtc010.c struct clk *pclk; pclk 123 drivers/rtc/rtc-ftrtc010.c rtc->pclk = devm_clk_get(dev, "PCLK"); pclk 124 drivers/rtc/rtc-ftrtc010.c if (IS_ERR(rtc->pclk)) { pclk 127 drivers/rtc/rtc-ftrtc010.c ret = clk_prepare_enable(rtc->pclk); pclk 188 drivers/rtc/rtc-ftrtc010.c if (!IS_ERR(rtc->pclk)) pclk 189 drivers/rtc/rtc-ftrtc010.c clk_disable_unprepare(rtc->pclk); pclk 126 drivers/rtc/rtc-stm32.c struct clk *pclk; pclk 736 drivers/rtc/rtc-stm32.c rtc->pclk = NULL; pclk 739 drivers/rtc/rtc-stm32.c rtc->pclk = devm_clk_get(&pdev->dev, "pclk"); pclk 740 drivers/rtc/rtc-stm32.c if (IS_ERR(rtc->pclk)) { pclk 742 drivers/rtc/rtc-stm32.c return PTR_ERR(rtc->pclk); pclk 752 drivers/rtc/rtc-stm32.c ret = clk_prepare_enable(rtc->pclk); pclk 837 drivers/rtc/rtc-stm32.c clk_disable_unprepare(rtc->pclk); pclk 864 drivers/rtc/rtc-stm32.c clk_disable_unprepare(rtc->pclk); pclk 882 drivers/rtc/rtc-stm32.c clk_disable_unprepare(rtc->pclk); pclk 896 drivers/rtc/rtc-stm32.c ret = clk_prepare_enable(rtc->pclk); pclk 148 drivers/spi/atmel-quadspi.c struct clk *pclk; pclk 403 drivers/spi/atmel-quadspi.c src_rate = clk_get_rate(aq->pclk); pclk 495 drivers/spi/atmel-quadspi.c aq->pclk = devm_clk_get(&pdev->dev, "pclk"); pclk 496 drivers/spi/atmel-quadspi.c if (IS_ERR(aq->pclk)) pclk 497 drivers/spi/atmel-quadspi.c aq->pclk = devm_clk_get(&pdev->dev, NULL); pclk 499 drivers/spi/atmel-quadspi.c if (IS_ERR(aq->pclk)) { pclk 501 drivers/spi/atmel-quadspi.c err = PTR_ERR(aq->pclk); pclk 506 drivers/spi/atmel-quadspi.c err = clk_prepare_enable(aq->pclk); pclk 559 drivers/spi/atmel-quadspi.c clk_disable_unprepare(aq->pclk); pclk 574 drivers/spi/atmel-quadspi.c clk_disable_unprepare(aq->pclk); pclk 584 drivers/spi/atmel-quadspi.c clk_disable_unprepare(aq->pclk); pclk 594 drivers/spi/atmel-quadspi.c clk_prepare_enable(aq->pclk); pclk 117 drivers/spi/spi-cadence.c struct clk *pclk; pclk 493 drivers/spi/spi-cadence.c xspi->pclk = devm_clk_get(&pdev->dev, "pclk"); pclk 494 drivers/spi/spi-cadence.c if (IS_ERR(xspi->pclk)) { pclk 496 drivers/spi/spi-cadence.c ret = PTR_ERR(xspi->pclk); pclk 507 drivers/spi/spi-cadence.c ret = clk_prepare_enable(xspi->pclk); pclk 580 drivers/spi/spi-cadence.c clk_disable_unprepare(xspi->pclk); pclk 604 drivers/spi/spi-cadence.c clk_disable_unprepare(xspi->pclk); pclk 660 drivers/spi/spi-cadence.c ret = clk_prepare_enable(xspi->pclk); pclk 669 drivers/spi/spi-cadence.c clk_disable_unprepare(xspi->pclk); pclk 689 drivers/spi/spi-cadence.c clk_disable_unprepare(xspi->pclk); pclk 30 drivers/spi/spi-dw-mmio.c struct clk *pclk; pclk 168 drivers/spi/spi-dw-mmio.c dwsmmio->pclk = devm_clk_get_optional(&pdev->dev, "pclk"); pclk 169 drivers/spi/spi-dw-mmio.c if (IS_ERR(dwsmmio->pclk)) { pclk 170 drivers/spi/spi-dw-mmio.c ret = PTR_ERR(dwsmmio->pclk); pclk 173 drivers/spi/spi-dw-mmio.c ret = clk_prepare_enable(dwsmmio->pclk); pclk 204 drivers/spi/spi-dw-mmio.c clk_disable_unprepare(dwsmmio->pclk); pclk 215 drivers/spi/spi-dw-mmio.c clk_disable_unprepare(dwsmmio->pclk); pclk 138 drivers/spi/spi-zynq-qspi.c struct clk *pclk; pclk 375 drivers/spi/spi-zynq-qspi.c clk_enable(qspi->pclk); pclk 638 drivers/spi/spi-zynq-qspi.c xqspi->pclk = devm_clk_get(&pdev->dev, "pclk"); pclk 639 drivers/spi/spi-zynq-qspi.c if (IS_ERR(xqspi->pclk)) { pclk 641 drivers/spi/spi-zynq-qspi.c ret = PTR_ERR(xqspi->pclk); pclk 654 drivers/spi/spi-zynq-qspi.c ret = clk_prepare_enable(xqspi->pclk); pclk 706 drivers/spi/spi-zynq-qspi.c clk_disable_unprepare(xqspi->pclk); pclk 730 drivers/spi/spi-zynq-qspi.c clk_disable_unprepare(xqspi->pclk); pclk 161 drivers/spi/spi-zynqmp-gqspi.c struct clk *pclk; pclk 928 drivers/spi/spi-zynqmp-gqspi.c ret = clk_enable(xqspi->pclk); pclk 937 drivers/spi/spi-zynqmp-gqspi.c clk_disable(xqspi->pclk); pclk 944 drivers/spi/spi-zynqmp-gqspi.c clk_disable(xqspi->pclk); pclk 962 drivers/spi/spi-zynqmp-gqspi.c clk_disable(xqspi->pclk); pclk 981 drivers/spi/spi-zynqmp-gqspi.c ret = clk_enable(xqspi->pclk); pclk 990 drivers/spi/spi-zynqmp-gqspi.c clk_disable(xqspi->pclk); pclk 1037 drivers/spi/spi-zynqmp-gqspi.c xqspi->pclk = devm_clk_get(&pdev->dev, "pclk"); pclk 1038 drivers/spi/spi-zynqmp-gqspi.c if (IS_ERR(xqspi->pclk)) { pclk 1040 drivers/spi/spi-zynqmp-gqspi.c ret = PTR_ERR(xqspi->pclk); pclk 1044 drivers/spi/spi-zynqmp-gqspi.c ret = clk_prepare_enable(xqspi->pclk); pclk 1112 drivers/spi/spi-zynqmp-gqspi.c clk_disable_unprepare(xqspi->pclk); pclk 1136 drivers/spi/spi-zynqmp-gqspi.c clk_disable_unprepare(xqspi->pclk); pclk 482 drivers/staging/media/soc_camera/soc_mediabus.c bool hsync = true, vsync = true, pclk, data, mode; pclk 495 drivers/staging/media/soc_camera/soc_mediabus.c pclk = common_flags & (V4L2_MBUS_PCLK_SAMPLE_RISING | pclk 500 drivers/staging/media/soc_camera/soc_mediabus.c return (!hsync || !vsync || !pclk || !data || !mode) ? pclk 159 drivers/thermal/rockchip_thermal.c struct clk *pclk; pclk 1267 drivers/thermal/rockchip_thermal.c thermal->pclk = devm_clk_get(&pdev->dev, "apb_pclk"); pclk 1268 drivers/thermal/rockchip_thermal.c if (IS_ERR(thermal->pclk)) { pclk 1269 drivers/thermal/rockchip_thermal.c error = PTR_ERR(thermal->pclk); pclk 1282 drivers/thermal/rockchip_thermal.c error = clk_prepare_enable(thermal->pclk); pclk 1332 drivers/thermal/rockchip_thermal.c clk_disable_unprepare(thermal->pclk); pclk 1352 drivers/thermal/rockchip_thermal.c clk_disable_unprepare(thermal->pclk); pclk 1368 drivers/thermal/rockchip_thermal.c clk_disable(thermal->pclk); pclk 1386 drivers/thermal/rockchip_thermal.c error = clk_enable(thermal->pclk); pclk 45 drivers/tty/serial/8250/8250_dw.c struct clk *pclk; pclk 494 drivers/tty/serial/8250/8250_dw.c data->pclk = devm_clk_get(dev, "apb_pclk"); pclk 495 drivers/tty/serial/8250/8250_dw.c if (IS_ERR(data->pclk) && PTR_ERR(data->pclk) == -EPROBE_DEFER) { pclk 499 drivers/tty/serial/8250/8250_dw.c if (!IS_ERR(data->pclk)) { pclk 500 drivers/tty/serial/8250/8250_dw.c err = clk_prepare_enable(data->pclk); pclk 547 drivers/tty/serial/8250/8250_dw.c if (!IS_ERR(data->pclk)) pclk 548 drivers/tty/serial/8250/8250_dw.c clk_disable_unprepare(data->pclk); pclk 568 drivers/tty/serial/8250/8250_dw.c if (!IS_ERR(data->pclk)) pclk 569 drivers/tty/serial/8250/8250_dw.c clk_disable_unprepare(data->pclk); pclk 608 drivers/tty/serial/8250/8250_dw.c if (!IS_ERR(data->pclk)) pclk 609 drivers/tty/serial/8250/8250_dw.c clk_disable_unprepare(data->pclk); pclk 618 drivers/tty/serial/8250/8250_dw.c if (!IS_ERR(data->pclk)) pclk 619 drivers/tty/serial/8250/8250_dw.c clk_prepare_enable(data->pclk); pclk 178 drivers/tty/serial/msm_serial.c struct clk *pclk; pclk 1168 drivers/tty/serial/msm_serial.c clk_prepare_enable(msm_port->pclk); pclk 1218 drivers/tty/serial/msm_serial.c clk_disable_unprepare(msm_port->pclk); pclk 1401 drivers/tty/serial/msm_serial.c clk_prepare_enable(msm_port->pclk); pclk 1405 drivers/tty/serial/msm_serial.c clk_disable_unprepare(msm_port->pclk); pclk 1796 drivers/tty/serial/msm_serial.c msm_port->pclk = devm_clk_get(&pdev->dev, "iface"); pclk 1797 drivers/tty/serial/msm_serial.c if (IS_ERR(msm_port->pclk)) pclk 1798 drivers/tty/serial/msm_serial.c return PTR_ERR(msm_port->pclk); pclk 193 drivers/tty/serial/xilinx_uartps.c struct clk *pclk; pclk 1329 drivers/tty/serial/xilinx_uartps.c clk_enable(cdns_uart->pclk); pclk 1351 drivers/tty/serial/xilinx_uartps.c clk_disable(cdns_uart->pclk); pclk 1371 drivers/tty/serial/xilinx_uartps.c clk_disable(cdns_uart->pclk); pclk 1380 drivers/tty/serial/xilinx_uartps.c clk_enable(cdns_uart->pclk); pclk 1467 drivers/tty/serial/xilinx_uartps.c cdns_uart_data->pclk = devm_clk_get(&pdev->dev, "pclk"); pclk 1468 drivers/tty/serial/xilinx_uartps.c if (PTR_ERR(cdns_uart_data->pclk) == -EPROBE_DEFER) { pclk 1469 drivers/tty/serial/xilinx_uartps.c rc = PTR_ERR(cdns_uart_data->pclk); pclk 1473 drivers/tty/serial/xilinx_uartps.c if (IS_ERR(cdns_uart_data->pclk)) { pclk 1474 drivers/tty/serial/xilinx_uartps.c cdns_uart_data->pclk = devm_clk_get(&pdev->dev, "aper_clk"); pclk 1475 drivers/tty/serial/xilinx_uartps.c if (IS_ERR(cdns_uart_data->pclk)) { pclk 1476 drivers/tty/serial/xilinx_uartps.c rc = PTR_ERR(cdns_uart_data->pclk); pclk 1497 drivers/tty/serial/xilinx_uartps.c rc = clk_prepare_enable(cdns_uart_data->pclk); pclk 1599 drivers/tty/serial/xilinx_uartps.c clk_disable_unprepare(cdns_uart_data->pclk); pclk 1626 drivers/tty/serial/xilinx_uartps.c clk_disable_unprepare(cdns_uart_data->pclk); pclk 1864 drivers/usb/gadget/udc/atmel_usba_udc.c ret = clk_prepare_enable(udc->pclk); pclk 1869 drivers/usb/gadget/udc/atmel_usba_udc.c clk_disable_unprepare(udc->pclk); pclk 1883 drivers/usb/gadget/udc/atmel_usba_udc.c clk_disable_unprepare(udc->pclk); pclk 2206 drivers/usb/gadget/udc/atmel_usba_udc.c struct clk *pclk, *hclk; pclk 2234 drivers/usb/gadget/udc/atmel_usba_udc.c pclk = devm_clk_get(&pdev->dev, "pclk"); pclk 2235 drivers/usb/gadget/udc/atmel_usba_udc.c if (IS_ERR(pclk)) pclk 2236 drivers/usb/gadget/udc/atmel_usba_udc.c return PTR_ERR(pclk); pclk 2244 drivers/usb/gadget/udc/atmel_usba_udc.c udc->pclk = pclk; pclk 2250 drivers/usb/gadget/udc/atmel_usba_udc.c ret = clk_prepare_enable(pclk); pclk 2257 drivers/usb/gadget/udc/atmel_usba_udc.c clk_disable_unprepare(pclk); pclk 329 drivers/usb/gadget/udc/atmel_usba_udc.h struct clk *pclk; pclk 5616 drivers/usb/host/fotg210-hcd.c fotg210->pclk = clk_get(dev, "PCLK"); pclk 5617 drivers/usb/host/fotg210-hcd.c if (!IS_ERR(fotg210->pclk)) { pclk 5618 drivers/usb/host/fotg210-hcd.c retval = clk_prepare_enable(fotg210->pclk); pclk 5623 drivers/usb/host/fotg210-hcd.c } else if (PTR_ERR(fotg210->pclk) == -EPROBE_DEFER) { pclk 5628 drivers/usb/host/fotg210-hcd.c retval = PTR_ERR(fotg210->pclk); pclk 5649 drivers/usb/host/fotg210-hcd.c if (!IS_ERR(fotg210->pclk)) pclk 5650 drivers/usb/host/fotg210-hcd.c clk_disable_unprepare(fotg210->pclk); pclk 5668 drivers/usb/host/fotg210-hcd.c if (!IS_ERR(fotg210->pclk)) pclk 5669 drivers/usb/host/fotg210-hcd.c clk_disable_unprepare(fotg210->pclk); pclk 186 drivers/usb/host/fotg210.h struct clk *pclk; pclk 612 drivers/video/fbdev/mmp/hw/mmp_ctrl.h #define CFG_INV_PCLK(pclk) ((pclk)<<1) pclk 67 drivers/video/fbdev/omap2/omapfb/dss/dispc.c int (*calc_scaling) (unsigned long pclk, unsigned long lclk, pclk 73 drivers/video/fbdev/omap2/omapfb/dss/dispc.c unsigned long (*calc_core_clk) (unsigned long pclk, pclk 2139 drivers/video/fbdev/omap2/omapfb/dss/dispc.c static int check_horiz_timing_omap3(unsigned long pclk, unsigned long lclk, pclk 2157 drivers/video/fbdev/omap2/omapfb/dss/dispc.c blank = div_u64((u64)(t->hbp + t->hsw + t->hfp) * lclk, pclk); pclk 2171 drivers/video/fbdev/omap2/omapfb/dss/dispc.c val = div_u64((u64)(nonactive - pos_x) * lclk, pclk); pclk 2182 drivers/video/fbdev/omap2/omapfb/dss/dispc.c val = div_u64((u64)nonactive * lclk, pclk); pclk 2191 drivers/video/fbdev/omap2/omapfb/dss/dispc.c static unsigned long calc_core_clk_five_taps(unsigned long pclk, pclk 2200 drivers/video/fbdev/omap2/omapfb/dss/dispc.c return (unsigned long) pclk; pclk 2205 drivers/video/fbdev/omap2/omapfb/dss/dispc.c tmp = (u64)pclk * height * out_width; pclk 2213 drivers/video/fbdev/omap2/omapfb/dss/dispc.c tmp = (u64)pclk * (height - 2 * out_height) * out_width; pclk 2220 drivers/video/fbdev/omap2/omapfb/dss/dispc.c tmp = (u64)pclk * width; pclk 2231 drivers/video/fbdev/omap2/omapfb/dss/dispc.c static unsigned long calc_core_clk_24xx(unsigned long pclk, u16 width, pclk 2235 drivers/video/fbdev/omap2/omapfb/dss/dispc.c return pclk * 4; pclk 2237 drivers/video/fbdev/omap2/omapfb/dss/dispc.c return pclk * 2; pclk 2240 drivers/video/fbdev/omap2/omapfb/dss/dispc.c static unsigned long calc_core_clk_34xx(unsigned long pclk, u16 width, pclk 2263 drivers/video/fbdev/omap2/omapfb/dss/dispc.c return pclk * vf * hf; pclk 2266 drivers/video/fbdev/omap2/omapfb/dss/dispc.c static unsigned long calc_core_clk_44xx(unsigned long pclk, u16 width, pclk 2279 drivers/video/fbdev/omap2/omapfb/dss/dispc.c return DIV_ROUND_UP(pclk, out_width) * width; pclk 2281 drivers/video/fbdev/omap2/omapfb/dss/dispc.c return pclk; pclk 2284 drivers/video/fbdev/omap2/omapfb/dss/dispc.c static int dispc_ovl_calc_scaling_24xx(unsigned long pclk, unsigned long lclk, pclk 2302 drivers/video/fbdev/omap2/omapfb/dss/dispc.c *core_clk = dispc.feat->calc_core_clk(pclk, in_width, pclk 2330 drivers/video/fbdev/omap2/omapfb/dss/dispc.c static int dispc_ovl_calc_scaling_34xx(unsigned long pclk, unsigned long lclk, pclk 2353 drivers/video/fbdev/omap2/omapfb/dss/dispc.c *core_clk = calc_core_clk_five_taps(pclk, mgr_timings, pclk 2357 drivers/video/fbdev/omap2/omapfb/dss/dispc.c *core_clk = dispc.feat->calc_core_clk(pclk, in_width, pclk 2361 drivers/video/fbdev/omap2/omapfb/dss/dispc.c error = check_horiz_timing_omap3(pclk, lclk, mgr_timings, pclk 2396 drivers/video/fbdev/omap2/omapfb/dss/dispc.c if (check_horiz_timing_omap3(pclk, lclk, mgr_timings, pos_x, in_width, pclk 2415 drivers/video/fbdev/omap2/omapfb/dss/dispc.c static int dispc_ovl_calc_scaling_44xx(unsigned long pclk, unsigned long lclk, pclk 2433 drivers/video/fbdev/omap2/omapfb/dss/dispc.c DIV_ROUND_UP(pclk, out_width); pclk 2452 drivers/video/fbdev/omap2/omapfb/dss/dispc.c *core_clk = dispc.feat->calc_core_clk(pclk, in_width, in_height, pclk 2460 drivers/video/fbdev/omap2/omapfb/dss/dispc.c static int dispc_ovl_calc_scaling(unsigned long pclk, unsigned long lclk, pclk 2476 drivers/video/fbdev/omap2/omapfb/dss/dispc.c if (!mem_to_mem && (pclk == 0 || mgr_timings->pixelclock == 0)) { pclk 2512 drivers/video/fbdev/omap2/omapfb/dss/dispc.c ret = dispc.feat->calc_scaling(pclk, lclk, mgr_timings, width, height, pclk 2559 drivers/video/fbdev/omap2/omapfb/dss/dispc.c unsigned long pclk = dispc_mgr_pclk_rate(channel); pclk 2580 drivers/video/fbdev/omap2/omapfb/dss/dispc.c return dispc_ovl_calc_scaling(pclk, lclk, caps, timings, in_width, pclk 2608 drivers/video/fbdev/omap2/omapfb/dss/dispc.c unsigned long pclk = dispc_plane_pclk_rate(plane); pclk 2649 drivers/video/fbdev/omap2/omapfb/dss/dispc.c r = dispc_ovl_calc_scaling(pclk, lclk, caps, mgr_timings, in_width, pclk 3100 drivers/video/fbdev/omap2/omapfb/dss/dispc.c unsigned long pclk) pclk 3103 drivers/video/fbdev/omap2/omapfb/dss/dispc.c return pclk <= dispc.feat->max_lcd_pclk ? true : false; pclk 3105 drivers/video/fbdev/omap2/omapfb/dss/dispc.c return pclk <= dispc.feat->max_tv_pclk ? true : false; pclk 3402 drivers/video/fbdev/omap2/omapfb/dss/dispc.c void dispc_set_tv_pclk(unsigned long pclk) pclk 3404 drivers/video/fbdev/omap2/omapfb/dss/dispc.c dispc.tv_pclk_rate = pclk; pclk 404 drivers/video/fbdev/omap2/omapfb/dss/dss.h void dispc_set_tv_pclk(unsigned long pclk); pclk 317 drivers/video/fbdev/omap2/omapfb/dss/hdmi.h int hdmi_compute_acr(u32 pclk, u32 sample_freq, u32 *n, u32 *cts); pclk 677 drivers/video/fbdev/omap2/omapfb/dss/hdmi4_core.c struct omap_dss_audio *audio, u32 pclk) pclk 744 drivers/video/fbdev/omap2/omapfb/dss/hdmi4_core.c err = hdmi_compute_acr(pclk, fs_nr, &n, &cts); pclk 261 drivers/video/fbdev/omap2/omapfb/dss/hdmi4_core.h struct omap_dss_audio *audio, u32 pclk); pclk 788 drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c struct omap_dss_audio *audio, u32 pclk) pclk 836 drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c err = hdmi_compute_acr(pclk, fs_nr, &n, &cts); pclk 292 drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.h struct omap_dss_audio *audio, u32 pclk); pclk 52 drivers/video/fbdev/omap2/omapfb/dss/hdmi_common.c int hdmi_compute_acr(u32 pclk, u32 sample_freq, u32 *n, u32 *cts) pclk 75 drivers/video/fbdev/omap2/omapfb/dss/hdmi_common.c if (pclk == 27027000 || pclk == 74250000) pclk 78 drivers/video/fbdev/omap2/omapfb/dss/hdmi_common.c if (pclk == 27027000) pclk 85 drivers/video/fbdev/omap2/omapfb/dss/hdmi_common.c if (pclk == 27027000) pclk 146 drivers/video/fbdev/omap2/omapfb/dss/hdmi_common.c *cts = (pclk/1000) * (*n / 128) * deep_color / (sample_freq / 10); pclk 69 drivers/video/fbdev/omap2/omapfb/dss/sdi.c static int sdi_calc_clock_div(unsigned long pclk, pclk 87 drivers/video/fbdev/omap2/omapfb/dss/sdi.c if (pclk > 1000 * i * i * i) pclk 88 drivers/video/fbdev/omap2/omapfb/dss/sdi.c ctx.pck_min = max(pclk - 1000 * i * i * i, 0lu); pclk 91 drivers/video/fbdev/omap2/omapfb/dss/sdi.c ctx.pck_max = pclk + 1000 * i * i * i; pclk 93 drivers/video/fbdev/omap2/omapfb/dss/sdi.c ok = dss_div_calc(pclk, ctx.pck_min, dpi_calc_dss_cb, &ctx); pclk 382 drivers/video/fbdev/pxa168fb.h #define CFG_INV_PCLK(pclk) ((pclk) << 1) pclk 67 include/linux/amba/bus.h struct clk *pclk; pclk 138 include/linux/amba/bus.h return clk_enable(dev->pclk); pclk 143 include/linux/amba/bus.h clk_disable(dev->pclk); pclk 148 include/linux/amba/bus.h return clk_prepare(dev->pclk); pclk 153 include/linux/amba/bus.h clk_unprepare(dev->pclk); pclk 16 include/linux/platform_data/macb.h struct clk *pclk; pclk 168 include/linux/stmmac.h struct clk *pclk; pclk 36 sound/atmel/ac97c.c struct clk *pclk; pclk 720 sound/atmel/ac97c.c struct clk *pclk; pclk 740 sound/atmel/ac97c.c pclk = clk_get(&pdev->dev, "ac97_clk"); pclk 741 sound/atmel/ac97c.c if (IS_ERR(pclk)) { pclk 743 sound/atmel/ac97c.c return PTR_ERR(pclk); pclk 745 sound/atmel/ac97c.c retval = clk_prepare_enable(pclk); pclk 773 sound/atmel/ac97c.c chip->pclk = pclk; pclk 831 sound/atmel/ac97c.c clk_disable_unprepare(pclk); pclk 833 sound/atmel/ac97c.c clk_put(pclk); pclk 843 sound/atmel/ac97c.c clk_disable_unprepare(chip->pclk); pclk 851 sound/atmel/ac97c.c int ret = clk_prepare_enable(chip->pclk); pclk 871 sound/atmel/ac97c.c clk_disable_unprepare(chip->pclk); pclk 872 sound/atmel/ac97c.c clk_put(chip->pclk); pclk 30 sound/soc/atmel/atmel-classd.c struct clk *pclk; pclk 126 sound/soc/atmel/atmel-classd.c return clk_prepare_enable(dd->pclk); pclk 135 sound/soc/atmel/atmel-classd.c clk_disable_unprepare(dd->pclk); pclk 577 sound/soc/atmel/atmel-classd.c dd->pclk = devm_clk_get(dev, "pclk"); pclk 578 sound/soc/atmel/atmel-classd.c if (IS_ERR(dd->pclk)) { pclk 579 sound/soc/atmel/atmel-classd.c ret = PTR_ERR(dd->pclk); pclk 196 sound/soc/atmel/atmel-i2s.c struct clk *pclk; pclk 634 sound/soc/atmel/atmel-i2s.c dev->pclk = devm_clk_get(&pdev->dev, "pclk"); pclk 635 sound/soc/atmel/atmel-i2s.c if (IS_ERR(dev->pclk)) { pclk 636 sound/soc/atmel/atmel-i2s.c err = PTR_ERR(dev->pclk); pclk 662 sound/soc/atmel/atmel-i2s.c err = clk_prepare_enable(dev->pclk); pclk 679 sound/soc/atmel/atmel-i2s.c clk_disable_unprepare(dev->pclk); pclk 694 sound/soc/atmel/atmel-i2s.c clk_disable_unprepare(dev->pclk); pclk 705 sound/soc/atmel/atmel-i2s.c clk_disable_unprepare(dev->pclk); pclk 30 sound/soc/atmel/atmel-pdmic.c struct clk *pclk; pclk 115 sound/soc/atmel/atmel-pdmic.c ret = clk_prepare_enable(dd->pclk); pclk 142 sound/soc/atmel/atmel-pdmic.c clk_disable_unprepare(dd->pclk); pclk 422 sound/soc/atmel/atmel-pdmic.c pclk_rate = clk_get_rate(dd->pclk); pclk 549 sound/soc/atmel/atmel-pdmic.c u32 clk_max_rate = (u32)(clk_get_rate(dd->pclk) >> 1); pclk 618 sound/soc/atmel/atmel-pdmic.c dd->pclk = devm_clk_get(dev, "pclk"); pclk 619 sound/soc/atmel/atmel-pdmic.c if (IS_ERR(dd->pclk)) { pclk 620 sound/soc/atmel/atmel-pdmic.c ret = PTR_ERR(dd->pclk); pclk 635 sound/soc/atmel/atmel-pdmic.c ret = clk_set_rate(dd->gclk, clk_get_rate(dd->pclk)/3); pclk 233 sound/soc/atmel/mchp-i2s-mcc.c struct clk *pclk; pclk 439 sound/soc/atmel/mchp-i2s-mcc.c ret = mchp_i2s_mcc_clk_get_rate_diff(dev->pclk, clk_rate, pclk 461 sound/soc/atmel/mchp-i2s-mcc.c best_clk == dev->pclk ? "pclk" : "gclk", pclk 914 sound/soc/atmel/mchp-i2s-mcc.c dev->pclk = devm_clk_get(&pdev->dev, "pclk"); pclk 915 sound/soc/atmel/mchp-i2s-mcc.c if (IS_ERR(dev->pclk)) { pclk 916 sound/soc/atmel/mchp-i2s-mcc.c err = PTR_ERR(dev->pclk); pclk 936 sound/soc/atmel/mchp-i2s-mcc.c err = clk_prepare_enable(dev->pclk); pclk 948 sound/soc/atmel/mchp-i2s-mcc.c clk_disable_unprepare(dev->pclk); pclk 958 sound/soc/atmel/mchp-i2s-mcc.c clk_disable_unprepare(dev->pclk); pclk 974 sound/soc/atmel/mchp-i2s-mcc.c clk_disable_unprepare(dev->pclk); pclk 29 sound/soc/codecs/inno_rk3036.c struct clk *pclk; pclk 439 sound/soc/codecs/inno_rk3036.c priv->pclk = devm_clk_get(&pdev->dev, "acodec_pclk"); pclk 440 sound/soc/codecs/inno_rk3036.c if (IS_ERR(priv->pclk)) pclk 441 sound/soc/codecs/inno_rk3036.c return PTR_ERR(priv->pclk); pclk 443 sound/soc/codecs/inno_rk3036.c ret = clk_prepare_enable(priv->pclk); pclk 456 sound/soc/codecs/inno_rk3036.c clk_disable_unprepare(priv->pclk); pclk 467 sound/soc/codecs/inno_rk3036.c clk_disable_unprepare(priv->pclk); pclk 1767 sound/soc/codecs/max98090.c int pclk; pclk 1776 sound/soc/codecs/max98090.c .pclk = 11289600, pclk 1787 sound/soc/codecs/max98090.c .pclk = 12000000, pclk 1798 sound/soc/codecs/max98090.c .pclk = 12288000, pclk 1809 sound/soc/codecs/max98090.c .pclk = 13000000, pclk 1820 sound/soc/codecs/max98090.c .pclk = 19200000, pclk 1832 sound/soc/codecs/max98090.c static int max98090_find_divisor(int target_freq, int pclk) pclk 1840 sound/soc/codecs/max98090.c test_diff = abs(target_freq - (pclk / dmic_divisors[i])); pclk 1850 sound/soc/codecs/max98090.c static int max98090_find_closest_pclk(int pclk) pclk 1857 sound/soc/codecs/max98090.c if (pclk == dmic_table[i].pclk) pclk 1859 sound/soc/codecs/max98090.c if (pclk < dmic_table[i].pclk) { pclk 1862 sound/soc/codecs/max98090.c m1 = pclk - dmic_table[i-1].pclk; pclk 1863 sound/soc/codecs/max98090.c m2 = dmic_table[i].pclk - pclk; pclk 1875 sound/soc/codecs/max98090.c int target_dmic_clk, int pclk, int fs) pclk 1883 sound/soc/codecs/max98090.c pclk_index = max98090_find_closest_pclk(pclk); pclk 1887 sound/soc/codecs/max98090.c micclk_index = max98090_find_divisor(target_dmic_clk, pclk); pclk 1969 sound/soc/codecs/max98090.c max98090_configure_dmic(max98090, max98090->dmic_freq, max98090->pclk, pclk 2001 sound/soc/codecs/max98090.c max98090->pclk = freq; pclk 2005 sound/soc/codecs/max98090.c max98090->pclk = freq >> 1; pclk 2009 sound/soc/codecs/max98090.c max98090->pclk = freq >> 2; pclk 2382 sound/soc/codecs/max98090.c max98090->pclk = (unsigned)-1; pclk 1524 sound/soc/codecs/max98090.h unsigned int pclk; pclk 165 sound/soc/codecs/max9867.c unsigned int sysclk, pclk; pclk 190 sound/soc/codecs/max9867.c max9867->pclk); pclk 202 sound/soc/codecs/max9867.c ratio = max9867->pclk / rate; pclk 267 sound/soc/codecs/max9867.c max9867->pclk = freq; pclk 270 sound/soc/codecs/max9867.c max9867->pclk = freq / 2; pclk 273 sound/soc/codecs/max9867.c max9867->pclk = freq / 4; pclk 36 sound/soc/codecs/rk3328_codec.c struct clk *pclk; pclk 472 sound/soc/codecs/rk3328_codec.c rk3328->pclk = devm_clk_get(&pdev->dev, "pclk"); pclk 473 sound/soc/codecs/rk3328_codec.c if (IS_ERR(rk3328->pclk)) { pclk 475 sound/soc/codecs/rk3328_codec.c return PTR_ERR(rk3328->pclk); pclk 478 sound/soc/codecs/rk3328_codec.c ret = clk_prepare_enable(rk3328->pclk); pclk 269 sound/soc/intel/skylake/skl-ssp-clk.c static void unregister_parent_src_clk(struct skl_clk_parent *pclk, pclk 273 sound/soc/intel/skylake/skl-ssp-clk.c clkdev_drop(pclk[id].lookup); pclk 274 sound/soc/intel/skylake/skl-ssp-clk.c clk_hw_unregister_fixed_rate(pclk[id].hw); pclk 286 sound/soc/intel/skylake/skl-ssp-clk.c struct skl_clk_parent_src *pclk) pclk 293 sound/soc/intel/skylake/skl-ssp-clk.c parent[i].hw = clk_hw_register_fixed_rate(dev, pclk[i].name, pclk 294 sound/soc/intel/skylake/skl-ssp-clk.c pclk[i].parent_name, 0, pclk[i].rate); pclk 300 sound/soc/intel/skylake/skl-ssp-clk.c parent[i].lookup = clkdev_hw_create(parent[i].hw, pclk[i].name, pclk 245 sound/soc/meson/axg-fifo.c ret = clk_prepare_enable(fifo->pclk); pclk 267 sound/soc/meson/axg-fifo.c clk_disable_unprepare(fifo->pclk); pclk 281 sound/soc/meson/axg-fifo.c clk_disable_unprepare(fifo->pclk); pclk 359 sound/soc/meson/axg-fifo.c fifo->pclk = devm_clk_get(dev, NULL); pclk 360 sound/soc/meson/axg-fifo.c if (IS_ERR(fifo->pclk)) { pclk 361 sound/soc/meson/axg-fifo.c if (PTR_ERR(fifo->pclk) != -EPROBE_DEFER) pclk 363 sound/soc/meson/axg-fifo.c PTR_ERR(fifo->pclk)); pclk 364 sound/soc/meson/axg-fifo.c return PTR_ERR(fifo->pclk); pclk 68 sound/soc/meson/axg-fifo.h struct clk *pclk; pclk 57 sound/soc/meson/axg-frddr.c ret = clk_prepare_enable(fifo->pclk); pclk 82 sound/soc/meson/axg-frddr.c clk_disable_unprepare(fifo->pclk); pclk 96 sound/soc/meson/axg-pdm.c struct clk *pclk; pclk 386 sound/soc/meson/axg-pdm.c ret = clk_prepare_enable(priv->pclk); pclk 429 sound/soc/meson/axg-pdm.c clk_disable_unprepare(priv->pclk); pclk 438 sound/soc/meson/axg-pdm.c clk_disable_unprepare(priv->pclk); pclk 613 sound/soc/meson/axg-pdm.c priv->pclk = devm_clk_get(dev, "pclk"); pclk 614 sound/soc/meson/axg-pdm.c if (IS_ERR(priv->pclk)) { pclk 615 sound/soc/meson/axg-pdm.c ret = PTR_ERR(priv->pclk); pclk 56 sound/soc/meson/axg-spdifin.c struct clk *pclk; pclk 245 sound/soc/meson/axg-spdifin.c ret = clk_prepare_enable(priv->pclk); pclk 254 sound/soc/meson/axg-spdifin.c clk_disable_unprepare(priv->pclk); pclk 265 sound/soc/meson/axg-spdifin.c clk_disable_unprepare(priv->pclk); pclk 481 sound/soc/meson/axg-spdifin.c priv->pclk = devm_clk_get(dev, "pclk"); pclk 482 sound/soc/meson/axg-spdifin.c if (IS_ERR(priv->pclk)) { pclk 483 sound/soc/meson/axg-spdifin.c ret = PTR_ERR(priv->pclk); pclk 62 sound/soc/meson/axg-spdifout.c struct clk *pclk; pclk 252 sound/soc/meson/axg-spdifout.c ret = clk_prepare_enable(priv->pclk); pclk 283 sound/soc/meson/axg-spdifout.c clk_disable_unprepare(priv->pclk); pclk 423 sound/soc/meson/axg-spdifout.c priv->pclk = devm_clk_get(dev, "pclk"); pclk 424 sound/soc/meson/axg-spdifout.c if (IS_ERR(priv->pclk)) { pclk 425 sound/soc/meson/axg-spdifout.c ret = PTR_ERR(priv->pclk); pclk 19 sound/soc/meson/axg-tdm-formatter.c struct clk *pclk; pclk 192 sound/soc/meson/axg-tdm-formatter.c ret = clk_prepare_enable(formatter->pclk); pclk 214 sound/soc/meson/axg-tdm-formatter.c clk_disable_unprepare(formatter->pclk); pclk 221 sound/soc/meson/axg-tdm-formatter.c clk_disable_unprepare(formatter->pclk); pclk 283 sound/soc/meson/axg-tdm-formatter.c formatter->pclk = devm_clk_get(dev, "pclk"); pclk 284 sound/soc/meson/axg-tdm-formatter.c if (IS_ERR(formatter->pclk)) { pclk 285 sound/soc/meson/axg-tdm-formatter.c ret = PTR_ERR(formatter->pclk); pclk 95 sound/soc/meson/axg-toddr.c ret = clk_prepare_enable(fifo->pclk); pclk 117 sound/soc/meson/axg-toddr.c clk_disable_unprepare(fifo->pclk); pclk 122 sound/soc/samsung/pcm.c struct clk *pclk; pclk 281 sound/soc/samsung/pcm.c clk = pcm->pclk; pclk 527 sound/soc/samsung/pcm.c pcm->pclk = devm_clk_get(&pdev->dev, "pcm"); pclk 528 sound/soc/samsung/pcm.c if (IS_ERR(pcm->pclk)) { pclk 530 sound/soc/samsung/pcm.c ret = PTR_ERR(pcm->pclk); pclk 533 sound/soc/samsung/pcm.c ret = clk_prepare_enable(pcm->pclk); pclk 571 sound/soc/samsung/pcm.c clk_disable_unprepare(pcm->pclk); pclk 583 sound/soc/samsung/pcm.c clk_disable_unprepare(pcm->pclk); pclk 22 sound/soc/samsung/s3c24xx_uda134x.c struct clk *pclk; pclk 65 sound/soc/samsung/s3c24xx_uda134x.c priv->pclk = clk_get(cpu_dai->dev, "iis"); pclk 66 sound/soc/samsung/s3c24xx_uda134x.c if (IS_ERR(priv->pclk)) { pclk 70 sound/soc/samsung/s3c24xx_uda134x.c ret = PTR_ERR(priv->pclk); pclk 81 sound/soc/samsung/s3c24xx_uda134x.c rates[i*33 + j] = clk_get_rate(priv->pclk) / pclk 112 sound/soc/samsung/s3c24xx_uda134x.c clk_put(priv->pclk); pclk 113 sound/soc/samsung/s3c24xx_uda134x.c priv->pclk = NULL; pclk 83 sound/soc/samsung/spdif.c struct clk *pclk; pclk 383 sound/soc/samsung/spdif.c spdif->pclk = devm_clk_get(&pdev->dev, "spdif"); pclk 384 sound/soc/samsung/spdif.c if (IS_ERR(spdif->pclk)) { pclk 389 sound/soc/samsung/spdif.c ret = clk_prepare_enable(spdif->pclk); pclk 451 sound/soc/samsung/spdif.c clk_disable_unprepare(spdif->pclk); pclk 468 sound/soc/samsung/spdif.c clk_disable_unprepare(spdif->pclk); pclk 230 sound/soc/stm/stm32_i2s.c struct clk *pclk; pclk 832 sound/soc/stm/stm32_i2s.c i2s->pclk = devm_clk_get(&pdev->dev, "pclk"); pclk 833 sound/soc/stm/stm32_i2s.c if (IS_ERR(i2s->pclk)) { pclk 835 sound/soc/stm/stm32_i2s.c return PTR_ERR(i2s->pclk); pclk 49 sound/soc/stm/stm32_sai.c clk_disable_unprepare(sai->pclk); pclk 59 sound/soc/stm/stm32_sai.c ret = clk_prepare_enable(sai->pclk); pclk 175 sound/soc/stm/stm32_sai.c sai->pclk = devm_clk_get(&pdev->dev, "pclk"); pclk 176 sound/soc/stm/stm32_sai.c if (IS_ERR(sai->pclk)) { pclk 178 sound/soc/stm/stm32_sai.c return PTR_ERR(sai->pclk); pclk 208 sound/soc/stm/stm32_sai.c ret = clk_prepare_enable(sai->pclk); pclk 229 sound/soc/stm/stm32_sai.c clk_disable_unprepare(sai->pclk); pclk 294 sound/soc/stm/stm32_sai.h struct clk *pclk; pclk 193 sound/soc/stm/stm32_sai_sub.c ret = clk_enable(sai->pdata->pclk); pclk 199 sound/soc/stm/stm32_sai_sub.c clk_disable(sai->pdata->pclk); pclk 210 sound/soc/stm/stm32_sai_sub.c ret = clk_enable(sai->pdata->pclk); pclk 216 sound/soc/stm/stm32_sai_sub.c clk_disable(sai->pdata->pclk); pclk 226 sound/soc/stm/stm32_sai_sub.c ret = clk_enable(sai->pdata->pclk); pclk 232 sound/soc/stm/stm32_sai_sub.c clk_disable(sai->pdata->pclk); pclk 1478 sound/soc/stm/stm32_sai_sub.c ret = clk_prepare(sai->pdata->pclk); pclk 1567 sound/soc/stm/stm32_sai_sub.c clk_unprepare(sai->pdata->pclk); pclk 1580 sound/soc/stm/stm32_sai_sub.c ret = clk_enable(sai->pdata->pclk); pclk 1587 sound/soc/stm/stm32_sai_sub.c clk_disable(sai->pdata->pclk); pclk 1597 sound/soc/stm/stm32_sai_sub.c ret = clk_enable(sai->pdata->pclk); pclk 1604 sound/soc/stm/stm32_sai_sub.c clk_disable(sai->pdata->pclk); pclk 402 sound/soc/ux500/ux500_msp_dai.c ret = clk_prepare_enable(drvdata->pclk); pclk 418 sound/soc/ux500/ux500_msp_dai.c clk_disable_unprepare(drvdata->pclk); pclk 449 sound/soc/ux500/ux500_msp_dai.c clk_disable_unprepare(drvdata->pclk); pclk 775 sound/soc/ux500/ux500_msp_dai.c drvdata->pclk = devm_clk_get(&pdev->dev, "apb_pclk"); pclk 776 sound/soc/ux500/ux500_msp_dai.c if (IS_ERR(drvdata->pclk)) { pclk 777 sound/soc/ux500/ux500_msp_dai.c ret = (int)PTR_ERR(drvdata->pclk); pclk 60 sound/soc/ux500/ux500_msp_dai.h struct clk *pclk;