Home
last modified time | relevance | path

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

12345678910>>...18

/Linux-v5.4/arch/arm/mach-imx/devices/
Ddevices-common.h43 resource_size_t iobase;
44 resource_size_t irq;
52 resource_size_t iobase;
53 resource_size_t iosize;
54 resource_size_t irq;
62 resource_size_t iobase;
63 resource_size_t irq;
75 resource_size_t iobase;
76 resource_size_t irq;
83 resource_size_t iobase;
[all …]
/Linux-v5.4/drivers/pnp/
Dbase.h29 resource_size_t min; /* min base number */
30 resource_size_t max; /* max base number */
31 resource_size_t align; /* align boundary */
32 resource_size_t size; /* size of range */
50 resource_size_t min; /* min base number */
51 resource_size_t max; /* max base number */
52 resource_size_t align; /* align boundary */
53 resource_size_t size; /* size of range */
86 resource_size_t min, resource_size_t max,
87 resource_size_t align, resource_size_t size,
[all …]
Dresource.c98 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()
171 resource_size_t *port, *end, *tport, *tend; in pnp_check_port()
234 resource_size_t *addr, *end, *taddr, *tend; in pnp_check_mem()
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()
570 resource_size_t end, int flags) in pnp_add_io_resource()
[all …]
/Linux-v5.4/include/linux/
Dioport.h21 resource_size_t start;
22 resource_size_t end;
186 resource_size_t start, resource_size_t end,
194 resource_size_t size, resource_size_t min,
195 resource_size_t max, resource_size_t align,
196 resource_size_t (*alignf)(void *,
198 resource_size_t,
199 resource_size_t),
201 struct resource *lookup_resource(struct resource *root, resource_size_t start);
202 int adjust_resource(struct resource *res, resource_size_t start,
[all …]
Dio.h65 void __iomem *devm_ioremap(struct device *dev, resource_size_t offset,
66 resource_size_t size);
67 void __iomem *devm_ioremap_nocache(struct device *dev, resource_size_t offset,
68 resource_size_t size);
69 void __iomem *devm_ioremap_wc(struct device *dev, resource_size_t offset,
70 resource_size_t size);
76 void *devm_memremap(struct device *dev, resource_size_t offset,
153 void *memremap(resource_size_t offset, size_t size, unsigned long flags);
166 static inline int arch_io_reserve_memtype_wc(resource_size_t base, in arch_io_reserve_memtype_wc()
167 resource_size_t size) in arch_io_reserve_memtype_wc()
[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);
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()
468 int pnp_possible_config(struct pnp_dev *dev, int type, resource_size_t base,
[all …]
/Linux-v5.4/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()
65 void __iomem *__nfit_test_ioremap(resource_size_t offset, unsigned long size, in __nfit_test_ioremap()
66 void __iomem *(*fallback_fn)(resource_size_t, unsigned long)) in __nfit_test_ioremap() argument
77 resource_size_t offset, unsigned long size) in __wrap_devm_ioremap_nocache()
88 void *__wrap_devm_memremap(struct device *dev, resource_size_t offset, in __wrap_devm_memremap()
129 resource_size_t offset = pgmap->res.start; in __wrap_devm_memremap_pages()
169 void *__wrap_memremap(resource_size_t offset, size_t size, in __wrap_memremap()
190 void __iomem *__wrap_ioremap_nocache(resource_size_t offset, unsigned long size) in __wrap_ioremap_nocache()
196 void __iomem *__wrap_ioremap_wc(resource_size_t offset, unsigned long size) in __wrap_ioremap_wc()
[all …]
/Linux-v5.4/kernel/
Dresource.c48 resource_size_t min, max, align;
49 resource_size_t (*alignf)(void *, const struct resource *,
50 resource_size_t, resource_size_t);
187 resource_size_t start = new->start; in __request_resource()
188 resource_size_t end = new->end; in __request_resource()
245 resource_size_t size; in __release_child_resources()
341 static int find_next_iomem_res(resource_size_t start, resource_size_t end, in find_next_iomem_res()
395 static int __walk_iomem_res_desc(resource_size_t start, resource_size_t end, in __walk_iomem_res_desc()
478 resource_size_t start, end; in walk_system_ram_range()
536 int region_intersects(resource_size_t start, size_t size, unsigned long flags, in region_intersects()
[all …]
Diomem.c9 __weak void __iomem *ioremap_cache(resource_size_t offset, unsigned long size) in ioremap_cache()
16 static void *arch_memremap_wb(resource_size_t offset, unsigned long size) in arch_memremap_wb()
23 static bool arch_memremap_can_ram_remap(resource_size_t offset, size_t size, in arch_memremap_can_ram_remap()
30 static void *try_ram_remap(resource_size_t offset, size_t size, in try_ram_remap()
71 void *memremap(resource_size_t offset, size_t size, unsigned long flags) in memremap()
139 void *devm_memremap(struct device *dev, resource_size_t offset, in devm_memremap()
/Linux-v5.4/drivers/gpu/drm/i915/gem/
Di915_gem_stolen.c85 resource_size_t ggtt_start; in i915_adjust_stolen()
162 resource_size_t *base, in g4x_get_stolen_reserved()
163 resource_size_t *size) in g4x_get_stolen_reserved()
168 resource_size_t stolen_top = dev_priv->dsm.end + 1; in g4x_get_stolen_reserved()
193 resource_size_t *base, in gen6_get_stolen_reserved()
194 resource_size_t *size) in gen6_get_stolen_reserved()
225 resource_size_t *base, in vlv_get_stolen_reserved()
226 resource_size_t *size) in vlv_get_stolen_reserved()
229 resource_size_t stolen_top = dev_priv->dsm.end + 1; in vlv_get_stolen_reserved()
253 resource_size_t *base, in gen7_get_stolen_reserved()
[all …]
/Linux-v5.4/arch/x86/kernel/
Dearly-quirks.c244 static resource_size_t __init i830_tseg_size(void) in i830_tseg_size()
257 static resource_size_t __init i845_tseg_size(void) in i845_tseg_size()
274 static resource_size_t __init i85x_tseg_size(void) in i85x_tseg_size()
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()
298 static resource_size_t __init i830_stolen_base(int num, int slot, int func, in i830_stolen_base()
299 resource_size_t stolen_size) in i830_stolen_base()
304 static resource_size_t __init i845_stolen_base(int num, int slot, int func, in i845_stolen_base()
305 resource_size_t stolen_size) in i845_stolen_base()
310 static resource_size_t __init i85x_stolen_base(int num, int slot, int func, in i85x_stolen_base()
[all …]
/Linux-v5.4/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 …]
Dsetup-bus.c34 resource_size_t start;
35 resource_size_t end;
36 resource_size_t add_size;
37 resource_size_t min_align;
59 struct resource *res, resource_size_t add_size, in add_to_list()
60 resource_size_t min_align) in add_to_list()
107 static resource_size_t get_res_add_size(struct list_head *head, in get_res_add_size()
116 static resource_size_t get_res_add_align(struct list_head *head, in get_res_add_align()
134 resource_size_t r_align; in pdev_sort_resources()
161 resource_size_t align; in pdev_sort_resources()
[all …]
Dsetup-res.c189 resource_size_t __weak pcibios_retrieve_fw_addr(struct pci_dev *dev, int idx) in pcibios_retrieve_fw_addr()
195 int resno, resource_size_t size) in pci_revert_fw_address()
198 resource_size_t fw_addr, start, end; in pci_revert_fw_address()
237 resource_size_t __weak pcibios_align_resource(void *data, in pcibios_align_resource()
239 resource_size_t size, in pcibios_align_resource()
240 resource_size_t align) in pcibios_align_resource()
246 int resno, resource_size_t size, resource_size_t align) in __pci_assign_resource()
249 resource_size_t min; in __pci_assign_resource()
294 resource_size_t size, resource_size_t min_align) in _pci_assign_resource()
312 resource_size_t align, size; in pci_assign_resource()
[all …]
/Linux-v5.4/arch/x86/mm/
Dioremap.c128 static void __ioremap_check_mem(resource_size_t addr, unsigned long size, in __ioremap_check_mem()
155 __ioremap_caller(resource_size_t phys_addr, unsigned long size, in __ioremap_caller()
159 resource_size_t last_addr; in __ioremap_caller()
160 const resource_size_t unaligned_phys_addr = phys_addr; in __ioremap_caller()
303 void __iomem *ioremap_nocache(resource_size_t phys_addr, unsigned long size) in ioremap_nocache()
344 void __iomem *ioremap_uc(resource_size_t phys_addr, unsigned long size) in ioremap_uc()
363 void __iomem *ioremap_wc(resource_size_t phys_addr, unsigned long size) in ioremap_wc()
380 void __iomem *ioremap_wt(resource_size_t phys_addr, unsigned long size) in ioremap_wt()
387 void __iomem *ioremap_encrypted(resource_size_t phys_addr, unsigned long size) in ioremap_encrypted()
394 void __iomem *ioremap_cache(resource_size_t phys_addr, unsigned long size) in ioremap_cache()
[all …]
/Linux-v5.4/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-v5.4/drivers/nvdimm/
Dnd-core.h97 resource_size_t available, busy;
144 resource_size_t nd_pmem_max_contiguous_dpa(struct nd_region *nd_region,
146 resource_size_t nd_region_allocatable_dpa(struct nd_region *nd_region);
147 resource_size_t nd_pmem_available_dpa(struct nd_region *nd_region,
148 struct nd_mapping *nd_mapping, resource_size_t *overlap);
149 resource_size_t nd_blk_available_dpa(struct nd_region *nd_region);
150 resource_size_t nd_region_available_dpa(struct nd_region *nd_region);
151 int nd_region_conflict(struct nd_region *nd_region, resource_size_t start,
152 resource_size_t size);
153 resource_size_t nvdimm_allocated_dpa(struct nvdimm_drvdata *ndd,
[all …]
/Linux-v5.4/arch/x86/include/asm/
Dio.h183 extern void __iomem *ioremap_nocache(resource_size_t offset, unsigned long size);
185 extern void __iomem *ioremap_uc(resource_size_t offset, unsigned long size);
187 extern void __iomem *ioremap_cache(resource_size_t offset, unsigned long size);
189 extern void __iomem *ioremap_prot(resource_size_t offset, unsigned long size, unsigned long prot_va…
191 extern void __iomem *ioremap_encrypted(resource_size_t phys_addr, unsigned long size);
208 static inline void __iomem *ioremap(resource_size_t offset, unsigned long size) in ioremap()
371 extern void __iomem *ioremap_wc(resource_size_t offset, unsigned long size);
373 extern void __iomem *ioremap_wt(resource_size_t offset, unsigned long size);
394 extern int arch_io_reserve_memtype_wc(resource_size_t start, resource_size_t size);
395 extern void arch_io_free_memtype_wc(resource_size_t start, resource_size_t size);
[all …]
Dpat.h20 int io_reserve_memtype(resource_size_t start, resource_size_t end,
23 void io_free_memtype(resource_size_t start, resource_size_t end);
/Linux-v5.4/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-v5.4/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;
151 resource_size_t cfg_addr,
152 resource_size_t cfg_data, u32 flags);
/Linux-v5.4/mm/
Dearly_ioremap.c34 pgprot_t __init __weak early_memremap_pgprot_adjust(resource_size_t phys_addr, in early_memremap_pgprot_adjust()
106 __early_ioremap(resource_size_t phys_addr, unsigned long size, pgprot_t prot) in __early_ioremap()
109 resource_size_t last_addr; in __early_ioremap()
217 early_ioremap(resource_size_t phys_addr, unsigned long size) in early_ioremap()
224 early_memremap(resource_size_t phys_addr, unsigned long size) in early_memremap()
233 early_memremap_ro(resource_size_t phys_addr, unsigned long size) in early_memremap_ro()
244 early_memremap_prot(resource_size_t phys_addr, unsigned long size, in early_memremap_prot()
276 early_ioremap(resource_size_t phys_addr, unsigned long size) in early_ioremap()
283 early_memremap(resource_size_t phys_addr, unsigned long size) in early_memremap()
288 early_memremap_ro(resource_size_t phys_addr, unsigned long size) in early_memremap_ro()
/Linux-v5.4/include/asm-generic/
Dearly_ioremap.h11 extern void __iomem *early_ioremap(resource_size_t phys_addr,
13 extern void *early_memremap(resource_size_t phys_addr,
15 extern void *early_memremap_ro(resource_size_t phys_addr,
17 extern void *early_memremap_prot(resource_size_t phys_addr,
/Linux-v5.4/arch/mips/pci/
Dpci-generic.c24 resource_size_t pcibios_align_resource(void *data, const struct resource *res, in pcibios_align_resource()
25 resource_size_t size, resource_size_t align) in pcibios_align_resource()
28 resource_size_t start = res->start; in pcibios_align_resource()

12345678910>>...18