/linux/drivers/pnp/ |
A D | base.h | 28 resource_size_t min; /* min base number */ 31 resource_size_t size; /* size of range */ 85 resource_size_t min, resource_size_t max, 86 resource_size_t align, resource_size_t size, 89 resource_size_t min, resource_size_t max, 90 resource_size_t align, resource_size_t size, 169 resource_size_t start, 170 resource_size_t end, int flags); 172 resource_size_t start, 175 resource_size_t start, [all …]
|
A D | resource.c | 98 resource_size_t min, resource_size_t max, in pnp_register_port_resource() 99 resource_size_t align, resource_size_t size, in pnp_register_port_resource() 121 resource_size_t min, resource_size_t max, in pnp_register_mem_resource() 122 resource_size_t align, resource_size_t size, in pnp_register_mem_resource() 357 resource_size_t *irq; in pnp_check_irq() 421 resource_size_t *dma; in pnp_check_dma() 569 resource_size_t start, in pnp_add_io_resource() 593 resource_size_t start, in pnp_add_mem_resource() 618 resource_size_t end) in pnp_add_bus_resource() 645 resource_size_t size) in pnp_possible_config() [all …]
|
/linux/include/linux/ |
A D | io.h | 56 void __iomem *devm_ioremap(struct device *dev, resource_size_t offset, 57 resource_size_t size); 59 resource_size_t size); 61 resource_size_t size); 63 resource_size_t size); 69 void *devm_memremap(struct device *dev, resource_size_t offset, 159 static inline int arch_io_reserve_memtype_wc(resource_size_t base, in arch_io_reserve_memtype_wc() 160 resource_size_t size) in arch_io_reserve_memtype_wc() 165 static inline void arch_io_free_memtype_wc(resource_size_t base, in arch_io_free_memtype_wc() 166 resource_size_t size) in arch_io_free_memtype_wc() [all …]
|
A D | ioport.h | 22 resource_size_t start; 23 resource_size_t end; 193 resource_size_t start, resource_size_t end, 201 resource_size_t size, resource_size_t min, 202 resource_size_t max, resource_size_t align, 210 resource_size_t size); 270 resource_size_t start, 271 resource_size_t n, 279 resource_size_t); 281 extern void release_mem_region_adjustable(resource_size_t, resource_size_t); [all …]
|
A D | pnp.h | 59 static inline resource_size_t pnp_port_start(struct pnp_dev *dev, in pnp_port_start() 69 static inline resource_size_t pnp_port_end(struct pnp_dev *dev, in pnp_port_end() 94 static inline resource_size_t pnp_port_len(struct pnp_dev *dev, in pnp_port_len() 105 static inline resource_size_t pnp_mem_start(struct pnp_dev *dev, in pnp_mem_start() 115 static inline resource_size_t pnp_mem_end(struct pnp_dev *dev, in pnp_mem_end() 139 static inline resource_size_t pnp_mem_len(struct pnp_dev *dev, in pnp_mem_len() 458 resource_size_t size); 464 int pnp_range_reserved(resource_size_t start, resource_size_t end); 488 resource_size_t base, in pnp_possible_config() 489 resource_size_t size) { return 0; } in pnp_possible_config() [all …]
|
A D | logic_pio.h | 21 resource_size_t hw_start; 22 resource_size_t io_start; 23 resource_size_t size; /* range size populated */ 118 resource_size_t hw_addr, resource_size_t size); 121 resource_size_t logic_pio_to_hwaddr(unsigned long pio); 122 unsigned long logic_pio_trans_cpuaddr(resource_size_t hw_addr);
|
/linux/drivers/gpu/drm/ |
A D | drm_aperture.c | 131 resource_size_t base; 132 resource_size_t size; 140 static bool overlap(resource_size_t base1, resource_size_t end1, in overlap() 141 resource_size_t base2, resource_size_t end2) in overlap() 160 resource_size_t base, resource_size_t size, in devm_aperture_acquire() 239 int devm_aperture_acquire_from_firmware(struct drm_device *dev, resource_size_t base, in devm_aperture_acquire_from_firmware() 240 resource_size_t size) in devm_aperture_acquire_from_firmware() 249 static void drm_aperture_detach_drivers(resource_size_t base, resource_size_t size) in drm_aperture_detach_drivers() 251 resource_size_t end = base + size; in drm_aperture_detach_drivers() 289 int drm_aperture_remove_conflicting_framebuffers(resource_size_t base, resource_size_t size, in drm_aperture_remove_conflicting_framebuffers() [all …]
|
/linux/tools/testing/nvdimm/test/ |
A D | iomap.c | 77 resource_size_t offset, unsigned long size) in __wrap_devm_ioremap() 129 resource_size_t offset = pgmap->range.start; in __wrap_devm_memremap_pages() 222 struct resource *parent, resource_size_t start, 223 resource_size_t n); 236 resource_size_t start = *((resource_size_t *) match_data); in match() 242 struct resource *parent, resource_size_t start, in nfit_test_release_region() 243 resource_size_t n) in nfit_test_release_region() 348 resource_size_t start, resource_size_t n, const char *name, in __wrap___request_region() 373 resource_size_t n, const char *name) in __wrap___devm_request_region() 382 resource_size_t n) in __wrap___release_region() [all …]
|
/linux/drivers/gpu/drm/i915/ |
A D | intel_memory_region.h | 58 resource_size_t size, 59 resource_size_t page_size, 76 resource_size_t io_start; 77 resource_size_t min_page_size; 78 resource_size_t total; 79 resource_size_t avail; 105 resource_size_t start, 106 resource_size_t size, 108 resource_size_t io_start, 128 resource_size_t offset, [all …]
|
/linux/arch/x86/kernel/ |
A D | early-quirks.c | 284 static resource_size_t __init i830_mem_size(void) in i830_mem_size() 289 static resource_size_t __init i85x_mem_size(void) in i85x_mem_size() 299 resource_size_t stolen_size) in i830_stolen_base() 305 resource_size_t stolen_size) in i845_stolen_base() 311 resource_size_t stolen_size) in i85x_stolen_base() 317 resource_size_t stolen_size) in i865_stolen_base() 327 resource_size_t stolen_size) in gen3_stolen_base() 342 resource_size_t stolen_size) in gen11_stolen_base() 465 resource_size_t size); 566 resource_size_t base, size; in intel_graphics_stolen() [all …]
|
/linux/drivers/gpu/drm/i915/gem/ |
A D | i915_gem_stolen.c | 91 resource_size_t ggtt_start; in i915_adjust_stolen() 181 resource_size_t *base, in g4x_get_stolen_reserved() 182 resource_size_t *size) in g4x_get_stolen_reserved() 249 resource_size_t *base, in vlv_get_stolen_reserved() 250 resource_size_t *size) in vlv_get_stolen_reserved() 305 resource_size_t *base, in chv_get_stolen_reserved() 306 resource_size_t *size) in chv_get_stolen_reserved() 548 resource_size_t offset, resource_size_t size) in i915_pages_create_for_stolen() 671 resource_size_t size, in _i915_gem_object_stolen_init() 781 resource_size_t io_start; in i915_gem_stolen_lmem_setup() [all …]
|
/linux/kernel/ |
A D | resource.c | 53 resource_size_t, resource_size_t); 256 resource_size_t size; in __release_child_resources() 350 static int find_next_iomem_res(resource_size_t start, resource_size_t end, in find_next_iomem_res() 731 resource_size_t size, resource_size_t min, in allocate_resource() argument 732 resource_size_t max, resource_size_t align, in allocate_resource() 1176 resource_size_t start, resource_size_t n, in __request_region_locked() 1235 resource_size_t start, resource_size_t n, in __request_region() 1272 resource_size_t end; in __release_region() 1570 resource_size_t n; 1590 resource_size_t start, resource_size_t n, const char *name) in __devm_request_region() [all …]
|
/linux/drivers/nvdimm/ |
A D | nd-core.h | 98 resource_size_t available, busy; 141 resource_size_t nd_pmem_max_contiguous_dpa(struct nd_region *nd_region, 144 resource_size_t nd_pmem_available_dpa(struct nd_region *nd_region, 145 struct nd_mapping *nd_mapping, resource_size_t *overlap); 146 resource_size_t nd_blk_available_dpa(struct nd_region *nd_region); 147 resource_size_t nd_region_available_dpa(struct nd_region *nd_region); 149 resource_size_t size); 150 resource_size_t nvdimm_allocated_dpa(struct nvdimm_drvdata *ndd, 155 resource_size_t start); 173 resource_size_t size); [all …]
|
/linux/drivers/pci/ |
A D | bus.c | 20 resource_size_t offset) in pci_add_resource_offset() 155 resource_size_t size, resource_size_t align, in pci_bus_alloc_from_region() argument 157 resource_size_t (*alignf)(void *, in pci_bus_alloc_from_region() 159 resource_size_t, in pci_bus_alloc_from_region() 160 resource_size_t), in pci_bus_alloc_from_region() argument 166 resource_size_t max; in pci_bus_alloc_from_region() 171 resource_size_t min_used = min; in pci_bus_alloc_from_region() 225 resource_size_t size, resource_size_t align, in pci_bus_alloc_resource() argument 229 resource_size_t, in pci_bus_alloc_resource() 230 resource_size_t), in pci_bus_alloc_resource() argument [all …]
|
A D | setup-bus.c | 35 resource_size_t start; 36 resource_size_t end; 37 resource_size_t add_size; 38 resource_size_t min_align; 136 resource_size_t r_align; in pdev_sort_resources() 163 resource_size_t align; in pdev_sort_resources() 789 static resource_size_t calculate_iosize(resource_size_t size, in calculate_iosize() 791 resource_size_t size1, in calculate_iosize() 816 static resource_size_t calculate_memsize(resource_size_t size, in calculate_memsize() 948 static inline resource_size_t calculate_mem_align(resource_size_t *aligns, in calculate_mem_align() [all …]
|
A D | setup-res.c | 196 int resno, resource_size_t size) in pci_revert_fw_address() 199 resource_size_t fw_addr, start, end; in pci_revert_fw_address() 238 resource_size_t __weak pcibios_align_resource(void *data, in pcibios_align_resource() 240 resource_size_t size, in pcibios_align_resource() 241 resource_size_t align) in pcibios_align_resource() 247 int resno, resource_size_t size, resource_size_t align) in __pci_assign_resource() 250 resource_size_t min; in __pci_assign_resource() 295 resource_size_t size, resource_size_t min_align) in _pci_assign_resource() 313 resource_size_t align, size; in pci_assign_resource() 356 resource_size_t min_align) in pci_reassign_resource() [all …]
|
/linux/arch/x86/mm/ |
A D | ioremap.c | 178 __ioremap_caller(resource_size_t phys_addr, unsigned long size, in __ioremap_caller() 182 resource_size_t last_addr; in __ioremap_caller() 183 const resource_size_t unaligned_phys_addr = phys_addr; in __ioremap_caller() 326 void __iomem *ioremap(resource_size_t phys_addr, unsigned long size) in ioremap() 523 static bool memremap_should_map_decrypted(resource_size_t phys_addr, in memremap_should_map_decrypted() 576 static bool memremap_is_efi_data(resource_size_t phys_addr, in memremap_is_efi_data() 615 static bool memremap_is_setup_data(resource_size_t phys_addr, in memremap_is_setup_data() 751 void __init *early_memremap_encrypted(resource_size_t phys_addr, in early_memremap_encrypted() 761 void __init *early_memremap_encrypted_wp(resource_size_t phys_addr, in early_memremap_encrypted_wp() 770 void __init *early_memremap_decrypted(resource_size_t phys_addr, in early_memremap_decrypted() [all …]
|
/linux/drivers/cxl/core/ |
A D | regs.c | 162 resource_size_t addr, in devm_cxl_iomap_block() 163 resource_size_t length) in devm_cxl_iomap_block() 188 resource_size_t phys_addr; in cxl_map_component_regs() 189 resource_size_t length; in cxl_map_component_regs() 209 resource_size_t phys_addr; in cxl_map_device_regs() 215 resource_size_t addr; in cxl_map_device_regs() 216 resource_size_t length; in cxl_map_device_regs() 226 resource_size_t addr; in cxl_map_device_regs() 227 resource_size_t length; in cxl_map_device_regs() 237 resource_size_t addr; in cxl_map_device_regs() [all …]
|
/linux/lib/ |
A D | devres.c | 27 resource_size_t size, in __devm_ioremap() 68 void __iomem *devm_ioremap(struct device *dev, resource_size_t offset, in devm_ioremap() 69 resource_size_t size) in devm_ioremap() 84 resource_size_t size) in devm_ioremap_uc() 99 resource_size_t size) in devm_ioremap_wc() 114 resource_size_t size) in devm_ioremap_np() 139 resource_size_t size; in __devm_ioremap_resource() 252 resource_size_t *size) in devm_of_iomap() 569 resource_size_t start; 570 resource_size_t size; [all …]
|
/linux/arch/microblaze/include/asm/ |
A D | pci-bridge.h | 39 resource_size_t io_base_phys; 41 resource_size_t pci_io_size; 46 resource_size_t pci_mem_offset; 52 resource_size_t isa_mem_phys; 53 resource_size_t isa_mem_size; 125 resource_size_t cfg_addr, 126 resource_size_t cfg_data, u32 flags);
|
/linux/arch/x86/include/asm/ |
A D | io.h | 183 extern void __iomem *ioremap_uc(resource_size_t offset, unsigned long size); 185 extern void __iomem *ioremap_cache(resource_size_t offset, unsigned long size); 187 extern void __iomem *ioremap_prot(resource_size_t offset, unsigned long size, unsigned long prot_va… 189 extern void __iomem *ioremap_encrypted(resource_size_t phys_addr, unsigned long size); 206 void __iomem *ioremap(resource_size_t offset, unsigned long size); 366 extern void __iomem *ioremap_wc(resource_size_t offset, unsigned long size); 368 extern void __iomem *ioremap_wt(resource_size_t offset, unsigned long size); 389 extern int arch_io_reserve_memtype_wc(resource_size_t start, resource_size_t size); 390 extern void arch_io_free_memtype_wc(resource_size_t start, resource_size_t size); 395 extern bool arch_memremap_can_ram_remap(resource_size_t offset,
|
/linux/include/drm/ |
A D | drm_aperture.h | 12 int devm_aperture_acquire_from_firmware(struct drm_device *dev, resource_size_t base, 13 resource_size_t size); 15 int drm_aperture_remove_conflicting_framebuffers(resource_size_t base, resource_size_t size, 35 return drm_aperture_remove_conflicting_framebuffers(0, (resource_size_t)-1, primary, in drm_aperture_remove_framebuffers()
|
/linux/arch/powerpc/include/asm/ |
A D | pci-bridge.h | 34 resource_size_t (*window_alignment)(struct pci_bus *bus, 71 resource_size_t io_base_phys; 72 resource_size_t pci_io_size; 78 resource_size_t isa_mem_phys; 79 resource_size_t isa_mem_size; 117 resource_size_t mem_offset[3]; 120 resource_size_t dma_window_base_cur; 121 resource_size_t dma_window_size; 155 resource_size_t cfg_addr, 156 resource_size_t cfg_data, u32 flags);
|
/linux/mm/ |
A D | early_ioremap.c | 34 pgprot_t __init __weak early_memremap_pgprot_adjust(resource_size_t phys_addr, in early_memremap_pgprot_adjust() 101 __early_ioremap(resource_size_t phys_addr, unsigned long size, pgprot_t prot) in __early_ioremap() 104 resource_size_t last_addr; in __early_ioremap() 212 early_ioremap(resource_size_t phys_addr, unsigned long size) in early_ioremap() 219 early_memremap(resource_size_t phys_addr, unsigned long size) in early_memremap() 228 early_memremap_ro(resource_size_t phys_addr, unsigned long size) in early_memremap_ro() 239 early_memremap_prot(resource_size_t phys_addr, unsigned long size, in early_memremap_prot() 271 early_ioremap(resource_size_t phys_addr, unsigned long size) in early_ioremap() 278 early_memremap(resource_size_t phys_addr, unsigned long size) in early_memremap() 283 early_memremap_ro(resource_size_t phys_addr, unsigned long size) in early_memremap_ro()
|
/linux/arch/xtensa/kernel/ |
A D | pci.c | 40 resource_size_t 42 resource_size_t size, resource_size_t align) in pcibios_align_resource() 45 resource_size_t start = res->start; in pcibios_align_resource() 77 resource_size_t ioaddr = pci_resource_start(pdev, bar); in pci_iobar_pfn()
|