Home
last modified time | relevance | path

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

12345678910>>...18

/Linux-v4.19/arch/arm/mach-imx/devices/
Ddevices-common.h46 resource_size_t iobase;
47 resource_size_t irq;
55 resource_size_t iobase;
56 resource_size_t iosize;
57 resource_size_t irq;
65 resource_size_t iobase;
66 resource_size_t irq;
78 resource_size_t iobase;
79 resource_size_t irq;
86 resource_size_t iobase;
[all …]
/Linux-v4.19/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-v4.19/include/linux/
Dioport.h20 resource_size_t start;
21 resource_size_t end;
177 resource_size_t start, resource_size_t end,
185 resource_size_t size, resource_size_t min,
186 resource_size_t max, resource_size_t align,
187 resource_size_t (*alignf)(void *,
189 resource_size_t,
190 resource_size_t),
192 struct resource *lookup_resource(struct resource *root, resource_size_t start);
193 int adjust_resource(struct resource *res, resource_size_t start,
[all …]
Dio.h76 void __iomem *devm_ioremap(struct device *dev, resource_size_t offset,
77 resource_size_t size);
78 void __iomem *devm_ioremap_nocache(struct device *dev, resource_size_t offset,
79 resource_size_t size);
80 void __iomem *devm_ioremap_wc(struct device *dev, resource_size_t offset,
81 resource_size_t size);
87 void *devm_memremap(struct device *dev, resource_size_t offset,
164 void *memremap(resource_size_t offset, size_t size, unsigned long flags);
177 static inline int arch_io_reserve_memtype_wc(resource_size_t base, in arch_io_reserve_memtype_wc()
178 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);
120 resource_size_t logic_pio_to_hwaddr(unsigned long pio);
121 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 …]
Dio-mapping.h35 resource_size_t base;
53 resource_size_t base, in io_mapping_init_wc()
78 resource_size_t phys_addr; in io_mapping_map_atomic_wc()
98 resource_size_t phys_addr; in io_mapping_map_wc()
120 resource_size_t base, in io_mapping_init_wc()
178 io_mapping_create_wc(resource_size_t base, in io_mapping_create_wc()
/Linux-v4.19/tools/testing/nvdimm/test/
Diomap.c51 static struct nfit_test_resource *__get_nfit_res(resource_size_t resource) in __get_nfit_res()
61 struct nfit_test_resource *get_nfit_res(resource_size_t resource) in get_nfit_res()
73 void __iomem *__nfit_test_ioremap(resource_size_t offset, unsigned long size, in __nfit_test_ioremap()
74 void __iomem *(*fallback_fn)(resource_size_t, unsigned long)) in __nfit_test_ioremap() argument
85 resource_size_t offset, unsigned long size) in __wrap_devm_ioremap_nocache()
96 void *__wrap_devm_memremap(struct device *dev, resource_size_t offset, in __wrap_devm_memremap()
109 resource_size_t offset = pgmap->res.start; in __wrap_devm_memremap_pages()
128 void *__wrap_memremap(resource_size_t offset, size_t size, in __wrap_memremap()
149 void __iomem *__wrap_ioremap_nocache(resource_size_t offset, unsigned long size) in __wrap_ioremap_nocache()
155 void __iomem *__wrap_ioremap_wc(resource_size_t offset, unsigned long size) in __wrap_ioremap_wc()
[all …]
/Linux-v4.19/drivers/gpu/drm/i915/
Di915_gem_stolen.c102 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()
187 resource_size_t stolen_top = dev_priv->dsm.end + 1; in g4x_get_stolen_reserved()
211 resource_size_t *base, in gen6_get_stolen_reserved()
212 resource_size_t *size) in gen6_get_stolen_reserved()
243 resource_size_t *base, in vlv_get_stolen_reserved()
244 resource_size_t *size) in vlv_get_stolen_reserved()
247 resource_size_t stolen_top = dev_priv->dsm.end + 1; in vlv_get_stolen_reserved()
271 resource_size_t *base, in gen7_get_stolen_reserved()
[all …]
/Linux-v4.19/kernel/
Dresource.c47 resource_size_t min, max, align;
48 resource_size_t (*alignf)(void *, const struct resource *,
49 resource_size_t, resource_size_t);
186 resource_size_t start = new->start; in __request_resource()
187 resource_size_t end = new->end; in __request_resource()
244 resource_size_t size; in __release_child_resources()
331 resource_size_t start, end; in find_next_iomem_res()
527 int region_intersects(resource_size_t start, size_t size, unsigned long flags, in region_intersects()
530 resource_size_t end = start + size - 1; in region_intersects()
563 static resource_size_t simple_align_resource(void *data, in simple_align_resource()
[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-v4.19/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-v4.19/drivers/nvdimm/
Dnd-core.h60 resource_size_t available, busy;
108 resource_size_t nd_pmem_max_contiguous_dpa(struct nd_region *nd_region,
110 resource_size_t nd_region_allocatable_dpa(struct nd_region *nd_region);
111 resource_size_t nd_pmem_available_dpa(struct nd_region *nd_region,
112 struct nd_mapping *nd_mapping, resource_size_t *overlap);
113 resource_size_t nd_blk_available_dpa(struct nd_region *nd_region);
114 resource_size_t nd_region_available_dpa(struct nd_region *nd_region);
115 resource_size_t nvdimm_allocated_dpa(struct nvdimm_drvdata *ndd,
120 resource_size_t start);
123 resource_size_t __nvdimm_namespace_capacity(struct nd_namespace_common *ndns);
/Linux-v4.19/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-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 …]
Dsetup-bus.c34 resource_size_t start;
35 resource_size_t end;
36 resource_size_t add_size;
37 resource_size_t min_align;
62 resource_size_t add_size, resource_size_t min_align) in add_to_list()
110 static resource_size_t get_res_add_size(struct list_head *head, in get_res_add_size()
119 static resource_size_t get_res_add_align(struct list_head *head, in get_res_add_align()
137 resource_size_t r_align; in pdev_sort_resources()
164 resource_size_t align; in pdev_sort_resources()
224 resource_size_t add_size, align; in reassign_resources_sorted()
[all …]
/Linux-v4.19/arch/microblaze/include/asm/
Dpci-bridge.h42 resource_size_t io_base_phys;
44 resource_size_t pci_io_size;
49 resource_size_t pci_mem_offset;
55 resource_size_t isa_mem_phys;
56 resource_size_t isa_mem_size;
128 resource_size_t cfg_addr,
129 resource_size_t cfg_data, u32 flags);
/Linux-v4.19/arch/x86/mm/
Dioremap.c107 static void __ioremap_check_mem(resource_size_t addr, unsigned long size, in __ioremap_check_mem()
133 static void __iomem *__ioremap_caller(resource_size_t phys_addr, in __ioremap_caller()
137 resource_size_t last_addr; in __ioremap_caller()
138 const resource_size_t unaligned_phys_addr = phys_addr; in __ioremap_caller()
281 void __iomem *ioremap_nocache(resource_size_t phys_addr, unsigned long size) in ioremap_nocache()
322 void __iomem *ioremap_uc(resource_size_t phys_addr, unsigned long size) in ioremap_uc()
341 void __iomem *ioremap_wc(resource_size_t phys_addr, unsigned long size) in ioremap_wc()
358 void __iomem *ioremap_wt(resource_size_t phys_addr, unsigned long size) in ioremap_wt()
365 void __iomem *ioremap_cache(resource_size_t phys_addr, unsigned long size) in ioremap_cache()
372 void __iomem *ioremap_prot(resource_size_t phys_addr, unsigned long size, in ioremap_prot()
[all …]
/Linux-v4.19/arch/x86/include/asm/
Dio.h186 extern void __iomem *ioremap_nocache(resource_size_t offset, unsigned long size);
188 extern void __iomem *ioremap_uc(resource_size_t offset, unsigned long size);
191 extern void __iomem *ioremap_cache(resource_size_t offset, unsigned long size);
193 extern void __iomem *ioremap_prot(resource_size_t offset, unsigned long size, unsigned long prot_va…
210 static inline void __iomem *ioremap(resource_size_t offset, unsigned long size) in ioremap()
365 extern void __iomem *ioremap_wc(resource_size_t offset, unsigned long size);
367 extern void __iomem *ioremap_wt(resource_size_t offset, unsigned long size);
400 extern int arch_io_reserve_memtype_wc(resource_size_t start, resource_size_t size);
401 extern void arch_io_free_memtype_wc(resource_size_t start, resource_size_t size);
405 extern bool arch_memremap_can_ram_remap(resource_size_t offset,
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-v4.19/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-v4.19/arch/powerpc/include/asm/
Dpci-bridge.h34 resource_size_t (*window_alignment)(struct pci_bus *bus,
74 resource_size_t io_base_phys;
75 resource_size_t pci_io_size;
81 resource_size_t isa_mem_phys;
82 resource_size_t isa_mem_size;
120 resource_size_t mem_offset[3];
123 resource_size_t dma_window_base_cur;
124 resource_size_t dma_window_size;
153 resource_size_t cfg_addr,
154 resource_size_t cfg_data, u32 flags);
/Linux-v4.19/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-v4.19/arch/mips/pci/
Dpci-generic.c28 resource_size_t pcibios_align_resource(void *data, const struct resource *res, in pcibios_align_resource()
29 resource_size_t size, resource_size_t align) in pcibios_align_resource()
32 resource_size_t start = res->start; in pcibios_align_resource()

12345678910>>...18