Home
last modified time | relevance | path

Searched defs:map (Results 1 – 25 of 232) sorted by relevance

12345678910

/linux-4.19.296/include/linux/mtd/
Dmap.h36 #define map_bankwidth(map) 1 argument
37 #define map_bankwidth_is_1(map) (map_bankwidth(map) == 1) argument
38 #define map_bankwidth_is_large(map) (0) argument
39 #define map_words(map) (1) argument
42 #define map_bankwidth_is_1(map) (0) argument
48 # define map_bankwidth(map) ((map)->bankwidth) argument
50 # define map_bankwidth(map) 2 argument
51 # define map_bankwidth_is_large(map) (0) argument
52 # define map_words(map) (1) argument
54 #define map_bankwidth_is_2(map) (map_bankwidth(map) == 2) argument
[all …]
Dcfi_endian.h41 #define cpu_to_cfi8(map, x) (x) argument
42 #define cfi8_to_cpu(map, x) (x) argument
43 #define cpu_to_cfi16(map, x) _cpu_to_cfi(16, (map)->swap, (x)) argument
44 #define cpu_to_cfi32(map, x) _cpu_to_cfi(32, (map)->swap, (x)) argument
45 #define cpu_to_cfi64(map, x) _cpu_to_cfi(64, (map)->swap, (x)) argument
46 #define cfi16_to_cpu(map, x) _cfi_to_cpu(16, (map)->swap, (x)) argument
47 #define cfi32_to_cpu(map, x) _cfi_to_cpu(32, (map)->swap, (x)) argument
48 #define cfi64_to_cpu(map, x) _cfi_to_cpu(64, (map)->swap, (x)) argument
/linux-4.19.296/drivers/base/regmap/
Dregmap.c68 bool regmap_check_range_table(struct regmap *map, unsigned int reg, in regmap_check_range_table()
84 bool regmap_writeable(struct regmap *map, unsigned int reg) in regmap_writeable()
98 bool regmap_cached(struct regmap *map, unsigned int reg) in regmap_cached()
121 bool regmap_readable(struct regmap *map, unsigned int reg) in regmap_readable()
141 bool regmap_volatile(struct regmap *map, unsigned int reg) in regmap_volatile()
158 bool regmap_precious(struct regmap *map, unsigned int reg) in regmap_precious()
172 bool regmap_readable_noinc(struct regmap *map, unsigned int reg) in regmap_readable_noinc()
183 static bool regmap_volatile_range(struct regmap *map, unsigned int reg, in regmap_volatile_range()
195 static void regmap_format_2_6_write(struct regmap *map, in regmap_format_2_6_write()
203 static void regmap_format_4_12_write(struct regmap *map, in regmap_format_4_12_write()
[all …]
Dregcache.c30 static int regcache_hw_init(struct regmap *map) in regcache_hw_init()
119 int regcache_init(struct regmap *map, const struct regmap_config *config) in regcache_init()
210 void regcache_exit(struct regmap *map) in regcache_exit()
237 int regcache_read(struct regmap *map, in regcache_read()
268 int regcache_write(struct regmap *map, in regcache_write()
282 static bool regcache_reg_needs_sync(struct regmap *map, unsigned int reg, in regcache_reg_needs_sync()
298 static int regcache_default_sync(struct regmap *map, unsigned int min, in regcache_default_sync()
343 int regcache_sync(struct regmap *map) in regcache_sync()
415 int regcache_sync_region(struct regmap *map, unsigned int min, in regcache_sync_region()
473 int regcache_drop_region(struct regmap *map, unsigned int min, in regcache_drop_region()
[all …]
Dregmap-debugfs.c23 struct regmap *map; member
43 struct regmap *map = file->private_data; in regmap_name_read_file() local
72 static void regmap_debugfs_free_dump_cache(struct regmap *map) in regmap_debugfs_free_dump_cache()
85 static bool regmap_printable(struct regmap *map, unsigned int reg) in regmap_printable()
100 static unsigned int regmap_debugfs_get_dump_start(struct regmap *map, in regmap_debugfs_get_dump_start()
186 static inline void regmap_calc_tot_len(struct regmap *map, in regmap_calc_tot_len()
198 static ssize_t regmap_read_debugfs(struct regmap *map, unsigned int from, in regmap_read_debugfs()
274 struct regmap *map = file->private_data; in regmap_map_read_file() local
296 struct regmap *map = file->private_data; in regmap_map_write_file() local
335 struct regmap *map = range->map; in regmap_range_read_file() local
[all …]
Dregcache-lzo.c33 static int regcache_lzo_block_count(struct regmap *map) in regcache_lzo_block_count()
72 static int regcache_lzo_compress_cache_block(struct regmap *map, in regcache_lzo_compress_cache_block()
90 static int regcache_lzo_decompress_cache_block(struct regmap *map, in regcache_lzo_decompress_cache_block()
108 static inline int regcache_lzo_get_blkindex(struct regmap *map, in regcache_lzo_get_blkindex()
116 static inline int regcache_lzo_get_blkpos(struct regmap *map, in regcache_lzo_get_blkpos()
125 static inline int regcache_lzo_get_blksize(struct regmap *map) in regcache_lzo_get_blksize()
131 static int regcache_lzo_init(struct regmap *map) in regcache_lzo_init()
204 static int regcache_lzo_exit(struct regmap *map) in regcache_lzo_exit()
234 static int regcache_lzo_read(struct regmap *map, in regcache_lzo_read()
271 static int regcache_lzo_write(struct regmap *map, in regcache_lzo_write()
[all …]
Dregcache-rbtree.c44 struct regmap *map, in regcache_rbtree_get_base_top_reg()
52 static unsigned int regcache_rbtree_get_register(struct regmap *map, in regcache_rbtree_get_register()
58 static void regcache_rbtree_set_register(struct regmap *map, in regcache_rbtree_set_register()
66 static struct regcache_rbtree_node *regcache_rbtree_lookup(struct regmap *map, in regcache_rbtree_lookup()
100 static int regcache_rbtree_insert(struct regmap *map, struct rb_root *root, in regcache_rbtree_insert()
138 struct regmap *map = s->private; in rbtree_show() local
192 static void rbtree_debugfs_init(struct regmap *map) in rbtree_debugfs_init()
198 static int regcache_rbtree_init(struct regmap *map) in regcache_rbtree_init()
227 static int regcache_rbtree_exit(struct regmap *map) in regcache_rbtree_exit()
256 static int regcache_rbtree_read(struct regmap *map, in regcache_rbtree_read()
[all …]
Dregcache-flat.c19 static inline unsigned int regcache_flat_get_index(const struct regmap *map, in regcache_flat_get_index()
25 static int regcache_flat_init(struct regmap *map) in regcache_flat_init()
50 static int regcache_flat_exit(struct regmap *map) in regcache_flat_exit()
58 static int regcache_flat_read(struct regmap *map, in regcache_flat_read()
69 static int regcache_flat_write(struct regmap *map, unsigned int reg, in regcache_flat_write()
Dregmap-irq.c28 struct regmap *map; member
76 struct regmap *map = d->map; in regmap_irq_sync_unlock() local
198 struct regmap *map = d->map; in regmap_irq_enable() local
207 struct regmap *map = d->map; in regmap_irq_disable() local
216 struct regmap *map = d->map; in regmap_irq_set_type() local
248 struct regmap *map = d->map; in regmap_irq_set_wake() local
279 struct regmap *map = data->map; in regmap_irq_thread() local
429 int regmap_add_irq_chip(struct regmap *map, int irq, int irq_flags, in regmap_add_irq_chip()
758 int devm_regmap_add_irq_chip(struct device *dev, struct regmap *map, int irq, in devm_regmap_add_irq_chip()
/linux-4.19.296/include/drm/
Ddrm_os_linux.h16 #define DRM_READ8(map, offset) readb(((void __iomem *)(map)->handle) + (offset)) argument
18 #define DRM_READ16(map, offset) readw(((void __iomem *)(map)->handle) + (offset)) argument
20 #define DRM_READ32(map, offset) readl(((void __iomem *)(map)->handle) + (offset)) argument
22 #define DRM_WRITE8(map, offset, val) writeb(val, ((void __iomem *)(map)->handle) + (offset)) argument
24 #define DRM_WRITE16(map, offset, val) writew(val, ((void __iomem *)(map)->handle) + (offset)) argument
26 #define DRM_WRITE32(map, offset, val) writel(val, ((void __iomem *)(map)->handle) + (offset)) argument
29 #define DRM_READ64(map, offset) readq(((void __iomem *)(map)->handle) + (offset)) argument
31 #define DRM_WRITE64(map, offset, val) writeq(val, ((void __iomem *)(map)->handle) + (offset)) argument
/linux-4.19.296/fs/ocfs2/
Dheartbeat.c50 static void ocfs2_node_map_init(struct ocfs2_node_map *map) in ocfs2_node_map_init()
84 static inline void __ocfs2_node_map_set_bit(struct ocfs2_node_map *map, in __ocfs2_node_map_set_bit()
91 struct ocfs2_node_map *map, in ocfs2_node_map_set_bit()
102 static inline void __ocfs2_node_map_clear_bit(struct ocfs2_node_map *map, in __ocfs2_node_map_clear_bit()
109 struct ocfs2_node_map *map, in ocfs2_node_map_clear_bit()
121 struct ocfs2_node_map *map, in ocfs2_node_map_test_bit()
/linux-4.19.296/drivers/xen/
Dgntdev.c87 struct gntdev_grant_map *map; in gntdev_print_maps() local
97 static void gntdev_free_map(struct gntdev_grant_map *map) in gntdev_free_map()
214 struct gntdev_grant_map *map; in gntdev_add_map() local
232 struct gntdev_grant_map *map; in gntdev_find_map_index() local
244 void gntdev_put_map(struct gntdev_priv *priv, struct gntdev_grant_map *map) in gntdev_put_map()
304 struct gntdev_grant_map *map = data; in find_grant_ptes() local
337 int gntdev_map_grant_pages(struct gntdev_grant_map *map) in gntdev_map_grant_pages()
413 struct gntdev_grant_map *map = data->data; in __unmap_grant_pages_done() local
456 static void __unmap_grant_pages(struct gntdev_grant_map *map, int offset, in __unmap_grant_pages()
482 static void unmap_grant_pages(struct gntdev_grant_map *map, int offset, in unmap_grant_pages()
[all …]
Dpvcalls-front.c110 struct sock_mapping *map; in pvcalls_enter_sock() local
127 struct sock_mapping *map; in pvcalls_exit_sock() local
143 static bool pvcalls_front_write_todo(struct sock_mapping *map) in pvcalls_front_write_todo()
160 static bool pvcalls_front_read_todo(struct sock_mapping *map) in pvcalls_front_read_todo()
198 struct sock_mapping *map = (struct sock_mapping *)(uintptr_t) in pvcalls_front_event_handler() local
238 struct sock_mapping *map) in pvcalls_front_free_map()
259 struct sock_mapping *map = sock_map; in pvcalls_front_conn_handler() local
272 struct sock_mapping *map = NULL; in pvcalls_front_socket() local
344 static void free_active_ring(struct sock_mapping *map) in free_active_ring()
354 static int alloc_active_ring(struct sock_mapping *map) in alloc_active_ring()
[all …]
Dpvcalls-back.c102 struct sock_mapping *map = (struct sock_mapping *)opaque; in pvcalls_conn_back_read() local
176 static bool pvcalls_conn_back_write(struct sock_mapping *map) in pvcalls_conn_back_write()
241 struct sock_mapping *map = container_of(ioworker, struct sock_mapping, in pvcalls_back_ioworker() local
298 struct sock_mapping *map = sock->sk_user_data; in pvcalls_sk_state_change() local
309 struct sock_mapping *map = sock->sk_user_data; in pvcalls_sk_data_ready() local
329 struct sock_mapping *map; in pvcalls_new_active_socket() local
403 struct sock_mapping *map; in pvcalls_back_connect() local
443 struct sock_mapping *map) in pvcalls_back_release_active()
488 struct sock_mapping *map, *n; in pvcalls_back_release() local
526 struct sock_mapping *map; in __pvcalls_back_accept() local
[all …]
/linux-4.19.296/include/net/sctp/
Dtsnmap.h120 static inline __u32 sctp_tsnmap_get_ctsn(const struct sctp_tsnmap *map) in sctp_tsnmap_get_ctsn()
126 static inline __u32 sctp_tsnmap_get_max_tsn_seen(const struct sctp_tsnmap *map) in sctp_tsnmap_get_max_tsn_seen()
132 static inline __u16 sctp_tsnmap_num_dups(struct sctp_tsnmap *map) in sctp_tsnmap_num_dups()
138 static inline __be32 *sctp_tsnmap_get_dups(struct sctp_tsnmap *map) in sctp_tsnmap_get_dups()
152 static inline int sctp_tsnmap_has_gap(const struct sctp_tsnmap *map) in sctp_tsnmap_has_gap()
160 static inline void sctp_tsnmap_mark_dup(struct sctp_tsnmap *map, __u32 tsn) in sctp_tsnmap_mark_dup()
/linux-4.19.296/drivers/clk/berlin/
Dberlin2-div.c56 struct berlin2_div_map map; member
67 struct berlin2_div_map *map = &div->map; in berlin2_div_is_enabled() local
85 struct berlin2_div_map *map = &div->map; in berlin2_div_enable() local
104 struct berlin2_div_map *map = &div->map; in berlin2_div_disable() local
121 struct berlin2_div_map *map = &div->map; in berlin2_div_set_parent() local
152 struct berlin2_div_map *map = &div->map; in berlin2_div_get_parent() local
179 struct berlin2_div_map *map = &div->map; in berlin2_div_recalc_rate() local
227 berlin2_div_register(const struct berlin2_div_map *map, in berlin2_div_register()
Dberlin2-pll.c22 struct berlin2_pll_map map; member
45 struct berlin2_pll_map *map = &pll->map; in berlin2_pll_recalc_rate() local
77 berlin2_pll_register(const struct berlin2_pll_map *map, in berlin2_pll_register()
/linux-4.19.296/fs/reiserfs/
Dobjectid.c17 static void check_objectid_map(struct super_block *s, __le32 * map) in check_objectid_map()
27 static void check_objectid_map(struct super_block *s, __le32 * map) in check_objectid_map()
53 __le32 *map = objectid_map(s, rs); in reiserfs_get_unused_objectid() local
102 __le32 *map = objectid_map(s, rs); in reiserfs_release_objectid() local
/linux-4.19.296/fs/xfs/libxfs/
Dxfs_bit.c20 xfs_bitmap_empty(uint *map, uint size) in xfs_bitmap_empty()
37 xfs_contig_bits(uint *map, uint size, uint start_bit) in xfs_contig_bits()
76 int xfs_next_bit(uint *map, uint size, uint start_bit) in xfs_next_bit()
/linux-4.19.296/include/linux/
Dregmap.h76 #define regmap_update_bits(map, reg, mask, val) \ argument
78 #define regmap_update_bits_async(map, reg, mask, val)\ argument
80 #define regmap_update_bits_check(map, reg, mask, val, change)\ argument
82 #define regmap_update_bits_check_async(map, reg, mask, val, change)\ argument
85 #define regmap_write_bits(map, reg, mask, val) \ argument
125 #define regmap_read_poll_timeout(map, addr, val, cond, sleep_us, timeout_us) \ argument
1197 static inline int regmap_write(struct regmap *map, unsigned int reg, in regmap_write()
1204 static inline int regmap_write_async(struct regmap *map, unsigned int reg, in regmap_write_async()
1211 static inline int regmap_raw_write(struct regmap *map, unsigned int reg, in regmap_raw_write()
1218 static inline int regmap_raw_write_async(struct regmap *map, unsigned int reg, in regmap_raw_write_async()
[all …]
Dbpf.h104 struct bpf_map map; member
111 static inline struct bpf_offloaded_map *map_to_offmap(struct bpf_map *map) in map_to_offmap()
116 static inline bool bpf_map_offload_neutral(const struct bpf_map *map) in bpf_map_offload_neutral()
121 static inline bool bpf_map_support_seq_show(const struct bpf_map *map) in bpf_map_support_seq_show()
305 struct bpf_map map; member
593 static inline struct net_device *__dev_map_lookup_elem(struct bpf_map *map, in __dev_map_lookup_elem()
599 static inline void __dev_map_insert_ctx(struct bpf_map *map, u32 index) in __dev_map_insert_ctx()
603 static inline void __dev_map_flush(struct bpf_map *map) in __dev_map_flush()
627 struct bpf_cpu_map_entry *__cpu_map_lookup_elem(struct bpf_map *map, u32 key) in __cpu_map_lookup_elem()
632 static inline void __cpu_map_insert_ctx(struct bpf_map *map, u32 index) in __cpu_map_insert_ctx()
[all …]
/linux-4.19.296/fs/udf/
Dpartition.c33 struct udf_part_map *map; in udf_get_pblock() local
54 struct udf_part_map *map; in udf_get_pblock_virt15() local
118 struct udf_part_map *map; in udf_get_pblock_spar15() local
166 struct udf_part_map *map = &sbi->s_partmaps[i]; in udf_relocate_blocks() local
284 struct udf_part_map *map; in udf_try_read_meta() local
310 struct udf_part_map *map; in udf_get_pblock_meta25() local
/linux-4.19.296/drivers/clk/sunxi-ng/
Dccu_reset.c21 const struct ccu_reset_map *map = &ccu->reset_map[id]; in ccu_reset_assert() local
39 const struct ccu_reset_map *map = &ccu->reset_map[id]; in ccu_reset_deassert() local
67 const struct ccu_reset_map *map = &ccu->reset_map[id]; in ccu_reset_status() local
/linux-4.19.296/fs/btrfs/
Draid56.h10 static inline int nr_parity_stripes(struct map_lookup *map) in nr_parity_stripes()
20 static inline int nr_data_stripes(struct map_lookup *map) in nr_data_stripes()
/linux-4.19.296/drivers/rtc/
Drtc-ds1347.c51 struct regmap *map; in ds1347_read_time() local
75 struct regmap *map; in ds1347_set_time() local
107 struct regmap *map; in ds1347_probe() local

12345678910