Lines Matching defs:map
19 #define map_bankwidth(map) 1 argument
20 #define map_bankwidth_is_1(map) (map_bankwidth(map) == 1) argument
21 #define map_bankwidth_is_large(map) (0) argument
22 #define map_words(map) (1) argument
25 #define map_bankwidth_is_1(map) (0) argument
31 # define map_bankwidth(map) ((map)->bankwidth) argument
33 # define map_bankwidth(map) 2 argument
34 # define map_bankwidth_is_large(map) (0) argument
35 # define map_words(map) (1) argument
37 #define map_bankwidth_is_2(map) (map_bankwidth(map) == 2) argument
41 #define map_bankwidth_is_2(map) (0) argument
47 # define map_bankwidth(map) ((map)->bankwidth) argument
49 # define map_bankwidth(map) 4 argument
50 # define map_bankwidth_is_large(map) (0) argument
51 # define map_words(map) (1) argument
53 #define map_bankwidth_is_4(map) (map_bankwidth(map) == 4) argument
57 #define map_bankwidth_is_4(map) (0) argument
63 #define map_calc_words(map) ((map_bankwidth(map) + (sizeof(unsigned long)-1))/ sizeof(unsigned long… argument
68 # define map_bankwidth(map) ((map)->bankwidth) argument
71 # define map_bankwidth_is_large(map) (map_bankwidth(map) > BITS_PER_LONG/8) argument
73 # define map_words(map) map_calc_words(map) argument
76 # define map_bankwidth(map) 8 argument
77 # define map_bankwidth_is_large(map) (BITS_PER_LONG < 64) argument
78 # define map_words(map) map_calc_words(map) argument
80 #define map_bankwidth_is_8(map) (map_bankwidth(map) == 8) argument
84 #define map_bankwidth_is_8(map) (0) argument
90 # define map_bankwidth(map) ((map)->bankwidth) argument
92 # define map_bankwidth_is_large(map) (map_bankwidth(map) > BITS_PER_LONG/8) argument
94 # define map_words(map) map_calc_words(map) argument
96 # define map_bankwidth(map) 16 argument
97 # define map_bankwidth_is_large(map) (1) argument
98 # define map_words(map) map_calc_words(map) argument
100 #define map_bankwidth_is_16(map) (map_bankwidth(map) == 16) argument
104 #define map_bankwidth_is_16(map) (0) argument
110 # define map_bankwidth(map) ((map)->bankwidth) argument
112 # define map_bankwidth_is_large(map) (map_bankwidth(map) > BITS_PER_LONG/8) argument
114 # define map_words(map) map_calc_words(map) argument
116 # define map_bankwidth(map) 32 argument
117 # define map_bankwidth_is_large(map) (1) argument
118 # define map_words(map) map_calc_words(map) argument
120 #define map_bankwidth_is_32(map) (map_bankwidth(map) == 32) argument
124 #define map_bankwidth_is_32(map) (0) argument
239 #define ENABLE_VPP(map) do { if(map->set_vpp) map->set_vpp(map, 1); } while(0) argument
240 #define DISABLE_VPP(map) do { if(map->set_vpp) map->set_vpp(map, 0); } while(0) argument
242 #define INVALIDATE_CACHED_RANGE(map, from, size) \ argument
246 static inline int map_word_equal(struct map_info *map, map_word val1, map_word val2) in map_word_equal()
256 static inline map_word map_word_and(struct map_info *map, map_word val1, map_word val2) in map_word_and()
267 static inline map_word map_word_clr(struct map_info *map, map_word val1, map_word val2) in map_word_clr()
278 static inline map_word map_word_or(struct map_info *map, map_word val1, map_word val2) in map_word_or()
291 static inline int map_word_bitsset(struct map_info *map, map_word val1, map_word val2) in map_word_bitsset()
302 static inline map_word map_word_load(struct map_info *map, const void *ptr) in map_word_load()
322 static inline map_word map_word_load_partial(struct map_info *map, map_word orig, const unsigned ch… in map_word_load_partial()
350 static inline map_word map_word_ff(struct map_info *map) in map_word_ff()
365 static inline map_word inline_map_read(struct map_info *map, unsigned long ofs) in inline_map_read()
385 static inline void inline_map_write(struct map_info *map, const map_word datum, unsigned long ofs) in inline_map_write()
402 static inline void inline_map_copy_from(struct map_info *map, void *to, unsigned long from, ssize_t… in inline_map_copy_from()
410 static inline void inline_map_copy_to(struct map_info *map, unsigned long to, const void *from, ssi… in inline_map_copy_to()
416 #define map_read(map, ofs) (map)->read(map, ofs) argument
417 #define map_copy_from(map, to, from, len) (map)->copy_from(map, to, from, len) argument
418 #define map_write(map, datum, ofs) (map)->write(map, datum, ofs) argument
419 #define map_copy_to(map, to, from, len) (map)->copy_to(map, to, from, len) argument
422 #define map_is_linear(map) (map->phys != NO_XIP) argument
425 #define map_read(map, ofs) inline_map_read(map, ofs) argument
426 #define map_copy_from(map, to, from, len) inline_map_copy_from(map, to, from, len) argument
427 #define map_write(map, datum, ofs) inline_map_write(map, datum, ofs) argument
428 #define map_copy_to(map, to, from, len) inline_map_copy_to(map, to, from, len) argument
431 #define simple_map_init(map) BUG_ON(!map_bankwidth_supported((map)->bankwidth)) argument
432 #define map_is_linear(map) ({ (void)(map); 1; }) argument