Lines Matching defs:oh_cnt
43 struct omap_hwmod **ohs, int oh_cnt);
139 int oh_cnt, i, ret = 0;
142 oh_cnt = of_property_count_strings(node, "ti,hwmods");
143 if (oh_cnt <= 0) {
159 hwmods = kcalloc(oh_cnt, sizeof(struct omap_hwmod *), GFP_KERNEL);
165 for (i = 0; i < oh_cnt; i++) {
179 od = omap_device_alloc(pdev, hwmods, oh_cnt);
297 * @oh_cnt: the size of the ohs list
305 struct omap_hwmod **ohs, int oh_cnt)
316 od->hwmods_cnt = oh_cnt;
318 hwmods = kmemdup(ohs, sizeof(struct omap_hwmod *) * oh_cnt, GFP_KERNEL);
326 for (i = 0; i < oh_cnt; i++) {