/linux-4.1.27/drivers/clk/tegra/ |
H A D | clk-periph-gate.c | 43 #define periph_clk_to_bit(gate) (1 << (gate->clk_num % 32)) 70 gate->enable_refcnt[gate->clk_num]++; clk_periph_enable() 71 if (gate->enable_refcnt[gate->clk_num] > 1) { clk_periph_enable() 106 gate->enable_refcnt[gate->clk_num]--; clk_periph_disable() 107 if (gate->enable_refcnt[gate->clk_num] > 0) { clk_periph_disable() 133 unsigned long flags, int clk_num, int *enable_refcnt) tegra_clk_register_periph_gate() 140 pregs = get_reg_bank(clk_num); tegra_clk_register_periph_gate() 158 gate->clk_num = clk_num; tegra_clk_register_periph_gate() 131 tegra_clk_register_periph_gate(const char *name, const char *parent_name, u8 gate_flags, void __iomem *clk_base, unsigned long flags, int clk_num, int *enable_refcnt) tegra_clk_register_periph_gate() argument
|
H A D | clk.c | 79 static int clk_num; variable 200 clk_num = num; tegra_clk_init() 274 for (i = 0; i < clk_num; i++) { tegra_add_of_provider() 285 clk_data.clk_num = clk_num; tegra_add_of_provider() 301 for (i = 0; i < clk_num; i++) { tegra_register_devclks()
|
H A D | clk-tegra-audio.c | 78 int clk_num; member in struct:tegra_audio2x_clk_initdata 89 .clk_num = _num,\ 210 clk_base, CLK_SET_RATE_PARENT, data->clk_num, tegra_audio_clk_init()
|
H A D | clk-periph.c | 165 bank = get_reg_bank(periph->gate.clk_num); _tegra_clk_register_periph()
|
H A D | clk.h | 362 * @clk_num: Clock number 381 int clk_num; member in struct:tegra_clk_periph_gate 401 unsigned long flags, int clk_num, int *enable_refcnt); 462 .clk_num = _clk_num, \
|
H A D | clk-tegra-periph.c | 599 bank = get_reg_bank(data->periph.gate.clk_num); periph_clk_init() 631 data->periph.gate.clk_num, gate_clk_init()
|
/linux-4.1.27/drivers/clk/samsung/ |
H A D | clk-s5pv210-audss.c | 90 clk_data.clk_num = AUDSS_MAX_CLKS; s5pv210_audss_clk_probe() 167 for (i = 0; i < clk_data.clk_num; i++) { s5pv210_audss_clk_probe() 189 for (i = 0; i < clk_data.clk_num; i++) { s5pv210_audss_clk_probe() 203 for (i = 0; i < clk_data.clk_num; i++) { s5pv210_audss_clk_remove()
|
H A D | clk-exynos-audss.c | 99 for (; i < clk_data.clk_num; i++) { exynos_audss_clk_teardown() 139 clk_data.clk_num = EXYNOS_AUDSS_MAX_CLKS; exynos_audss_clk_probe() 141 clk_data.clk_num = EXYNOS_AUDSS_MAX_CLKS - 1; exynos_audss_clk_probe() 218 for (i = 0; i < clk_data.clk_num; i++) { exynos_audss_clk_probe()
|
H A D | clk-exynos-clkout.c | 112 clkout->data.clk_num = EXYNOS_CLKOUT_NR_CLKS; exynos_clkout_init()
|
H A D | clk-s3c2410-dclk.c | 260 s3c24xx_dclk->clk_data.clk_num = DCLK_MAX_CLKS; s3c24xx_dclk_probe()
|
H A D | clk.c | 75 ctx->clk_data.clk_num = nr_clks; samsung_clk_init()
|
/linux-4.1.27/drivers/clk/pistachio/ |
H A D | clk.c | 29 p->clk_data.clk_num = num_clks; pistachio_clk_alloc_provider() 50 for (i = 0; i < p->clk_data.clk_num; i++) { pistachio_clk_register_provider()
|
/linux-4.1.27/drivers/clk/st/ |
H A D | clk-flexgen.c | 289 clk_data->clk_num = of_property_count_strings(np , st_of_flexgen_setup() 291 if (clk_data->clk_num <= 0) { st_of_flexgen_setup() 293 __func__, clk_data->clk_num); st_of_flexgen_setup() 297 clk_data->clks = kcalloc(clk_data->clk_num, sizeof(struct clk *), st_of_flexgen_setup() 308 for (i = 0; i < clk_data->clk_num; i++) { st_of_flexgen_setup()
|
H A D | clkgen-mux.c | 415 clk_data->clk_num = data->num_outputs; st_of_clkgena_divmux_setup() 416 clk_data->clks = kzalloc(clk_data->clk_num * sizeof(struct clk *), st_of_clkgena_divmux_setup() 422 for (i = 0; i < clk_data->clk_num; i++) { st_of_clkgena_divmux_setup() 728 clk_data->clk_num = VCC_MAX_CHANNELS; st_of_clkgen_vcc_setup() 729 clk_data->clks = kzalloc(clk_data->clk_num * sizeof(struct clk *), st_of_clkgen_vcc_setup() 735 for (i = 0; i < clk_data->clk_num; i++) { st_of_clkgen_vcc_setup() 811 for (i = 0; i < clk_data->clk_num; i++) { st_of_clkgen_vcc_setup()
|
H A D | clkgen-pll.c | 486 clk_data->clk_num = num_pll_outputs; clkgena_c65_pll_setup() 487 clk_data->clks = kzalloc(clk_data->clk_num * sizeof(struct clk *), clkgena_c65_pll_setup() 678 clk_data->clk_num = num_odfs; clkgen_c32_pll_setup() 679 clk_data->clks = kzalloc(clk_data->clk_num * sizeof(struct clk *), clkgen_c32_pll_setup()
|
H A D | clkgen-fsyn.c | 1104 clk_data->clk_num = QUADFS_MAX_CHAN; st_of_create_quadfs_fsynths()
|
/linux-4.1.27/drivers/clk/mvebu/ |
H A D | clk-corediv.c | 253 clk_data.clk_num = soc_desc->ndescs; mvebu_corediv_clk_init() 256 clks = kcalloc(clk_data.clk_num, sizeof(struct clk *), mvebu_corediv_clk_init() 261 corediv = kcalloc(clk_data.clk_num, sizeof(struct clk_corediv), mvebu_corediv_clk_init() 268 for (i = 0; i < clk_data.clk_num; i++) { mvebu_corediv_clk_init()
|
H A D | common.c | 123 clk_data.clk_num = 2 + desc->num_ratios; mvebu_coreclk_setup() 127 clk_data.clk_num += 1; mvebu_coreclk_setup() 129 clk_data.clks = kzalloc(clk_data.clk_num * sizeof(struct clk *), mvebu_coreclk_setup()
|
H A D | clk-cpu.c | 232 clk_data.clk_num = MAX_CPU; of_cpu_clk_setup()
|
/linux-4.1.27/drivers/clk/rockchip/ |
H A D | clk-rockchip.c | 89 clk_data->clk_num = qty; rk2928_gate_clk_init()
|
H A D | clk.c | 172 clk_data.clk_num = nr_clks; rockchip_clk_init()
|
/linux-4.1.27/drivers/clk/shmobile/ |
H A D | clk-mstp.c | 219 group->data.clk_num = max(group->data.clk_num, cpg_mstp_clocks_init()
|
H A D | clk-r8a7778.c | 105 cpg->data.clk_num = num_clks; r8a7778_cpg_clocks_init()
|
H A D | clk-rz.c | 83 cpg->data.clk_num = num_clks; rz_cpg_clocks_init()
|
H A D | clk-r8a7779.c | 149 cpg->data.clk_num = num_clks; r8a7779_cpg_clocks_init()
|
H A D | clk-r8a73a4.c | 217 cpg->data.clk_num = num_clks; r8a73a4_cpg_clocks_init()
|
H A D | clk-r8a7740.c | 175 cpg->data.clk_num = num_clks; r8a7740_cpg_clocks_init()
|
H A D | clk-sh73a0.c | 189 cpg->data.clk_num = num_clks; sh73a0_cpg_clocks_init()
|
H A D | clk-rcar-gen2.c | 394 cpg->data.clk_num = num_clks; rcar_gen2_cpg_clocks_init()
|
/linux-4.1.27/drivers/clk/sunxi/ |
H A D | clk-sun9i-mmc.c | 114 clk_data->clk_num = count; sun9i_a80_mmc_config_clk_probe() 194 for (i = 0; i < clk_data->clk_num; i++) sun9i_a80_mmc_config_clk_remove()
|
H A D | clk-sun6i-apb0-gates.c | 94 clk_data->clk_num = ngates + 1; sun6i_a31_apb0_gates_clk_probe()
|
H A D | clk-usb.c | 143 clk_data->clk_num = i; sunxi_usb_clk_setup()
|
H A D | clk-mod0.c | 329 clk_data->clk_num = 3; sunxi_mmc_setup()
|
H A D | clk-sunxi.c | 1038 clk_data->clk_num = i; sunxi_gates_clk_setup() 1230 clk_data->clk_num = i; sunxi_divs_clk_setup()
|
/linux-4.1.27/drivers/clk/ |
H A D | clk-efm32gg.c | 22 .clk_num = ARRAY_SIZE(clk),
|
H A D | clk-qoriq.c | 232 onecell_data->clk_num = count; core_pll_init() 319 cod->clk_num = i; pltfrm_pll_init() 321 for (i = 0; i < cod->clk_num; i++) { pltfrm_pll_init()
|
H A D | clk-rk808.c | 140 rk808_clkout->clk_data.clk_num = RK808_NR_OUTPUT; rk808_clkout_probe()
|
H A D | clk-clps711x.c | 187 clps711x_clk->clk_data.clk_num = CLPS711X_CLK_MAX; clps711x_clk_init_dt()
|
H A D | clk-max-gen.c | 169 of_data->clk_num = num_init; max_gen_clk_probe()
|
H A D | clk-asm9260.c | 341 clk_data.clk_num = MAX_CLKS; asm9260_acc_init()
|
H A D | clk-s2mps11.c | 263 clk_data.clk_num = S2MPS11_CLKS_NUM; s2mps11_clk_probe()
|
H A D | clk-axm5516.c | 566 priv->onecell.clk_num = num_clks; axmclk_probe()
|
H A D | clk-cdce706.c | 660 cdce->onecell.clk_num = ARRAY_SIZE(cdce->clks); cdce706_probe()
|
H A D | clk-si5351.c | 1506 drvdata->onecell.clk_num = num_clocks; si5351_i2c_probe()
|
H A D | clk.c | 2915 if (idx >= clk_data->clk_num) { of_clk_src_onecell_get()
|
/linux-4.1.27/drivers/clk/pxa/ |
H A D | clk-pxa.c | 26 .clk_num = CLK_MAX,
|
/linux-4.1.27/drivers/clk/sirf/ |
H A D | clk-atlas6.c | 149 clk_data.clk_num = maxclk; atlas6_clk_init()
|
H A D | clk-prima2.c | 148 clk_data.clk_num = maxclk; prima2_clk_init()
|
/linux-4.1.27/drivers/clk/mmp/ |
H A D | clk.c | 22 unit->clk_data.clk_num = nr_clks; mmp_clk_init()
|
/linux-4.1.27/drivers/clk/qcom/ |
H A D | common.c | 95 data->clk_num = num_clks; qcom_cc_really_probe()
|
/linux-4.1.27/drivers/clk/hisilicon/ |
H A D | clk.c | 72 clk_data->clk_data.clk_num = nr_clks; hisi_clk_init()
|
H A D | clk-hi3620.c | 504 clk_data->clk_num = num; hi3620_mmc_clk_init()
|
/linux-4.1.27/arch/arm/mach-imx/ |
H A D | clk-imx1.c | 114 clk_data.clk_num = ARRAY_SIZE(clk); mx1_clocks_init_dt()
|
H A D | clk-imx51-imx53.c | 364 clk_data.clk_num = ARRAY_SIZE(clk); mx50_clocks_init() 438 clk_data.clk_num = ARRAY_SIZE(clk); mx51_clocks_init() 553 clk_data.clk_num = ARRAY_SIZE(clk); mx53_clocks_init()
|
H A D | clk-imx21.c | 168 clk_data.clk_num = ARRAY_SIZE(clk); mx21_clocks_init_dt()
|
H A D | clk-imx27.c | 255 clk_data.clk_num = ARRAY_SIZE(clk); mx27_clocks_init_dt()
|
H A D | clk-imx31.c | 122 clk_data.clk_num = ARRAY_SIZE(clk); mx31_clocks_init()
|
H A D | clk-imx25.c | 261 clk_data.clk_num = ARRAY_SIZE(clk); mx25_clocks_init_dt()
|
H A D | clk-imx35.c | 291 clk_data.clk_num = ARRAY_SIZE(clk); mx35_clocks_init_dt()
|
H A D | clk-imx6sl.c | 416 clk_data.clk_num = ARRAY_SIZE(clks); imx6sl_clocks_init()
|
H A D | clk-vf610.c | 409 clk_data.clk_num = ARRAY_SIZE(clk); vf610_clocks_init()
|
H A D | clk-imx6q.c | 479 clk_data.clk_num = ARRAY_SIZE(clk); imx6q_clocks_init()
|
H A D | clk-imx6sx.c | 497 clk_data.clk_num = ARRAY_SIZE(clks); imx6sx_clocks_init()
|
/linux-4.1.27/drivers/clk/bcm/ |
H A D | clk-kona-setup.c | 762 for (i = 0; i < ccu->clk_data.clk_num; i++) ccu_clks_teardown() 810 if (ccu->clk_data.clk_num) { kona_dt_ccu_setup() 813 size = ccu->clk_data.clk_num * sizeof(*ccu->clk_data.clks); kona_dt_ccu_setup() 817 __func__, ccu->clk_data.clk_num, node->name); kona_dt_ccu_setup() 857 for (i = 0; i < ccu->clk_data.clk_num; i++) { kona_dt_ccu_setup()
|
H A D | clk-kona.h | 497 .clk_num = _prefix ## _ ## _ccuname ## _CCU_CLOCK_COUNT, \
|
H A D | clk-kona.c | 1257 for (which = 0; which < ccu->clk_data.clk_num; which++) { kona_ccu_init()
|
/linux-4.1.27/drivers/clk/ti/ |
H A D | fapll.c | 595 fd->outputs.clk_num++; ti_fapll_setup() 639 fd->outputs.clk_num++; ti_fapll_setup()
|
/linux-4.1.27/drivers/staging/clocking-wizard/ |
H A D | clk-xlnx-clock-wizard.c | 272 clk_wzrd->clk_data.clk_num = ARRAY_SIZE(clk_wzrd->clkout); clk_wzrd_probe()
|
/linux-4.1.27/drivers/clk/berlin/ |
H A D | bg2q.c | 378 clk_data.clk_num = MAX_CLKS; berlin2q_clock_setup()
|
H A D | bg2.c | 680 clk_data.clk_num = MAX_CLKS; berlin2_clock_setup()
|
/linux-4.1.27/drivers/clk/mxs/ |
H A D | clk-imx23.c | 170 clk_data.clk_num = ARRAY_SIZE(clks); mx23_clocks_init()
|
H A D | clk-imx28.c | 247 clk_data.clk_num = ARRAY_SIZE(clks); mx28_clocks_init()
|
/linux-4.1.27/sound/soc/samsung/ |
H A D | i2s.c | 1147 for (i = 0; i < i2s->clk_data.clk_num; i++) { i2s_unregister_clocks() 1201 i2s->clk_data.clk_num = 2; i2s_register_clock_provider() 1211 i2s->clk_data.clk_num += 1; i2s_register_clock_provider()
|
/linux-4.1.27/drivers/clk/ux500/ |
H A D | u8500_of_clk.c | 545 clk_data.clk_num = ARRAY_SIZE(prcmu_clk); for_each_child_of_node()
|
/linux-4.1.27/drivers/clk/zynq/ |
H A D | clkc.c | 579 clk_data.clk_num = ARRAY_SIZE(clks); zynq_clk_setup()
|
/linux-4.1.27/drivers/tty/serial/ |
H A D | samsung.c | 1176 unsigned int *clk_num) s3c24xx_serial_getclk() 1226 *clk_num = cnt; s3c24xx_serial_getclk() 1174 s3c24xx_serial_getclk(struct s3c24xx_uart_port *ourport, unsigned int req_baud, struct clk **best_clk, unsigned int *clk_num) s3c24xx_serial_getclk() argument
|
/linux-4.1.27/drivers/media/platform/exynos4-is/ |
H A D | media-dev.c | 1259 cp->clk_data.clk_num = cp->num_clocks; fimc_md_register_clk_provider()
|
/linux-4.1.27/arch/powerpc/platforms/512x/ |
H A D | clock-commonclk.c | 943 clk_data.clk_num = MPC512x_CLK_LAST_PUBLIC + 1; /* _not_ ARRAY_SIZE() */ mpc5121_clk_register_of_provider()
|
/linux-4.1.27/include/linux/ |
H A D | clk-provider.h | 610 unsigned int clk_num; member in struct:clk_onecell_data
|