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

/linux-master/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; local
142 oh_cnt = of_property_count_strings(node, "ti,hwmods");
144 dev_dbg(&pdev->dev, "No 'hwmods' to build omap_device\n");
149 ret = of_property_read_string_index(node, "ti,hwmods", 0, &oh_name);
159 hwmods = kcalloc(oh_cnt, sizeof(struct omap_hwmod *), GFP_KERNEL);
160 if (!hwmods) {
166 of_property_read_string_index(node, "ti,hwmods", i, &oh_name);
174 hwmods[i] = oh;
179 od = omap_device_alloc(pdev, hwmods, oh_cn
310 struct omap_hwmod **hwmods; 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 in struct:omap_device

Completed in 214 milliseconds