Searched +defs:resource +path:ioport +path:. +path:h (Results 1 - 1 of 1) sorted by relevance
/linux-4.1.27/include/linux/ |
H A D | ioport.h | 18 struct resource { struct 23 struct resource *parent, *sibling, *child; 52 #define IORESOURCE_EXCLUSIVE 0x08000000 /* Userland may not map this resource */ 56 #define IORESOURCE_BUSY 0x80000000 /* Driver has marked this resource busy */ 101 #define IORESOURCE_ROM_COPY (1<<2) /* ROM is alloc'd copy, resource field overlaid */ 102 #define IORESOURCE_ROM_BIOS_COPY (1<<3) /* ROM is BIOS copy, resource field overlaid */ 105 #define IORESOURCE_PCI_FIXED (1<<4) /* Do not move resource */ 138 extern struct resource ioport_resource; 139 extern struct resource iomem_resource; 141 extern struct resource *request_resource_conflict(struct resource *root, struct resource *new); 142 extern int request_resource(struct resource *root, struct resource *new); 143 extern int release_resource(struct resource *new); 144 void release_child_resources(struct resource *new); 145 extern void reserve_region_with_split(struct resource *root, 148 extern struct resource *insert_resource_conflict(struct resource *parent, struct resource *new); 149 extern int insert_resource(struct resource *parent, struct resource *new); 150 extern void insert_resource_expand_to_fit(struct resource *root, struct resource *new); 151 extern void arch_remove_reservations(struct resource *avail); 152 extern int allocate_resource(struct resource *root, struct resource *new, 156 const struct resource *, 160 struct resource *lookup_resource(struct resource *root, resource_size_t start); 161 int adjust_resource(struct resource *res, resource_size_t start, 163 resource_size_t resource_alignment(struct resource *res); resource_size() 164 static inline resource_size_t resource_size(const struct resource *res) resource_size() 168 static inline unsigned long resource_type(const struct resource *res) resource_type() 173 static inline bool resource_contains(struct resource *r1, struct resource *r2) resource_contains() 192 extern struct resource * __request_region(struct resource *, 201 extern void __release_region(struct resource *, resource_size_t, 204 extern int release_mem_region_adjustable(struct resource *, resource_size_t, 211 extern int devm_request_resource(struct device *dev, struct resource *root, 212 struct resource *new); 213 extern void devm_release_resource(struct device *dev, struct resource *new); 220 extern struct resource * __devm_request_region(struct device *dev, 221 struct resource *parent, resource_size_t start, 229 extern void __devm_release_region(struct device *dev, struct resource *parent, 245 static inline bool resource_overlaps(struct resource *r1, struct resource *r2) resource_overlaps()
|
Completed in 122 milliseconds