Home
last modified time | relevance | path

Searched refs:resource_size_t (Results 1 – 25 of 525) sorted by relevance

12345678910>>...21

/linux-6.1.9/drivers/pnp/
Dbase.h28 resource_size_t min; /* min base number */
29 resource_size_t max; /* max base number */
30 resource_size_t align; /* align boundary */
31 resource_size_t size; /* size of range */
49 resource_size_t min; /* min base number */
50 resource_size_t max; /* max base number */
51 resource_size_t align; /* align boundary */
52 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,
[all …]
Dresource.c99 resource_size_t min, resource_size_t max, in pnp_register_port_resource()
100 resource_size_t align, resource_size_t size, in pnp_register_port_resource()
122 resource_size_t min, resource_size_t max, in pnp_register_mem_resource()
123 resource_size_t align, resource_size_t size, in pnp_register_mem_resource()
172 resource_size_t *port, *end, *tport, *tend; in pnp_check_port()
235 resource_size_t *addr, *end, *taddr, *tend; in pnp_check_mem()
358 resource_size_t *irq; in pnp_check_irq()
422 resource_size_t *dma; in pnp_check_dma()
570 resource_size_t start, in pnp_add_io_resource()
571 resource_size_t end, int flags) in pnp_add_io_resource()
[all …]
/linux-6.1.9/include/linux/
Dio.h56 void __iomem *devm_ioremap(struct device *dev, resource_size_t offset,
57 resource_size_t size);
58 void __iomem *devm_ioremap_uc(struct device *dev, resource_size_t offset,
59 resource_size_t size);
60 void __iomem *devm_ioremap_wc(struct device *dev, resource_size_t offset,
61 resource_size_t size);
67 void *devm_memremap(struct device *dev, resource_size_t offset,
144 void *memremap(resource_size_t offset, size_t size, unsigned long flags);
157 static inline int arch_io_reserve_memtype_wc(resource_size_t base, in arch_io_reserve_memtype_wc()
158 resource_size_t size) in arch_io_reserve_memtype_wc()
[all …]
Daperture.h13 resource_size_t base,
14 resource_size_t size);
16 int aperture_remove_conflicting_devices(resource_size_t base, resource_size_t size,
22 resource_size_t base, in devm_aperture_acquire_for_platform_device()
23 resource_size_t size) in devm_aperture_acquire_for_platform_device()
28 static inline int aperture_remove_conflicting_devices(resource_size_t base, resource_size_t size, in aperture_remove_conflicting_devices()
53 return aperture_remove_conflicting_devices(0, (resource_size_t)-1, primary, name); in aperture_remove_all_conflicting_devices()
Dioport.h22 resource_size_t start;
23 resource_size_t end;
200 resource_size_t start, resource_size_t end,
208 resource_size_t size, resource_size_t min,
209 resource_size_t max, resource_size_t align,
210 resource_size_t (*alignf)(void *,
212 resource_size_t,
213 resource_size_t),
215 struct resource *lookup_resource(struct resource *root, resource_size_t start);
216 int adjust_resource(struct resource *res, resource_size_t start,
[all …]
Dlogic_pio.h21 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-6.1.9/drivers/gpu/drm/i915/
Dintel_memory_region.h60 resource_size_t offset,
61 resource_size_t size,
62 resource_size_t page_size,
74 resource_size_t io_start;
75 resource_size_t io_size;
76 resource_size_t min_page_size;
77 resource_size_t total;
101 resource_size_t start,
102 resource_size_t size,
103 resource_size_t min_page_size,
[all …]
/linux-6.1.9/drivers/video/
Daperture.c135 resource_size_t base;
136 resource_size_t size;
144 static bool overlap(resource_size_t base1, resource_size_t end1, in overlap()
145 resource_size_t base2, resource_size_t end2) in overlap()
164 resource_size_t base, resource_size_t size, in devm_aperture_acquire()
240 resource_size_t base, in devm_aperture_acquire_for_platform_device()
241 resource_size_t size) in devm_aperture_acquire_for_platform_device()
247 static void aperture_detach_devices(resource_size_t base, resource_size_t size) in aperture_detach_devices()
249 resource_size_t end = base + size; in aperture_detach_devices()
285 int aperture_remove_conflicting_devices(resource_size_t base, resource_size_t size, in aperture_remove_conflicting_devices()
[all …]
/linux-6.1.9/tools/testing/nvdimm/test/
Diomap.c43 static struct nfit_test_resource *__get_nfit_res(resource_size_t resource) in __get_nfit_res()
53 struct nfit_test_resource *get_nfit_res(resource_size_t resource) in get_nfit_res()
75 resource_size_t offset, unsigned long size) in __wrap_devm_ioremap()
86 void *__wrap_devm_memremap(struct device *dev, resource_size_t offset, in __wrap_devm_memremap()
119 resource_size_t offset = pgmap->range.start; in __wrap_devm_memremap_pages()
148 void *__wrap_memremap(resource_size_t offset, size_t size, in __wrap_memremap()
169 void __iomem *__wrap_ioremap(resource_size_t offset, unsigned long size) in __wrap_ioremap()
175 void __iomem *__wrap_ioremap_wc(resource_size_t offset, unsigned long size) in __wrap_ioremap_wc()
201 struct resource *parent, resource_size_t start,
202 resource_size_t n);
[all …]
/linux-6.1.9/kernel/
Dresource.c51 resource_size_t min, max, align;
52 resource_size_t (*alignf)(void *, const struct resource *,
53 resource_size_t, resource_size_t);
173 resource_size_t start = new->start; in __request_resource()
174 resource_size_t end = new->end; in __request_resource()
231 resource_size_t size; in __release_child_resources()
325 static int find_next_iomem_res(resource_size_t start, resource_size_t end, in find_next_iomem_res()
374 static int __walk_iomem_res_desc(resource_size_t start, resource_size_t end, in __walk_iomem_res_desc()
455 resource_size_t start, end; in walk_system_ram_range()
492 static int __region_intersects(struct resource *parent, resource_size_t start, in __region_intersects()
[all …]
/linux-6.1.9/drivers/gpu/drm/i915/gem/
Di915_gem_stolen.c100 resource_size_t ggtt_start; in i915_adjust_stolen()
190 resource_size_t *base, in g4x_get_stolen_reserved()
191 resource_size_t *size) in g4x_get_stolen_reserved()
197 resource_size_t stolen_top = i915->dsm.end + 1; in g4x_get_stolen_reserved()
225 resource_size_t *base, in gen6_get_stolen_reserved()
226 resource_size_t *size) in gen6_get_stolen_reserved()
258 resource_size_t *base, in vlv_get_stolen_reserved()
259 resource_size_t *size) in vlv_get_stolen_reserved()
262 resource_size_t stolen_top = i915->dsm.end + 1; in vlv_get_stolen_reserved()
287 resource_size_t *base, in gen7_get_stolen_reserved()
[all …]
Di915_gem_region.h17 #define I915_BO_INVALID_OFFSET ((resource_size_t)-1)
58 resource_size_t size,
59 resource_size_t page_size,
63 resource_size_t offset,
64 resource_size_t size,
/linux-6.1.9/arch/x86/kernel/
Dearly-quirks.c245 static resource_size_t __init i830_tseg_size(void) in i830_tseg_size()
258 static resource_size_t __init i845_tseg_size(void) in i845_tseg_size()
275 static resource_size_t __init i85x_tseg_size(void) in i85x_tseg_size()
285 static resource_size_t __init i830_mem_size(void) in i830_mem_size()
290 static resource_size_t __init i85x_mem_size(void) in i85x_mem_size()
299 static resource_size_t __init i830_stolen_base(int num, int slot, int func, in i830_stolen_base()
300 resource_size_t stolen_size) in i830_stolen_base()
305 static resource_size_t __init i845_stolen_base(int num, int slot, int func, in i845_stolen_base()
306 resource_size_t stolen_size) in i845_stolen_base()
311 static resource_size_t __init i85x_stolen_base(int num, int slot, int func, in i85x_stolen_base()
[all …]
/linux-6.1.9/drivers/pci/
Dbus.c20 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
156 resource_size_t min, unsigned long type_mask, in pci_bus_alloc_from_region()
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
226 resource_size_t min, unsigned long type_mask, in pci_bus_alloc_resource()
[all …]
/linux-6.1.9/drivers/gpu/drm/i915/selftests/
Dmock_region.h16 resource_size_t start,
17 resource_size_t size,
18 resource_size_t min_page_size,
19 resource_size_t io_start,
20 resource_size_t io_size);
Dmock_region.c62 resource_size_t offset, in mock_object_init()
63 resource_size_t size, in mock_object_init()
64 resource_size_t page_size, in mock_object_init()
107 resource_size_t start, in mock_region_create()
108 resource_size_t size, in mock_region_create()
109 resource_size_t min_page_size, in mock_region_create()
110 resource_size_t io_start, in mock_region_create()
111 resource_size_t io_size) in mock_region_create()
/linux-6.1.9/drivers/nvdimm/
Dnd-core.h123 resource_size_t nd_pmem_max_contiguous_dpa(struct nd_region *nd_region,
125 resource_size_t nd_region_allocatable_dpa(struct nd_region *nd_region);
126 resource_size_t nd_pmem_available_dpa(struct nd_region *nd_region,
128 resource_size_t nd_region_available_dpa(struct nd_region *nd_region);
129 int nd_region_conflict(struct nd_region *nd_region, resource_size_t start,
130 resource_size_t size);
131 resource_size_t nvdimm_allocated_dpa(struct nvdimm_drvdata *ndd,
135 resource_size_t __nvdimm_namespace_capacity(struct nd_namespace_common *ndns);
150 resource_size_t size);
154 struct nd_namespace_io *nsio, resource_size_t size) in devm_nsio_enable()
/linux-6.1.9/include/drm/
Ddrm_aperture.h12 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-6.1.9/arch/microblaze/include/asm/
Dpci-bridge.h39 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-6.1.9/drivers/gpu/drm/i915/gt/
Dintel_region_lmem.c32 _resize_bar(struct drm_i915_private *i915, int resno, resource_size_t size) in _resize_bar()
50 static void i915_resize_lmem_bar(struct drm_i915_private *i915, resource_size_t lmem_size) in i915_resize_lmem_bar()
55 resource_size_t rebar_size; in i915_resize_lmem_bar()
56 resource_size_t current_size; in i915_resize_lmem_bar()
66 (resource_size_t)SZ_1M; in i915_resize_lmem_bar()
116 static void i915_resize_lmem_bar(struct drm_i915_private *i915, resource_size_t lmem_size) {} in i915_resize_lmem_bar()
196 resource_size_t min_page_size; in setup_lmem()
197 resource_size_t io_start; in setup_lmem()
198 resource_size_t io_size; in setup_lmem()
199 resource_size_t lmem_size; in setup_lmem()
[all …]
/linux-6.1.9/arch/x86/mm/
Dioremap.c114 static void __ioremap_check_other(resource_size_t addr, struct ioremap_desc *desc) in __ioremap_check_other()
150 static void __ioremap_check_mem(resource_size_t addr, unsigned long size, in __ioremap_check_mem()
179 __ioremap_caller(resource_size_t phys_addr, unsigned long size, in __ioremap_caller()
183 resource_size_t last_addr; in __ioremap_caller()
184 const resource_size_t unaligned_phys_addr = phys_addr; in __ioremap_caller()
338 void __iomem *ioremap(resource_size_t phys_addr, unsigned long size) in ioremap()
379 void __iomem *ioremap_uc(resource_size_t phys_addr, unsigned long size) in ioremap_uc()
398 void __iomem *ioremap_wc(resource_size_t phys_addr, unsigned long size) in ioremap_wc()
415 void __iomem *ioremap_wt(resource_size_t phys_addr, unsigned long size) in ioremap_wt()
422 void __iomem *ioremap_encrypted(resource_size_t phys_addr, unsigned long size) in ioremap_encrypted()
[all …]
/linux-6.1.9/arch/x86/include/asm/
Dio.h176 extern void __iomem *ioremap_uc(resource_size_t offset, unsigned long size);
178 extern void __iomem *ioremap_cache(resource_size_t offset, unsigned long size);
180 extern void __iomem *ioremap_prot(resource_size_t offset, unsigned long size, unsigned long prot_va…
182 extern void __iomem *ioremap_encrypted(resource_size_t phys_addr, unsigned long size);
199 void __iomem *ioremap(resource_size_t offset, unsigned long size);
323 extern void __iomem *ioremap_wc(resource_size_t offset, unsigned long size);
325 extern void __iomem *ioremap_wt(resource_size_t offset, unsigned long size);
346 extern int arch_io_reserve_memtype_wc(resource_size_t start, resource_size_t size);
347 extern void arch_io_free_memtype_wc(resource_size_t start, resource_size_t size);
352 extern bool arch_memremap_can_ram_remap(resource_size_t offset,
/linux-6.1.9/arch/powerpc/include/asm/
Dpci-bridge.h34 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-6.1.9/arch/xtensa/kernel/
Dpci.c40 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()
/linux-6.1.9/drivers/cxl/core/
Dregs.c162 void __iomem *devm_cxl_iomap_block(struct device *dev, resource_size_t addr, in devm_cxl_iomap_block()
163 resource_size_t length) in devm_cxl_iomap_block()
170 resource_size_t end = addr + length - 1; 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()
[all …]

12345678910>>...21