Lines Matching refs:start
22 resource_size_t start; member
159 .start = (_start), \
200 resource_size_t start, resource_size_t end,
215 struct resource *lookup_resource(struct resource *root, resource_size_t start);
216 int adjust_resource(struct resource *res, resource_size_t start,
221 return res->end - res->start + 1; in resource_size()
238 return r1->start <= r2->start && r1->end >= r2->end; in resource_contains()
244 return r1->start <= r2->end && r1->end >= r2->start; in resource_overlaps()
252 r->start = max(r1->start, r2->start); in resource_intersection()
262 r->start = min(r1->start, r2->start); in resource_union()
268 #define request_region(start,n,name) __request_region(&ioport_resource, (start), (n), (name), 0) argument
269 #define request_muxed_region(start,n,name) __request_region(&ioport_resource, (start), (n), (name),… argument
270 #define __request_mem_region(start,n,name, excl) __request_region(&iomem_resource, (start), (n), (n… argument
271 #define request_mem_region(start,n,name) __request_region(&iomem_resource, (start), (n), (name), 0) argument
272 #define request_mem_region_muxed(start, n, name) \ argument
273 __request_region(&iomem_resource, (start), (n), (name), IORESOURCE_MUXED)
274 #define request_mem_region_exclusive(start,n,name) \ argument
275 __request_region(&iomem_resource, (start), (n), (name), IORESOURCE_EXCLUSIVE)
279 resource_size_t start,
284 #define release_region(start,n) __release_region(&ioport_resource, (start), (n)) argument
285 #define release_mem_region(start,n) __release_region(&iomem_resource, (start), (n)) argument
303 #define devm_request_region(dev,start,n,name) \ argument
304 __devm_request_region(dev, &ioport_resource, (start), (n), (name))
305 #define devm_request_mem_region(dev,start,n,name) \ argument
306 __devm_request_region(dev, &iomem_resource, (start), (n), (name))
309 struct resource *parent, resource_size_t start,
312 #define devm_release_region(dev, start, n) \ argument
313 __devm_release_region(dev, &ioport_resource, (start), (n))
314 #define devm_release_mem_region(dev, start, n) \ argument
315 __devm_release_region(dev, &iomem_resource, (start), (n))
318 resource_size_t start, resource_size_t n);
328 walk_mem_res(u64 start, u64 end, void *arg,
331 walk_system_ram_res(u64 start, u64 end, void *arg,
334 walk_iomem_res_desc(unsigned long desc, unsigned long flags, u64 start, u64 end,
346 res->start = irq; in irqresource_disabled()