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

/linux-4.1.27/arch/arm/mach-omap2/
H A Dpmu.c29 * @oh_num: Number of OMAP HWMODs required to create PMU device
36 static int __init omap2_init_pmu(unsigned oh_num, char *oh_names[]) omap2_init_pmu() argument
43 if ((!oh_num) || (oh_num > 3)) omap2_init_pmu()
46 for (i = 0; i < oh_num; i++) { omap2_init_pmu()
54 omap_pmu_dev = omap_device_build_ss(dev_name, -1, oh, oh_num, NULL, 0); omap2_init_pmu()
63 unsigned oh_num; omap_init_pmu() local
85 oh_num = ARRAY_SIZE(omap4430_pmu_oh_names); omap_init_pmu()
88 oh_num = ARRAY_SIZE(omap3_pmu_oh_names); omap_init_pmu()
91 oh_num = ARRAY_SIZE(omap2_pmu_oh_names); omap_init_pmu()
95 return omap2_init_pmu(oh_num, oh_names); omap_init_pmu()

Completed in 45 milliseconds