Searched refs:map_info (Results 1 - 25 of 91) sorted by relevance

1234

/linux-master/drivers/mtd/maps/
H A Dphysmap-versatile.h8 struct map_info *map);
13 struct map_info *map)
H A Dphysmap-gemini.h8 struct map_info *map);
13 struct map_info *map)
H A Dphysmap-bt1-rom.h8 struct map_info *map);
13 struct map_info *map)
H A Dphysmap-ixp4xx.h9 struct map_info *map);
14 struct map_info *map)
H A Dmap_funcs.c13 static map_word __xipram simple_map_read(struct map_info *map, unsigned long ofs)
18 static void __xipram simple_map_write(struct map_info *map, const map_word datum, unsigned long ofs)
23 static void __xipram simple_map_copy_from(struct map_info *map, void *to, unsigned long from, ssize_t len)
28 static void __xipram simple_map_copy_to(struct map_info *map, unsigned long to, const void *from, ssize_t len)
33 void simple_map_init(struct map_info *map)
H A Dtsunami_flash.c18 static inline map_word tsunami_flash_read8(struct map_info *map, unsigned long offset)
25 static void tsunami_flash_write8(struct map_info *map, map_word value, unsigned long offset)
31 struct map_info *map, void *addr, unsigned long offset, ssize_t len)
44 struct map_info *map, unsigned long offset,
62 static struct map_info tsunami_flash_map = {
H A Dphysmap-ixp4xx.c69 static map_word ixp4xx_read16(struct map_info *map, unsigned long ofs)
82 static void ixp4xx_copy_from(struct map_info *map, void *to,
109 static void ixp4xx_write16(struct map_info *map, map_word d, unsigned long adr)
116 struct map_info *map)
H A Ddc21285.c54 static map_word dc21285_read8(struct map_info *map, unsigned long ofs)
61 static map_word dc21285_read16(struct map_info *map, unsigned long ofs)
68 static map_word dc21285_read32(struct map_info *map, unsigned long ofs)
75 static void dc21285_copy_from(struct map_info *map, void *to, unsigned long from, ssize_t len)
80 static void dc21285_write8(struct map_info *map, const map_word d, unsigned long adr)
89 static void dc21285_write16(struct map_info *map, const map_word d, unsigned long adr)
98 static void dc21285_write32(struct map_info *map, const map_word d, unsigned long adr)
105 static void dc21285_copy_to_32(struct map_info *map, unsigned long to, const void *from, ssize_t len)
117 static void dc21285_copy_to_16(struct map_info *map, unsigned long to, const void *from, ssize_t len)
129 static void dc21285_copy_to_8(struct map_info *ma
[all...]
H A Dsbc_gxx.c91 static inline void sbc_gxx_page(struct map_info *map, unsigned long ofs)
102 static map_word sbc_gxx_read8(struct map_info *map, unsigned long ofs)
112 static void sbc_gxx_copy_from(struct map_info *map, void *to, unsigned long from, ssize_t len)
129 static void sbc_gxx_write8(struct map_info *map, map_word d, unsigned long adr)
137 static void sbc_gxx_copy_to(struct map_info *map, unsigned long to, const void *from, ssize_t len)
154 static struct map_info sbc_gxx_map = {
H A Dlantiq-flash.c42 struct map_info *map;
48 ltq_read16(struct map_info *map, unsigned long adr)
62 ltq_write16(struct map_info *map, map_word d, unsigned long adr)
81 ltq_copy_from(struct map_info *map, void *to,
95 ltq_copy_to(struct map_info *map, unsigned long to,
125 ltq_mtd->map = devm_kzalloc(&pdev->dev, sizeof(struct map_info),
H A Duclinux.c34 static struct map_info uclinux_ram_map = {
57 struct map_info *map = mtd->priv;
70 struct map_info *mapp;
/linux-master/include/linux/mtd/
H A Dgen_probe.h17 int (*probe_chip)(struct map_info *map, __u32 base,
21 struct mtd_info *mtd_do_chip_probe(struct map_info *map, struct chip_probe *cp);
H A Dphysmap.h16 struct map_info;
H A Dmap.h173 /* The map stuff is very simple. You fill in your struct map_info with
184 The mtd->priv field will point to the struct map_info, and any further
191 struct map_info { struct
207 map_word (*read)(struct map_info *, unsigned long);
208 void (*copy_from)(struct map_info *, void *, unsigned long, ssize_t);
210 void (*write)(struct map_info *, const map_word, unsigned long);
211 void (*copy_to)(struct map_info *, unsigned long, const void *, ssize_t);
222 void (*inval_cache)(struct map_info *, unsigned long, ssize_t);
229 void (*set_vpp)(struct map_info *, int);
240 struct mtd_info *(*probe)(struct map_info *ma
[all...]
H A Dcfi.h281 struct mtd_info *(*cmdset_setup)(struct map_info *);
294 struct map_info *map, struct cfi_private *cfi);
296 map_word cfi_build_cmd(u_long cmd, struct map_info *map, struct cfi_private *cfi);
299 unsigned long cfi_merge_status(map_word val, struct map_info *map,
304 struct map_info *map, struct cfi_private *cfi,
307 static inline uint8_t cfi_read_query(struct map_info *map, uint32_t addr)
323 static inline uint16_t cfi_read_query16(struct map_info *map, uint32_t addr)
341 int __xipram cfi_qry_present(struct map_info *map, __u32 base,
343 int __xipram cfi_qry_mode_on(uint32_t base, struct map_info *map,
345 void __xipram cfi_qry_mode_off(uint32_t base, struct map_info *ma
[all...]
H A Dqinfo.h79 static inline map_word lpddr_build_cmd(u_long cmd, struct map_info *map)
89 struct mtd_info *lpddr_cmdset(struct map_info *);
/linux-master/drivers/media/pci/cobalt/
H A Dcobalt-flash.c18 static struct map_info cobalt_flash_map = {
25 static map_word flash_read16(struct map_info *map, unsigned long offset)
38 static void flash_write16(struct map_info *map, const map_word datum,
46 static void flash_copy_from(struct map_info *map, void *to,
64 static void flash_copy_to(struct map_info *map, unsigned long to,
87 struct map_info *map = &cobalt_flash_map;
/linux-master/arch/mips/cavium-octeon/
H A Dflash_setup.c21 static struct map_info flash_map;
31 static map_word octeon_flash_map_read(struct map_info *map, unsigned long ofs)
42 static void octeon_flash_map_write(struct map_info *map, const map_word datum,
50 static void octeon_flash_map_copy_from(struct map_info *map, void *to,
58 static void octeon_flash_map_copy_to(struct map_info *map, unsigned long to,
/linux-master/drivers/infiniband/core/
H A Diwpm_util.c112 struct iwpm_mapping_info *map_info; local
116 map_info = kzalloc(sizeof(struct iwpm_mapping_info), GFP_KERNEL);
117 if (!map_info)
120 memcpy(&map_info->local_sockaddr, local_sockaddr,
122 memcpy(&map_info->mapped_sockaddr, mapped_sockaddr,
124 map_info->nl_client = nl_client;
125 map_info->map_flags = map_flags;
130 &map_info->local_sockaddr,
131 &map_info->mapped_sockaddr);
133 hlist_add_head(&map_info
158 struct iwpm_mapping_info *map_info = NULL; local
191 struct iwpm_mapping_info *map_info; local
640 struct iwpm_mapping_info *map_info; local
[all...]
/linux-master/drivers/mtd/lpddr/
H A Dqinfo_probe.c20 static int lpddr_chip_setup(struct map_info *map, struct lpddr_private *lpddr);
21 struct mtd_info *lpddr_probe(struct map_info *map);
22 static struct lpddr_private *lpddr_probe_chip(struct map_info *map);
23 static int lpddr_pfow_present(struct map_info *map,
44 static long lpddr_get_qinforec_pos(struct map_info *map, char *id_str)
63 static uint16_t lpddr_info_query(struct map_info *map, char *id_str)
91 static int lpddr_pfow_present(struct map_info *map, struct lpddr_private *lpddr)
120 static int lpddr_chip_setup(struct map_info *map, struct lpddr_private *lpddr)
145 static struct lpddr_private *lpddr_probe_chip(struct map_info *map)
184 struct mtd_info *lpddr_probe(struct map_info *ma
[all...]
/linux-master/drivers/mtd/hyperbus/
H A Dhyperbus-core.c15 static struct hyperbus_device *map_to_hbdev(struct map_info *map)
20 static map_word hyperbus_read16(struct map_info *map, unsigned long addr)
31 static void hyperbus_write16(struct map_info *map, map_word d,
40 static void hyperbus_copy_from(struct map_info *map, void *to,
49 static void hyperbus_copy_to(struct map_info *map, unsigned long to,
63 struct map_info *map;
/linux-master/drivers/mtd/chips/
H A Dmap_ram.c23 static struct mtd_info *map_ram_probe(struct map_info *map);
35 static struct mtd_info *map_ram_probe(struct map_info *map)
94 struct map_info *map = mtd->priv;
112 struct map_info *map = mtd->priv;
121 struct map_info *map = mtd->priv;
132 struct map_info *map = mtd->priv;
H A Dgen_probe.c15 static struct mtd_info *check_cmd_set(struct map_info *, int);
16 static struct cfi_private *genprobe_ident_chips(struct map_info *map,
18 static int genprobe_new_chip(struct map_info *map, struct chip_probe *cp,
21 struct mtd_info *mtd_do_chip_probe(struct map_info *map, struct chip_probe *cp)
59 static struct cfi_private *genprobe_ident_chips(struct map_info *map, struct chip_probe *cp)
164 static int genprobe_new_chip(struct map_info *map, struct chip_probe *cp,
192 typedef struct mtd_info *cfi_cmdset_fn_t(struct map_info *, int);
198 static inline struct mtd_info *cfi_cmdset_unknown(struct map_info *map,
232 static struct mtd_info *check_cmd_set(struct map_info *map, int primary)
/linux-master/tools/perf/util/
H A Dbpf_counter.h115 struct bpf_map_info map_info = { .id = 0, }; local
116 __u32 map_info_len = sizeof(map_info);
118 bpf_obj_get_info_by_fd(fd, &map_info, &map_info_len);
119 return map_info.id;
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dmetadata.c19 struct bpf_map_info map_info = {}; local
27 map_info_len = sizeof(map_info);
28 ret = bpf_map_get_info_by_fd(map_fd, &map_info, &map_info_len);
55 if (map_ids[i] == map_info.id) {

Completed in 789 milliseconds

1234