Lines Matching defs:resource
67 * @resource: array of resources available to this device
68 * @num_resources: number of resources in @resource array
78 struct resource *resource;
96 * intel_th_device_get_resource() - obtain @num'th resource of type @type
97 * @thdev: the device to search the resource for
98 * @type: resource type
99 * @num: number of the resource
101 static inline struct resource *
108 if (resource_type(&thdev->resource[i]) == type && !num--)
109 return &thdev->resource[i];
231 struct resource *devres, unsigned int ndevres);
265 * @resource: resources of the entire controller
267 * @num_resources: number of resources in the @resource array
280 struct resource resource[TH_MMIO_END];