clk_data 32 arch/mips/ath79/clock.c static struct clk_onecell_data clk_data = { clk_data 652 arch/mips/ath79/clock.c if (of_clk_add_provider(np, of_clk_src_onecell_get, &clk_data)) { clk_data 71 arch/powerpc/platforms/512x/clock-commonclk.c static struct clk_onecell_data clk_data; clk_data 942 arch/powerpc/platforms/512x/clock-commonclk.c clk_data.clks = clks; clk_data 943 arch/powerpc/platforms/512x/clock-commonclk.c clk_data.clk_num = MPC512x_CLK_LAST_PUBLIC + 1; /* _not_ ARRAY_SIZE() */ clk_data 944 arch/powerpc/platforms/512x/clock-commonclk.c of_clk_add_provider(np, of_clk_src_onecell_get, &clk_data); clk_data 86 drivers/acpi/acpi_apd.c struct st_clk_data *clk_data; clk_data 91 drivers/acpi/acpi_apd.c clk_data = devm_kzalloc(&adev->dev, sizeof(*clk_data), GFP_KERNEL); clk_data 92 drivers/acpi/acpi_apd.c if (!clk_data) clk_data 102 drivers/acpi/acpi_apd.c clk_data->base = devm_ioremap(&adev->dev, rentry->res->start, clk_data 110 drivers/acpi/acpi_apd.c PLATFORM_DEVID_NONE, clk_data, clk_data 111 drivers/acpi/acpi_apd.c sizeof(*clk_data)); clk_data 397 drivers/acpi/acpi_lpss.c struct lpss_clk_data *clk_data; clk_data 404 drivers/acpi/acpi_lpss.c clk_data = platform_get_drvdata(lpss_clk_dev); clk_data 405 drivers/acpi/acpi_lpss.c if (!clk_data) clk_data 407 drivers/acpi/acpi_lpss.c clk = clk_data->clk; clk_data 413 drivers/acpi/acpi_lpss.c parent = clk_data->name; clk_data 464 drivers/clk/at91/sckc.c struct clk_hw_onecell_data *clk_data; clk_data 490 drivers/clk/at91/sckc.c clk_data = kzalloc(sizeof(*clk_data) + (2 * sizeof(struct clk_hw *)), clk_data 492 drivers/clk/at91/sckc.c if (!clk_data) clk_data 496 drivers/clk/at91/sckc.c clk_data->num = 2; clk_data 497 drivers/clk/at91/sckc.c clk_data->hws[0] = clk_hw_register_fixed_rate(NULL, "md_slck", clk_data 500 drivers/clk/at91/sckc.c if (IS_ERR(clk_data->hws[0])) clk_data 503 drivers/clk/at91/sckc.c clk_data->hws[1] = at91_clk_register_sam9x5_slow(regbase, "td_slck", clk_data 506 drivers/clk/at91/sckc.c if (IS_ERR(clk_data->hws[1])) clk_data 509 drivers/clk/at91/sckc.c ret = of_clk_add_hw_provider(np, of_clk_hw_onecell_get, clk_data); clk_data 516 drivers/clk/at91/sckc.c at91_clk_unregister_sam9x5_slow(clk_data->hws[1]); clk_data 518 drivers/clk/at91/sckc.c clk_hw_unregister(clk_data->hws[0]); clk_data 520 drivers/clk/at91/sckc.c kfree(clk_data); clk_data 22 drivers/clk/axis/clk-artpec6.c struct clk_onecell_data clk_data; clk_data 107 drivers/clk/axis/clk-artpec6.c clkdata->clk_data.clks = clkdata->clk_table; clk_data 108 drivers/clk/axis/clk-artpec6.c clkdata->clk_data.clk_num = ARTPEC6_CLK_NUMCLOCKS; clk_data 110 drivers/clk/axis/clk-artpec6.c of_clk_add_provider(np, of_clk_src_onecell_get, &clkdata->clk_data); clk_data 40 drivers/clk/bcm/clk-iproc-asiu.c struct clk_hw_onecell_data *clk_data; clk_data 200 drivers/clk/bcm/clk-iproc-asiu.c asiu->clk_data = kzalloc(struct_size(asiu->clk_data, hws, num_clks), clk_data 202 drivers/clk/bcm/clk-iproc-asiu.c if (WARN_ON(!asiu->clk_data)) clk_data 204 drivers/clk/bcm/clk-iproc-asiu.c asiu->clk_data->num = num_clks; clk_data 245 drivers/clk/bcm/clk-iproc-asiu.c asiu->clk_data->hws[i] = &asiu_clk->hw; clk_data 249 drivers/clk/bcm/clk-iproc-asiu.c asiu->clk_data); clk_data 257 drivers/clk/bcm/clk-iproc-asiu.c clk_hw_unregister(asiu->clk_data->hws[i]); clk_data 267 drivers/clk/bcm/clk-iproc-asiu.c kfree(asiu->clk_data); clk_data 738 drivers/clk/bcm/clk-iproc-pll.c struct clk_hw_onecell_data *clk_data; clk_data 747 drivers/clk/bcm/clk-iproc-pll.c clk_data = kzalloc(struct_size(clk_data, hws, num_clks), GFP_KERNEL); clk_data 748 drivers/clk/bcm/clk-iproc-pll.c if (WARN_ON(!clk_data)) clk_data 750 drivers/clk/bcm/clk-iproc-pll.c clk_data->num = num_clks; clk_data 805 drivers/clk/bcm/clk-iproc-pll.c clk_data->hws[0] = &iclk->hw; clk_data 834 drivers/clk/bcm/clk-iproc-pll.c clk_data->hws[i] = &iclk->hw; clk_data 837 drivers/clk/bcm/clk-iproc-pll.c ret = of_clk_add_hw_provider(node, of_clk_hw_onecell_get, clk_data); clk_data 845 drivers/clk/bcm/clk-iproc-pll.c clk_hw_unregister(clk_data->hws[i]); clk_data 865 drivers/clk/bcm/clk-iproc-pll.c kfree(clk_data); clk_data 85 drivers/clk/berlin/bg2.c static struct clk_hw_onecell_data *clk_data; clk_data 502 drivers/clk/berlin/bg2.c clk_data = kzalloc(struct_size(clk_data, hws, MAX_CLKS), GFP_KERNEL); clk_data 503 drivers/clk/berlin/bg2.c if (!clk_data) clk_data 505 drivers/clk/berlin/bg2.c clk_data->num = MAX_CLKS; clk_data 506 drivers/clk/berlin/bg2.c hws = clk_data->hws; clk_data 676 drivers/clk/berlin/bg2.c of_clk_add_hw_provider(np, of_clk_hw_onecell_get, clk_data); clk_data 39 drivers/clk/berlin/bg2q.c static struct clk_hw_onecell_data *clk_data; clk_data 288 drivers/clk/berlin/bg2q.c clk_data = kzalloc(struct_size(clk_data, hws, MAX_CLKS), GFP_KERNEL); clk_data 289 drivers/clk/berlin/bg2q.c if (!clk_data) clk_data 291 drivers/clk/berlin/bg2q.c clk_data->num = MAX_CLKS; clk_data 292 drivers/clk/berlin/bg2q.c hws = clk_data->hws; clk_data 373 drivers/clk/berlin/bg2q.c of_clk_add_hw_provider(np, of_clk_hw_onecell_get, clk_data); clk_data 60 drivers/clk/clk-asm9260.c static struct clk_hw_onecell_data *clk_data; clk_data 265 drivers/clk/clk-asm9260.c clk_data = kzalloc(struct_size(clk_data, hws, MAX_CLKS), GFP_KERNEL); clk_data 266 drivers/clk/clk-asm9260.c if (!clk_data) clk_data 268 drivers/clk/clk-asm9260.c clk_data->num = MAX_CLKS; clk_data 269 drivers/clk/clk-asm9260.c hws = clk_data->hws; clk_data 335 drivers/clk/clk-asm9260.c of_clk_add_hw_provider(np, of_clk_hw_onecell_get, clk_data); clk_data 40 drivers/clk/clk-clps711x.c struct clk_hw_onecell_data clk_data; clk_data 54 drivers/clk/clk-clps711x.c clps711x_clk = kzalloc(struct_size(clps711x_clk, clk_data.hws, clk_data 106 drivers/clk/clk-clps711x.c clps711x_clk->clk_data.hws[CLPS711X_CLK_DUMMY] = clk_data 108 drivers/clk/clk-clps711x.c clps711x_clk->clk_data.hws[CLPS711X_CLK_CPU] = clk_data 110 drivers/clk/clk-clps711x.c clps711x_clk->clk_data.hws[CLPS711X_CLK_BUS] = clk_data 112 drivers/clk/clk-clps711x.c clps711x_clk->clk_data.hws[CLPS711X_CLK_PLL] = clk_data 114 drivers/clk/clk-clps711x.c clps711x_clk->clk_data.hws[CLPS711X_CLK_TIMERREF] = clk_data 116 drivers/clk/clk-clps711x.c clps711x_clk->clk_data.hws[CLPS711X_CLK_TIMER1] = clk_data 120 drivers/clk/clk-clps711x.c clps711x_clk->clk_data.hws[CLPS711X_CLK_TIMER2] = clk_data 124 drivers/clk/clk-clps711x.c clps711x_clk->clk_data.hws[CLPS711X_CLK_PWM] = clk_data 126 drivers/clk/clk-clps711x.c clps711x_clk->clk_data.hws[CLPS711X_CLK_SPIREF] = clk_data 128 drivers/clk/clk-clps711x.c clps711x_clk->clk_data.hws[CLPS711X_CLK_SPI] = clk_data 132 drivers/clk/clk-clps711x.c clps711x_clk->clk_data.hws[CLPS711X_CLK_UART] = clk_data 134 drivers/clk/clk-clps711x.c clps711x_clk->clk_data.hws[CLPS711X_CLK_TICK] = clk_data 137 drivers/clk/clk-clps711x.c if (IS_ERR(clps711x_clk->clk_data.hws[tmp])) clk_data 139 drivers/clk/clk-clps711x.c tmp, PTR_ERR(clps711x_clk->clk_data.hws[tmp])); clk_data 141 drivers/clk/clk-clps711x.c clps711x_clk->clk_data.num = CLPS711X_CLK_MAX; clk_data 143 drivers/clk/clk-clps711x.c &clps711x_clk->clk_data); clk_data 17 drivers/clk/clk-efm32gg.c static struct clk_hw_onecell_data *clk_data; clk_data 25 drivers/clk/clk-efm32gg.c clk_data = kzalloc(struct_size(clk_data, hws, CMU_MAX_CLKS), clk_data 28 drivers/clk/clk-efm32gg.c if (!clk_data) clk_data 31 drivers/clk/clk-efm32gg.c hws = clk_data->hws; clk_data 82 drivers/clk/clk-efm32gg.c of_clk_add_hw_provider(np, of_clk_hw_onecell_get, clk_data); clk_data 499 drivers/clk/clk-milbeaut.c struct clk_hw_onecell_data *clk_data, clk_data 524 drivers/clk/clk-milbeaut.c clk_data->hws[factors->onecell_idx] = hw; clk_data 528 drivers/clk/clk-milbeaut.c struct clk_hw_onecell_data *clk_data, clk_data 539 drivers/clk/clk-milbeaut.c clk_data->hws[factors->onecell_idx] = hw; clk_data 543 drivers/clk/clk-milbeaut.c struct clk_hw_onecell_data *clk_data, clk_data 557 drivers/clk/clk-milbeaut.c clk_data->hws[factors->onecell_idx] = hw; clk_data 124 drivers/clk/clk-s2mps11.c struct clk_hw_onecell_data *clk_data; clk_data 134 drivers/clk/clk-s2mps11.c clk_data = devm_kzalloc(&pdev->dev, clk_data 135 drivers/clk/clk-s2mps11.c struct_size(clk_data, hws, S2MPS11_CLKS_NUM), clk_data 137 drivers/clk/clk-s2mps11.c if (!clk_data) clk_data 186 drivers/clk/clk-s2mps11.c clk_data->hws[i] = &s2mps11_clks[i].hw; clk_data 189 drivers/clk/clk-s2mps11.c clk_data->num = S2MPS11_CLKS_NUM; clk_data 191 drivers/clk/clk-s2mps11.c clk_data); clk_data 125 drivers/clk/clk-scmi.c struct clk_hw_onecell_data *clk_data; clk_data 139 drivers/clk/clk-scmi.c clk_data = devm_kzalloc(dev, struct_size(clk_data, hws, count), clk_data 141 drivers/clk/clk-scmi.c if (!clk_data) clk_data 144 drivers/clk/clk-scmi.c clk_data->num = count; clk_data 145 drivers/clk/clk-scmi.c hws = clk_data->hws; clk_data 175 drivers/clk/clk-scmi.c clk_data); clk_data 179 drivers/clk/clk-scpi.c struct scpi_clk_data *clk_data = data; clk_data 182 drivers/clk/clk-scpi.c for (count = 0; count < clk_data->clk_num; count++) { clk_data 183 drivers/clk/clk-scpi.c sclk = clk_data->clk[count]; clk_data 195 drivers/clk/clk-scpi.c struct scpi_clk_data *clk_data; clk_data 203 drivers/clk/clk-scpi.c clk_data = devm_kmalloc(dev, sizeof(*clk_data), GFP_KERNEL); clk_data 204 drivers/clk/clk-scpi.c if (!clk_data) clk_data 207 drivers/clk/clk-scpi.c clk_data->clk_num = count; clk_data 208 drivers/clk/clk-scpi.c clk_data->clk = devm_kcalloc(dev, count, sizeof(*clk_data->clk), clk_data 210 drivers/clk/clk-scpi.c if (!clk_data->clk) clk_data 243 drivers/clk/clk-scpi.c clk_data->clk[idx] = sclk; clk_data 246 drivers/clk/clk-scpi.c return of_clk_add_hw_provider(np, scpi_of_clk_src_get, clk_data); clk_data 1198 drivers/clk/clk-stm32h7.c struct clk_hw_onecell_data *clk_data; clk_data 1204 drivers/clk/clk-stm32h7.c clk_data = kzalloc(struct_size(clk_data, hws, STM32H7_MAX_CLKS), clk_data 1206 drivers/clk/clk-stm32h7.c if (!clk_data) clk_data 1209 drivers/clk/clk-stm32h7.c clk_data->num = STM32H7_MAX_CLKS; clk_data 1211 drivers/clk/clk-stm32h7.c hws = clk_data->hws; clk_data 1384 drivers/clk/clk-stm32h7.c of_clk_add_hw_provider(np, of_clk_hw_onecell_get, clk_data); clk_data 1389 drivers/clk/clk-stm32h7.c kfree(clk_data); clk_data 321 drivers/clk/clk-stm32mp1.c struct clk_hw_onecell_data *clk_data, clk_data 381 drivers/clk/clk-stm32mp1.c struct clk_hw_onecell_data *clk_data, clk_data 399 drivers/clk/clk-stm32mp1.c struct clk_hw_onecell_data *clk_data, clk_data 412 drivers/clk/clk-stm32mp1.c struct clk_hw_onecell_data *clk_data, clk_data 432 drivers/clk/clk-stm32mp1.c struct clk_hw_onecell_data *clk_data, clk_data 1039 drivers/clk/clk-stm32mp1.c struct clk_hw_onecell_data *clk_data, clk_data 1055 drivers/clk/clk-stm32mp1.c struct clk_hw_onecell_data *clk_data, clk_data 1068 drivers/clk/clk-stm32mp1.c struct clk_hw_onecell_data *clk_data, clk_data 1083 drivers/clk/clk-stm32mp1.c struct clk_hw_onecell_data *clk_data, clk_data 2020 drivers/clk/clk-stm32mp1.c struct clk_hw_onecell_data *clk_data, clk_data 2027 drivers/clk/clk-stm32mp1.c hws = clk_data->hws; clk_data 2030 drivers/clk/clk-stm32mp1.c hw = (*cfg->func)(dev, clk_data, base, lock, cfg); clk_data 2047 drivers/clk/clk-stm32mp1.c struct clk_hw_onecell_data *clk_data; clk_data 2063 drivers/clk/clk-stm32mp1.c clk_data = kzalloc(struct_size(clk_data, hws, max_binding), clk_data 2065 drivers/clk/clk-stm32mp1.c if (!clk_data) clk_data 2068 drivers/clk/clk-stm32mp1.c clk_data->num = max_binding; clk_data 2070 drivers/clk/clk-stm32mp1.c hws = clk_data->hws; clk_data 2076 drivers/clk/clk-stm32mp1.c err = stm32_register_hw_clk(NULL, clk_data, base, &rlock, clk_data 2082 drivers/clk/clk-stm32mp1.c kfree(clk_data); clk_data 2088 drivers/clk/clk-stm32mp1.c return of_clk_add_hw_provider(np, of_clk_hw_onecell_get, clk_data); clk_data 10 drivers/clk/clk-tango4.c static struct clk_onecell_data clk_data = { clks, CLK_COUNT }; clk_data 52 drivers/clk/clk-tango4.c struct clk **pp = clk_data.clks; clk_data 82 drivers/clk/clk-tango4.c if (of_clk_add_provider(np, of_clk_src_onecell_get, &clk_data)) clk_data 4273 drivers/clk/clk.c struct clk_onecell_data *clk_data = data; clk_data 4276 drivers/clk/clk.c if (idx >= clk_data->clk_num) { clk_data 4281 drivers/clk/clk.c return clk_data->clks[idx]; clk_data 647 drivers/clk/davinci/da8xx-cfgchip.c struct clk_hw_onecell_data *clk_data; clk_data 651 drivers/clk/davinci/da8xx-cfgchip.c clk_data = devm_kzalloc(dev, struct_size(clk_data, hws, 2), clk_data 653 drivers/clk/davinci/da8xx-cfgchip.c if (!clk_data) clk_data 656 drivers/clk/davinci/da8xx-cfgchip.c clk_data->num = 2; clk_data 666 drivers/clk/davinci/da8xx-cfgchip.c clk_data->hws[0] = ERR_PTR(-ENOENT); clk_data 668 drivers/clk/davinci/da8xx-cfgchip.c clk_data->hws[0] = &usb0->hw; clk_data 679 drivers/clk/davinci/da8xx-cfgchip.c clk_data->hws[1] = ERR_PTR(-ENOENT); clk_data 681 drivers/clk/davinci/da8xx-cfgchip.c clk_data->hws[1] = &usb1->hw; clk_data 684 drivers/clk/davinci/da8xx-cfgchip.c return devm_of_clk_add_hw_provider(dev, of_clk_hw_onecell_get, clk_data); clk_data 775 drivers/clk/davinci/pll.c struct clk_onecell_data *clk_data; clk_data 780 drivers/clk/davinci/pll.c clk_data = kzalloc(sizeof(*clk_data), GFP_KERNEL); clk_data 781 drivers/clk/davinci/pll.c if (!clk_data) { clk_data 788 drivers/clk/davinci/pll.c kfree(clk_data); clk_data 793 drivers/clk/davinci/pll.c clk_data->clks = clks; clk_data 794 drivers/clk/davinci/pll.c clk_data->clk_num = n_clks; clk_data 807 drivers/clk/davinci/pll.c of_clk_add_provider(child, of_clk_src_onecell_get, clk_data); clk_data 60 drivers/clk/davinci/psc.c struct clk_onecell_data clk_data; clk_data 310 drivers/clk/davinci/psc.c struct clk *clk = psc->clk_data.clks[id]; clk_data 319 drivers/clk/davinci/psc.c struct clk *clk = psc->clk_data.clks[id]; clk_data 381 drivers/clk/davinci/psc.c psc->clk_data.clks = clks; clk_data 382 drivers/clk/davinci/psc.c psc->clk_data.clk_num = num_clks; clk_data 466 drivers/clk/davinci/psc.c struct clk *clk = psc->clk_data.clks[info->md]; clk_data 492 drivers/clk/davinci/psc.c of_clk_add_provider(node, of_clk_src_onecell_get, &psc->clk_data); clk_data 30 drivers/clk/hisilicon/clk-hi3519.c struct hisi_clock_data *clk_data; clk_data 78 drivers/clk/hisilicon/clk-hi3519.c struct hisi_clock_data *clk_data; clk_data 81 drivers/clk/hisilicon/clk-hi3519.c clk_data = hisi_clk_alloc(pdev, HI3519_NR_CLKS); clk_data 82 drivers/clk/hisilicon/clk-hi3519.c if (!clk_data) clk_data 87 drivers/clk/hisilicon/clk-hi3519.c clk_data); clk_data 93 drivers/clk/hisilicon/clk-hi3519.c clk_data); clk_data 99 drivers/clk/hisilicon/clk-hi3519.c clk_data); clk_data 104 drivers/clk/hisilicon/clk-hi3519.c of_clk_src_onecell_get, &clk_data->clk_data); clk_data 108 drivers/clk/hisilicon/clk-hi3519.c return clk_data; clk_data 113 drivers/clk/hisilicon/clk-hi3519.c clk_data); clk_data 118 drivers/clk/hisilicon/clk-hi3519.c clk_data); clk_data 122 drivers/clk/hisilicon/clk-hi3519.c clk_data); clk_data 134 drivers/clk/hisilicon/clk-hi3519.c crg->clk_data); clk_data 137 drivers/clk/hisilicon/clk-hi3519.c crg->clk_data); clk_data 140 drivers/clk/hisilicon/clk-hi3519.c crg->clk_data); clk_data 155 drivers/clk/hisilicon/clk-hi3519.c crg->clk_data = hi3519_clk_register(pdev); clk_data 156 drivers/clk/hisilicon/clk-hi3519.c if (IS_ERR(crg->clk_data)) { clk_data 158 drivers/clk/hisilicon/clk-hi3519.c return PTR_ERR(crg->clk_data); clk_data 197 drivers/clk/hisilicon/clk-hi3620.c struct hisi_clock_data *clk_data; clk_data 199 drivers/clk/hisilicon/clk-hi3620.c clk_data = hisi_clk_init(np, HI3620_NR_CLKS); clk_data 200 drivers/clk/hisilicon/clk-hi3620.c if (!clk_data) clk_data 205 drivers/clk/hisilicon/clk-hi3620.c clk_data); clk_data 208 drivers/clk/hisilicon/clk-hi3620.c clk_data); clk_data 210 drivers/clk/hisilicon/clk-hi3620.c clk_data); clk_data 212 drivers/clk/hisilicon/clk-hi3620.c clk_data); clk_data 215 drivers/clk/hisilicon/clk-hi3620.c clk_data); clk_data 452 drivers/clk/hisilicon/clk-hi3620.c struct clk_onecell_data *clk_data; clk_data 465 drivers/clk/hisilicon/clk-hi3620.c clk_data = kzalloc(sizeof(*clk_data), GFP_KERNEL); clk_data 466 drivers/clk/hisilicon/clk-hi3620.c if (WARN_ON(!clk_data)) clk_data 469 drivers/clk/hisilicon/clk-hi3620.c clk_data->clks = kcalloc(num, sizeof(*clk_data->clks), GFP_KERNEL); clk_data 470 drivers/clk/hisilicon/clk-hi3620.c if (!clk_data->clks) clk_data 475 drivers/clk/hisilicon/clk-hi3620.c clk_data->clks[mmc_clk->id] = clk_data 479 drivers/clk/hisilicon/clk-hi3620.c clk_data->clk_num = num; clk_data 480 drivers/clk/hisilicon/clk-hi3620.c of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 476 drivers/clk/hisilicon/clk-hi3660.c struct hisi_clock_data *clk_data; clk_data 479 drivers/clk/hisilicon/clk-hi3660.c clk_data = hisi_clk_init(np, nr); clk_data 480 drivers/clk/hisilicon/clk-hi3660.c if (!clk_data) clk_data 485 drivers/clk/hisilicon/clk-hi3660.c clk_data); clk_data 490 drivers/clk/hisilicon/clk-hi3660.c struct hisi_clock_data *clk_data; clk_data 493 drivers/clk/hisilicon/clk-hi3660.c clk_data = hisi_clk_init(np, nr); clk_data 494 drivers/clk/hisilicon/clk-hi3660.c if (!clk_data) clk_data 498 drivers/clk/hisilicon/clk-hi3660.c ARRAY_SIZE(hi3660_pmu_gate_clks), clk_data); clk_data 503 drivers/clk/hisilicon/clk-hi3660.c struct hisi_clock_data *clk_data; clk_data 506 drivers/clk/hisilicon/clk-hi3660.c clk_data = hisi_clk_init(np, nr); clk_data 507 drivers/clk/hisilicon/clk-hi3660.c if (!clk_data) clk_data 510 drivers/clk/hisilicon/clk-hi3660.c ARRAY_SIZE(hi3660_pctrl_gate_clks), clk_data); clk_data 515 drivers/clk/hisilicon/clk-hi3660.c struct hisi_clock_data *clk_data; clk_data 521 drivers/clk/hisilicon/clk-hi3660.c clk_data = hisi_clk_init(np, nr); clk_data 522 drivers/clk/hisilicon/clk-hi3660.c if (!clk_data) clk_data 525 drivers/clk/hisilicon/clk-hi3660.c ARRAY_SIZE(hi3660_sctrl_gate_clks), clk_data); clk_data 528 drivers/clk/hisilicon/clk-hi3660.c clk_data); clk_data 530 drivers/clk/hisilicon/clk-hi3660.c ARRAY_SIZE(hi3660_sctrl_mux_clks), clk_data); clk_data 533 drivers/clk/hisilicon/clk-hi3660.c clk_data); clk_data 551 drivers/clk/hisilicon/clk-hi3660.c clk_crgctrl_data->clk_data.clks[i] = ERR_PTR(-EPROBE_DEFER); clk_data 588 drivers/clk/hisilicon/clk-hi3660.c clks = clk_crgctrl_data->clk_data.clks; clk_data 589 drivers/clk/hisilicon/clk-hi3660.c for (i = 0; i < clk_crgctrl_data->clk_data.clk_num; i++) { clk_data 827 drivers/clk/hisilicon/clk-hi3670.c struct hisi_clock_data *clk_data; clk_data 836 drivers/clk/hisilicon/clk-hi3670.c clk_data = hisi_clk_init(np, nr); clk_data 837 drivers/clk/hisilicon/clk-hi3670.c if (!clk_data) clk_data 842 drivers/clk/hisilicon/clk-hi3670.c clk_data); clk_data 845 drivers/clk/hisilicon/clk-hi3670.c clk_data); clk_data 848 drivers/clk/hisilicon/clk-hi3670.c clk_data); clk_data 851 drivers/clk/hisilicon/clk-hi3670.c clk_data); clk_data 854 drivers/clk/hisilicon/clk-hi3670.c clk_data); clk_data 857 drivers/clk/hisilicon/clk-hi3670.c clk_data); clk_data 862 drivers/clk/hisilicon/clk-hi3670.c struct hisi_clock_data *clk_data; clk_data 865 drivers/clk/hisilicon/clk-hi3670.c clk_data = hisi_clk_init(np, nr); clk_data 866 drivers/clk/hisilicon/clk-hi3670.c if (!clk_data) clk_data 869 drivers/clk/hisilicon/clk-hi3670.c ARRAY_SIZE(hi3670_pctrl_gate_clks), clk_data); clk_data 874 drivers/clk/hisilicon/clk-hi3670.c struct hisi_clock_data *clk_data; clk_data 877 drivers/clk/hisilicon/clk-hi3670.c clk_data = hisi_clk_init(np, nr); clk_data 878 drivers/clk/hisilicon/clk-hi3670.c if (!clk_data) clk_data 882 drivers/clk/hisilicon/clk-hi3670.c ARRAY_SIZE(hi3670_pmu_gate_clks), clk_data); clk_data 887 drivers/clk/hisilicon/clk-hi3670.c struct hisi_clock_data *clk_data; clk_data 893 drivers/clk/hisilicon/clk-hi3670.c clk_data = hisi_clk_init(np, nr); clk_data 894 drivers/clk/hisilicon/clk-hi3670.c if (!clk_data) clk_data 899 drivers/clk/hisilicon/clk-hi3670.c clk_data); clk_data 902 drivers/clk/hisilicon/clk-hi3670.c clk_data); clk_data 905 drivers/clk/hisilicon/clk-hi3670.c clk_data); clk_data 908 drivers/clk/hisilicon/clk-hi3670.c clk_data); clk_data 913 drivers/clk/hisilicon/clk-hi3670.c struct hisi_clock_data *clk_data; clk_data 917 drivers/clk/hisilicon/clk-hi3670.c clk_data = hisi_clk_init(np, nr); clk_data 918 drivers/clk/hisilicon/clk-hi3670.c if (!clk_data) clk_data 922 drivers/clk/hisilicon/clk-hi3670.c ARRAY_SIZE(hi3670_iomcu_gate_sep_clks), clk_data); clk_data 926 drivers/clk/hisilicon/clk-hi3670.c clk_data); clk_data 931 drivers/clk/hisilicon/clk-hi3670.c struct hisi_clock_data *clk_data; clk_data 938 drivers/clk/hisilicon/clk-hi3670.c clk_data = hisi_clk_init(np, nr); clk_data 939 drivers/clk/hisilicon/clk-hi3670.c if (!clk_data) clk_data 944 drivers/clk/hisilicon/clk-hi3670.c clk_data); clk_data 947 drivers/clk/hisilicon/clk-hi3670.c clk_data); clk_data 950 drivers/clk/hisilicon/clk-hi3670.c clk_data); clk_data 953 drivers/clk/hisilicon/clk-hi3670.c clk_data); clk_data 958 drivers/clk/hisilicon/clk-hi3670.c struct hisi_clock_data *clk_data; clk_data 962 drivers/clk/hisilicon/clk-hi3670.c clk_data = hisi_clk_init(np, nr); clk_data 963 drivers/clk/hisilicon/clk-hi3670.c if (!clk_data) clk_data 968 drivers/clk/hisilicon/clk-hi3670.c clk_data); clk_data 181 drivers/clk/hisilicon/clk-hi6220.c struct hisi_clock_data *clk_data; clk_data 183 drivers/clk/hisilicon/clk-hi6220.c clk_data = hisi_clk_init(np, HI6220_SYS_NR_CLKS); clk_data 184 drivers/clk/hisilicon/clk-hi6220.c if (!clk_data) clk_data 188 drivers/clk/hisilicon/clk-hi6220.c ARRAY_SIZE(hi6220_separated_gate_clks_sys), clk_data); clk_data 191 drivers/clk/hisilicon/clk-hi6220.c ARRAY_SIZE(hi6220_mux_clks_sys), clk_data); clk_data 194 drivers/clk/hisilicon/clk-hi6220.c ARRAY_SIZE(hi6220_div_clks_sys), clk_data); clk_data 238 drivers/clk/hisilicon/clk-hi6220.c struct hisi_clock_data *clk_data; clk_data 240 drivers/clk/hisilicon/clk-hi6220.c clk_data = hisi_clk_init(np, HI6220_MEDIA_NR_CLKS); clk_data 241 drivers/clk/hisilicon/clk-hi6220.c if (!clk_data) clk_data 245 drivers/clk/hisilicon/clk-hi6220.c ARRAY_SIZE(hi6220_separated_gate_clks_media), clk_data); clk_data 248 drivers/clk/hisilicon/clk-hi6220.c ARRAY_SIZE(hi6220_mux_clks_media), clk_data); clk_data 251 drivers/clk/hisilicon/clk-hi6220.c ARRAY_SIZE(hi6220_div_clks_media), clk_data); clk_data 272 drivers/clk/hisilicon/clk-hi6220.c struct hisi_clock_data *clk_data; clk_data 274 drivers/clk/hisilicon/clk-hi6220.c clk_data = hisi_clk_init(np, HI6220_POWER_NR_CLKS); clk_data 275 drivers/clk/hisilicon/clk-hi6220.c if (!clk_data) clk_data 279 drivers/clk/hisilicon/clk-hi6220.c ARRAY_SIZE(hi6220_gate_clks_power), clk_data); clk_data 282 drivers/clk/hisilicon/clk-hi6220.c ARRAY_SIZE(hi6220_div_clks_power), clk_data); clk_data 294 drivers/clk/hisilicon/clk-hi6220.c struct hisi_clock_data *clk_data; clk_data 297 drivers/clk/hisilicon/clk-hi6220.c clk_data = hisi_clk_init(np, nr); clk_data 298 drivers/clk/hisilicon/clk-hi6220.c if (!clk_data) clk_data 303 drivers/clk/hisilicon/clk-hi6220.c clk_data); clk_data 32 drivers/clk/hisilicon/clk-hip04.c struct hisi_clock_data *clk_data; clk_data 34 drivers/clk/hisilicon/clk-hip04.c clk_data = hisi_clk_init(np, HIP04_NR_CLKS); clk_data 35 drivers/clk/hisilicon/clk-hip04.c if (!clk_data) clk_data 40 drivers/clk/hisilicon/clk-hip04.c clk_data); clk_data 295 drivers/clk/hisilicon/clk-hix5hd2.c data->clk_data.clks[clks[i].id] = clk; clk_data 301 drivers/clk/hisilicon/clk-hix5hd2.c struct hisi_clock_data *clk_data; clk_data 303 drivers/clk/hisilicon/clk-hix5hd2.c clk_data = hisi_clk_init(np, HIX5HD2_NR_CLKS); clk_data 304 drivers/clk/hisilicon/clk-hix5hd2.c if (!clk_data) clk_data 309 drivers/clk/hisilicon/clk-hix5hd2.c clk_data); clk_data 311 drivers/clk/hisilicon/clk-hix5hd2.c clk_data); clk_data 313 drivers/clk/hisilicon/clk-hix5hd2.c ARRAY_SIZE(hix5hd2_gate_clks), clk_data); clk_data 316 drivers/clk/hisilicon/clk-hix5hd2.c clk_data); clk_data 29 drivers/clk/hisilicon/clk.c struct hisi_clock_data *clk_data; clk_data 33 drivers/clk/hisilicon/clk.c clk_data = devm_kmalloc(&pdev->dev, sizeof(*clk_data), GFP_KERNEL); clk_data 34 drivers/clk/hisilicon/clk.c if (!clk_data) clk_data 40 drivers/clk/hisilicon/clk.c clk_data->base = devm_ioremap(&pdev->dev, clk_data 42 drivers/clk/hisilicon/clk.c if (!clk_data->base) clk_data 51 drivers/clk/hisilicon/clk.c clk_data->clk_data.clks = clk_table; clk_data 52 drivers/clk/hisilicon/clk.c clk_data->clk_data.clk_num = nr_clks; clk_data 54 drivers/clk/hisilicon/clk.c return clk_data; clk_data 61 drivers/clk/hisilicon/clk.c struct hisi_clock_data *clk_data; clk_data 71 drivers/clk/hisilicon/clk.c clk_data = kzalloc(sizeof(*clk_data), GFP_KERNEL); clk_data 72 drivers/clk/hisilicon/clk.c if (!clk_data) clk_data 75 drivers/clk/hisilicon/clk.c clk_data->base = base; clk_data 80 drivers/clk/hisilicon/clk.c clk_data->clk_data.clks = clk_table; clk_data 81 drivers/clk/hisilicon/clk.c clk_data->clk_data.clk_num = nr_clks; clk_data 82 drivers/clk/hisilicon/clk.c of_clk_add_provider(np, of_clk_src_onecell_get, &clk_data->clk_data); clk_data 83 drivers/clk/hisilicon/clk.c return clk_data; clk_data 85 drivers/clk/hisilicon/clk.c kfree(clk_data); clk_data 107 drivers/clk/hisilicon/clk.c data->clk_data.clks[clks[i].id] = clk; clk_data 114 drivers/clk/hisilicon/clk.c clk_unregister_fixed_rate(data->clk_data.clks[clks[i].id]); clk_data 137 drivers/clk/hisilicon/clk.c data->clk_data.clks[clks[i].id] = clk; clk_data 144 drivers/clk/hisilicon/clk.c clk_unregister_fixed_factor(data->clk_data.clks[clks[i].id]); clk_data 175 drivers/clk/hisilicon/clk.c data->clk_data.clks[clks[i].id] = clk; clk_data 182 drivers/clk/hisilicon/clk.c clk_unregister_mux(data->clk_data.clks[clks[i].id]); clk_data 205 drivers/clk/hisilicon/clk.c data->clk_data.clks[clks[i].id] = clk; clk_data 237 drivers/clk/hisilicon/clk.c data->clk_data.clks[clks[i].id] = clk; clk_data 244 drivers/clk/hisilicon/clk.c clk_unregister_divider(data->clk_data.clks[clks[i].id]); clk_data 274 drivers/clk/hisilicon/clk.c data->clk_data.clks[clks[i].id] = clk; clk_data 281 drivers/clk/hisilicon/clk.c clk_unregister_gate(data->clk_data.clks[clks[i].id]); clk_data 311 drivers/clk/hisilicon/clk.c data->clk_data.clks[clks[i].id] = clk; clk_data 341 drivers/clk/hisilicon/clk.c data->clk_data.clks[clks[i].id] = clk; clk_data 22 drivers/clk/hisilicon/clk.h struct clk_onecell_data clk_data; clk_data 142 drivers/clk/hisilicon/clk.h struct clk **clocks = data->clk_data.clks; \ clk_data 132 drivers/clk/hisilicon/crg-hi3516cv300.c struct hisi_clock_data *clk_data; clk_data 135 drivers/clk/hisilicon/crg-hi3516cv300.c clk_data = hisi_clk_alloc(pdev, HI3516CV300_CRG_NR_CLKS); clk_data 136 drivers/clk/hisilicon/crg-hi3516cv300.c if (!clk_data) clk_data 140 drivers/clk/hisilicon/crg-hi3516cv300.c ARRAY_SIZE(hi3516cv300_fixed_rate_clks), clk_data); clk_data 145 drivers/clk/hisilicon/crg-hi3516cv300.c ARRAY_SIZE(hi3516cv300_mux_clks), clk_data); clk_data 150 drivers/clk/hisilicon/crg-hi3516cv300.c ARRAY_SIZE(hi3516cv300_gate_clks), clk_data); clk_data 155 drivers/clk/hisilicon/crg-hi3516cv300.c of_clk_src_onecell_get, &clk_data->clk_data); clk_data 159 drivers/clk/hisilicon/crg-hi3516cv300.c return clk_data; clk_data 163 drivers/clk/hisilicon/crg-hi3516cv300.c ARRAY_SIZE(hi3516cv300_gate_clks), clk_data); clk_data 166 drivers/clk/hisilicon/crg-hi3516cv300.c ARRAY_SIZE(hi3516cv300_mux_clks), clk_data); clk_data 169 drivers/clk/hisilicon/crg-hi3516cv300.c ARRAY_SIZE(hi3516cv300_fixed_rate_clks), clk_data); clk_data 180 drivers/clk/hisilicon/crg-hi3516cv300.c ARRAY_SIZE(hi3516cv300_gate_clks), crg->clk_data); clk_data 182 drivers/clk/hisilicon/crg-hi3516cv300.c ARRAY_SIZE(hi3516cv300_mux_clks), crg->clk_data); clk_data 184 drivers/clk/hisilicon/crg-hi3516cv300.c ARRAY_SIZE(hi3516cv300_fixed_rate_clks), crg->clk_data); clk_data 206 drivers/clk/hisilicon/crg-hi3516cv300.c struct hisi_clock_data *clk_data; clk_data 209 drivers/clk/hisilicon/crg-hi3516cv300.c clk_data = hisi_clk_alloc(pdev, HI3516CV300_SYSCTRL_NR_CLKS); clk_data 210 drivers/clk/hisilicon/crg-hi3516cv300.c if (!clk_data) clk_data 214 drivers/clk/hisilicon/crg-hi3516cv300.c ARRAY_SIZE(hi3516cv300_sysctrl_mux_clks), clk_data); clk_data 220 drivers/clk/hisilicon/crg-hi3516cv300.c of_clk_src_onecell_get, &clk_data->clk_data); clk_data 224 drivers/clk/hisilicon/crg-hi3516cv300.c return clk_data; clk_data 228 drivers/clk/hisilicon/crg-hi3516cv300.c ARRAY_SIZE(hi3516cv300_sysctrl_mux_clks), clk_data); clk_data 240 drivers/clk/hisilicon/crg-hi3516cv300.c crg->clk_data); clk_data 277 drivers/clk/hisilicon/crg-hi3516cv300.c crg->clk_data = crg->funcs->register_clks(pdev); clk_data 278 drivers/clk/hisilicon/crg-hi3516cv300.c if (IS_ERR(crg->clk_data)) { clk_data 280 drivers/clk/hisilicon/crg-hi3516cv300.c return PTR_ERR(crg->clk_data); clk_data 199 drivers/clk/hisilicon/crg-hi3798cv200.c struct hisi_clock_data *clk_data; clk_data 202 drivers/clk/hisilicon/crg-hi3798cv200.c clk_data = hisi_clk_alloc(pdev, HI3798CV200_CRG_NR_CLKS); clk_data 203 drivers/clk/hisilicon/crg-hi3798cv200.c if (!clk_data) clk_data 210 drivers/clk/hisilicon/crg-hi3798cv200.c clk_data); clk_data 216 drivers/clk/hisilicon/crg-hi3798cv200.c clk_data); clk_data 222 drivers/clk/hisilicon/crg-hi3798cv200.c clk_data); clk_data 228 drivers/clk/hisilicon/crg-hi3798cv200.c clk_data); clk_data 233 drivers/clk/hisilicon/crg-hi3798cv200.c of_clk_src_onecell_get, &clk_data->clk_data); clk_data 237 drivers/clk/hisilicon/crg-hi3798cv200.c return clk_data; clk_data 242 drivers/clk/hisilicon/crg-hi3798cv200.c clk_data); clk_data 246 drivers/clk/hisilicon/crg-hi3798cv200.c clk_data); clk_data 250 drivers/clk/hisilicon/crg-hi3798cv200.c clk_data); clk_data 262 drivers/clk/hisilicon/crg-hi3798cv200.c crg->clk_data); clk_data 265 drivers/clk/hisilicon/crg-hi3798cv200.c crg->clk_data); clk_data 268 drivers/clk/hisilicon/crg-hi3798cv200.c crg->clk_data); clk_data 292 drivers/clk/hisilicon/crg-hi3798cv200.c struct hisi_clock_data *clk_data; clk_data 295 drivers/clk/hisilicon/crg-hi3798cv200.c clk_data = hisi_clk_alloc(pdev, HI3798CV200_SYSCTRL_NR_CLKS); clk_data 296 drivers/clk/hisilicon/crg-hi3798cv200.c if (!clk_data) clk_data 301 drivers/clk/hisilicon/crg-hi3798cv200.c clk_data); clk_data 306 drivers/clk/hisilicon/crg-hi3798cv200.c of_clk_src_onecell_get, &clk_data->clk_data); clk_data 310 drivers/clk/hisilicon/crg-hi3798cv200.c return clk_data; clk_data 315 drivers/clk/hisilicon/crg-hi3798cv200.c clk_data); clk_data 327 drivers/clk/hisilicon/crg-hi3798cv200.c crg->clk_data); clk_data 360 drivers/clk/hisilicon/crg-hi3798cv200.c crg->clk_data = crg->funcs->register_clks(pdev); clk_data 361 drivers/clk/hisilicon/crg-hi3798cv200.c if (IS_ERR(crg->clk_data)) { clk_data 363 drivers/clk/hisilicon/crg-hi3798cv200.c return PTR_ERR(crg->clk_data); clk_data 20 drivers/clk/hisilicon/crg.h struct hisi_clock_data *clk_data; clk_data 27 drivers/clk/imx/clk-imx1.c static struct clk_onecell_data clk_data; clk_data 69 drivers/clk/imx/clk-imx1.c clk_data.clks = clk; clk_data 70 drivers/clk/imx/clk-imx1.c clk_data.clk_num = ARRAY_SIZE(clk); clk_data 71 drivers/clk/imx/clk-imx1.c of_clk_add_provider(np, of_clk_src_onecell_get, &clk_data); clk_data 40 drivers/clk/imx/clk-imx21.c static struct clk_onecell_data clk_data; clk_data 167 drivers/clk/imx/clk-imx21.c clk_data.clks = clk; clk_data 168 drivers/clk/imx/clk-imx21.c clk_data.clk_num = ARRAY_SIZE(clk); clk_data 169 drivers/clk/imx/clk-imx21.c of_clk_add_provider(np, of_clk_src_onecell_get, &clk_data); clk_data 43 drivers/clk/imx/clk-imx25.c static struct clk_onecell_data clk_data; clk_data 243 drivers/clk/imx/clk-imx25.c clk_data.clks = clk; clk_data 244 drivers/clk/imx/clk-imx25.c clk_data.clk_num = ARRAY_SIZE(clk); clk_data 245 drivers/clk/imx/clk-imx25.c of_clk_add_provider(np, of_clk_src_onecell_get, &clk_data); clk_data 50 drivers/clk/imx/clk-imx27.c static struct clk_onecell_data clk_data; clk_data 276 drivers/clk/imx/clk-imx27.c clk_data.clks = clk; clk_data 277 drivers/clk/imx/clk-imx27.c clk_data.clk_num = ARRAY_SIZE(clk); clk_data 278 drivers/clk/imx/clk-imx27.c of_clk_add_provider(np, of_clk_src_onecell_get, &clk_data); clk_data 52 drivers/clk/imx/clk-imx31.c static struct clk_onecell_data clk_data; clk_data 228 drivers/clk/imx/clk-imx31.c clk_data.clks = clk; clk_data 229 drivers/clk/imx/clk-imx31.c clk_data.clk_num = ARRAY_SIZE(clk); clk_data 230 drivers/clk/imx/clk-imx31.c of_clk_add_provider(np, of_clk_src_onecell_get, &clk_data); clk_data 59 drivers/clk/imx/clk-imx35.c static struct clk_onecell_data clk_data; clk_data 323 drivers/clk/imx/clk-imx35.c clk_data.clks = clk; clk_data 324 drivers/clk/imx/clk-imx35.c clk_data.clk_num = ARRAY_SIZE(clk); clk_data 325 drivers/clk/imx/clk-imx35.c of_clk_add_provider(ccm_node, of_clk_src_onecell_get, &clk_data); clk_data 129 drivers/clk/imx/clk-imx5.c static struct clk_onecell_data clk_data; clk_data 366 drivers/clk/imx/clk-imx5.c clk_data.clks = clk; clk_data 367 drivers/clk/imx/clk-imx5.c clk_data.clk_num = ARRAY_SIZE(clk); clk_data 368 drivers/clk/imx/clk-imx5.c of_clk_add_provider(np, of_clk_src_onecell_get, &clk_data); clk_data 457 drivers/clk/imx/clk-imx5.c clk_data.clks = clk; clk_data 458 drivers/clk/imx/clk-imx5.c clk_data.clk_num = ARRAY_SIZE(clk); clk_data 459 drivers/clk/imx/clk-imx5.c of_clk_add_provider(np, of_clk_src_onecell_get, &clk_data); clk_data 611 drivers/clk/imx/clk-imx5.c clk_data.clks = clk; clk_data 612 drivers/clk/imx/clk-imx5.c clk_data.clk_num = ARRAY_SIZE(clk); clk_data 613 drivers/clk/imx/clk-imx5.c of_clk_add_provider(np, of_clk_src_onecell_get, &clk_data); clk_data 61 drivers/clk/imx/clk-imx7ulp.c struct clk_hw_onecell_data *clk_data; clk_data 65 drivers/clk/imx/clk-imx7ulp.c clk_data = kzalloc(struct_size(clk_data, hws, IMX7ULP_CLK_SCG1_END), clk_data 67 drivers/clk/imx/clk-imx7ulp.c if (!clk_data) clk_data 70 drivers/clk/imx/clk-imx7ulp.c clk_data->num = IMX7ULP_CLK_SCG1_END; clk_data 71 drivers/clk/imx/clk-imx7ulp.c clks = clk_data->hws; clk_data 141 drivers/clk/imx/clk-imx7ulp.c imx_check_clk_hws(clks, clk_data->num); clk_data 143 drivers/clk/imx/clk-imx7ulp.c of_clk_add_hw_provider(np, of_clk_hw_onecell_get, clk_data); clk_data 149 drivers/clk/imx/clk-imx7ulp.c struct clk_hw_onecell_data *clk_data; clk_data 154 drivers/clk/imx/clk-imx7ulp.c clk_data = kzalloc(struct_size(clk_data, hws, IMX7ULP_CLK_PCC2_END), clk_data 156 drivers/clk/imx/clk-imx7ulp.c if (!clk_data) clk_data 159 drivers/clk/imx/clk-imx7ulp.c clk_data->num = IMX7ULP_CLK_PCC2_END; clk_data 160 drivers/clk/imx/clk-imx7ulp.c clks = clk_data->hws; clk_data 188 drivers/clk/imx/clk-imx7ulp.c imx_check_clk_hws(clks, clk_data->num); clk_data 190 drivers/clk/imx/clk-imx7ulp.c of_clk_add_hw_provider(np, of_clk_hw_onecell_get, clk_data); clk_data 204 drivers/clk/imx/clk-imx7ulp.c struct clk_hw_onecell_data *clk_data; clk_data 209 drivers/clk/imx/clk-imx7ulp.c clk_data = kzalloc(struct_size(clk_data, hws, IMX7ULP_CLK_PCC3_END), clk_data 211 drivers/clk/imx/clk-imx7ulp.c if (!clk_data) clk_data 214 drivers/clk/imx/clk-imx7ulp.c clk_data->num = IMX7ULP_CLK_PCC3_END; clk_data 215 drivers/clk/imx/clk-imx7ulp.c clks = clk_data->hws; clk_data 242 drivers/clk/imx/clk-imx7ulp.c imx_check_clk_hws(clks, clk_data->num); clk_data 244 drivers/clk/imx/clk-imx7ulp.c of_clk_add_hw_provider(np, of_clk_hw_onecell_get, clk_data); clk_data 258 drivers/clk/imx/clk-imx7ulp.c struct clk_hw_onecell_data *clk_data; clk_data 262 drivers/clk/imx/clk-imx7ulp.c clk_data = kzalloc(struct_size(clk_data, hws, IMX7ULP_CLK_SMC1_END), clk_data 264 drivers/clk/imx/clk-imx7ulp.c if (!clk_data) clk_data 267 drivers/clk/imx/clk-imx7ulp.c clk_data->num = IMX7ULP_CLK_SMC1_END; clk_data 268 drivers/clk/imx/clk-imx7ulp.c clks = clk_data->hws; clk_data 276 drivers/clk/imx/clk-imx7ulp.c imx_check_clk_hws(clks, clk_data->num); clk_data 278 drivers/clk/imx/clk-imx7ulp.c of_clk_add_hw_provider(np, of_clk_hw_onecell_get, clk_data); clk_data 358 drivers/clk/imx/clk-imx8mm.c static struct clk_onecell_data clk_data; clk_data 645 drivers/clk/imx/clk-imx8mm.c clk_data.clks = clks; clk_data 646 drivers/clk/imx/clk-imx8mm.c clk_data.clk_num = ARRAY_SIZE(clks); clk_data 647 drivers/clk/imx/clk-imx8mm.c ret = of_clk_add_provider(np, of_clk_src_onecell_get, &clk_data); clk_data 369 drivers/clk/imx/clk-imx8mn.c static struct clk_onecell_data clk_data; clk_data 617 drivers/clk/imx/clk-imx8mn.c clk_data.clks = clks; clk_data 618 drivers/clk/imx/clk-imx8mn.c clk_data.clk_num = ARRAY_SIZE(clks); clk_data 619 drivers/clk/imx/clk-imx8mn.c ret = of_clk_add_provider(np, of_clk_src_onecell_get, &clk_data); clk_data 273 drivers/clk/imx/clk-imx8mq.c static struct clk_onecell_data clk_data; clk_data 561 drivers/clk/imx/clk-imx8mq.c clk_data.clks = clks; clk_data 562 drivers/clk/imx/clk-imx8mq.c clk_data.clk_num = ARRAY_SIZE(clks); clk_data 564 drivers/clk/imx/clk-imx8mq.c err = of_clk_add_provider(np, of_clk_src_onecell_get, &clk_data); clk_data 164 drivers/clk/imx/clk-imx8qxp-lpcg.c struct clk_hw_onecell_data *clk_data; clk_data 183 drivers/clk/imx/clk-imx8qxp-lpcg.c clk_data = devm_kzalloc(&pdev->dev, struct_size(clk_data, hws, clk_data 185 drivers/clk/imx/clk-imx8qxp-lpcg.c if (!clk_data) clk_data 188 drivers/clk/imx/clk-imx8qxp-lpcg.c clk_data->num = ss_lpcg->num_max; clk_data 189 drivers/clk/imx/clk-imx8qxp-lpcg.c clks = clk_data->hws; clk_data 198 drivers/clk/imx/clk-imx8qxp-lpcg.c for (i = 0; i < clk_data->num; i++) { clk_data 204 drivers/clk/imx/clk-imx8qxp-lpcg.c return of_clk_add_hw_provider(np, of_clk_hw_onecell_get, clk_data); clk_data 23 drivers/clk/imx/clk-imx8qxp.c struct clk_hw_onecell_data *clk_data; clk_data 31 drivers/clk/imx/clk-imx8qxp.c clk_data = devm_kzalloc(&pdev->dev, struct_size(clk_data, hws, clk_data 33 drivers/clk/imx/clk-imx8qxp.c if (!clk_data) clk_data 36 drivers/clk/imx/clk-imx8qxp.c clk_data->num = IMX_SCU_CLK_END; clk_data 37 drivers/clk/imx/clk-imx8qxp.c clks = clk_data->hws; clk_data 131 drivers/clk/imx/clk-imx8qxp.c for (i = 0; i < clk_data->num; i++) { clk_data 137 drivers/clk/imx/clk-imx8qxp.c return of_clk_add_hw_provider(ccm_node, of_clk_hw_onecell_get, clk_data); clk_data 113 drivers/clk/imx/clk-vf610.c static struct clk_onecell_data clk_data; clk_data 465 drivers/clk/imx/clk-vf610.c clk_data.clks = clk; clk_data 466 drivers/clk/imx/clk-vf610.c clk_data.clk_num = ARRAY_SIZE(clk); clk_data 467 drivers/clk/imx/clk-vf610.c of_clk_add_provider(np, of_clk_src_onecell_get, &clk_data); clk_data 81 drivers/clk/mediatek/clk-cpumux.c struct clk_onecell_data *clk_data) clk_data 104 drivers/clk/mediatek/clk-cpumux.c clk_data->clks[mux->id] = clk; clk_data 20 drivers/clk/mediatek/clk-cpumux.h struct clk_onecell_data *clk_data); clk_data 148 drivers/clk/mediatek/clk-mt2701-aud.c struct clk_onecell_data *clk_data; clk_data 152 drivers/clk/mediatek/clk-mt2701-aud.c clk_data = mtk_alloc_clk_data(CLK_AUD_NR); clk_data 155 drivers/clk/mediatek/clk-mt2701-aud.c clk_data); clk_data 157 drivers/clk/mediatek/clk-mt2701-aud.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 104 drivers/clk/mediatek/clk-mt2701-bdp.c struct clk_onecell_data *clk_data; clk_data 108 drivers/clk/mediatek/clk-mt2701-bdp.c clk_data = mtk_alloc_clk_data(CLK_BDP_NR); clk_data 111 drivers/clk/mediatek/clk-mt2701-bdp.c clk_data); clk_data 113 drivers/clk/mediatek/clk-mt2701-bdp.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 46 drivers/clk/mediatek/clk-mt2701-eth.c struct clk_onecell_data *clk_data; clk_data 50 drivers/clk/mediatek/clk-mt2701-eth.c clk_data = mtk_alloc_clk_data(CLK_ETHSYS_NR); clk_data 53 drivers/clk/mediatek/clk-mt2701-eth.c clk_data); clk_data 55 drivers/clk/mediatek/clk-mt2701-eth.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 40 drivers/clk/mediatek/clk-mt2701-g3d.c struct clk_onecell_data *clk_data; clk_data 44 drivers/clk/mediatek/clk-mt2701-g3d.c clk_data = mtk_alloc_clk_data(CLK_G3DSYS_NR); clk_data 47 drivers/clk/mediatek/clk-mt2701-g3d.c clk_data); clk_data 49 drivers/clk/mediatek/clk-mt2701-g3d.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 43 drivers/clk/mediatek/clk-mt2701-hif.c struct clk_onecell_data *clk_data; clk_data 47 drivers/clk/mediatek/clk-mt2701-hif.c clk_data = mtk_alloc_clk_data(CLK_HIFSYS_NR); clk_data 50 drivers/clk/mediatek/clk-mt2701-hif.c clk_data); clk_data 52 drivers/clk/mediatek/clk-mt2701-hif.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 46 drivers/clk/mediatek/clk-mt2701-img.c struct clk_onecell_data *clk_data; clk_data 50 drivers/clk/mediatek/clk-mt2701-img.c clk_data = mtk_alloc_clk_data(CLK_IMG_NR); clk_data 53 drivers/clk/mediatek/clk-mt2701-img.c clk_data); clk_data 55 drivers/clk/mediatek/clk-mt2701-img.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 89 drivers/clk/mediatek/clk-mt2701-mm.c struct clk_onecell_data *clk_data; clk_data 93 drivers/clk/mediatek/clk-mt2701-mm.c clk_data = mtk_alloc_clk_data(CLK_MM_NR); clk_data 96 drivers/clk/mediatek/clk-mt2701-mm.c clk_data); clk_data 98 drivers/clk/mediatek/clk-mt2701-mm.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 57 drivers/clk/mediatek/clk-mt2701-vdec.c struct clk_onecell_data *clk_data; clk_data 61 drivers/clk/mediatek/clk-mt2701-vdec.c clk_data = mtk_alloc_clk_data(CLK_VDEC_NR); clk_data 64 drivers/clk/mediatek/clk-mt2701-vdec.c clk_data); clk_data 66 drivers/clk/mediatek/clk-mt2701-vdec.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 668 drivers/clk/mediatek/clk-mt2701.c struct clk_onecell_data *clk_data; clk_data 677 drivers/clk/mediatek/clk-mt2701.c clk_data = mtk_alloc_clk_data(CLK_TOP_NR); clk_data 680 drivers/clk/mediatek/clk-mt2701.c clk_data); clk_data 683 drivers/clk/mediatek/clk-mt2701.c clk_data); clk_data 686 drivers/clk/mediatek/clk-mt2701.c base, &mt2701_clk_lock, clk_data); clk_data 689 drivers/clk/mediatek/clk-mt2701.c base, &mt2701_clk_lock, clk_data); clk_data 692 drivers/clk/mediatek/clk-mt2701.c clk_data); clk_data 694 drivers/clk/mediatek/clk-mt2701.c return of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 888 drivers/clk/mediatek/clk-mt2701.c struct clk_onecell_data *clk_data; clk_data 898 drivers/clk/mediatek/clk-mt2701.c clk_data = mtk_alloc_clk_data(CLK_PERI_NR); clk_data 901 drivers/clk/mediatek/clk-mt2701.c clk_data); clk_data 904 drivers/clk/mediatek/clk-mt2701.c &mt2701_clk_lock, clk_data); clk_data 906 drivers/clk/mediatek/clk-mt2701.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 971 drivers/clk/mediatek/clk-mt2701.c struct clk_onecell_data *clk_data; clk_data 974 drivers/clk/mediatek/clk-mt2701.c clk_data = mtk_alloc_clk_data(CLK_APMIXED_NR); clk_data 975 drivers/clk/mediatek/clk-mt2701.c if (!clk_data) clk_data 979 drivers/clk/mediatek/clk-mt2701.c clk_data); clk_data 981 drivers/clk/mediatek/clk-mt2701.c clk_data); clk_data 983 drivers/clk/mediatek/clk-mt2701.c return of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 63 drivers/clk/mediatek/clk-mt2712-bdp.c struct clk_onecell_data *clk_data; clk_data 67 drivers/clk/mediatek/clk-mt2712-bdp.c clk_data = mtk_alloc_clk_data(CLK_BDP_NR_CLK); clk_data 70 drivers/clk/mediatek/clk-mt2712-bdp.c clk_data); clk_data 72 drivers/clk/mediatek/clk-mt2712-bdp.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 41 drivers/clk/mediatek/clk-mt2712-img.c struct clk_onecell_data *clk_data; clk_data 45 drivers/clk/mediatek/clk-mt2712-img.c clk_data = mtk_alloc_clk_data(CLK_IMG_NR_CLK); clk_data 48 drivers/clk/mediatek/clk-mt2712-img.c clk_data); clk_data 50 drivers/clk/mediatek/clk-mt2712-img.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 37 drivers/clk/mediatek/clk-mt2712-jpgdec.c struct clk_onecell_data *clk_data; clk_data 41 drivers/clk/mediatek/clk-mt2712-jpgdec.c clk_data = mtk_alloc_clk_data(CLK_JPGDEC_NR_CLK); clk_data 44 drivers/clk/mediatek/clk-mt2712-jpgdec.c clk_data); clk_data 46 drivers/clk/mediatek/clk-mt2712-jpgdec.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 36 drivers/clk/mediatek/clk-mt2712-mfg.c struct clk_onecell_data *clk_data; clk_data 40 drivers/clk/mediatek/clk-mt2712-mfg.c clk_data = mtk_alloc_clk_data(CLK_MFG_NR_CLK); clk_data 43 drivers/clk/mediatek/clk-mt2712-mfg.c clk_data); clk_data 45 drivers/clk/mediatek/clk-mt2712-mfg.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 131 drivers/clk/mediatek/clk-mt2712-mm.c struct clk_onecell_data *clk_data; clk_data 135 drivers/clk/mediatek/clk-mt2712-mm.c clk_data = mtk_alloc_clk_data(CLK_MM_NR_CLK); clk_data 138 drivers/clk/mediatek/clk-mt2712-mm.c clk_data); clk_data 140 drivers/clk/mediatek/clk-mt2712-mm.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 55 drivers/clk/mediatek/clk-mt2712-vdec.c struct clk_onecell_data *clk_data; clk_data 59 drivers/clk/mediatek/clk-mt2712-vdec.c clk_data = mtk_alloc_clk_data(CLK_VDEC_NR_CLK); clk_data 62 drivers/clk/mediatek/clk-mt2712-vdec.c clk_data); clk_data 64 drivers/clk/mediatek/clk-mt2712-vdec.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 38 drivers/clk/mediatek/clk-mt2712-venc.c struct clk_onecell_data *clk_data; clk_data 42 drivers/clk/mediatek/clk-mt2712-venc.c clk_data = mtk_alloc_clk_data(CLK_VENC_NR_CLK); clk_data 45 drivers/clk/mediatek/clk-mt2712-venc.c clk_data); clk_data 47 drivers/clk/mediatek/clk-mt2712-venc.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 1262 drivers/clk/mediatek/clk-mt2712.c struct clk_onecell_data *clk_data; clk_data 1266 drivers/clk/mediatek/clk-mt2712.c clk_data = mtk_alloc_clk_data(CLK_APMIXED_NR_CLK); clk_data 1268 drivers/clk/mediatek/clk-mt2712.c mtk_clk_register_plls(node, plls, ARRAY_SIZE(plls), clk_data); clk_data 1270 drivers/clk/mediatek/clk-mt2712.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 1349 drivers/clk/mediatek/clk-mt2712.c struct clk_onecell_data *clk_data; clk_data 1353 drivers/clk/mediatek/clk-mt2712.c clk_data = mtk_alloc_clk_data(CLK_INFRA_NR_CLK); clk_data 1356 drivers/clk/mediatek/clk-mt2712.c clk_data); clk_data 1358 drivers/clk/mediatek/clk-mt2712.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 1371 drivers/clk/mediatek/clk-mt2712.c struct clk_onecell_data *clk_data; clk_data 1375 drivers/clk/mediatek/clk-mt2712.c clk_data = mtk_alloc_clk_data(CLK_PERI_NR_CLK); clk_data 1378 drivers/clk/mediatek/clk-mt2712.c clk_data); clk_data 1380 drivers/clk/mediatek/clk-mt2712.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 1393 drivers/clk/mediatek/clk-mt2712.c struct clk_onecell_data *clk_data; clk_data 1405 drivers/clk/mediatek/clk-mt2712.c clk_data = mtk_alloc_clk_data(CLK_MCU_NR_CLK); clk_data 1408 drivers/clk/mediatek/clk-mt2712.c &mt2712_clk_lock, clk_data); clk_data 1410 drivers/clk/mediatek/clk-mt2712.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 98 drivers/clk/mediatek/clk-mt6779-aud.c struct clk_onecell_data *clk_data; clk_data 101 drivers/clk/mediatek/clk-mt6779-aud.c clk_data = mtk_alloc_clk_data(CLK_AUD_NR_CLK); clk_data 104 drivers/clk/mediatek/clk-mt6779-aud.c clk_data); clk_data 106 drivers/clk/mediatek/clk-mt6779-aud.c return of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 47 drivers/clk/mediatek/clk-mt6779-cam.c struct clk_onecell_data *clk_data; clk_data 50 drivers/clk/mediatek/clk-mt6779-cam.c clk_data = mtk_alloc_clk_data(CLK_CAM_NR_CLK); clk_data 53 drivers/clk/mediatek/clk-mt6779-cam.c clk_data); clk_data 55 drivers/clk/mediatek/clk-mt6779-cam.c return of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 39 drivers/clk/mediatek/clk-mt6779-img.c struct clk_onecell_data *clk_data; clk_data 42 drivers/clk/mediatek/clk-mt6779-img.c clk_data = mtk_alloc_clk_data(CLK_IMG_NR_CLK); clk_data 45 drivers/clk/mediatek/clk-mt6779-img.c clk_data); clk_data 47 drivers/clk/mediatek/clk-mt6779-img.c return of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 41 drivers/clk/mediatek/clk-mt6779-ipe.c struct clk_onecell_data *clk_data; clk_data 44 drivers/clk/mediatek/clk-mt6779-ipe.c clk_data = mtk_alloc_clk_data(CLK_IPE_NR_CLK); clk_data 47 drivers/clk/mediatek/clk-mt6779-ipe.c clk_data); clk_data 49 drivers/clk/mediatek/clk-mt6779-ipe.c return of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 31 drivers/clk/mediatek/clk-mt6779-mfg.c struct clk_onecell_data *clk_data; clk_data 34 drivers/clk/mediatek/clk-mt6779-mfg.c clk_data = mtk_alloc_clk_data(CLK_MFGCFG_NR_CLK); clk_data 37 drivers/clk/mediatek/clk-mt6779-mfg.c clk_data); clk_data 39 drivers/clk/mediatek/clk-mt6779-mfg.c return of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 94 drivers/clk/mediatek/clk-mt6779-mm.c struct clk_onecell_data *clk_data; clk_data 97 drivers/clk/mediatek/clk-mt6779-mm.c clk_data = mtk_alloc_clk_data(CLK_MM_NR_CLK); clk_data 100 drivers/clk/mediatek/clk-mt6779-mm.c clk_data); clk_data 102 drivers/clk/mediatek/clk-mt6779-mm.c return of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 48 drivers/clk/mediatek/clk-mt6779-vdec.c struct clk_onecell_data *clk_data; clk_data 51 drivers/clk/mediatek/clk-mt6779-vdec.c clk_data = mtk_alloc_clk_data(CLK_VDEC_GCON_NR_CLK); clk_data 54 drivers/clk/mediatek/clk-mt6779-vdec.c clk_data); clk_data 56 drivers/clk/mediatek/clk-mt6779-vdec.c return of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 39 drivers/clk/mediatek/clk-mt6779-venc.c struct clk_onecell_data *clk_data; clk_data 42 drivers/clk/mediatek/clk-mt6779-venc.c clk_data = mtk_alloc_clk_data(CLK_VENC_GCON_NR_CLK); clk_data 45 drivers/clk/mediatek/clk-mt6779-venc.c clk_data); clk_data 47 drivers/clk/mediatek/clk-mt6779-venc.c return of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 1213 drivers/clk/mediatek/clk-mt6779.c struct clk_onecell_data *clk_data; clk_data 1216 drivers/clk/mediatek/clk-mt6779.c clk_data = mtk_alloc_clk_data(CLK_APMIXED_NR_CLK); clk_data 1218 drivers/clk/mediatek/clk-mt6779.c mtk_clk_register_plls(node, plls, ARRAY_SIZE(plls), clk_data); clk_data 1221 drivers/clk/mediatek/clk-mt6779.c ARRAY_SIZE(apmixed_clks), clk_data); clk_data 1223 drivers/clk/mediatek/clk-mt6779.c return of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 1230 drivers/clk/mediatek/clk-mt6779.c struct clk_onecell_data *clk_data; clk_data 1237 drivers/clk/mediatek/clk-mt6779.c clk_data = mtk_alloc_clk_data(CLK_TOP_NR_CLK); clk_data 1240 drivers/clk/mediatek/clk-mt6779.c clk_data); clk_data 1242 drivers/clk/mediatek/clk-mt6779.c mtk_clk_register_factors(top_divs, ARRAY_SIZE(top_divs), clk_data); clk_data 1245 drivers/clk/mediatek/clk-mt6779.c node, &mt6779_clk_lock, clk_data); clk_data 1248 drivers/clk/mediatek/clk-mt6779.c base, &mt6779_clk_lock, clk_data); clk_data 1251 drivers/clk/mediatek/clk-mt6779.c base, &mt6779_clk_lock, clk_data); clk_data 1253 drivers/clk/mediatek/clk-mt6779.c return of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 1258 drivers/clk/mediatek/clk-mt6779.c struct clk_onecell_data *clk_data; clk_data 1261 drivers/clk/mediatek/clk-mt6779.c clk_data = mtk_alloc_clk_data(CLK_INFRA_NR_CLK); clk_data 1264 drivers/clk/mediatek/clk-mt6779.c clk_data); clk_data 1266 drivers/clk/mediatek/clk-mt6779.c return of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 42 drivers/clk/mediatek/clk-mt6797-img.c struct clk_onecell_data *clk_data; clk_data 46 drivers/clk/mediatek/clk-mt6797-img.c clk_data = mtk_alloc_clk_data(CLK_IMG_NR); clk_data 49 drivers/clk/mediatek/clk-mt6797-img.c clk_data); clk_data 51 drivers/clk/mediatek/clk-mt6797-img.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 102 drivers/clk/mediatek/clk-mt6797-mm.c struct clk_onecell_data *clk_data; clk_data 106 drivers/clk/mediatek/clk-mt6797-mm.c clk_data = mtk_alloc_clk_data(CLK_MM_NR); clk_data 109 drivers/clk/mediatek/clk-mt6797-mm.c clk_data); clk_data 111 drivers/clk/mediatek/clk-mt6797-mm.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 59 drivers/clk/mediatek/clk-mt6797-vdec.c struct clk_onecell_data *clk_data; clk_data 63 drivers/clk/mediatek/clk-mt6797-vdec.c clk_data = mtk_alloc_clk_data(CLK_VDEC_NR); clk_data 66 drivers/clk/mediatek/clk-mt6797-vdec.c clk_data); clk_data 68 drivers/clk/mediatek/clk-mt6797-vdec.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 44 drivers/clk/mediatek/clk-mt6797-venc.c struct clk_onecell_data *clk_data; clk_data 48 drivers/clk/mediatek/clk-mt6797-venc.c clk_data = mtk_alloc_clk_data(CLK_VENC_NR); clk_data 51 drivers/clk/mediatek/clk-mt6797-venc.c clk_data); clk_data 53 drivers/clk/mediatek/clk-mt6797-venc.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 385 drivers/clk/mediatek/clk-mt6797.c struct clk_onecell_data *clk_data; clk_data 394 drivers/clk/mediatek/clk-mt6797.c clk_data = mtk_alloc_clk_data(CLK_TOP_NR); clk_data 397 drivers/clk/mediatek/clk-mt6797.c clk_data); clk_data 400 drivers/clk/mediatek/clk-mt6797.c &mt6797_clk_lock, clk_data); clk_data 402 drivers/clk/mediatek/clk-mt6797.c return of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 666 drivers/clk/mediatek/clk-mt6797.c struct clk_onecell_data *clk_data; clk_data 669 drivers/clk/mediatek/clk-mt6797.c clk_data = mtk_alloc_clk_data(CLK_APMIXED_NR); clk_data 670 drivers/clk/mediatek/clk-mt6797.c if (!clk_data) clk_data 673 drivers/clk/mediatek/clk-mt6797.c mtk_clk_register_plls(node, plls, ARRAY_SIZE(plls), clk_data); clk_data 675 drivers/clk/mediatek/clk-mt6797.c return of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 135 drivers/clk/mediatek/clk-mt7622-aud.c struct clk_onecell_data *clk_data; clk_data 139 drivers/clk/mediatek/clk-mt7622-aud.c clk_data = mtk_alloc_clk_data(CLK_AUDIO_NR_CLK); clk_data 142 drivers/clk/mediatek/clk-mt7622-aud.c clk_data); clk_data 144 drivers/clk/mediatek/clk-mt7622-aud.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 70 drivers/clk/mediatek/clk-mt7622-eth.c struct clk_onecell_data *clk_data; clk_data 74 drivers/clk/mediatek/clk-mt7622-eth.c clk_data = mtk_alloc_clk_data(CLK_ETH_NR_CLK); clk_data 77 drivers/clk/mediatek/clk-mt7622-eth.c clk_data); clk_data 79 drivers/clk/mediatek/clk-mt7622-eth.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 92 drivers/clk/mediatek/clk-mt7622-eth.c struct clk_onecell_data *clk_data; clk_data 96 drivers/clk/mediatek/clk-mt7622-eth.c clk_data = mtk_alloc_clk_data(CLK_SGMII_NR_CLK); clk_data 99 drivers/clk/mediatek/clk-mt7622-eth.c clk_data); clk_data 101 drivers/clk/mediatek/clk-mt7622-eth.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 81 drivers/clk/mediatek/clk-mt7622-hif.c struct clk_onecell_data *clk_data; clk_data 85 drivers/clk/mediatek/clk-mt7622-hif.c clk_data = mtk_alloc_clk_data(CLK_SSUSB_NR_CLK); clk_data 88 drivers/clk/mediatek/clk-mt7622-hif.c clk_data); clk_data 90 drivers/clk/mediatek/clk-mt7622-hif.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 103 drivers/clk/mediatek/clk-mt7622-hif.c struct clk_onecell_data *clk_data; clk_data 107 drivers/clk/mediatek/clk-mt7622-hif.c clk_data = mtk_alloc_clk_data(CLK_PCIE_NR_CLK); clk_data 110 drivers/clk/mediatek/clk-mt7622-hif.c clk_data); clk_data 112 drivers/clk/mediatek/clk-mt7622-hif.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 614 drivers/clk/mediatek/clk-mt7622.c struct clk_onecell_data *clk_data; clk_data 623 drivers/clk/mediatek/clk-mt7622.c clk_data = mtk_alloc_clk_data(CLK_TOP_NR_CLK); clk_data 626 drivers/clk/mediatek/clk-mt7622.c clk_data); clk_data 629 drivers/clk/mediatek/clk-mt7622.c clk_data); clk_data 632 drivers/clk/mediatek/clk-mt7622.c base, &mt7622_clk_lock, clk_data); clk_data 635 drivers/clk/mediatek/clk-mt7622.c base, &mt7622_clk_lock, clk_data); clk_data 638 drivers/clk/mediatek/clk-mt7622.c clk_data); clk_data 640 drivers/clk/mediatek/clk-mt7622.c clk_prepare_enable(clk_data->clks[CLK_TOP_AXI_SEL]); clk_data 641 drivers/clk/mediatek/clk-mt7622.c clk_prepare_enable(clk_data->clks[CLK_TOP_MEM_SEL]); clk_data 642 drivers/clk/mediatek/clk-mt7622.c clk_prepare_enable(clk_data->clks[CLK_TOP_DDRPHYCFG_SEL]); clk_data 644 drivers/clk/mediatek/clk-mt7622.c return of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 650 drivers/clk/mediatek/clk-mt7622.c struct clk_onecell_data *clk_data; clk_data 653 drivers/clk/mediatek/clk-mt7622.c clk_data = mtk_alloc_clk_data(CLK_INFRA_NR_CLK); clk_data 656 drivers/clk/mediatek/clk-mt7622.c clk_data); clk_data 659 drivers/clk/mediatek/clk-mt7622.c clk_data); clk_data 662 drivers/clk/mediatek/clk-mt7622.c clk_data); clk_data 673 drivers/clk/mediatek/clk-mt7622.c struct clk_onecell_data *clk_data; clk_data 676 drivers/clk/mediatek/clk-mt7622.c clk_data = mtk_alloc_clk_data(CLK_APMIXED_NR_CLK); clk_data 677 drivers/clk/mediatek/clk-mt7622.c if (!clk_data) clk_data 681 drivers/clk/mediatek/clk-mt7622.c clk_data); clk_data 684 drivers/clk/mediatek/clk-mt7622.c ARRAY_SIZE(apmixed_clks), clk_data); clk_data 686 drivers/clk/mediatek/clk-mt7622.c clk_prepare_enable(clk_data->clks[CLK_APMIXED_ARMPLL]); clk_data 687 drivers/clk/mediatek/clk-mt7622.c clk_prepare_enable(clk_data->clks[CLK_APMIXED_MAIN_CORE_EN]); clk_data 689 drivers/clk/mediatek/clk-mt7622.c return of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 694 drivers/clk/mediatek/clk-mt7622.c struct clk_onecell_data *clk_data; clk_data 704 drivers/clk/mediatek/clk-mt7622.c clk_data = mtk_alloc_clk_data(CLK_PERI_NR_CLK); clk_data 707 drivers/clk/mediatek/clk-mt7622.c clk_data); clk_data 710 drivers/clk/mediatek/clk-mt7622.c &mt7622_clk_lock, clk_data); clk_data 712 drivers/clk/mediatek/clk-mt7622.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 716 drivers/clk/mediatek/clk-mt7622.c clk_prepare_enable(clk_data->clks[CLK_PERI_UART0_PD]); clk_data 81 drivers/clk/mediatek/clk-mt7629-eth.c struct clk_onecell_data *clk_data; clk_data 85 drivers/clk/mediatek/clk-mt7629-eth.c clk_data = mtk_alloc_clk_data(CLK_ETH_NR_CLK); clk_data 87 drivers/clk/mediatek/clk-mt7629-eth.c mtk_clk_register_gates(node, eth_clks, CLK_ETH_NR_CLK, clk_data); clk_data 89 drivers/clk/mediatek/clk-mt7629-eth.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 102 drivers/clk/mediatek/clk-mt7629-eth.c struct clk_onecell_data *clk_data; clk_data 107 drivers/clk/mediatek/clk-mt7629-eth.c clk_data = mtk_alloc_clk_data(CLK_SGMII_NR_CLK); clk_data 110 drivers/clk/mediatek/clk-mt7629-eth.c clk_data); clk_data 112 drivers/clk/mediatek/clk-mt7629-eth.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 76 drivers/clk/mediatek/clk-mt7629-hif.c struct clk_onecell_data *clk_data; clk_data 80 drivers/clk/mediatek/clk-mt7629-hif.c clk_data = mtk_alloc_clk_data(CLK_SSUSB_NR_CLK); clk_data 83 drivers/clk/mediatek/clk-mt7629-hif.c clk_data); clk_data 85 drivers/clk/mediatek/clk-mt7629-hif.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 98 drivers/clk/mediatek/clk-mt7629-hif.c struct clk_onecell_data *clk_data; clk_data 102 drivers/clk/mediatek/clk-mt7629-hif.c clk_data = mtk_alloc_clk_data(CLK_PCIE_NR_CLK); clk_data 105 drivers/clk/mediatek/clk-mt7629-hif.c clk_data); clk_data 107 drivers/clk/mediatek/clk-mt7629-hif.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 574 drivers/clk/mediatek/clk-mt7629.c struct clk_onecell_data *clk_data; clk_data 583 drivers/clk/mediatek/clk-mt7629.c clk_data = mtk_alloc_clk_data(CLK_TOP_NR_CLK); clk_data 586 drivers/clk/mediatek/clk-mt7629.c clk_data); clk_data 589 drivers/clk/mediatek/clk-mt7629.c clk_data); clk_data 592 drivers/clk/mediatek/clk-mt7629.c base, &mt7629_clk_lock, clk_data); clk_data 594 drivers/clk/mediatek/clk-mt7629.c clk_prepare_enable(clk_data->clks[CLK_TOP_AXI_SEL]); clk_data 595 drivers/clk/mediatek/clk-mt7629.c clk_prepare_enable(clk_data->clks[CLK_TOP_MEM_SEL]); clk_data 596 drivers/clk/mediatek/clk-mt7629.c clk_prepare_enable(clk_data->clks[CLK_TOP_DDRPHYCFG_SEL]); clk_data 598 drivers/clk/mediatek/clk-mt7629.c return of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 604 drivers/clk/mediatek/clk-mt7629.c struct clk_onecell_data *clk_data; clk_data 607 drivers/clk/mediatek/clk-mt7629.c clk_data = mtk_alloc_clk_data(CLK_INFRA_NR_CLK); clk_data 610 drivers/clk/mediatek/clk-mt7629.c clk_data); clk_data 613 drivers/clk/mediatek/clk-mt7629.c clk_data); clk_data 616 drivers/clk/mediatek/clk-mt7629.c clk_data); clk_data 625 drivers/clk/mediatek/clk-mt7629.c struct clk_onecell_data *clk_data; clk_data 635 drivers/clk/mediatek/clk-mt7629.c clk_data = mtk_alloc_clk_data(CLK_PERI_NR_CLK); clk_data 638 drivers/clk/mediatek/clk-mt7629.c clk_data); clk_data 641 drivers/clk/mediatek/clk-mt7629.c &mt7629_clk_lock, clk_data); clk_data 643 drivers/clk/mediatek/clk-mt7629.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 647 drivers/clk/mediatek/clk-mt7629.c clk_prepare_enable(clk_data->clks[CLK_PERI_UART0_PD]); clk_data 654 drivers/clk/mediatek/clk-mt7629.c struct clk_onecell_data *clk_data; clk_data 657 drivers/clk/mediatek/clk-mt7629.c clk_data = mtk_alloc_clk_data(CLK_APMIXED_NR_CLK); clk_data 658 drivers/clk/mediatek/clk-mt7629.c if (!clk_data) clk_data 662 drivers/clk/mediatek/clk-mt7629.c clk_data); clk_data 665 drivers/clk/mediatek/clk-mt7629.c ARRAY_SIZE(apmixed_clks), clk_data); clk_data 667 drivers/clk/mediatek/clk-mt7629.c clk_prepare_enable(clk_data->clks[CLK_APMIXED_ARMPLL]); clk_data 668 drivers/clk/mediatek/clk-mt7629.c clk_prepare_enable(clk_data->clks[CLK_APMIXED_MAIN_CORE_EN]); clk_data 670 drivers/clk/mediatek/clk-mt7629.c return of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 518 drivers/clk/mediatek/clk-mt8135.c struct clk_onecell_data *clk_data; clk_data 528 drivers/clk/mediatek/clk-mt8135.c clk_data = mtk_alloc_clk_data(CLK_TOP_NR_CLK); clk_data 530 drivers/clk/mediatek/clk-mt8135.c mtk_clk_register_factors(root_clk_alias, ARRAY_SIZE(root_clk_alias), clk_data); clk_data 531 drivers/clk/mediatek/clk-mt8135.c mtk_clk_register_factors(top_divs, ARRAY_SIZE(top_divs), clk_data); clk_data 533 drivers/clk/mediatek/clk-mt8135.c &mt8135_clk_lock, clk_data); clk_data 535 drivers/clk/mediatek/clk-mt8135.c clk_prepare_enable(clk_data->clks[CLK_TOP_CCI_SEL]); clk_data 537 drivers/clk/mediatek/clk-mt8135.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 546 drivers/clk/mediatek/clk-mt8135.c struct clk_onecell_data *clk_data; clk_data 549 drivers/clk/mediatek/clk-mt8135.c clk_data = mtk_alloc_clk_data(CLK_INFRA_NR_CLK); clk_data 552 drivers/clk/mediatek/clk-mt8135.c clk_data); clk_data 554 drivers/clk/mediatek/clk-mt8135.c clk_prepare_enable(clk_data->clks[CLK_INFRA_M4U]); clk_data 556 drivers/clk/mediatek/clk-mt8135.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 567 drivers/clk/mediatek/clk-mt8135.c struct clk_onecell_data *clk_data; clk_data 577 drivers/clk/mediatek/clk-mt8135.c clk_data = mtk_alloc_clk_data(CLK_PERI_NR_CLK); clk_data 580 drivers/clk/mediatek/clk-mt8135.c clk_data); clk_data 582 drivers/clk/mediatek/clk-mt8135.c &mt8135_clk_lock, clk_data); clk_data 584 drivers/clk/mediatek/clk-mt8135.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 628 drivers/clk/mediatek/clk-mt8135.c struct clk_onecell_data *clk_data; clk_data 630 drivers/clk/mediatek/clk-mt8135.c clk_data = mtk_alloc_clk_data(CLK_APMIXED_NR_CLK); clk_data 631 drivers/clk/mediatek/clk-mt8135.c if (!clk_data) clk_data 634 drivers/clk/mediatek/clk-mt8135.c mtk_clk_register_plls(node, plls, ARRAY_SIZE(plls), clk_data); clk_data 926 drivers/clk/mediatek/clk-mt8173.c struct clk_onecell_data *clk_data; clk_data 936 drivers/clk/mediatek/clk-mt8173.c mt8173_top_clk_data = clk_data = mtk_alloc_clk_data(CLK_TOP_NR_CLK); clk_data 938 drivers/clk/mediatek/clk-mt8173.c mtk_clk_register_fixed_clks(fixed_clks, ARRAY_SIZE(fixed_clks), clk_data); clk_data 939 drivers/clk/mediatek/clk-mt8173.c mtk_clk_register_factors(top_divs, ARRAY_SIZE(top_divs), clk_data); clk_data 941 drivers/clk/mediatek/clk-mt8173.c &mt8173_clk_lock, clk_data); clk_data 943 drivers/clk/mediatek/clk-mt8173.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 954 drivers/clk/mediatek/clk-mt8173.c struct clk_onecell_data *clk_data; clk_data 957 drivers/clk/mediatek/clk-mt8173.c clk_data = mtk_alloc_clk_data(CLK_INFRA_NR_CLK); clk_data 960 drivers/clk/mediatek/clk-mt8173.c clk_data); clk_data 961 drivers/clk/mediatek/clk-mt8173.c mtk_clk_register_factors(infra_divs, ARRAY_SIZE(infra_divs), clk_data); clk_data 964 drivers/clk/mediatek/clk-mt8173.c clk_data); clk_data 966 drivers/clk/mediatek/clk-mt8173.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 977 drivers/clk/mediatek/clk-mt8173.c struct clk_onecell_data *clk_data; clk_data 987 drivers/clk/mediatek/clk-mt8173.c clk_data = mtk_alloc_clk_data(CLK_PERI_NR_CLK); clk_data 990 drivers/clk/mediatek/clk-mt8173.c clk_data); clk_data 992 drivers/clk/mediatek/clk-mt8173.c &mt8173_clk_lock, clk_data); clk_data 994 drivers/clk/mediatek/clk-mt8173.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 1080 drivers/clk/mediatek/clk-mt8173.c struct clk_onecell_data *clk_data; clk_data 1091 drivers/clk/mediatek/clk-mt8173.c mt8173_pll_clk_data = clk_data = mtk_alloc_clk_data(CLK_APMIXED_NR_CLK); clk_data 1092 drivers/clk/mediatek/clk-mt8173.c if (!clk_data) { clk_data 1097 drivers/clk/mediatek/clk-mt8173.c mtk_clk_register_plls(node, plls, ARRAY_SIZE(plls), clk_data); clk_data 1111 drivers/clk/mediatek/clk-mt8173.c clk_data->clks[cku->id] = clk; clk_data 1117 drivers/clk/mediatek/clk-mt8173.c clk_data->clks[CLK_APMIXED_HDMI_REF] = clk; clk_data 1119 drivers/clk/mediatek/clk-mt8173.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 1131 drivers/clk/mediatek/clk-mt8173.c struct clk_onecell_data *clk_data; clk_data 1134 drivers/clk/mediatek/clk-mt8173.c clk_data = mtk_alloc_clk_data(CLK_IMG_NR_CLK); clk_data 1137 drivers/clk/mediatek/clk-mt8173.c clk_data); clk_data 1139 drivers/clk/mediatek/clk-mt8173.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 1149 drivers/clk/mediatek/clk-mt8173.c struct clk_onecell_data *clk_data; clk_data 1152 drivers/clk/mediatek/clk-mt8173.c clk_data = mtk_alloc_clk_data(CLK_MM_NR_CLK); clk_data 1155 drivers/clk/mediatek/clk-mt8173.c clk_data); clk_data 1157 drivers/clk/mediatek/clk-mt8173.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 1166 drivers/clk/mediatek/clk-mt8173.c struct clk_onecell_data *clk_data; clk_data 1169 drivers/clk/mediatek/clk-mt8173.c clk_data = mtk_alloc_clk_data(CLK_VDEC_NR_CLK); clk_data 1172 drivers/clk/mediatek/clk-mt8173.c clk_data); clk_data 1174 drivers/clk/mediatek/clk-mt8173.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 1183 drivers/clk/mediatek/clk-mt8173.c struct clk_onecell_data *clk_data; clk_data 1186 drivers/clk/mediatek/clk-mt8173.c clk_data = mtk_alloc_clk_data(CLK_VENC_NR_CLK); clk_data 1189 drivers/clk/mediatek/clk-mt8173.c clk_data); clk_data 1191 drivers/clk/mediatek/clk-mt8173.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 1200 drivers/clk/mediatek/clk-mt8173.c struct clk_onecell_data *clk_data; clk_data 1203 drivers/clk/mediatek/clk-mt8173.c clk_data = mtk_alloc_clk_data(CLK_VENCLT_NR_CLK); clk_data 1206 drivers/clk/mediatek/clk-mt8173.c clk_data); clk_data 1208 drivers/clk/mediatek/clk-mt8173.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 72 drivers/clk/mediatek/clk-mt8183-audio.c struct clk_onecell_data *clk_data; clk_data 76 drivers/clk/mediatek/clk-mt8183-audio.c clk_data = mtk_alloc_clk_data(CLK_AUDIO_NR_CLK); clk_data 79 drivers/clk/mediatek/clk-mt8183-audio.c clk_data); clk_data 81 drivers/clk/mediatek/clk-mt8183-audio.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 39 drivers/clk/mediatek/clk-mt8183-cam.c struct clk_onecell_data *clk_data; clk_data 42 drivers/clk/mediatek/clk-mt8183-cam.c clk_data = mtk_alloc_clk_data(CLK_CAM_NR_CLK); clk_data 45 drivers/clk/mediatek/clk-mt8183-cam.c clk_data); clk_data 47 drivers/clk/mediatek/clk-mt8183-cam.c return of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 39 drivers/clk/mediatek/clk-mt8183-img.c struct clk_onecell_data *clk_data; clk_data 42 drivers/clk/mediatek/clk-mt8183-img.c clk_data = mtk_alloc_clk_data(CLK_IMG_NR_CLK); clk_data 45 drivers/clk/mediatek/clk-mt8183-img.c clk_data); clk_data 47 drivers/clk/mediatek/clk-mt8183-img.c return of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 32 drivers/clk/mediatek/clk-mt8183-ipu0.c struct clk_onecell_data *clk_data; clk_data 35 drivers/clk/mediatek/clk-mt8183-ipu0.c clk_data = mtk_alloc_clk_data(CLK_IPU_CORE0_NR_CLK); clk_data 38 drivers/clk/mediatek/clk-mt8183-ipu0.c clk_data); clk_data 40 drivers/clk/mediatek/clk-mt8183-ipu0.c return of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 32 drivers/clk/mediatek/clk-mt8183-ipu1.c struct clk_onecell_data *clk_data; clk_data 35 drivers/clk/mediatek/clk-mt8183-ipu1.c clk_data = mtk_alloc_clk_data(CLK_IPU_CORE1_NR_CLK); clk_data 38 drivers/clk/mediatek/clk-mt8183-ipu1.c clk_data); clk_data 40 drivers/clk/mediatek/clk-mt8183-ipu1.c return of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 30 drivers/clk/mediatek/clk-mt8183-ipu_adl.c struct clk_onecell_data *clk_data; clk_data 33 drivers/clk/mediatek/clk-mt8183-ipu_adl.c clk_data = mtk_alloc_clk_data(CLK_IPU_ADL_NR_CLK); clk_data 36 drivers/clk/mediatek/clk-mt8183-ipu_adl.c clk_data); clk_data 38 drivers/clk/mediatek/clk-mt8183-ipu_adl.c return of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 99 drivers/clk/mediatek/clk-mt8183-ipu_conn.c struct clk_onecell_data *clk_data; clk_data 102 drivers/clk/mediatek/clk-mt8183-ipu_conn.c clk_data = mtk_alloc_clk_data(CLK_IPU_CONN_NR_CLK); clk_data 105 drivers/clk/mediatek/clk-mt8183-ipu_conn.c clk_data); clk_data 107 drivers/clk/mediatek/clk-mt8183-ipu_conn.c return of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 31 drivers/clk/mediatek/clk-mt8183-mfgcfg.c struct clk_onecell_data *clk_data; clk_data 36 drivers/clk/mediatek/clk-mt8183-mfgcfg.c clk_data = mtk_alloc_clk_data(CLK_MFG_NR_CLK); clk_data 39 drivers/clk/mediatek/clk-mt8183-mfgcfg.c clk_data, &pdev->dev); clk_data 41 drivers/clk/mediatek/clk-mt8183-mfgcfg.c return of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 87 drivers/clk/mediatek/clk-mt8183-mm.c struct clk_onecell_data *clk_data; clk_data 90 drivers/clk/mediatek/clk-mt8183-mm.c clk_data = mtk_alloc_clk_data(CLK_MM_NR_CLK); clk_data 93 drivers/clk/mediatek/clk-mt8183-mm.c clk_data); clk_data 95 drivers/clk/mediatek/clk-mt8183-mm.c return of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 43 drivers/clk/mediatek/clk-mt8183-vdec.c struct clk_onecell_data *clk_data; clk_data 46 drivers/clk/mediatek/clk-mt8183-vdec.c clk_data = mtk_alloc_clk_data(CLK_VDEC_NR_CLK); clk_data 49 drivers/clk/mediatek/clk-mt8183-vdec.c clk_data); clk_data 51 drivers/clk/mediatek/clk-mt8183-vdec.c return of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 35 drivers/clk/mediatek/clk-mt8183-venc.c struct clk_onecell_data *clk_data; clk_data 38 drivers/clk/mediatek/clk-mt8183-venc.c clk_data = mtk_alloc_clk_data(CLK_VENC_NR_CLK); clk_data 41 drivers/clk/mediatek/clk-mt8183-venc.c clk_data); clk_data 43 drivers/clk/mediatek/clk-mt8183-venc.c return of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 1157 drivers/clk/mediatek/clk-mt8183.c struct clk_onecell_data *clk_data; clk_data 1160 drivers/clk/mediatek/clk-mt8183.c clk_data = mtk_alloc_clk_data(CLK_APMIXED_NR_CLK); clk_data 1162 drivers/clk/mediatek/clk-mt8183.c mtk_clk_register_plls(node, plls, ARRAY_SIZE(plls), clk_data); clk_data 1165 drivers/clk/mediatek/clk-mt8183.c clk_data); clk_data 1167 drivers/clk/mediatek/clk-mt8183.c return of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 1225 drivers/clk/mediatek/clk-mt8183.c struct clk_onecell_data *clk_data; clk_data 1229 drivers/clk/mediatek/clk-mt8183.c clk_data = mtk_alloc_clk_data(CLK_INFRA_NR_CLK); clk_data 1232 drivers/clk/mediatek/clk-mt8183.c clk_data); clk_data 1234 drivers/clk/mediatek/clk-mt8183.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 1249 drivers/clk/mediatek/clk-mt8183.c struct clk_onecell_data *clk_data; clk_data 1252 drivers/clk/mediatek/clk-mt8183.c clk_data = mtk_alloc_clk_data(CLK_PERI_NR_CLK); clk_data 1255 drivers/clk/mediatek/clk-mt8183.c clk_data); clk_data 1257 drivers/clk/mediatek/clk-mt8183.c return of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 1262 drivers/clk/mediatek/clk-mt8183.c struct clk_onecell_data *clk_data; clk_data 1271 drivers/clk/mediatek/clk-mt8183.c clk_data = mtk_alloc_clk_data(CLK_MCU_NR_CLK); clk_data 1274 drivers/clk/mediatek/clk-mt8183.c &mt8183_clk_lock, clk_data); clk_data 1276 drivers/clk/mediatek/clk-mt8183.c return of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 52 drivers/clk/mediatek/clk-mt8516-aud.c struct clk_onecell_data *clk_data; clk_data 55 drivers/clk/mediatek/clk-mt8516-aud.c clk_data = mtk_alloc_clk_data(CLK_AUD_NR_CLK); clk_data 57 drivers/clk/mediatek/clk-mt8516-aud.c mtk_clk_register_gates(node, aud_clks, ARRAY_SIZE(aud_clks), clk_data); clk_data 59 drivers/clk/mediatek/clk-mt8516-aud.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 679 drivers/clk/mediatek/clk-mt8516.c struct clk_onecell_data *clk_data; clk_data 689 drivers/clk/mediatek/clk-mt8516.c clk_data = mtk_alloc_clk_data(CLK_TOP_NR_CLK); clk_data 692 drivers/clk/mediatek/clk-mt8516.c clk_data); clk_data 693 drivers/clk/mediatek/clk-mt8516.c mtk_clk_register_gates(node, top_clks, ARRAY_SIZE(top_clks), clk_data); clk_data 695 drivers/clk/mediatek/clk-mt8516.c mtk_clk_register_factors(top_divs, ARRAY_SIZE(top_divs), clk_data); clk_data 697 drivers/clk/mediatek/clk-mt8516.c &mt8516_clk_lock, clk_data); clk_data 699 drivers/clk/mediatek/clk-mt8516.c base, &mt8516_clk_lock, clk_data); clk_data 701 drivers/clk/mediatek/clk-mt8516.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 710 drivers/clk/mediatek/clk-mt8516.c struct clk_onecell_data *clk_data; clk_data 720 drivers/clk/mediatek/clk-mt8516.c clk_data = mtk_alloc_clk_data(CLK_IFR_NR_CLK); clk_data 723 drivers/clk/mediatek/clk-mt8516.c &mt8516_clk_lock, clk_data); clk_data 725 drivers/clk/mediatek/clk-mt8516.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 789 drivers/clk/mediatek/clk-mt8516.c struct clk_onecell_data *clk_data; clk_data 799 drivers/clk/mediatek/clk-mt8516.c clk_data = mtk_alloc_clk_data(CLK_APMIXED_NR_CLK); clk_data 801 drivers/clk/mediatek/clk-mt8516.c mtk_clk_register_plls(node, plls, ARRAY_SIZE(plls), clk_data); clk_data 803 drivers/clk/mediatek/clk-mt8516.c r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 23 drivers/clk/mediatek/clk-mtk.c struct clk_onecell_data *clk_data; clk_data 25 drivers/clk/mediatek/clk-mtk.c clk_data = kzalloc(sizeof(*clk_data), GFP_KERNEL); clk_data 26 drivers/clk/mediatek/clk-mtk.c if (!clk_data) clk_data 29 drivers/clk/mediatek/clk-mtk.c clk_data->clks = kcalloc(clk_num, sizeof(*clk_data->clks), GFP_KERNEL); clk_data 30 drivers/clk/mediatek/clk-mtk.c if (!clk_data->clks) clk_data 33 drivers/clk/mediatek/clk-mtk.c clk_data->clk_num = clk_num; clk_data 36 drivers/clk/mediatek/clk-mtk.c clk_data->clks[i] = ERR_PTR(-ENOENT); clk_data 38 drivers/clk/mediatek/clk-mtk.c return clk_data; clk_data 40 drivers/clk/mediatek/clk-mtk.c kfree(clk_data); clk_data 46 drivers/clk/mediatek/clk-mtk.c int num, struct clk_onecell_data *clk_data) clk_data 54 drivers/clk/mediatek/clk-mtk.c if (clk_data && !IS_ERR_OR_NULL(clk_data->clks[rc->id])) clk_data 66 drivers/clk/mediatek/clk-mtk.c if (clk_data) clk_data 67 drivers/clk/mediatek/clk-mtk.c clk_data->clks[rc->id] = clk; clk_data 72 drivers/clk/mediatek/clk-mtk.c int num, struct clk_onecell_data *clk_data) clk_data 80 drivers/clk/mediatek/clk-mtk.c if (clk_data && !IS_ERR_OR_NULL(clk_data->clks[ff->id])) clk_data 92 drivers/clk/mediatek/clk-mtk.c if (clk_data) clk_data 93 drivers/clk/mediatek/clk-mtk.c clk_data->clks[ff->id] = clk; clk_data 99 drivers/clk/mediatek/clk-mtk.c int num, struct clk_onecell_data *clk_data, clk_data 106 drivers/clk/mediatek/clk-mtk.c if (!clk_data) clk_data 119 drivers/clk/mediatek/clk-mtk.c if (!IS_ERR_OR_NULL(clk_data->clks[gate->id])) clk_data 135 drivers/clk/mediatek/clk-mtk.c clk_data->clks[gate->id] = clk; clk_data 143 drivers/clk/mediatek/clk-mtk.c int num, struct clk_onecell_data *clk_data) clk_data 146 drivers/clk/mediatek/clk-mtk.c clks, num, clk_data, NULL); clk_data 238 drivers/clk/mediatek/clk-mtk.c struct clk_onecell_data *clk_data) clk_data 246 drivers/clk/mediatek/clk-mtk.c if (clk_data && !IS_ERR_OR_NULL(clk_data->clks[mc->id])) clk_data 257 drivers/clk/mediatek/clk-mtk.c if (clk_data) clk_data 258 drivers/clk/mediatek/clk-mtk.c clk_data->clks[mc->id] = clk; clk_data 264 drivers/clk/mediatek/clk-mtk.c struct clk_onecell_data *clk_data) clk_data 272 drivers/clk/mediatek/clk-mtk.c if (clk_data && !IS_ERR_OR_NULL(clk_data->clks[mcd->id])) clk_data 285 drivers/clk/mediatek/clk-mtk.c if (clk_data) clk_data 286 drivers/clk/mediatek/clk-mtk.c clk_data->clks[mcd->id] = clk; clk_data 37 drivers/clk/mediatek/clk-mtk.h int num, struct clk_onecell_data *clk_data); clk_data 56 drivers/clk/mediatek/clk-mtk.h int num, struct clk_onecell_data *clk_data); clk_data 150 drivers/clk/mediatek/clk-mtk.h struct clk_onecell_data *clk_data); clk_data 170 drivers/clk/mediatek/clk-mtk.h struct clk_onecell_data *clk_data); clk_data 174 drivers/clk/mediatek/clk-mtk.h int num, struct clk_onecell_data *clk_data, clk_data 201 drivers/clk/mediatek/clk-mtk.h struct clk_onecell_data *clk_data); clk_data 240 drivers/clk/mediatek/clk-mtk.h struct clk_onecell_data *clk_data); clk_data 193 drivers/clk/mediatek/clk-mux.c struct clk_onecell_data *clk_data) clk_data 209 drivers/clk/mediatek/clk-mux.c if (IS_ERR_OR_NULL(clk_data->clks[mux->id])) { clk_data 218 drivers/clk/mediatek/clk-mux.c clk_data->clks[mux->id] = clk; clk_data 87 drivers/clk/mediatek/clk-mux.h struct clk_onecell_data *clk_data); clk_data 345 drivers/clk/mediatek/clk-pll.c const struct mtk_pll_data *plls, int num_plls, struct clk_onecell_data *clk_data) clk_data 368 drivers/clk/mediatek/clk-pll.c clk_data->clks[pll->id] = clk; clk_data 21 drivers/clk/mmp/clk.c unit->clk_data.clks = clk_table; clk_data 22 drivers/clk/mmp/clk.c unit->clk_data.clk_num = nr_clks; clk_data 23 drivers/clk/mmp/clk.c of_clk_add_provider(np, of_clk_src_onecell_get, &unit->clk_data); clk_data 140 drivers/clk/mmp/clk.h struct clk_onecell_data clk_data; clk_data 62 drivers/clk/mvebu/clk-corediv.c static struct clk_onecell_data clk_data; clk_data 268 drivers/clk/mvebu/clk-corediv.c clk_data.clk_num = soc_desc->ndescs; clk_data 271 drivers/clk/mvebu/clk-corediv.c clks = kcalloc(clk_data.clk_num, sizeof(struct clk *), clk_data 276 drivers/clk/mvebu/clk-corediv.c corediv = kcalloc(clk_data.clk_num, sizeof(struct clk_corediv), clk_data 283 drivers/clk/mvebu/clk-corediv.c for (i = 0; i < clk_data.clk_num; i++) { clk_data 301 drivers/clk/mvebu/clk-corediv.c clk_data.clks = clks; clk_data 302 drivers/clk/mvebu/clk-corediv.c of_clk_add_provider(node, of_clk_src_onecell_get, &clk_data); clk_data 44 drivers/clk/mvebu/clk-cpu.c static struct clk_onecell_data clk_data; clk_data 229 drivers/clk/mvebu/clk-cpu.c clk_data.clk_num = MAX_CPU; clk_data 230 drivers/clk/mvebu/clk-cpu.c clk_data.clks = clks; clk_data 231 drivers/clk/mvebu/clk-cpu.c of_clk_add_provider(node, of_clk_src_onecell_get, &clk_data); clk_data 35 drivers/clk/mvebu/common.c static struct clk_onecell_data clk_data; clk_data 121 drivers/clk/mvebu/common.c clk_data.clk_num = 2 + desc->num_ratios; clk_data 125 drivers/clk/mvebu/common.c clk_data.clk_num += 1; clk_data 127 drivers/clk/mvebu/common.c clk_data.clks = kcalloc(clk_data.clk_num, sizeof(*clk_data.clks), clk_data 129 drivers/clk/mvebu/common.c if (WARN_ON(!clk_data.clks)) { clk_data 138 drivers/clk/mvebu/common.c clk_data.clks[0] = clk_register_fixed_rate(NULL, tclk_name, NULL, 0, clk_data 140 drivers/clk/mvebu/common.c WARN_ON(IS_ERR(clk_data.clks[0])); clk_data 151 drivers/clk/mvebu/common.c clk_data.clks[1] = clk_register_fixed_rate(NULL, cpuclk_name, NULL, 0, clk_data 153 drivers/clk/mvebu/common.c WARN_ON(IS_ERR(clk_data.clks[1])); clk_data 163 drivers/clk/mvebu/common.c clk_data.clks[2+n] = clk_register_fixed_factor(NULL, rclk_name, clk_data 165 drivers/clk/mvebu/common.c WARN_ON(IS_ERR(clk_data.clks[2+n])); clk_data 174 drivers/clk/mvebu/common.c clk_data.clks[2 + desc->num_ratios] = clk_data 176 drivers/clk/mvebu/common.c WARN_ON(IS_ERR(clk_data.clks[2 + desc->num_ratios])); clk_data 182 drivers/clk/mvebu/common.c of_clk_add_provider(np, of_clk_src_onecell_get, &clk_data); clk_data 198 drivers/clk/mvebu/cp110-system-controller.c struct clk_hw_onecell_data *clk_data = data; clk_data 205 drivers/clk/mvebu/cp110-system-controller.c return clk_data->hws[idx]; clk_data 209 drivers/clk/mvebu/cp110-system-controller.c return clk_data->hws[CP110_MAX_CORE_CLOCKS + idx]; clk_data 91 drivers/clk/mxs/clk-imx23.c static struct clk_onecell_data clk_data; clk_data 162 drivers/clk/mxs/clk-imx23.c clk_data.clks = clks; clk_data 163 drivers/clk/mxs/clk-imx23.c clk_data.clk_num = ARRAY_SIZE(clks); clk_data 164 drivers/clk/mxs/clk-imx23.c of_clk_add_provider(np, of_clk_src_onecell_get, &clk_data); clk_data 146 drivers/clk/mxs/clk-imx28.c static struct clk_onecell_data clk_data; clk_data 240 drivers/clk/mxs/clk-imx28.c clk_data.clks = clks; clk_data 241 drivers/clk/mxs/clk-imx28.c clk_data.clk_num = ARRAY_SIZE(clks); clk_data 242 drivers/clk/mxs/clk-imx28.c of_clk_add_provider(np, of_clk_src_onecell_get, &clk_data); clk_data 118 drivers/clk/nxp/clk-lpc18xx-ccu.c struct lpc18xx_branch_clk_data *clk_data = data; clk_data 126 drivers/clk/nxp/clk-lpc18xx-ccu.c for (j = 0; j < clk_data->num; j++) { clk_data 127 drivers/clk/nxp/clk-lpc18xx-ccu.c if (!strcmp(clk_branches[i].base_name, clk_data->name[j])) clk_data 270 drivers/clk/nxp/clk-lpc18xx-ccu.c struct lpc18xx_branch_clk_data *clk_data; clk_data 280 drivers/clk/nxp/clk-lpc18xx-ccu.c clk_data = kzalloc(sizeof(*clk_data), GFP_KERNEL); clk_data 281 drivers/clk/nxp/clk-lpc18xx-ccu.c if (!clk_data) { clk_data 286 drivers/clk/nxp/clk-lpc18xx-ccu.c clk_data->num = of_property_count_strings(np, "clock-names"); clk_data 287 drivers/clk/nxp/clk-lpc18xx-ccu.c clk_data->name = kcalloc(clk_data->num, sizeof(char *), GFP_KERNEL); clk_data 288 drivers/clk/nxp/clk-lpc18xx-ccu.c if (!clk_data->name) { clk_data 290 drivers/clk/nxp/clk-lpc18xx-ccu.c kfree(clk_data); clk_data 294 drivers/clk/nxp/clk-lpc18xx-ccu.c for (i = 0; i < clk_data->num; i++) { clk_data 296 drivers/clk/nxp/clk-lpc18xx-ccu.c &clk_data->name[i]); clk_data 303 drivers/clk/nxp/clk-lpc18xx-ccu.c lpc18xx_ccu_register_branch_clks(reg_base, clk_data->name[i]); clk_data 306 drivers/clk/nxp/clk-lpc18xx-ccu.c of_clk_add_provider(np, lpc18xx_ccu_branch_clk_get, clk_data); clk_data 166 drivers/clk/nxp/clk-lpc32xx.c static struct clk_onecell_data clk_data = { clk_data 1548 drivers/clk/nxp/clk-lpc32xx.c of_clk_add_provider(np, of_clk_src_onecell_get, &clk_data); clk_data 195 drivers/clk/pistachio/clk-pistachio.c p->clk_data.clks[CLK_DEBUG_MUX] = debug_clk; clk_data 508 drivers/clk/pistachio/clk-pll.c p->clk_data.clks[pll[i].id] = clk; clk_data 24 drivers/clk/pistachio/clk.c p->clk_data.clks = kcalloc(num_clks, sizeof(struct clk *), GFP_KERNEL); clk_data 25 drivers/clk/pistachio/clk.c if (!p->clk_data.clks) clk_data 27 drivers/clk/pistachio/clk.c p->clk_data.clk_num = num_clks; clk_data 38 drivers/clk/pistachio/clk.c kfree(p->clk_data.clks); clk_data 48 drivers/clk/pistachio/clk.c for (i = 0; i < p->clk_data.clk_num; i++) { clk_data 49 drivers/clk/pistachio/clk.c if (IS_ERR(p->clk_data.clks[i])) clk_data 51 drivers/clk/pistachio/clk.c PTR_ERR(p->clk_data.clks[i])); clk_data 54 drivers/clk/pistachio/clk.c of_clk_add_provider(p->node, of_clk_src_onecell_get, &p->clk_data); clk_data 69 drivers/clk/pistachio/clk.c p->clk_data.clks[gate[i].id] = clk; clk_data 87 drivers/clk/pistachio/clk.c p->clk_data.clks[mux[i].id] = clk; clk_data 103 drivers/clk/pistachio/clk.c p->clk_data.clks[div[i].id] = clk; clk_data 117 drivers/clk/pistachio/clk.c p->clk_data.clks[ff[i].id] = clk; clk_data 128 drivers/clk/pistachio/clk.c struct clk *clk = p->clk_data.clks[clk_ids[i]]; clk_data 144 drivers/clk/pistachio/clk.h struct clk_onecell_data clk_data; clk_data 383 drivers/clk/rockchip/clk.c ctx->clk_data.clks = clk_table; clk_data 384 drivers/clk/rockchip/clk.c ctx->clk_data.clk_num = nr_clks; clk_data 402 drivers/clk/rockchip/clk.c &ctx->clk_data)) clk_data 409 drivers/clk/rockchip/clk.c if (ctx->clk_data.clks && id) clk_data 410 drivers/clk/rockchip/clk.c ctx->clk_data.clks[id] = clk; clk_data 238 drivers/clk/rockchip/clk.h struct clk_onecell_data clk_data; clk_data 23 drivers/clk/samsung/clk-exynos-audss.c static struct clk_hw_onecell_data *clk_data; clk_data 108 drivers/clk/samsung/clk-exynos-audss.c if (!IS_ERR(clk_data->hws[i])) clk_data 109 drivers/clk/samsung/clk-exynos-audss.c clk_hw_unregister_mux(clk_data->hws[i]); clk_data 113 drivers/clk/samsung/clk-exynos-audss.c if (!IS_ERR(clk_data->hws[i])) clk_data 114 drivers/clk/samsung/clk-exynos-audss.c clk_hw_unregister_divider(clk_data->hws[i]); clk_data 117 drivers/clk/samsung/clk-exynos-audss.c for (; i < clk_data->num; i++) { clk_data 118 drivers/clk/samsung/clk-exynos-audss.c if (!IS_ERR(clk_data->hws[i])) clk_data 119 drivers/clk/samsung/clk-exynos-audss.c clk_hw_unregister_gate(clk_data->hws[i]); clk_data 147 drivers/clk/samsung/clk-exynos-audss.c clk_data = devm_kzalloc(dev, clk_data 148 drivers/clk/samsung/clk-exynos-audss.c struct_size(clk_data, hws, clk_data 151 drivers/clk/samsung/clk-exynos-audss.c if (!clk_data) clk_data 154 drivers/clk/samsung/clk-exynos-audss.c clk_data->num = variant->num_clks; clk_data 155 drivers/clk/samsung/clk-exynos-audss.c clk_table = clk_data->hws; clk_data 243 drivers/clk/samsung/clk-exynos-audss.c for (i = 0; i < clk_data->num; i++) { clk_data 252 drivers/clk/samsung/clk-exynos-audss.c clk_data); clk_data 5567 drivers/clk/samsung/clk-exynos5433.c struct_size(data, ctx.clk_data.hws, info->nr_clk_ids), clk_data 5579 drivers/clk/samsung/clk-exynos5433.c ctx->clk_data.hws[i] = ERR_PTR(-ENOENT); clk_data 5581 drivers/clk/samsung/clk-exynos5433.c ctx->clk_data.num = info->nr_clk_ids; clk_data 133 drivers/clk/samsung/clk-s3c2410-dclk.c struct clk_hw_onecell_data clk_data; clk_data 247 drivers/clk/samsung/clk-s3c2410-dclk.c struct_size(s3c24xx_dclk, clk_data.hws, clk_data 253 drivers/clk/samsung/clk-s3c2410-dclk.c clk_table = s3c24xx_dclk->clk_data.hws; clk_data 256 drivers/clk/samsung/clk-s3c2410-dclk.c s3c24xx_dclk->clk_data.num = DCLK_MAX_CLKS; clk_data 357 drivers/clk/samsung/clk-s3c2410-dclk.c struct clk_hw **clk_table = s3c24xx_dclk->clk_data.hws; clk_data 25 drivers/clk/samsung/clk-s5pv210-audss.c static struct clk_hw_onecell_data *clk_data; clk_data 80 drivers/clk/samsung/clk-s5pv210-audss.c clk_data = devm_kzalloc(&pdev->dev, clk_data 81 drivers/clk/samsung/clk-s5pv210-audss.c struct_size(clk_data, hws, AUDSS_MAX_CLKS), clk_data 84 drivers/clk/samsung/clk-s5pv210-audss.c if (!clk_data) clk_data 87 drivers/clk/samsung/clk-s5pv210-audss.c clk_data->num = AUDSS_MAX_CLKS; clk_data 88 drivers/clk/samsung/clk-s5pv210-audss.c clk_table = clk_data->hws; clk_data 165 drivers/clk/samsung/clk-s5pv210-audss.c for (i = 0; i < clk_data->num; i++) { clk_data 174 drivers/clk/samsung/clk-s5pv210-audss.c clk_data); clk_data 187 drivers/clk/samsung/clk-s5pv210-audss.c for (i = 0; i < clk_data->num; i++) { clk_data 64 drivers/clk/samsung/clk.c sizeof(*ctx->clk_data.hws) * nr_clks, GFP_KERNEL); clk_data 69 drivers/clk/samsung/clk.c ctx->clk_data.hws[i] = ERR_PTR(-ENOENT); clk_data 72 drivers/clk/samsung/clk.c ctx->clk_data.num = nr_clks; clk_data 83 drivers/clk/samsung/clk.c &ctx->clk_data)) clk_data 93 drivers/clk/samsung/clk.c ctx->clk_data.hws[id] = clk_hw; clk_data 111 drivers/clk/samsung/clk.c clk_hw = ctx->clk_data.hws[list->id]; clk_data 27 drivers/clk/samsung/clk.h struct clk_hw_onecell_data clk_data; clk_data 145 drivers/clk/sirf/clk-atlas6.c clk_data.clks = atlas6_clks; clk_data 146 drivers/clk/sirf/clk-atlas6.c clk_data.clk_num = maxclk; clk_data 148 drivers/clk/sirf/clk-atlas6.c of_clk_add_provider(np, of_clk_src_onecell_get, &clk_data); clk_data 290 drivers/clk/sirf/clk-atlas7.c static struct clk_onecell_data clk_data; clk_data 1672 drivers/clk/sirf/clk-atlas7.c clk_data.clks = atlas7_clks; clk_data 1673 drivers/clk/sirf/clk-atlas7.c clk_data.clk_num = ARRAY_SIZE(unit_list) + ARRAY_SIZE(mux_list); clk_data 1675 drivers/clk/sirf/clk-atlas7.c ret = of_clk_add_provider(np, of_clk_src_onecell_get, &clk_data); clk_data 16 drivers/clk/sirf/clk-common.c static struct clk_onecell_data clk_data; clk_data 144 drivers/clk/sirf/clk-prima2.c clk_data.clks = prima2_clks; clk_data 145 drivers/clk/sirf/clk-prima2.c clk_data.clk_num = maxclk; clk_data 147 drivers/clk/sirf/clk-prima2.c of_clk_add_provider(np, of_clk_src_onecell_get, &clk_data); clk_data 188 drivers/clk/socfpga/clk-s10.c data->clk_data.clks[clks[i].id] = clk; clk_data 214 drivers/clk/socfpga/clk-s10.c data->clk_data.clks[clks[i].id] = clk; clk_data 243 drivers/clk/socfpga/clk-s10.c data->clk_data.clks[clks[i].id] = clk; clk_data 266 drivers/clk/socfpga/clk-s10.c data->clk_data.clks[clks[i].id] = clk; clk_data 277 drivers/clk/socfpga/clk-s10.c struct stratix10_clock_data *clk_data; clk_data 289 drivers/clk/socfpga/clk-s10.c clk_data = devm_kzalloc(dev, sizeof(*clk_data), GFP_KERNEL); clk_data 290 drivers/clk/socfpga/clk-s10.c if (!clk_data) clk_data 293 drivers/clk/socfpga/clk-s10.c clk_data->base = base; clk_data 298 drivers/clk/socfpga/clk-s10.c clk_data->clk_data.clks = clk_table; clk_data 299 drivers/clk/socfpga/clk-s10.c clk_data->clk_data.clk_num = nr_clks; clk_data 300 drivers/clk/socfpga/clk-s10.c of_clk_add_provider(np, of_clk_src_onecell_get, &clk_data->clk_data); clk_data 301 drivers/clk/socfpga/clk-s10.c return clk_data; clk_data 306 drivers/clk/socfpga/clk-s10.c struct stratix10_clock_data *clk_data; clk_data 308 drivers/clk/socfpga/clk-s10.c clk_data = __socfpga_s10_clk_init(pdev, STRATIX10_NUM_CLKS); clk_data 309 drivers/clk/socfpga/clk-s10.c if (IS_ERR(clk_data)) clk_data 310 drivers/clk/socfpga/clk-s10.c return PTR_ERR(clk_data); clk_data 312 drivers/clk/socfpga/clk-s10.c s10_clk_register_pll(s10_pll_clks, ARRAY_SIZE(s10_pll_clks), clk_data); clk_data 315 drivers/clk/socfpga/clk-s10.c ARRAY_SIZE(s10_main_perip_c_clks), clk_data); clk_data 319 drivers/clk/socfpga/clk-s10.c clk_data); clk_data 322 drivers/clk/socfpga/clk-s10.c clk_data); clk_data 10 drivers/clk/socfpga/stratix10-clk.h struct clk_onecell_data clk_data; clk_data 314 drivers/clk/st/clk-flexgen.c struct clk_onecell_data *clk_data; clk_data 346 drivers/clk/st/clk-flexgen.c clk_data = kzalloc(sizeof(*clk_data), GFP_KERNEL); clk_data 347 drivers/clk/st/clk-flexgen.c if (!clk_data) clk_data 353 drivers/clk/st/clk-flexgen.c __func__, clk_data->clk_num); clk_data 356 drivers/clk/st/clk-flexgen.c clk_data->clk_num = ret; clk_data 358 drivers/clk/st/clk-flexgen.c clk_data->clks = kcalloc(clk_data->clk_num, sizeof(struct clk *), clk_data 360 drivers/clk/st/clk-flexgen.c if (!clk_data->clks) clk_data 369 drivers/clk/st/clk-flexgen.c for (i = 0; i < clk_data->clk_num; i++) { clk_data 392 drivers/clk/st/clk-flexgen.c clk_data->clks[i] = clk; clk_data 396 drivers/clk/st/clk-flexgen.c of_clk_add_provider(np, of_clk_src_onecell_get, clk_data); clk_data 402 drivers/clk/st/clk-flexgen.c if (clk_data) clk_data 403 drivers/clk/st/clk-flexgen.c kfree(clk_data->clks); clk_data 404 drivers/clk/st/clk-flexgen.c kfree(clk_data); clk_data 864 drivers/clk/st/clkgen-fsyn.c struct clk_onecell_data *clk_data; clk_data 867 drivers/clk/st/clkgen-fsyn.c clk_data = kzalloc(sizeof(*clk_data), GFP_KERNEL); clk_data 868 drivers/clk/st/clkgen-fsyn.c if (!clk_data) clk_data 871 drivers/clk/st/clkgen-fsyn.c clk_data->clk_num = QUADFS_MAX_CHAN; clk_data 872 drivers/clk/st/clkgen-fsyn.c clk_data->clks = kcalloc(QUADFS_MAX_CHAN, sizeof(struct clk *), clk_data 875 drivers/clk/st/clkgen-fsyn.c if (!clk_data->clks) { clk_data 876 drivers/clk/st/clkgen-fsyn.c kfree(clk_data); clk_data 907 drivers/clk/st/clkgen-fsyn.c clk_data->clks[fschan] = clk; clk_data 915 drivers/clk/st/clkgen-fsyn.c of_clk_add_provider(np, of_clk_src_onecell_get, clk_data); clk_data 695 drivers/clk/st/clkgen-pll.c struct clk_onecell_data *clk_data; clk_data 718 drivers/clk/st/clkgen-pll.c clk_data = kzalloc(sizeof(*clk_data), GFP_KERNEL); clk_data 719 drivers/clk/st/clkgen-pll.c if (!clk_data) clk_data 722 drivers/clk/st/clkgen-pll.c clk_data->clk_num = num_odfs; clk_data 723 drivers/clk/st/clkgen-pll.c clk_data->clks = kcalloc(clk_data->clk_num, sizeof(struct clk *), clk_data 726 drivers/clk/st/clkgen-pll.c if (!clk_data->clks) clk_data 745 drivers/clk/st/clkgen-pll.c clk_data->clks[odf] = clk; clk_data 748 drivers/clk/st/clkgen-pll.c of_clk_add_provider(np, of_clk_src_onecell_get, clk_data); clk_data 753 drivers/clk/st/clkgen-pll.c kfree(clk_data->clks); clk_data 754 drivers/clk/st/clkgen-pll.c kfree(clk_data); clk_data 43 drivers/clk/sunxi/clk-a10-pll2.c struct clk_onecell_data *clk_data; clk_data 53 drivers/clk/sunxi/clk-a10-pll2.c clk_data = kzalloc(sizeof(*clk_data), GFP_KERNEL); clk_data 54 drivers/clk/sunxi/clk-a10-pll2.c if (!clk_data) clk_data 161 drivers/clk/sunxi/clk-a10-pll2.c clk_data->clks = clks; clk_data 162 drivers/clk/sunxi/clk-a10-pll2.c clk_data->clk_num = SUN4I_PLL2_OUTPUTS; clk_data 163 drivers/clk/sunxi/clk-a10-pll2.c of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 176 drivers/clk/sunxi/clk-a10-pll2.c kfree(clk_data); clk_data 294 drivers/clk/sunxi/clk-mod0.c struct clk_onecell_data *clk_data; clk_data 305 drivers/clk/sunxi/clk-mod0.c clk_data = kmalloc(sizeof(*clk_data), GFP_KERNEL); clk_data 306 drivers/clk/sunxi/clk-mod0.c if (!clk_data) clk_data 309 drivers/clk/sunxi/clk-mod0.c clk_data->clks = kcalloc(3, sizeof(*clk_data->clks), GFP_KERNEL); clk_data 310 drivers/clk/sunxi/clk-mod0.c if (!clk_data->clks) clk_data 313 drivers/clk/sunxi/clk-mod0.c clk_data->clk_num = 3; clk_data 314 drivers/clk/sunxi/clk-mod0.c clk_data->clks[0] = sunxi_factors_register(node, data, lock, reg); clk_data 315 drivers/clk/sunxi/clk-mod0.c if (!clk_data->clks[0]) clk_data 318 drivers/clk/sunxi/clk-mod0.c parent = __clk_get_name(clk_data->clks[0]); clk_data 345 drivers/clk/sunxi/clk-mod0.c clk_data->clks[i] = clk_register(NULL, &phase->hw); clk_data 346 drivers/clk/sunxi/clk-mod0.c if (IS_ERR(clk_data->clks[i])) { clk_data 352 drivers/clk/sunxi/clk-mod0.c of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 357 drivers/clk/sunxi/clk-mod0.c kfree(clk_data->clks); clk_data 359 drivers/clk/sunxi/clk-mod0.c kfree(clk_data); clk_data 22 drivers/clk/sunxi/clk-simple-gates.c struct clk_onecell_data *clk_data; clk_data 39 drivers/clk/sunxi/clk-simple-gates.c clk_data = kmalloc(sizeof(struct clk_onecell_data), GFP_KERNEL); clk_data 40 drivers/clk/sunxi/clk-simple-gates.c if (!clk_data) clk_data 46 drivers/clk/sunxi/clk-simple-gates.c clk_data->clks = kcalloc(number + 1, sizeof(struct clk *), GFP_KERNEL); clk_data 47 drivers/clk/sunxi/clk-simple-gates.c if (!clk_data->clks) clk_data 57 drivers/clk/sunxi/clk-simple-gates.c clk_data->clks[index] = clk_register_gate(NULL, clk_name, clk_data 64 drivers/clk/sunxi/clk-simple-gates.c if (IS_ERR(clk_data->clks[index])) { clk_data 71 drivers/clk/sunxi/clk-simple-gates.c clk_prepare_enable(clk_data->clks[index]); clk_data 75 drivers/clk/sunxi/clk-simple-gates.c clk_data->clk_num = number + 1; clk_data 76 drivers/clk/sunxi/clk-simple-gates.c of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 81 drivers/clk/sunxi/clk-simple-gates.c kfree(clk_data); clk_data 39 drivers/clk/sunxi/clk-sun6i-apb0-gates.c struct clk_onecell_data *clk_data; clk_data 67 drivers/clk/sunxi/clk-sun6i-apb0-gates.c clk_data = devm_kzalloc(&pdev->dev, sizeof(struct clk_onecell_data), clk_data 69 drivers/clk/sunxi/clk-sun6i-apb0-gates.c if (!clk_data) clk_data 74 drivers/clk/sunxi/clk-sun6i-apb0-gates.c clk_data->clks = devm_kcalloc(&pdev->dev, (ngates + 1), clk_data 76 drivers/clk/sunxi/clk-sun6i-apb0-gates.c if (!clk_data->clks) clk_data 83 drivers/clk/sunxi/clk-sun6i-apb0-gates.c clk_data->clks[i] = clk_register_gate(&pdev->dev, clk_name, clk_data 86 drivers/clk/sunxi/clk-sun6i-apb0-gates.c WARN_ON(IS_ERR(clk_data->clks[i])); clk_data 91 drivers/clk/sunxi/clk-sun6i-apb0-gates.c clk_data->clk_num = ngates + 1; clk_data 93 drivers/clk/sunxi/clk-sun6i-apb0-gates.c return of_clk_add_provider(np, of_clk_src_onecell_get, clk_data); clk_data 25 drivers/clk/sunxi/clk-sun8i-bus-gates.c struct clk_onecell_data *clk_data; clk_data 49 drivers/clk/sunxi/clk-sun8i-bus-gates.c clk_data = kmalloc(sizeof(struct clk_onecell_data), GFP_KERNEL); clk_data 50 drivers/clk/sunxi/clk-sun8i-bus-gates.c if (!clk_data) clk_data 56 drivers/clk/sunxi/clk-sun8i-bus-gates.c clk_data->clks = kcalloc(number + 1, sizeof(struct clk *), GFP_KERNEL); clk_data 57 drivers/clk/sunxi/clk-sun8i-bus-gates.c if (!clk_data->clks) clk_data 81 drivers/clk/sunxi/clk-sun8i-bus-gates.c clk_data->clks[index] = clk_register_gate(NULL, clk_name, clk_data 87 drivers/clk/sunxi/clk-sun8i-bus-gates.c if (IS_ERR(clk_data->clks[index])) { clk_data 93 drivers/clk/sunxi/clk-sun8i-bus-gates.c clk_data->clk_num = number + 1; clk_data 94 drivers/clk/sunxi/clk-sun8i-bus-gates.c of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 99 drivers/clk/sunxi/clk-sun8i-bus-gates.c kfree(clk_data); clk_data 31 drivers/clk/sunxi/clk-sun9i-mmc.c struct clk_onecell_data clk_data; clk_data 99 drivers/clk/sunxi/clk-sun9i-mmc.c struct clk_onecell_data *clk_data; clk_data 118 drivers/clk/sunxi/clk-sun9i-mmc.c clk_data = &data->clk_data; clk_data 119 drivers/clk/sunxi/clk-sun9i-mmc.c clk_data->clk_num = count; clk_data 120 drivers/clk/sunxi/clk-sun9i-mmc.c clk_data->clks = devm_kcalloc(&pdev->dev, count, sizeof(struct clk *), clk_data 122 drivers/clk/sunxi/clk-sun9i-mmc.c if (!clk_data->clks) clk_data 148 drivers/clk/sunxi/clk-sun9i-mmc.c clk_data->clks[i] = clk_register_gate(&pdev->dev, clk_name, clk_data 154 drivers/clk/sunxi/clk-sun9i-mmc.c if (IS_ERR(clk_data->clks[i])) { clk_data 155 drivers/clk/sunxi/clk-sun9i-mmc.c ret = PTR_ERR(clk_data->clks[i]); clk_data 160 drivers/clk/sunxi/clk-sun9i-mmc.c ret = of_clk_add_provider(np, of_clk_src_onecell_get, clk_data); clk_data 182 drivers/clk/sunxi/clk-sun9i-mmc.c clk_unregister(clk_data->clks[i]); clk_data 946 drivers/clk/sunxi/clk-sunxi.c struct clk_onecell_data *clk_data; clk_data 1005 drivers/clk/sunxi/clk-sunxi.c clk_data = kmalloc(sizeof(struct clk_onecell_data), GFP_KERNEL); clk_data 1006 drivers/clk/sunxi/clk-sunxi.c if (!clk_data) clk_data 1013 drivers/clk/sunxi/clk-sunxi.c clk_data->clks = clks; clk_data 1026 drivers/clk/sunxi/clk-sunxi.c clk_data->clks[i] = pclk; clk_data 1086 drivers/clk/sunxi/clk-sunxi.c WARN_ON(IS_ERR(clk_data->clks[i])); clk_data 1090 drivers/clk/sunxi/clk-sunxi.c clk_data->clk_num = i; clk_data 1092 drivers/clk/sunxi/clk-sunxi.c if (of_clk_add_provider(node, of_clk_src_onecell_get, clk_data)) { clk_data 1104 drivers/clk/sunxi/clk-sunxi.c kfree(clk_data); clk_data 92 drivers/clk/sunxi/clk-usb.c struct clk_onecell_data *clk_data; clk_data 113 drivers/clk/sunxi/clk-usb.c clk_data = kmalloc(sizeof(struct clk_onecell_data), GFP_KERNEL); clk_data 114 drivers/clk/sunxi/clk-usb.c if (!clk_data) clk_data 117 drivers/clk/sunxi/clk-usb.c clk_data->clks = kcalloc(qty + 1, sizeof(struct clk *), GFP_KERNEL); clk_data 118 drivers/clk/sunxi/clk-usb.c if (!clk_data->clks) { clk_data 119 drivers/clk/sunxi/clk-usb.c kfree(clk_data); clk_data 127 drivers/clk/sunxi/clk-usb.c clk_data->clks[i] = clk_register_gate(NULL, clk_name, clk_data 130 drivers/clk/sunxi/clk-usb.c WARN_ON(IS_ERR(clk_data->clks[i])); clk_data 136 drivers/clk/sunxi/clk-usb.c clk_data->clk_num = i; clk_data 138 drivers/clk/sunxi/clk-usb.c of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 3473 drivers/clk/tegra/clk-tegra210.c struct clk_bulk_data *clk_data; clk_data 3478 drivers/clk/tegra/clk-tegra210.c clk_data = kmalloc_array(num_clks, sizeof(*clk_data), clk_data 3480 drivers/clk/tegra/clk-tegra210.c if (WARN_ON(!clk_data)) clk_data 3483 drivers/clk/tegra/clk-tegra210.c tegra210_pg_mbist_war[i].clks = clk_data; clk_data 3489 drivers/clk/tegra/clk-tegra210.c kfree(clk_data); clk_data 3493 drivers/clk/tegra/clk-tegra210.c clk_data[j].clk = clk; clk_data 71 drivers/clk/tegra/clk.c static struct clk_onecell_data clk_data; clk_data 307 drivers/clk/tegra/clk.c clk_data.clks = clks; clk_data 308 drivers/clk/tegra/clk.c clk_data.clk_num = clk_num; clk_data 309 drivers/clk/tegra/clk.c of_clk_add_provider(np, clk_src_onecell_get, &clk_data); clk_data 32 drivers/clk/ux500/u8500_of_clk.c struct clk **clk_data = data; clk_data 46 drivers/clk/ux500/u8500_of_clk.c return PRCC_SHOW(clk_data, base, bit); clk_data 545 drivers/clk/ux500/u8500_of_clk.c static struct clk_onecell_data clk_data; clk_data 548 drivers/clk/ux500/u8500_of_clk.c clk_data.clks = prcmu_clk; clk_data 549 drivers/clk/ux500/u8500_of_clk.c clk_data.clk_num = ARRAY_SIZE(prcmu_clk); clk_data 550 drivers/clk/ux500/u8500_of_clk.c of_clk_add_provider(child, of_clk_src_onecell_get, &clk_data); clk_data 62 drivers/clk/zynq/clkc.c static struct clk_onecell_data clk_data; clk_data 574 drivers/clk/zynq/clkc.c clk_data.clks = clks; clk_data 575 drivers/clk/zynq/clkc.c clk_data.clk_num = ARRAY_SIZE(clks); clk_data 576 drivers/clk/zynq/clkc.c of_clk_add_provider(np, of_clk_src_onecell_get, &clk_data); clk_data 36 drivers/cpufreq/highbank-cpufreq.c struct clk_notifier_data *clk_data = hclk; clk_data 40 drivers/cpufreq/highbank-cpufreq.c if (clk_data->new_rate > clk_data->old_rate) clk_data 41 drivers/cpufreq/highbank-cpufreq.c while (hb_voltage_change(clk_data->new_rate)) clk_data 45 drivers/cpufreq/highbank-cpufreq.c if (clk_data->new_rate < clk_data->old_rate) clk_data 46 drivers/cpufreq/highbank-cpufreq.c while (hb_voltage_change(clk_data->new_rate)) clk_data 84 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm.c struct clk_onecell_data clk_data; clk_data 505 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm.c pll_28nm->clk_data.clks = NULL; clk_data 506 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm.c pll_28nm->clk_data.clk_num = 0; clk_data 570 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm.c pll_28nm->clk_data.clk_num = NUM_PROVIDED_CLKS; clk_data 571 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm.c pll_28nm->clk_data.clks = provided_clks; clk_data 574 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm.c of_clk_src_onecell_get, &pll_28nm->clk_data); clk_data 79 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm_8960.c struct clk_onecell_data clk_data; clk_data 471 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm_8960.c pll_28nm->clk_data.clk_num = NUM_PROVIDED_CLKS; clk_data 472 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm_8960.c pll_28nm->clk_data.clks = provided_clks; clk_data 475 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm_8960.c of_clk_src_onecell_get, &pll_28nm->clk_data); clk_data 128 drivers/gpu/drm/sun4i/sun8i_tcon_top.c struct clk_hw_onecell_data *clk_data; clk_data 141 drivers/gpu/drm/sun4i/sun8i_tcon_top.c clk_data = devm_kzalloc(dev, struct_size(clk_data, hws, CLK_NUM), clk_data 143 drivers/gpu/drm/sun4i/sun8i_tcon_top.c if (!clk_data) clk_data 145 drivers/gpu/drm/sun4i/sun8i_tcon_top.c tcon_top->clk_data = clk_data; clk_data 194 drivers/gpu/drm/sun4i/sun8i_tcon_top.c clk_data->hws[CLK_TCON_TOP_TV0] = clk_data 200 drivers/gpu/drm/sun4i/sun8i_tcon_top.c clk_data->hws[CLK_TCON_TOP_TV1] = clk_data 206 drivers/gpu/drm/sun4i/sun8i_tcon_top.c clk_data->hws[CLK_TCON_TOP_DSI] = clk_data 212 drivers/gpu/drm/sun4i/sun8i_tcon_top.c if (IS_ERR(clk_data->hws[i])) { clk_data 213 drivers/gpu/drm/sun4i/sun8i_tcon_top.c ret = PTR_ERR(clk_data->hws[i]); clk_data 217 drivers/gpu/drm/sun4i/sun8i_tcon_top.c clk_data->num = CLK_NUM; clk_data 220 drivers/gpu/drm/sun4i/sun8i_tcon_top.c clk_data); clk_data 230 drivers/gpu/drm/sun4i/sun8i_tcon_top.c if (!IS_ERR_OR_NULL(clk_data->hws[i])) clk_data 231 drivers/gpu/drm/sun4i/sun8i_tcon_top.c clk_hw_unregister_gate(clk_data->hws[i]); clk_data 243 drivers/gpu/drm/sun4i/sun8i_tcon_top.c struct clk_hw_onecell_data *clk_data = tcon_top->clk_data; clk_data 248 drivers/gpu/drm/sun4i/sun8i_tcon_top.c if (clk_data->hws[i]) clk_data 249 drivers/gpu/drm/sun4i/sun8i_tcon_top.c clk_hw_unregister_gate(clk_data->hws[i]); clk_data 28 drivers/gpu/drm/sun4i/sun8i_tcon_top.h struct clk_hw_onecell_data *clk_data; clk_data 274 drivers/hsi/controllers/omap_ssi_core.c struct clk_notifier_data *clk_data = data; clk_data 302 drivers/hsi/controllers/omap_ssi_core.c clk_data->old_rate, clk_data->new_rate); clk_data 303 drivers/hsi/controllers/omap_ssi_core.c omap_ssi->fck_rate = DIV_ROUND_CLOSEST(clk_data->new_rate, 1000); /* kHz */ clk_data 21 drivers/irqchip/irq-gic-pm.c const struct gic_clk_data *clk_data; clk_data 29 drivers/irqchip/irq-gic-pm.c const struct gic_clk_data *data = chip_pm->clk_data; clk_data 57 drivers/irqchip/irq-gic-pm.c const struct gic_clk_data *data = chip_pm->clk_data; clk_data 102 drivers/irqchip/irq-gic-pm.c chip_pm->clk_data = data; clk_data 1356 drivers/media/platform/exynos4-is/media-dev.c cp->clk_data.clks = cp->clks; clk_data 1357 drivers/media/platform/exynos4-is/media-dev.c cp->clk_data.clk_num = cp->num_clocks; clk_data 1360 drivers/media/platform/exynos4-is/media-dev.c &cp->clk_data); clk_data 142 drivers/media/platform/exynos4-is/media-dev.h struct clk_onecell_data clk_data; clk_data 69 drivers/phy/ti/phy-am654-serdes.c struct clk_init_data clk_data; clk_data 109 drivers/phy/ti/phy-am654-serdes.c struct clk_onecell_data clk_data; clk_data 414 drivers/phy/ti/phy-am654-serdes.c init = &mux->clk_data; clk_data 560 drivers/phy/ti/phy-am654-serdes.c struct clk_onecell_data *clk_data; clk_data 618 drivers/phy/ti/phy-am654-serdes.c clk_data = &am654_phy->clk_data; clk_data 619 drivers/phy/ti/phy-am654-serdes.c clk_data->clks = am654_phy->clks; clk_data 620 drivers/phy/ti/phy-am654-serdes.c clk_data->clk_num = SERDES_NUM_CLOCKS; clk_data 621 drivers/phy/ti/phy-am654-serdes.c ret = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data); clk_data 455 drivers/platform/x86/pmc_atom.c struct pmc_clk_data *clk_data; clk_data 458 drivers/platform/x86/pmc_atom.c clk_data = kzalloc(sizeof(*clk_data), GFP_KERNEL); clk_data 459 drivers/platform/x86/pmc_atom.c if (!clk_data) clk_data 462 drivers/platform/x86/pmc_atom.c clk_data->base = pmc_regmap; /* offset is added by client */ clk_data 463 drivers/platform/x86/pmc_atom.c clk_data->clks = pmc_data->clks; clk_data 465 drivers/platform/x86/pmc_atom.c clk_data->critical = true; clk_data 471 drivers/platform/x86/pmc_atom.c clk_data, sizeof(*clk_data)); clk_data 473 drivers/platform/x86/pmc_atom.c kfree(clk_data); clk_data 477 drivers/platform/x86/pmc_atom.c kfree(clk_data); clk_data 99 drivers/rtc/rtc-ac100.c struct clk_hw_onecell_data *clk_data; clk_data 312 drivers/rtc/rtc-ac100.c chip->clk_data = devm_kzalloc(chip->dev, clk_data 313 drivers/rtc/rtc-ac100.c struct_size(chip->clk_data, hws, clk_data 316 drivers/rtc/rtc-ac100.c if (!chip->clk_data) clk_data 359 drivers/rtc/rtc-ac100.c chip->clk_data->hws[i] = &clk->hw; clk_data 362 drivers/rtc/rtc-ac100.c chip->clk_data->num = i; clk_data 363 drivers/rtc/rtc-ac100.c ret = of_clk_add_hw_provider(np, of_clk_hw_onecell_get, chip->clk_data); clk_data 217 drivers/rtc/rtc-sun6i.c struct clk_hw_onecell_data *clk_data; clk_data 233 drivers/rtc/rtc-sun6i.c clk_data = kzalloc(struct_size(clk_data, hws, 3), GFP_KERNEL); clk_data 234 drivers/rtc/rtc-sun6i.c if (!clk_data) { clk_data 309 drivers/rtc/rtc-sun6i.c clk_data->num = 2; clk_data 310 drivers/rtc/rtc-sun6i.c clk_data->hws[0] = &rtc->hw; clk_data 311 drivers/rtc/rtc-sun6i.c clk_data->hws[1] = __clk_get_hw(rtc->ext_losc); clk_data 313 drivers/rtc/rtc-sun6i.c clk_data->hws[2] = rtc->int_osc; clk_data 314 drivers/rtc/rtc-sun6i.c clk_data->num = 3; clk_data 316 drivers/rtc/rtc-sun6i.c of_clk_add_hw_provider(node, of_clk_hw_onecell_get, clk_data); clk_data 320 drivers/rtc/rtc-sun6i.c kfree(clk_data); clk_data 53 drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c struct clk_onecell_data clk_data; clk_data 262 drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c clk_wzrd->clk_data.clks = clk_wzrd->clkout; clk_data 263 drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c clk_wzrd->clk_data.clk_num = ARRAY_SIZE(clk_wzrd->clkout); clk_data 264 drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c of_clk_add_provider(np, of_clk_src_onecell_get, &clk_wzrd->clk_data); clk_data 567 sound/soc/codecs/cs43130.c u8 clk_data; clk_data 618 sound/soc/codecs/cs43130.c clk_data = lrck_edge & CS43130_SP_LCPOL_IN_MASK; clk_data 619 sound/soc/codecs/cs43130.c clk_data |= (lrck_edge << CS43130_SP_LCPOL_OUT_SHIFT) & clk_data 621 sound/soc/codecs/cs43130.c clk_data |= (sclk_edge << CS43130_SP_SCPOL_IN_SHIFT) & clk_data 623 sound/soc/codecs/cs43130.c clk_data |= (sclk_edge << CS43130_SP_SCPOL_OUT_SHIFT) & clk_data 625 sound/soc/codecs/cs43130.c clk_data |= (dai_mode_val << CS43130_SP_MODE_SHIFT) & clk_data 650 sound/soc/codecs/cs43130.c regmap_write(cs43130->regmap, CS43130_ASP_CLOCK_CONF, clk_data); clk_data 672 sound/soc/codecs/cs43130.c regmap_write(cs43130->regmap, CS43130_XSP_CLOCK_CONF, clk_data); clk_data 118 sound/soc/samsung/i2s.c struct clk_onecell_data clk_data; clk_data 684 sound/soc/samsung/i2s.c if (priv->rclk_srcrate == 0 && priv->clk_data.clks == NULL) clk_data 1250 sound/soc/samsung/i2s.c for (i = 0; i < priv->clk_data.clk_num; i++) { clk_data 1314 sound/soc/samsung/i2s.c priv->clk_data.clk_num = 2; clk_data 1323 sound/soc/samsung/i2s.c priv->clk_data.clk_num += 1; clk_data 1324 sound/soc/samsung/i2s.c priv->clk_data.clks = priv->clk_table; clk_data 1327 sound/soc/samsung/i2s.c &priv->clk_data);