Home
last modified time | relevance | path

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

12345678910>>...21

/linux-3.3/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-3.3/drivers/base/regmap/
Dregmap.c23 bool regmap_writeable(struct regmap *map, unsigned int reg) in regmap_writeable()
34 bool regmap_readable(struct regmap *map, unsigned int reg) in regmap_readable()
45 bool regmap_volatile(struct regmap *map, unsigned int reg) in regmap_volatile()
56 bool regmap_precious(struct regmap *map, unsigned int reg) in regmap_precious()
67 static bool regmap_volatile_range(struct regmap *map, unsigned int reg, in regmap_volatile_range()
79 static void regmap_format_4_12_write(struct regmap *map, in regmap_format_4_12_write()
86 static void regmap_format_7_9_write(struct regmap *map, in regmap_format_7_9_write()
93 static void regmap_format_10_14_write(struct regmap *map, in regmap_format_10_14_write()
148 struct regmap *map; in regmap_init() local
272 int regmap_reinit_cache(struct regmap *map, const struct regmap_config *config) in regmap_reinit_cache()
[all …]
Dregcache.c26 static int regcache_hw_init(struct regmap *map) in regcache_hw_init()
89 int regcache_init(struct regmap *map, const struct regmap_config *config) in regcache_init()
166 void regcache_exit(struct regmap *map) in regcache_exit()
193 int regcache_read(struct regmap *map, in regcache_read()
225 int regcache_write(struct regmap *map, in regcache_write()
254 int regcache_sync(struct regmap *map) in regcache_sync()
313 void regcache_cache_only(struct regmap *map, bool enable) in regcache_cache_only()
331 void regcache_mark_dirty(struct regmap *map) in regcache_mark_dirty()
350 void regcache_cache_bypass(struct regmap *map, bool enable) in regcache_cache_bypass()
414 int regcache_lookup_reg(struct regmap *map, unsigned int reg) in regcache_lookup_reg()
Dregcache-lzo.c32 static int regcache_lzo_block_count(struct regmap *map) in regcache_lzo_block_count()
71 static int regcache_lzo_compress_cache_block(struct regmap *map, in regcache_lzo_compress_cache_block()
89 static int regcache_lzo_decompress_cache_block(struct regmap *map, in regcache_lzo_decompress_cache_block()
107 static inline int regcache_lzo_get_blkindex(struct regmap *map, in regcache_lzo_get_blkindex()
115 static inline int regcache_lzo_get_blkpos(struct regmap *map, in regcache_lzo_get_blkpos()
123 static inline int regcache_lzo_get_blksize(struct regmap *map) in regcache_lzo_get_blksize()
129 static int regcache_lzo_init(struct regmap *map) in regcache_lzo_init()
202 static int regcache_lzo_exit(struct regmap *map) in regcache_lzo_exit()
232 static int regcache_lzo_read(struct regmap *map, in regcache_lzo_read()
272 static int regcache_lzo_write(struct regmap *map, in regcache_lzo_write()
[all …]
/linux-3.3/net/sctp/
Dtsnmap.c57 struct sctp_tsnmap *sctp_tsnmap_init(struct sctp_tsnmap *map, __u16 len, in sctp_tsnmap_init()
79 void sctp_tsnmap_free(struct sctp_tsnmap *map) in sctp_tsnmap_free()
91 int sctp_tsnmap_check(const struct sctp_tsnmap *map, __u32 tsn) in sctp_tsnmap_check()
117 int sctp_tsnmap_mark(struct sctp_tsnmap *map, __u32 tsn) in sctp_tsnmap_mark()
160 SCTP_STATIC void sctp_tsnmap_iter_init(const struct sctp_tsnmap *map, in sctp_tsnmap_iter_init()
170 SCTP_STATIC int sctp_tsnmap_next_gap_ack(const struct sctp_tsnmap *map, in sctp_tsnmap_next_gap_ack()
208 void sctp_tsnmap_skip(struct sctp_tsnmap *map, __u32 tsn) in sctp_tsnmap_skip()
246 static void sctp_tsnmap_update(struct sctp_tsnmap *map) in sctp_tsnmap_update()
265 __u16 sctp_tsnmap_pending(struct sctp_tsnmap *map) in sctp_tsnmap_pending()
294 static void sctp_tsnmap_find_gap_ack(unsigned long *map, __u16 off, in sctp_tsnmap_find_gap_ack()
[all …]
/linux-3.3/drivers/mtd/maps/
Dpci.c34 struct map_info map; member
43 struct map_pci_info *map = (struct map_pci_info *)_map; in mtd_pci_read8() local
62 struct map_pci_info *map = (struct map_pci_info *)_map; in mtd_pci_read32() local
71 struct map_pci_info *map = (struct map_pci_info *)_map; in mtd_pci_copyfrom() local
77 struct map_pci_info *map = (struct map_pci_info *)_map; in mtd_pci_write8() local
92 struct map_pci_info *map = (struct map_pci_info *)_map; in mtd_pci_write32() local
99 struct map_pci_info *map = (struct map_pci_info *)_map; in mtd_pci_copyto() local
114 intel_iq80310_init(struct pci_dev *dev, struct map_pci_info *map) in intel_iq80310_init()
142 intel_iq80310_exit(struct pci_dev *dev, struct map_pci_info *map) in intel_iq80310_exit()
150 intel_iq80310_translate(struct map_pci_info *map, unsigned long ofs) in intel_iq80310_translate()
[all …]
Ddc21285.c54 static map_word dc21285_read8(struct map_info *map, unsigned long ofs) in dc21285_read8()
61 static map_word dc21285_read16(struct map_info *map, unsigned long ofs) in dc21285_read16()
68 static map_word dc21285_read32(struct map_info *map, unsigned long ofs) in dc21285_read32()
75 static void dc21285_copy_from(struct map_info *map, void *to, unsigned long from, ssize_t len) in dc21285_copy_from()
80 static void dc21285_write8(struct map_info *map, const map_word d, unsigned long adr) in dc21285_write8()
89 static void dc21285_write16(struct map_info *map, const map_word d, unsigned long adr) in dc21285_write16()
98 static void dc21285_write32(struct map_info *map, const map_word d, unsigned long adr) in dc21285_write32()
105 static void dc21285_copy_to_32(struct map_info *map, unsigned long to, const void *from, ssize_t le… in dc21285_copy_to_32()
117 static void dc21285_copy_to_16(struct map_info *map, unsigned long to, const void *from, ssize_t le… in dc21285_copy_to_16()
129 static void dc21285_copy_to_8(struct map_info *map, unsigned long to, const void *from, ssize_t len) in dc21285_copy_to_8()
Dmap_funcs.c12 static map_word __xipram simple_map_read(struct map_info *map, unsigned long ofs) in simple_map_read()
17 static void __xipram simple_map_write(struct map_info *map, const map_word datum, unsigned long ofs) in simple_map_write()
22 static void __xipram simple_map_copy_from(struct map_info *map, void *to, unsigned long from, ssize… in simple_map_copy_from()
27 static void __xipram simple_map_copy_to(struct map_info *map, unsigned long to, const void *from, s… in simple_map_copy_to()
32 void simple_map_init(struct map_info *map) in simple_map_init()
/linux-3.3/drivers/mtd/chips/
Dcfi_cmdset_0002.c139 struct map_info *map = mtd->priv; in fixup_amd_bootblock() local
188 struct map_info *map = mtd->priv; in fixup_use_write_buffers() local
199 struct map_info *map = mtd->priv; in fixup_convert_atmel_pri() local
237 struct map_info *map = mtd->priv; in fixup_use_erase_chip() local
259 struct map_info *map = mtd->priv; in fixup_old_sst_eraseregion() local
273 struct map_info *map = mtd->priv; in fixup_sst39vf() local
284 struct map_info *map = mtd->priv; in fixup_sst39vf_rev_b() local
297 struct map_info *map = mtd->priv; in fixup_sst38vf640x_sectorsize() local
312 struct map_info *map = mtd->priv; in fixup_s29gl064n_sectors() local
323 struct map_info *map = mtd->priv; in fixup_s29gl032n_sectors() local
[all …]
Dcfi_probe.c38 #define xip_allowed(base, map) \ argument
45 #define xip_enable(base, map, cfi) \ argument
51 #define xip_disable_qry(base, map, cfi) \ argument
60 #define xip_allowed(base, map) do { } while (0) argument
61 #define xip_enable(base, map, cfi) do { } while (0) argument
62 #define xip_disable_qry(base, map, cfi) do { } while (0) argument
71 static int __xipram cfi_probe_chip(struct map_info *map, __u32 base, in cfi_probe_chip()
154 static int __xipram cfi_chip_setup(struct map_info *map, in cfi_chip_setup()
391 struct mtd_info *cfi_probe(struct map_info *map) in cfi_probe()
Dcfi_cmdset_0001.c167 struct map_info *map = mtd->priv; in fixup_convert_atmel_pri() local
207 struct map_info *map = mtd->priv; in fixup_at49bv640dx_lock() local
219 struct map_info *map = mtd->priv; in fixup_intel_strataflash() local
232 struct map_info *map = mtd->priv; in fixup_no_write_suspend() local
245 struct map_info *map = mtd->priv; in fixup_st_m28w320ct() local
254 struct map_info *map = mtd->priv; in fixup_st_m28w320cb() local
264 struct map_info *map = mtd->priv; in fixup_use_point() local
273 struct map_info *map = mtd->priv; in fixup_use_write_buffers() local
287 struct map_info *map = mtd->priv; in fixup_unlock_powerup_lock() local
343 read_pri_intelext(struct map_info *map, __u16 adr) in read_pri_intelext()
[all …]
/linux-3.3/tools/perf/util/
Dmap.h27 struct map { struct
34 u8 /* enum map_type */ type; argument
40 u64 (*map_ip)(struct map *, u64); argument
42 u64 (*unmap_ip)(struct map *, u64); argument
45 struct map_groups *groups; argument
88 static inline u64 map__map_ip(struct map *map, u64 ip) in map__map_ip()
93 static inline u64 map__unmap_ip(struct map *map, u64 ip) in map__unmap_ip()
178 static inline void map_groups__insert(struct map_groups *mg, struct map *map) in map_groups__insert()
184 static inline void map_groups__remove(struct map_groups *mg, struct map *map) in map_groups__remove()
/linux-3.3/net/netfilter/ipset/
Dip_set_list_set.c44 list_set_elem(const struct list_set *map, u32 id) in list_set_elem()
50 list_set_telem(const struct list_set *map, u32 id) in list_set_telem()
56 list_set_timeout(const struct list_set *map, u32 id) in list_set_timeout()
64 list_set_expired(const struct list_set *map, u32 id) in list_set_expired()
78 struct list_set *map = set->data; in list_set_kadt() local
113 id_eq(const struct list_set *map, u32 i, ip_set_id_t id) in id_eq()
126 id_eq_timeout(const struct list_set *map, u32 i, ip_set_id_t id) in id_eq_timeout()
141 list_elem_add(struct list_set *map, u32 i, ip_set_id_t id) in list_elem_add()
154 list_elem_tadd(struct list_set *map, u32 i, ip_set_id_t id, in list_elem_tadd()
169 list_set_add(struct list_set *map, u32 i, ip_set_id_t id, in list_set_add()
[all …]
Dip_set_bitmap_port.c45 const struct bitmap_port *map = set->data; in bitmap_port_test() local
54 struct bitmap_port *map = set->data; in bitmap_port_add() local
66 struct bitmap_port *map = set->data; in bitmap_port_del() local
79 const struct bitmap_port *map = set->data; in bitmap_port_list() local
124 const struct bitmap_port *map = set->data; in bitmap_port_ttest() local
134 struct bitmap_port *map = set->data; in bitmap_port_tadd() local
149 struct bitmap_port *map = set->data; in bitmap_port_tdel() local
165 const struct bitmap_port *map = set->data; in bitmap_port_tlist() local
214 struct bitmap_port *map = set->data; in bitmap_port_kadt() local
237 struct bitmap_port *map = set->data; in bitmap_port_uadt() local
[all …]
Dip_set_bitmap_ipmac.c70 bitmap_ipmac_elem(const struct bitmap_ipmac *map, u32 id) in bitmap_ipmac_elem()
76 bitmap_timeout(const struct bitmap_ipmac *map, u32 id) in bitmap_timeout()
84 bitmap_expired(const struct bitmap_ipmac *map, u32 id) in bitmap_expired()
104 const struct bitmap_ipmac *map = set->data; in bitmap_ipmac_test() local
122 struct bitmap_ipmac *map = set->data; in bitmap_ipmac_add() local
151 struct bitmap_ipmac *map = set->data; in bitmap_ipmac_del() local
167 const struct bitmap_ipmac *map = set->data; in bitmap_ipmac_list() local
217 const struct bitmap_ipmac *map = set->data; in bitmap_ipmac_ttest() local
236 struct bitmap_ipmac *map = set->data; in bitmap_ipmac_tadd() local
279 struct bitmap_ipmac *map = set->data; in bitmap_ipmac_tdel() local
[all …]
Dip_set_bitmap_ip.c59 const struct bitmap_ip *map = set->data; in bitmap_ip_test() local
68 struct bitmap_ip *map = set->data; in bitmap_ip_add() local
80 struct bitmap_ip *map = set->data; in bitmap_ip_del() local
93 const struct bitmap_ip *map = set->data; in bitmap_ip_list() local
136 const struct bitmap_ip *map = set->data; in bitmap_ip_ttest() local
146 struct bitmap_ip *map = set->data; in bitmap_ip_tadd() local
161 struct bitmap_ip *map = set->data; in bitmap_ip_tdel() local
177 const struct bitmap_ip *map = set->data; in bitmap_ip_tlist() local
225 struct bitmap_ip *map = set->data; in bitmap_ip_kadt() local
242 struct bitmap_ip *map = set->data; in bitmap_ip_uadt() local
[all …]
/linux-3.3/net/rds/
Dcong.c109 struct rds_cong_map *map; in rds_cong_tree_walk() local
137 struct rds_cong_map *map; in rds_cong_from_addr() local
214 void rds_cong_queue_updates(struct rds_cong_map *map) in rds_cong_queue_updates()
231 void rds_cong_map_updated(struct rds_cong_map *map, uint64_t portmask) in rds_cong_map_updated()
277 void rds_cong_set_bit(struct rds_cong_map *map, __be16 port) in rds_cong_set_bit()
291 void rds_cong_clear_bit(struct rds_cong_map *map, __be16 port) in rds_cong_clear_bit()
305 static int rds_cong_test_bit(struct rds_cong_map *map, __be16 port) in rds_cong_test_bit()
329 struct rds_cong_map *map; in rds_cong_remove_socket() local
346 int rds_cong_wait(struct rds_cong_map *map, __be16 port, int nonblock, in rds_cong_wait()
380 struct rds_cong_map *map; in rds_cong_exit() local
[all …]
/linux-3.3/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-3.3/arch/x86/include/asm/
Dmpspec.h116 #define physid_set(physid, map) set_bit(physid, (map).mask) argument
117 #define physid_clear(physid, map) clear_bit(physid, (map).mask) argument
118 #define physid_isset(physid, map) test_bit(physid, (map).mask) argument
119 #define physid_test_and_set(physid, map) \ argument
128 #define physids_clear(map) \ argument
134 #define physids_empty(map) \ argument
140 #define physids_weight(map) \ argument
149 static inline unsigned long physids_coerce(physid_mask_t *map) in physids_coerce()
154 static inline void physids_promote(unsigned long physids, physid_mask_t *map) in physids_promote()
160 static inline void physid_set_mask_of_physid(int physid, physid_mask_t *map) in physid_set_mask_of_physid()
/linux-3.3/include/net/sctp/
Dtsnmap.h126 static inline __u32 sctp_tsnmap_get_ctsn(const struct sctp_tsnmap *map) in sctp_tsnmap_get_ctsn()
132 static inline __u32 sctp_tsnmap_get_max_tsn_seen(const struct sctp_tsnmap *map) in sctp_tsnmap_get_max_tsn_seen()
138 static inline __u16 sctp_tsnmap_num_dups(struct sctp_tsnmap *map) in sctp_tsnmap_num_dups()
144 static inline __be32 *sctp_tsnmap_get_dups(struct sctp_tsnmap *map) in sctp_tsnmap_get_dups()
158 static inline int sctp_tsnmap_has_gap(const struct sctp_tsnmap *map) in sctp_tsnmap_has_gap()
166 static inline void sctp_tsnmap_mark_dup(struct sctp_tsnmap *map, __u32 tsn) in sctp_tsnmap_mark_dup()
/linux-3.3/drivers/scsi/megaraid/
Dmegaraid_sas_fp.c100 struct MR_LD_RAID *MR_LdRaidGet(u32 ld, struct MR_FW_RAID_MAP_ALL *map) in MR_LdRaidGet()
106 struct MR_FW_RAID_MAP_ALL in MR_LdSpanInfoGet()
112 static u8 MR_LdDataArmGet(u32 ld, u32 armIdx, struct MR_FW_RAID_MAP_ALL *map) in MR_LdDataArmGet()
117 static u16 MR_ArPdGet(u32 ar, u32 arm, struct MR_FW_RAID_MAP_ALL *map) in MR_ArPdGet()
122 static u16 MR_LdSpanArrayGet(u32 ld, u32 span, struct MR_FW_RAID_MAP_ALL *map) in MR_LdSpanArrayGet()
127 static u16 MR_PdDevHandleGet(u32 pd, struct MR_FW_RAID_MAP_ALL *map) in MR_PdDevHandleGet()
132 u16 MR_GetLDTgtId(u32 ld, struct MR_FW_RAID_MAP_ALL *map) in MR_GetLDTgtId()
137 u16 MR_TargetIdToLdGet(u32 ldTgtId, struct MR_FW_RAID_MAP_ALL *map) in MR_TargetIdToLdGet()
143 struct MR_FW_RAID_MAP_ALL *map) in MR_LdSpanPtrGet()
151 u8 MR_ValidateMapInfo(struct MR_FW_RAID_MAP_ALL *map, in MR_ValidateMapInfo()
[all …]
/linux-3.3/drivers/xen/
Dgntdev.c98 struct grant_map *map; in gntdev_print_maps() local
156 struct grant_map *map; in gntdev_add_map() local
174 struct grant_map *map; in gntdev_find_map_index() local
186 static void gntdev_put_map(struct grant_map *map) in gntdev_put_map()
219 struct grant_map *map = data; in find_grant_ptes() local
235 static int map_grant_pages(struct grant_map *map) in map_grant_pages()
296 static int __unmap_grant_pages(struct grant_map *map, int offset, int pages) in __unmap_grant_pages()
333 static int unmap_grant_pages(struct grant_map *map, int offset, int pages) in unmap_grant_pages()
367 struct grant_map *map = vma->vm_private_data; in gntdev_vma_open() local
375 struct grant_map *map = vma->vm_private_data; in gntdev_vma_close() local
[all …]
/linux-3.3/drivers/mtd/lpddr/
Dqinfo_probe.c58 static long lpddr_get_qinforec_pos(struct map_info *map, char *id_str) in lpddr_get_qinforec_pos()
77 static uint16_t lpddr_info_query(struct map_info *map, char *id_str) in lpddr_info_query()
105 static int lpddr_pfow_present(struct map_info *map, struct lpddr_private *lpddr) in lpddr_pfow_present()
134 static int lpddr_chip_setup(struct map_info *map, struct lpddr_private *lpddr) in lpddr_chip_setup()
162 static struct lpddr_private *lpddr_probe_chip(struct map_info *map) in lpddr_probe_chip()
201 struct mtd_info *lpddr_probe(struct map_info *map) in lpddr_probe()
/linux-3.3/arch/powerpc/platforms/cell/
Dcbe_regs.c83 struct cbe_regs_map *map = cbe_find_map(np); in cbe_get_pmd_regs() local
92 struct cbe_regs_map *map = cbe_thread_map[cpu].regs; in cbe_get_cpu_pmd_regs() local
101 struct cbe_regs_map *map = cbe_find_map(np); in cbe_get_pmd_shadow_regs() local
109 struct cbe_regs_map *map = cbe_thread_map[cpu].regs; in cbe_get_cpu_pmd_shadow_regs() local
117 struct cbe_regs_map *map = cbe_find_map(np); in cbe_get_iic_regs() local
125 struct cbe_regs_map *map = cbe_thread_map[cpu].regs; in cbe_get_cpu_iic_regs() local
133 struct cbe_regs_map *map = cbe_find_map(np); in cbe_get_mic_tm_regs() local
141 struct cbe_regs_map *map = cbe_thread_map[cpu].regs; in cbe_get_cpu_mic_tm_regs() local
192 void __init cbe_fill_regs_map(struct cbe_regs_map *map) in cbe_fill_regs_map()
250 struct cbe_regs_map *map; in cbe_regs_init() local

12345678910>>...21