Home
last modified time | relevance | path

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

12345678910>>...22

/linux-6.6.21/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.6.21/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,
72 pgprot_t __init early_memremap_pgprot_adjust(resource_size_t phys_addr,
149 void *memremap(resource_size_t offset, size_t size, unsigned long flags);
162 static inline int arch_io_reserve_memtype_wc(resource_size_t base, in arch_io_reserve_memtype_wc()
[all …]
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 …]
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,
24 resource_size_t base, in devm_aperture_acquire_for_platform_device()
25 resource_size_t size) in devm_aperture_acquire_for_platform_device()
30 static inline int aperture_remove_conflicting_devices(resource_size_t base, resource_size_t size, in aperture_remove_conflicting_devices()
59 return aperture_remove_conflicting_devices(0, (resource_size_t)-1, name); in aperture_remove_all_conflicting_devices()
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);
Dpnp.h51 static inline resource_size_t pnp_resource_len(struct resource *res) in pnp_resource_len()
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()
150 static inline resource_size_t pnp_irq(struct pnp_dev *dev, unsigned int bar) in pnp_irq()
174 static inline resource_size_t pnp_dma(struct pnp_dev *dev, unsigned int bar) in pnp_dma()
457 int pnp_possible_config(struct pnp_dev *dev, int type, resource_size_t base,
[all …]
/linux-6.6.21/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.6.21/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()
284 int aperture_remove_conflicting_devices(resource_size_t base, resource_size_t size, in aperture_remove_conflicting_devices()
[all …]
/linux-6.6.21/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.6.21/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 …]
Dnfit_test.h206 typedef struct nfit_test_resource *(*nfit_test_lookup_fn)(resource_size_t);
211 resource_size_t offset, unsigned long size);
212 void *__wrap_devm_memremap(struct device *dev, resource_size_t offset,
216 void *__wrap_memremap(resource_size_t offset, size_t size,
219 void __iomem *__wrap_ioremap(resource_size_t offset, unsigned long size);
220 void __iomem *__wrap_ioremap_wc(resource_size_t offset, unsigned long size);
224 resource_size_t start, resource_size_t n, const char *name,
229 struct resource *parent, resource_size_t start,
230 resource_size_t n, const char *name);
231 void __wrap___release_region(struct resource *parent, resource_size_t start,
[all …]
/linux-6.6.21/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.6.21/drivers/pci/
Dbus.c21 resource_size_t offset) in pci_add_resource_offset()
177 resource_size_t size, resource_size_t align, in pci_bus_alloc_from_region() argument
178 resource_size_t min, unsigned long type_mask, in pci_bus_alloc_from_region()
179 resource_size_t (*alignf)(void *, in pci_bus_alloc_from_region()
181 resource_size_t, in pci_bus_alloc_from_region()
182 resource_size_t), in pci_bus_alloc_from_region() argument
187 resource_size_t max; in pci_bus_alloc_from_region()
193 resource_size_t min_used = min; in pci_bus_alloc_from_region()
251 resource_size_t size, resource_size_t align, in pci_bus_alloc_resource() argument
252 resource_size_t min, unsigned long type_mask, in pci_bus_alloc_resource()
[all …]
/linux-6.6.21/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.6.21/drivers/nvdimm/
Dnd-core.h124 resource_size_t nd_pmem_max_contiguous_dpa(struct nd_region *nd_region,
126 resource_size_t nd_region_allocatable_dpa(struct nd_region *nd_region);
127 resource_size_t nd_pmem_available_dpa(struct nd_region *nd_region,
129 resource_size_t nd_region_available_dpa(struct nd_region *nd_region);
130 int nd_region_conflict(struct nd_region *nd_region, resource_size_t start,
131 resource_size_t size);
132 resource_size_t nvdimm_allocated_dpa(struct nvdimm_drvdata *ndd,
136 resource_size_t __nvdimm_namespace_capacity(struct nd_namespace_common *ndns);
151 resource_size_t size);
155 struct nd_namespace_io *nsio, resource_size_t size) in devm_nsio_enable()
/linux-6.6.21/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,
34 return drm_aperture_remove_conflicting_framebuffers(0, (resource_size_t)-1, in drm_aperture_remove_framebuffers()
/linux-6.6.21/drivers/gpu/drm/i915/gem/
Di915_gem_stolen.c104 resource_size_t ggtt_start; in adjust_stolen()
205 resource_size_t *base, in g4x_get_stolen_reserved()
206 resource_size_t *size) in g4x_get_stolen_reserved()
212 resource_size_t stolen_top = i915->dsm.stolen.end + 1; in g4x_get_stolen_reserved()
240 resource_size_t *base, in gen6_get_stolen_reserved()
241 resource_size_t *size) in gen6_get_stolen_reserved()
273 resource_size_t *base, in vlv_get_stolen_reserved()
274 resource_size_t *size) in vlv_get_stolen_reserved()
277 resource_size_t stolen_top = i915->dsm.stolen.end + 1; in vlv_get_stolen_reserved()
302 resource_size_t *base, in gen7_get_stolen_reserved()
[all …]
Di915_gem_region.h17 #define I915_BO_INVALID_OFFSET ((resource_size_t)-1)
56 resource_size_t size,
57 resource_size_t page_size,
61 resource_size_t offset,
62 resource_size_t size,
/linux-6.6.21/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()
67 (resource_size_t)SZ_1M; in i915_resize_lmem_bar()
127 static void i915_resize_lmem_bar(struct drm_i915_private *i915, resource_size_t lmem_size) {} in i915_resize_lmem_bar()
207 resource_size_t min_page_size; in setup_lmem()
208 resource_size_t io_start; in setup_lmem()
209 resource_size_t io_size; in setup_lmem()
210 resource_size_t lmem_size; in setup_lmem()
[all …]
/linux-6.6.21/arch/x86/mm/
Dioremap.c114 static void __ioremap_check_other(resource_size_t addr, struct ioremap_desc *desc) in __ioremap_check_other()
155 static void __ioremap_check_mem(resource_size_t addr, unsigned long size, in __ioremap_check_mem()
184 __ioremap_caller(resource_size_t phys_addr, unsigned long size, in __ioremap_caller()
188 resource_size_t last_addr; in __ioremap_caller()
189 const resource_size_t unaligned_phys_addr = phys_addr; in __ioremap_caller()
343 void __iomem *ioremap(resource_size_t phys_addr, unsigned long size) in ioremap()
384 void __iomem *ioremap_uc(resource_size_t phys_addr, unsigned long size) in ioremap_uc()
403 void __iomem *ioremap_wc(resource_size_t phys_addr, unsigned long size) in ioremap_wc()
420 void __iomem *ioremap_wt(resource_size_t phys_addr, unsigned long size) in ioremap_wt()
427 void __iomem *ioremap_encrypted(resource_size_t phys_addr, unsigned long size) in ioremap_encrypted()
[all …]
/linux-6.6.21/arch/x86/include/asm/
Dio.h173 extern void __iomem *ioremap_uc(resource_size_t offset, unsigned long size);
175 extern void __iomem *ioremap_cache(resource_size_t offset, unsigned long size);
177 extern void __iomem *ioremap_prot(resource_size_t offset, unsigned long size, unsigned long prot_va…
179 extern void __iomem *ioremap_encrypted(resource_size_t phys_addr, unsigned long size);
196 void __iomem *ioremap(resource_size_t offset, unsigned long size);
318 extern void __iomem *ioremap_wc(resource_size_t offset, unsigned long size);
320 extern void __iomem *ioremap_wt(resource_size_t offset, unsigned long size);
341 extern int arch_io_reserve_memtype_wc(resource_size_t start, resource_size_t size);
342 extern void arch_io_free_memtype_wc(resource_size_t start, resource_size_t size);
347 extern bool arch_memremap_can_ram_remap(resource_size_t offset,
/linux-6.6.21/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.6.21/mm/
Dearly_ioremap.c35 pgprot_t __init __weak early_memremap_pgprot_adjust(resource_size_t phys_addr, in early_memremap_pgprot_adjust()
100 __early_ioremap(resource_size_t phys_addr, unsigned long size, pgprot_t prot) in __early_ioremap()
103 resource_size_t last_addr; in __early_ioremap()
211 early_ioremap(resource_size_t phys_addr, unsigned long size) in early_ioremap()
218 early_memremap(resource_size_t phys_addr, unsigned long size) in early_memremap()
227 early_memremap_ro(resource_size_t phys_addr, unsigned long size) in early_memremap_ro()
238 early_memremap_prot(resource_size_t phys_addr, unsigned long size, in early_memremap_prot()
270 early_ioremap(resource_size_t phys_addr, unsigned long size) in early_ioremap()
277 early_memremap(resource_size_t phys_addr, unsigned long size) in early_memremap()
282 early_memremap_ro(resource_size_t phys_addr, unsigned long size) in early_memremap_ro()

12345678910>>...22