Lines Matching refs:resource
18 struct resource { struct
23 struct resource *parent, *sibling, *child; argument
28 struct resource *res;
110 extern struct resource ioport_resource;
111 extern struct resource iomem_resource;
113 extern int request_resource(struct resource *root, struct resource *new);
114 extern int release_resource(struct resource *new);
115 extern void reserve_region_with_split(struct resource *root,
118 extern int insert_resource(struct resource *parent, struct resource *new);
119 extern void insert_resource_expand_to_fit(struct resource *root, struct resource *new);
120 extern int allocate_resource(struct resource *root, struct resource *new,
123 void (*alignf)(void *, struct resource *,
126 int adjust_resource(struct resource *res, resource_size_t start,
128 resource_size_t resource_alignment(struct resource *res);
129 static inline resource_size_t resource_size(const struct resource *res) in resource_size()
133 static inline unsigned long resource_type(const struct resource *res) in resource_type()
146 extern struct resource * __request_region(struct resource *,
156 extern int __check_region(struct resource *, resource_size_t, resource_size_t);
157 extern void __release_region(struct resource *, resource_size_t,
173 extern struct resource * __devm_request_region(struct device *dev,
174 struct resource *parent, resource_size_t start,
182 extern void __devm_release_region(struct device *dev, struct resource *parent,