Searched refs:oh_cnt (Results 1 - 3 of 3) sorted by relevance
/kernel/linux/linux-6.6/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() 297 * @oh_cnt: the size of the ohs list 305 struct omap_hwmod **ohs, int oh_cnt) in omap_device_alloc() 316 od->hwmods_cnt = oh_cnt; in omap_device_alloc() 304 omap_device_alloc(struct platform_device *pdev, struct omap_hwmod **ohs, int oh_cnt) omap_device_alloc() argument [all...] |
/kernel/linux/linux-5.10/arch/arm/mach-omap2/ |
H A D | omap_device.c | 136 int oh_cnt, i, ret = 0; in omap_device_build_from_dt() local 139 oh_cnt = of_property_count_strings(node, "ti,hwmods"); in omap_device_build_from_dt() 140 if (oh_cnt <= 0) { in omap_device_build_from_dt() 156 hwmods = kcalloc(oh_cnt, sizeof(struct omap_hwmod *), GFP_KERNEL); in omap_device_build_from_dt() 162 for (i = 0; i < oh_cnt; i++) { in omap_device_build_from_dt() 176 od = omap_device_alloc(pdev, hwmods, oh_cnt); in omap_device_build_from_dt() 323 * @oh_cnt: the size of the ohs list 331 struct omap_hwmod **ohs, int oh_cnt) in omap_device_alloc() 343 od->hwmods_cnt = oh_cnt; in omap_device_alloc() 345 hwmods = kmemdup(ohs, sizeof(struct omap_hwmod *) * oh_cnt, GFP_KERNE in omap_device_alloc() 330 omap_device_alloc(struct platform_device *pdev, struct omap_hwmod **ohs, int oh_cnt) omap_device_alloc() argument [all...] |
H A D | omap_device.h | 72 struct omap_hwmod **ohs, int oh_cnt);
|
Completed in 2 milliseconds