Searched refs:clk_num (Results 1 - 79 of 79) sorted by relevance

/linux-4.1.27/drivers/clk/tegra/
H A Dclk-periph-gate.c43 #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 Dclk.c79 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 Dclk-tegra-audio.c78 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 Dclk-periph.c165 bank = get_reg_bank(periph->gate.clk_num); _tegra_clk_register_periph()
H A Dclk.h362 * @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 Dclk-tegra-periph.c599 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 Dclk-s5pv210-audss.c90 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 Dclk-exynos-audss.c99 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 Dclk-exynos-clkout.c112 clkout->data.clk_num = EXYNOS_CLKOUT_NR_CLKS; exynos_clkout_init()
H A Dclk-s3c2410-dclk.c260 s3c24xx_dclk->clk_data.clk_num = DCLK_MAX_CLKS; s3c24xx_dclk_probe()
H A Dclk.c75 ctx->clk_data.clk_num = nr_clks; samsung_clk_init()
/linux-4.1.27/drivers/clk/pistachio/
H A Dclk.c29 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 Dclk-flexgen.c289 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 Dclkgen-mux.c415 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 Dclkgen-pll.c486 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 Dclkgen-fsyn.c1104 clk_data->clk_num = QUADFS_MAX_CHAN; st_of_create_quadfs_fsynths()
/linux-4.1.27/drivers/clk/mvebu/
H A Dclk-corediv.c253 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 Dcommon.c123 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 Dclk-cpu.c232 clk_data.clk_num = MAX_CPU; of_cpu_clk_setup()
/linux-4.1.27/drivers/clk/rockchip/
H A Dclk-rockchip.c89 clk_data->clk_num = qty; rk2928_gate_clk_init()
H A Dclk.c172 clk_data.clk_num = nr_clks; rockchip_clk_init()
/linux-4.1.27/drivers/clk/shmobile/
H A Dclk-mstp.c219 group->data.clk_num = max(group->data.clk_num, cpg_mstp_clocks_init()
H A Dclk-r8a7778.c105 cpg->data.clk_num = num_clks; r8a7778_cpg_clocks_init()
H A Dclk-rz.c83 cpg->data.clk_num = num_clks; rz_cpg_clocks_init()
H A Dclk-r8a7779.c149 cpg->data.clk_num = num_clks; r8a7779_cpg_clocks_init()
H A Dclk-r8a73a4.c217 cpg->data.clk_num = num_clks; r8a73a4_cpg_clocks_init()
H A Dclk-r8a7740.c175 cpg->data.clk_num = num_clks; r8a7740_cpg_clocks_init()
H A Dclk-sh73a0.c189 cpg->data.clk_num = num_clks; sh73a0_cpg_clocks_init()
H A Dclk-rcar-gen2.c394 cpg->data.clk_num = num_clks; rcar_gen2_cpg_clocks_init()
/linux-4.1.27/drivers/clk/sunxi/
H A Dclk-sun9i-mmc.c114 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 Dclk-sun6i-apb0-gates.c94 clk_data->clk_num = ngates + 1; sun6i_a31_apb0_gates_clk_probe()
H A Dclk-usb.c143 clk_data->clk_num = i; sunxi_usb_clk_setup()
H A Dclk-mod0.c329 clk_data->clk_num = 3; sunxi_mmc_setup()
H A Dclk-sunxi.c1038 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 Dclk-efm32gg.c22 .clk_num = ARRAY_SIZE(clk),
H A Dclk-qoriq.c232 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 Dclk-rk808.c140 rk808_clkout->clk_data.clk_num = RK808_NR_OUTPUT; rk808_clkout_probe()
H A Dclk-clps711x.c187 clps711x_clk->clk_data.clk_num = CLPS711X_CLK_MAX; clps711x_clk_init_dt()
H A Dclk-max-gen.c169 of_data->clk_num = num_init; max_gen_clk_probe()
H A Dclk-asm9260.c341 clk_data.clk_num = MAX_CLKS; asm9260_acc_init()
H A Dclk-s2mps11.c263 clk_data.clk_num = S2MPS11_CLKS_NUM; s2mps11_clk_probe()
H A Dclk-axm5516.c566 priv->onecell.clk_num = num_clks; axmclk_probe()
H A Dclk-cdce706.c660 cdce->onecell.clk_num = ARRAY_SIZE(cdce->clks); cdce706_probe()
H A Dclk-si5351.c1506 drvdata->onecell.clk_num = num_clocks; si5351_i2c_probe()
H A Dclk.c2915 if (idx >= clk_data->clk_num) { of_clk_src_onecell_get()
/linux-4.1.27/drivers/clk/pxa/
H A Dclk-pxa.c26 .clk_num = CLK_MAX,
/linux-4.1.27/drivers/clk/sirf/
H A Dclk-atlas6.c149 clk_data.clk_num = maxclk; atlas6_clk_init()
H A Dclk-prima2.c148 clk_data.clk_num = maxclk; prima2_clk_init()
/linux-4.1.27/drivers/clk/mmp/
H A Dclk.c22 unit->clk_data.clk_num = nr_clks; mmp_clk_init()
/linux-4.1.27/drivers/clk/qcom/
H A Dcommon.c95 data->clk_num = num_clks; qcom_cc_really_probe()
/linux-4.1.27/drivers/clk/hisilicon/
H A Dclk.c72 clk_data->clk_data.clk_num = nr_clks; hisi_clk_init()
H A Dclk-hi3620.c504 clk_data->clk_num = num; hi3620_mmc_clk_init()
/linux-4.1.27/arch/arm/mach-imx/
H A Dclk-imx1.c114 clk_data.clk_num = ARRAY_SIZE(clk); mx1_clocks_init_dt()
H A Dclk-imx51-imx53.c364 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 Dclk-imx21.c168 clk_data.clk_num = ARRAY_SIZE(clk); mx21_clocks_init_dt()
H A Dclk-imx27.c255 clk_data.clk_num = ARRAY_SIZE(clk); mx27_clocks_init_dt()
H A Dclk-imx31.c122 clk_data.clk_num = ARRAY_SIZE(clk); mx31_clocks_init()
H A Dclk-imx25.c261 clk_data.clk_num = ARRAY_SIZE(clk); mx25_clocks_init_dt()
H A Dclk-imx35.c291 clk_data.clk_num = ARRAY_SIZE(clk); mx35_clocks_init_dt()
H A Dclk-imx6sl.c416 clk_data.clk_num = ARRAY_SIZE(clks); imx6sl_clocks_init()
H A Dclk-vf610.c409 clk_data.clk_num = ARRAY_SIZE(clk); vf610_clocks_init()
H A Dclk-imx6q.c479 clk_data.clk_num = ARRAY_SIZE(clk); imx6q_clocks_init()
H A Dclk-imx6sx.c497 clk_data.clk_num = ARRAY_SIZE(clks); imx6sx_clocks_init()
/linux-4.1.27/drivers/clk/bcm/
H A Dclk-kona-setup.c762 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 Dclk-kona.h497 .clk_num = _prefix ## _ ## _ccuname ## _CCU_CLOCK_COUNT, \
H A Dclk-kona.c1257 for (which = 0; which < ccu->clk_data.clk_num; which++) { kona_ccu_init()
/linux-4.1.27/drivers/clk/ti/
H A Dfapll.c595 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 Dclk-xlnx-clock-wizard.c272 clk_wzrd->clk_data.clk_num = ARRAY_SIZE(clk_wzrd->clkout); clk_wzrd_probe()
/linux-4.1.27/drivers/clk/berlin/
H A Dbg2q.c378 clk_data.clk_num = MAX_CLKS; berlin2q_clock_setup()
H A Dbg2.c680 clk_data.clk_num = MAX_CLKS; berlin2_clock_setup()
/linux-4.1.27/drivers/clk/mxs/
H A Dclk-imx23.c170 clk_data.clk_num = ARRAY_SIZE(clks); mx23_clocks_init()
H A Dclk-imx28.c247 clk_data.clk_num = ARRAY_SIZE(clks); mx28_clocks_init()
/linux-4.1.27/sound/soc/samsung/
H A Di2s.c1147 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 Du8500_of_clk.c545 clk_data.clk_num = ARRAY_SIZE(prcmu_clk); for_each_child_of_node()
/linux-4.1.27/drivers/clk/zynq/
H A Dclkc.c579 clk_data.clk_num = ARRAY_SIZE(clks); zynq_clk_setup()
/linux-4.1.27/drivers/tty/serial/
H A Dsamsung.c1176 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 Dmedia-dev.c1259 cp->clk_data.clk_num = cp->num_clocks; fimc_md_register_clk_provider()
/linux-4.1.27/arch/powerpc/platforms/512x/
H A Dclock-commonclk.c943 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 Dclk-provider.h610 unsigned int clk_num; member in struct:clk_onecell_data

Completed in 1360 milliseconds