/linux/drivers/infiniband/core/ |
A D | iwpm_util.c | 117 if (!map_info) in iwpm_create_mapinfo() 124 map_info->nl_client = nl_client; in iwpm_create_mapinfo() 125 map_info->map_flags = map_flags; in iwpm_create_mapinfo() 130 &map_info->local_sockaddr, in iwpm_create_mapinfo() 131 &map_info->mapped_sockaddr); in iwpm_create_mapinfo() 140 kfree(map_info); in iwpm_create_mapinfo() 177 kfree(map_info); in iwpm_remove_mapinfo() 202 kfree(map_info); in free_hash_bucket() 673 &map_info->local_sockaddr, in iwpm_send_mapinfo() 680 &map_info->mapped_sockaddr, in iwpm_send_mapinfo() [all …]
|
/linux/drivers/mtd/maps/ |
A D | dc21285.c | 54 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() [all …]
|
A D | map_funcs.c | 13 static map_word __xipram simple_map_read(struct map_info *map, unsigned long ofs) in simple_map_read() 18 static void __xipram simple_map_write(struct map_info *map, const map_word datum, unsigned long ofs) in simple_map_write() 23 static void __xipram simple_map_copy_from(struct map_info *map, void *to, unsigned long from, ssize… in simple_map_copy_from() 28 static void __xipram simple_map_copy_to(struct map_info *map, unsigned long to, const void *from, s… in simple_map_copy_to() 33 void simple_map_init(struct map_info *map) in simple_map_init()
|
A D | tsunami_flash.c | 18 static inline map_word tsunami_flash_read8(struct map_info *map, unsigned long offset) in tsunami_flash_read8() 25 static void tsunami_flash_write8(struct map_info *map, map_word value, unsigned long offset) in tsunami_flash_write8() 31 struct map_info *map, void *addr, unsigned long offset, ssize_t len) in tsunami_flash_copy_from() 44 struct map_info *map, unsigned long offset, in tsunami_flash_copy_to() 62 static struct map_info tsunami_flash_map = {
|
A D | sbc_gxx.c | 91 static inline void sbc_gxx_page(struct map_info *map, unsigned long ofs) in sbc_gxx_page() 102 static map_word sbc_gxx_read8(struct map_info *map, unsigned long ofs) in sbc_gxx_read8() 112 static void sbc_gxx_copy_from(struct map_info *map, void *to, unsigned long from, ssize_t len) in sbc_gxx_copy_from() 129 static void sbc_gxx_write8(struct map_info *map, map_word d, unsigned long adr) in sbc_gxx_write8() 137 static void sbc_gxx_copy_to(struct map_info *map, unsigned long to, const void *from, ssize_t len) in sbc_gxx_copy_to() 154 static struct map_info sbc_gxx_map = {
|
A D | lantiq-flash.c | 42 struct map_info *map; 48 ltq_read16(struct map_info *map, unsigned long adr) in ltq_read16() 62 ltq_write16(struct map_info *map, map_word d, unsigned long adr) in ltq_write16() 81 ltq_copy_from(struct map_info *map, void *to, in ltq_copy_from() 95 ltq_copy_to(struct map_info *map, unsigned long to, in ltq_copy_to() 127 ltq_mtd->map = devm_kzalloc(&pdev->dev, sizeof(struct map_info), in ltq_mtd_probe()
|
A D | pci.c | 30 struct map_info map; 37 static map_word mtd_pci_read8(struct map_info *_map, unsigned long ofs) in mtd_pci_read8() 45 static map_word mtd_pci_read32(struct map_info *_map, unsigned long ofs) in mtd_pci_read32() 53 static void mtd_pci_copyfrom(struct map_info *_map, void *to, unsigned long from, ssize_t len) in mtd_pci_copyfrom() 59 static void mtd_pci_write8(struct map_info *_map, map_word val, unsigned long ofs) in mtd_pci_write8() 65 static void mtd_pci_write32(struct map_info *_map, map_word val, unsigned long ofs) in mtd_pci_write32() 71 static void mtd_pci_copyto(struct map_info *_map, unsigned long to, const void *from, ssize_t len) in mtd_pci_copyto() 77 static const struct map_info mtd_pci_map = {
|
A D | pcmciamtd.c | 36 struct map_info pcmcia_map; 83 static void __iomem *remap_window(struct map_info *map, unsigned long to) in remap_window() 108 static map_word pcmcia_read8_remap(struct map_info *map, unsigned long ofs) in pcmcia_read8_remap() 123 static map_word pcmcia_read16_remap(struct map_info *map, unsigned long ofs) in pcmcia_read16_remap() 164 static void pcmcia_write8_remap(struct map_info *map, map_word d, unsigned long adr) in pcmcia_write8_remap() 176 static void pcmcia_write16_remap(struct map_info *map, map_word d, unsigned long adr) in pcmcia_write16_remap() 217 static map_word pcmcia_read8(struct map_info *map, unsigned long ofs) in pcmcia_read8() 232 static map_word pcmcia_read16(struct map_info *map, unsigned long ofs) in pcmcia_read16() 259 static void pcmcia_write8(struct map_info *map, map_word d, unsigned long adr) in pcmcia_write8() 272 static void pcmcia_write16(struct map_info *map, map_word d, unsigned long adr) in pcmcia_write16() [all …]
|
A D | physmap-gemini.c | 81 static map_word __xipram gemini_flash_map_read(struct map_info *map, in gemini_flash_map_read() 93 static void __xipram gemini_flash_map_write(struct map_info *map, in gemini_flash_map_write() 102 static void __xipram gemini_flash_map_copy_from(struct map_info *map, in gemini_flash_map_copy_from() 111 static void __xipram gemini_flash_map_copy_to(struct map_info *map, in gemini_flash_map_copy_to() 122 struct map_info *map) in of_flash_probe_gemini()
|
A D | physmap-ixp4xx.c | 69 static map_word ixp4xx_read16(struct map_info *map, unsigned long ofs) in ixp4xx_read16() 82 static void ixp4xx_copy_from(struct map_info *map, void *to, in ixp4xx_copy_from() 109 static void ixp4xx_write16(struct map_info *map, map_word d, unsigned long adr) in ixp4xx_write16() 116 struct map_info *map) in of_flash_probe_ixp4xx()
|
/linux/include/linux/mtd/ |
A D | map.h | 191 struct map_info { struct 207 map_word (*read)(struct map_info *, unsigned long); argument 208 void (*copy_from)(struct map_info *, void *, unsigned long, ssize_t); argument 210 void (*write)(struct map_info *, const map_word, unsigned long); argument 211 void (*copy_to)(struct map_info *, unsigned long, const void *, ssize_t); argument 222 void (*inval_cache)(struct map_info *, unsigned long, ssize_t); argument 229 void (*set_vpp)(struct map_info *, int); argument 240 struct mtd_info *(*probe)(struct map_info *map); argument 250 struct mtd_info *do_map_probe(const char *name, struct map_info *map); 373 static inline map_word map_word_ff(struct map_info *map) in map_word_ff() [all …]
|
A D | cfi.h | 281 struct mtd_info *(*cmdset_setup)(struct map_info *); 293 struct map_info *map, struct cfi_private *cfi); 295 map_word cfi_build_cmd(u_long cmd, struct map_info *map, struct cfi_private *cfi); 298 unsigned long cfi_merge_status(map_word val, struct map_info *map, 303 struct map_info *map, struct cfi_private *cfi, 306 static inline uint8_t cfi_read_query(struct map_info *map, uint32_t addr) in cfi_read_query() 322 static inline uint16_t cfi_read_query16(struct map_info *map, uint32_t addr) in cfi_read_query16() 340 int __xipram cfi_qry_present(struct map_info *map, __u32 base, 342 int __xipram cfi_qry_mode_on(uint32_t base, struct map_info *map, 344 void __xipram cfi_qry_mode_off(uint32_t base, struct map_info *map, [all …]
|
/linux/drivers/mtd/lpddr/ |
A D | qinfo_probe.c | 20 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) in lpddr_get_qinforec_pos() 63 static uint16_t lpddr_info_query(struct map_info *map, char *id_str) in lpddr_info_query() 91 static int lpddr_pfow_present(struct map_info *map, struct lpddr_private *lpddr) in lpddr_pfow_present() 120 static int lpddr_chip_setup(struct map_info *map, struct lpddr_private *lpddr) in lpddr_chip_setup() 145 static struct lpddr_private *lpddr_probe_chip(struct map_info *map) in lpddr_probe_chip() 184 struct mtd_info *lpddr_probe(struct map_info *map) in lpddr_probe()
|
A D | lpddr_cmds.c | 33 static void put_chip(struct map_info *map, struct flchip *chip); 35 struct mtd_info *lpddr_cmdset(struct map_info *map) in lpddr_cmdset() 125 static int wait_for_ready(struct map_info *map, struct flchip *chip, in wait_for_ready() 348 static void put_chip(struct map_info *map, struct flchip *chip) in put_chip() 486 struct map_info *map = mtd->priv; in do_erase_oneblock() 514 struct map_info *map = mtd->priv; in lpddr_read() 538 struct map_info *map = mtd->priv; in lpddr_point() 590 struct map_info *map = mtd->priv; in lpddr_unpoint() 648 struct map_info *map = mtd->priv; in lpddr_writev() 696 struct map_info *map = mtd->priv; in lpddr_erase() [all …]
|
A D | lpddr2_nvm.c | 120 static inline u_long ow_reg_add(struct map_info *map, u_long offset) in ow_reg_add() 136 static inline void ow_enable(struct map_info *map) in ow_enable() 151 static inline void ow_disable(struct map_info *map) in ow_disable() 163 static int lpddr2_nvm_do_op(struct map_info *map, u_long cmd_code, in lpddr2_nvm_do_op() 236 struct map_info *map = mtd->priv; in lpddr2_nvm_do_block_op() 263 static int lpddr2_nvm_pfow_present(struct map_info *map) in lpddr2_nvm_pfow_present() 301 struct map_info *map = mtd->priv; in lpddr2_nvm_read() 319 struct map_info *map = mtd->priv; in lpddr2_nvm_write() 412 struct map_info *map; in lpddr2_nvm_probe() 438 *map = (struct map_info) { in lpddr2_nvm_probe()
|
/linux/drivers/mtd/chips/ |
A D | gen_probe.c | 15 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) in mtd_do_chip_probe() 59 static struct cfi_private *genprobe_ident_chips(struct map_info *map, struct chip_probe *cp) in genprobe_ident_chips() 165 static int genprobe_new_chip(struct map_info *map, struct chip_probe *cp, in genprobe_new_chip() 193 typedef struct mtd_info *cfi_cmdset_fn_t(struct map_info *, int); 199 static inline struct mtd_info *cfi_cmdset_unknown(struct map_info *map, in cfi_cmdset_unknown() 233 static struct mtd_info *check_cmd_set(struct map_info *map, int primary) in check_cmd_set()
|
A D | cfi_cmdset_0002.c | 223 struct map_info *map = mtd->priv; in fixup_amd_bootblock() 273 struct map_info *map = mtd->priv; in fixup_use_write_buffers() 289 struct map_info *map = mtd->priv; in fixup_convert_atmel_pri() 327 struct map_info *map = mtd->priv; in fixup_use_erase_chip() 349 struct map_info *map = mtd->priv; in fixup_old_sst_eraseregion() 363 struct map_info *map = mtd->priv; in fixup_sst39vf() 374 struct map_info *map = mtd->priv; in fixup_sst39vf_rev_b() 387 struct map_info *map = mtd->priv; in fixup_sst38vf640x_sectorsize() 403 struct map_info *map = mtd->priv; in fixup_s29gl064n_sectors() 415 struct map_info *map = mtd->priv; in fixup_s29gl032n_sectors() [all …]
|
A D | map_ram.c | 22 static struct mtd_info *map_ram_probe(struct map_info *map); 34 static struct mtd_info *map_ram_probe(struct map_info *map) in map_ram_probe() 89 struct map_info *map = mtd->priv; in mapram_point() 107 struct map_info *map = mtd->priv; in mapram_read() 116 struct map_info *map = mtd->priv; in mapram_write() 127 struct map_info *map = mtd->priv; in mapram_erase()
|
A D | cfi_util.c | 41 struct map_info *map, struct cfi_private *cfi) in cfi_build_cmd_addr() 67 map_word cfi_build_cmd(u_long cmd, struct map_info *map, struct cfi_private *cfi) in cfi_build_cmd() 133 unsigned long cfi_merge_status(map_word val, struct map_info *map, in cfi_merge_status() 204 struct map_info *map, struct cfi_private *cfi, in cfi_send_gen_cmd() 220 int __xipram cfi_qry_present(struct map_info *map, __u32 base, in cfi_qry_present() 248 int __xipram cfi_qry_mode_on(uint32_t base, struct map_info *map, in cfi_qry_mode_on() 286 void __xipram cfi_qry_mode_off(uint32_t base, struct map_info *map, in cfi_qry_mode_off() 299 __xipram cfi_read_pri(struct map_info *map, __u16 adr, __u16 size, const char* name) in cfi_read_pri() 344 struct map_info *map = mtd->priv; in cfi_fixup() 361 struct map_info *map = mtd->priv; in cfi_varsize_frob()
|
A D | cfi_cmdset_0001.c | 173 struct map_info *map = mtd->priv; in fixup_convert_atmel_pri() 213 struct map_info *map = mtd->priv; in fixup_at49bv640dx_lock() 225 struct map_info *map = mtd->priv; in fixup_intel_strataflash() 238 struct map_info *map = mtd->priv; in fixup_no_write_suspend() 251 struct map_info *map = mtd->priv; in fixup_st_m28w320ct() 260 struct map_info *map = mtd->priv; in fixup_st_m28w320cb() 280 struct map_info *map = mtd->priv; in fixup_LH28F640BF() 300 struct map_info *map = mtd->priv; in fixup_use_point() 309 struct map_info *map = mtd->priv; in fixup_use_write_buffers() 323 struct map_info *map = mtd->priv; in fixup_unlock_powerup_lock() [all …]
|
A D | map_rom.c | 21 static struct mtd_info *map_rom_probe(struct map_info *map); 34 static unsigned int default_erasesize(struct map_info *map) in default_erasesize() 43 static struct mtd_info *map_rom_probe(struct map_info *map) in map_rom_probe() 75 struct map_info *map = mtd->priv; in maprom_point() 93 struct map_info *map = mtd->priv; in maprom_read()
|
/linux/drivers/media/pci/cobalt/ |
A D | cobalt-flash.c | 18 static struct map_info cobalt_flash_map = { 25 static map_word flash_read16(struct map_info *map, unsigned long offset) in flash_read16() 38 static void flash_write16(struct map_info *map, const map_word datum, in flash_write16() 46 static void flash_copy_from(struct map_info *map, void *to, in flash_copy_from() 64 static void flash_copy_to(struct map_info *map, unsigned long to, in flash_copy_to() 87 struct map_info *map = &cobalt_flash_map; in cobalt_flash_probe()
|
/linux/drivers/mtd/hyperbus/ |
A D | hyperbus-core.c | 15 static struct hyperbus_device *map_to_hbdev(struct map_info *map) in map_to_hbdev() 20 static map_word hyperbus_read16(struct map_info *map, unsigned long addr) in hyperbus_read16() 31 static void hyperbus_write16(struct map_info *map, map_word d, in hyperbus_write16() 40 static void hyperbus_copy_from(struct map_info *map, void *to, in hyperbus_copy_from() 49 static void hyperbus_copy_to(struct map_info *map, unsigned long to, in hyperbus_copy_to() 63 struct map_info *map; in hyperbus_register_device()
|
/linux/arch/mips/cavium-octeon/ |
A D | flash_setup.c | 20 static struct map_info flash_map; 30 static map_word octeon_flash_map_read(struct map_info *map, unsigned long ofs) in octeon_flash_map_read() 41 static void octeon_flash_map_write(struct map_info *map, const map_word datum, in octeon_flash_map_write() 49 static void octeon_flash_map_copy_from(struct map_info *map, void *to, in octeon_flash_map_copy_from() 57 static void octeon_flash_map_copy_to(struct map_info *map, unsigned long to, in octeon_flash_map_copy_to()
|
/linux/tools/perf/util/ |
A D | bpf_counter.h | 110 struct bpf_map_info map_info = { .id = 0, }; in bpf_map_get_id() local 111 __u32 map_info_len = sizeof(map_info); in bpf_map_get_id() 113 bpf_obj_get_info_by_fd(fd, &map_info, &map_info_len); in bpf_map_get_id() 114 return map_info.id; in bpf_map_get_id()
|