Lines Matching defs:oh_cnt
136 int oh_cnt, i, ret = 0;
139 oh_cnt = of_property_count_strings(node, "ti,hwmods");
140 if (oh_cnt <= 0) {
156 hwmods = kcalloc(oh_cnt, sizeof(struct omap_hwmod *), GFP_KERNEL);
162 for (i = 0; i < oh_cnt; i++) {
176 od = omap_device_alloc(pdev, hwmods, oh_cnt);
323 * @oh_cnt: the size of the ohs list
331 struct omap_hwmod **ohs, int oh_cnt)
343 od->hwmods_cnt = oh_cnt;
345 hwmods = kmemdup(ohs, sizeof(struct omap_hwmod *) * oh_cnt, GFP_KERNEL);
353 for (i = 0; i < oh_cnt; i++) {