Lines Matching +full:mem +full:- +full:base
1 /*-
42 unsigned long base; member
44 void *mem; member
48 struct io_mapping *io_mapping_create_wc(resource_size_t base, unsigned long size);
51 io_mapping_init_wc(struct io_mapping *mapping, resource_size_t base, in io_mapping_init_wc() argument
55 mapping->base = base; in io_mapping_init_wc()
56 mapping->size = size; in io_mapping_init_wc()
58 mapping->mem = ioremap_wc(base, size); in io_mapping_init_wc()
59 mapping->attr = VM_MEMATTR_WRITE_COMBINING; in io_mapping_init_wc()
61 mapping->mem = ioremap_nocache(base, size); in io_mapping_init_wc()
62 mapping->attr = VM_MEMATTR_UNCACHEABLE; in io_mapping_init_wc()
71 iounmap(mapping->mem); in io_mapping_fini()
78 io_mapping_fini(mapping->mem); in io_mapping_free()
86 return ((char *)mapping->mem + offset); in io_mapping_map_atomic_wc()
111 return ((char *)mapping->mem + offset); in io_mapping_map_wc()