Home
last modified time | relevance | path

Searched refs:hwmods (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/arch/arm/mach-omap2/
H A Domap_device.c121 * omap_device_build_from_dt - build an omap_device with multiple hwmods
130 struct omap_hwmod **hwmods; in omap_device_build_from_dt() local
139 oh_cnt = of_property_count_strings(node, "ti,hwmods"); in omap_device_build_from_dt()
141 dev_dbg(&pdev->dev, "No 'hwmods' to build omap_device\n"); in omap_device_build_from_dt()
146 ret = of_property_read_string_index(node, "ti,hwmods", 0, &oh_name); in omap_device_build_from_dt()
156 hwmods = kcalloc(oh_cnt, sizeof(struct omap_hwmod *), GFP_KERNEL); in omap_device_build_from_dt()
157 if (!hwmods) { in omap_device_build_from_dt()
163 of_property_read_string_index(node, "ti,hwmods", i, &oh_name); in omap_device_build_from_dt()
171 hwmods[i] = oh; in omap_device_build_from_dt()
176 od = omap_device_alloc(pdev, hwmods, oh_cn in omap_device_build_from_dt()
336 struct omap_hwmod **hwmods; omap_device_alloc() local
[all...]
H A Domap_device.h43 * @hwmods: (one .. many per omap_device)
44 * @hwmods_cnt: ARRAY_SIZE() of @hwmods
57 struct omap_hwmod **hwmods; member
/kernel/linux/linux-6.6/arch/arm/mach-omap2/
H A Domap_device.c124 * omap_device_build_from_dt - build an omap_device with multiple hwmods
133 struct omap_hwmod **hwmods; in omap_device_build_from_dt() local
142 oh_cnt = of_property_count_strings(node, "ti,hwmods"); in omap_device_build_from_dt()
144 dev_dbg(&pdev->dev, "No 'hwmods' to build omap_device\n"); in omap_device_build_from_dt()
149 ret = of_property_read_string_index(node, "ti,hwmods", 0, &oh_name); in omap_device_build_from_dt()
159 hwmods = kcalloc(oh_cnt, sizeof(struct omap_hwmod *), GFP_KERNEL); in omap_device_build_from_dt()
160 if (!hwmods) { in omap_device_build_from_dt()
166 of_property_read_string_index(node, "ti,hwmods", i, &oh_name); in omap_device_build_from_dt()
174 hwmods[i] = oh; in omap_device_build_from_dt()
179 od = omap_device_alloc(pdev, hwmods, oh_cn in omap_device_build_from_dt()
310 struct omap_hwmod **hwmods; omap_device_alloc() local
[all...]
H A Domap_device.h40 * @hwmods: (one .. many per omap_device)
41 * @hwmods_cnt: ARRAY_SIZE() of @hwmods
54 struct omap_hwmod **hwmods; member

Completed in 2 milliseconds