Searched refs:oh_cnt (Results 1 – 1 of 1) sorted by relevance
/linux/arch/arm/mach-omap2/ |
H A D | omap_device.c | 43 struct omap_hwmod **ohs, int oh_cnt); 139 int oh_cnt, i, ret = 0; in omap_device_build_from_dt() local 142 oh_cnt = of_property_count_strings(node, "ti,hwmods"); in omap_device_build_from_dt() 143 if (oh_cnt <= 0) { in omap_device_build_from_dt() 159 hwmods = kcalloc(oh_cnt, sizeof(struct omap_hwmod *), GFP_KERNEL); in omap_device_build_from_dt() 165 for (i = 0; i < oh_cnt; i++) { in omap_device_build_from_dt() 179 od = omap_device_alloc(pdev, hwmods, oh_cnt); in omap_device_build_from_dt() 305 struct omap_hwmod **ohs, int oh_cnt) in omap_device_alloc() argument 316 od->hwmods_cnt = oh_cnt; in omap_device_alloc() 318 hwmods = kmemdup_array(ohs, oh_cnt, sizeof(*hwmods), GFP_KERNEL); in omap_device_alloc() [all …]
|