Home
last modified time | relevance | path

Searched refs:oh_cnt (Results 1 – 2 of 2) sorted by relevance

/arch/arm/mach-omap2/
Domap_device.c131 int oh_cnt, i, ret = 0; in omap_device_build_from_dt() local
133 oh_cnt = of_property_count_strings(node, "ti,hwmods"); in omap_device_build_from_dt()
134 if (oh_cnt <= 0) { in omap_device_build_from_dt()
139 hwmods = kzalloc(sizeof(struct omap_hwmod *) * oh_cnt, GFP_KERNEL); in omap_device_build_from_dt()
145 for (i = 0; i < oh_cnt; i++) { in omap_device_build_from_dt()
157 od = omap_device_alloc(pdev, hwmods, oh_cnt); in omap_device_build_from_dt()
367 struct omap_hwmod **ohs, int oh_cnt) in omap_device_alloc() argument
380 od->hwmods_cnt = oh_cnt; in omap_device_alloc()
382 hwmods = kmemdup(ohs, sizeof(struct omap_hwmod *) * oh_cnt, GFP_KERNEL); in omap_device_alloc()
458 for (i = 0; i < oh_cnt; i++) { in omap_device_alloc()
[all …]
Domap_device.h79 struct omap_hwmod **oh, int oh_cnt,
83 struct omap_hwmod **ohs, int oh_cnt);