/drivers/infiniband/core/ |
D | iwpm_util.c | 100 struct iwpm_mapping_info *map_info; in iwpm_create_mapinfo() local 105 map_info = kzalloc(sizeof(struct iwpm_mapping_info), GFP_KERNEL); in iwpm_create_mapinfo() 106 if (!map_info) { in iwpm_create_mapinfo() 110 memcpy(&map_info->local_sockaddr, local_sockaddr, in iwpm_create_mapinfo() 112 memcpy(&map_info->mapped_sockaddr, mapped_sockaddr, in iwpm_create_mapinfo() 114 map_info->nl_client = nl_client; in iwpm_create_mapinfo() 119 &map_info->local_sockaddr, in iwpm_create_mapinfo() 120 &map_info->mapped_sockaddr); in iwpm_create_mapinfo() 121 hlist_add_head(&map_info->hlist_node, hash_bucket_head); in iwpm_create_mapinfo() 133 struct iwpm_mapping_info *map_info = NULL; in iwpm_remove_mapinfo() local [all …]
|
/drivers/mtd/maps/ |
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 …]
|
D | map_funcs.c | 12 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()
|
D | tsunami_flash.c | 17 static inline map_word tsunami_flash_read8(struct map_info *map, unsigned long offset) in tsunami_flash_read8() 24 static void tsunami_flash_write8(struct map_info *map, map_word value, unsigned long offset) in tsunami_flash_write8() 30 struct map_info *map, void *addr, unsigned long offset, ssize_t len) in tsunami_flash_copy_from() 43 struct map_info *map, unsigned long offset, in tsunami_flash_copy_to() 61 static struct map_info tsunami_flash_map = {
|
D | sbc_gxx.c | 103 static inline void sbc_gxx_page(struct map_info *map, unsigned long ofs) in sbc_gxx_page() 114 static map_word sbc_gxx_read8(struct map_info *map, unsigned long ofs) in sbc_gxx_read8() 124 static void sbc_gxx_copy_from(struct map_info *map, void *to, unsigned long from, ssize_t len) in sbc_gxx_copy_from() 141 static void sbc_gxx_write8(struct map_info *map, map_word d, unsigned long adr) in sbc_gxx_write8() 149 static void sbc_gxx_copy_to(struct map_info *map, unsigned long to, const void *from, ssize_t len) in sbc_gxx_copy_to() 166 static struct map_info sbc_gxx_map = {
|
D | lantiq-flash.c | 44 struct map_info *map; 51 ltq_read16(struct map_info *map, unsigned long adr) in ltq_read16() 65 ltq_write16(struct map_info *map, map_word d, unsigned long adr) in ltq_write16() 84 ltq_copy_from(struct map_info *map, void *to, in ltq_copy_from() 98 ltq_copy_to(struct map_info *map, unsigned long to, in ltq_copy_to() 137 ltq_mtd->map = devm_kzalloc(&pdev->dev, sizeof(struct map_info), in ltq_mtd_probe()
|
D | pci.c | 33 struct map_info map; 40 static map_word mtd_pci_read8(struct map_info *_map, unsigned long ofs) in mtd_pci_read8() 48 static map_word mtd_pci_read32(struct map_info *_map, unsigned long ofs) in mtd_pci_read32() 56 static void mtd_pci_copyfrom(struct map_info *_map, void *to, unsigned long from, ssize_t len) in mtd_pci_copyfrom() 62 static void mtd_pci_write8(struct map_info *_map, map_word val, unsigned long ofs) in mtd_pci_write8() 68 static void mtd_pci_write32(struct map_info *_map, map_word val, unsigned long ofs) in mtd_pci_write32() 74 static void mtd_pci_copyto(struct map_info *_map, unsigned long to, const void *from, ssize_t len) in mtd_pci_copyto() 80 static const struct map_info mtd_pci_map = {
|
D | pcmciamtd.c | 36 struct map_info pcmcia_map; 83 static caddr_t 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() 138 static void pcmcia_copy_from_remap(struct map_info *map, void *to, unsigned long from, ssize_t len) in pcmcia_copy_from_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() 187 static void pcmcia_copy_to_remap(struct map_info *map, unsigned long to, const void *from, ssize_t … in pcmcia_copy_to_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() [all …]
|
D | uclinux.c | 36 extern struct map_info uclinux_ram_map; 38 struct map_info uclinux_ram_map = { 61 struct map_info *map = mtd->priv; in uclinux_point() 74 struct map_info *mapp; in uclinux_mtd_init()
|
D | ixp4xx.c | 88 static map_word ixp4xx_read16(struct map_info *map, unsigned long ofs) in ixp4xx_read16() 100 static void ixp4xx_copy_from(struct map_info *map, void *to, in ixp4xx_copy_from() 131 static void ixp4xx_probe_write16(struct map_info *map, map_word d, unsigned long adr) in ixp4xx_probe_write16() 140 static void ixp4xx_write16(struct map_info *map, map_word d, unsigned long adr) in ixp4xx_write16() 147 struct map_info map;
|
D | bfin-async-flash.c | 39 struct map_info map; 70 static map_word bfin_flash_read(struct map_info *map, unsigned long ofs) in bfin_flash_read() 86 static void bfin_flash_copy_from(struct map_info *map, void *to, unsigned long from, ssize_t len) in bfin_flash_copy_from() 97 static void bfin_flash_write(struct map_info *map, map_word d1, unsigned long ofs) in bfin_flash_write() 112 static void bfin_flash_copy_to(struct map_info *map, unsigned long to, const void *from, ssize_t le… in bfin_flash_copy_to()
|
D | gpio-addr-flash.c | 45 struct map_info map; 82 static map_word gf_read(struct map_info *map, unsigned long ofs) in gf_read() 105 static void gf_copy_from(struct map_info *map, void *to, unsigned long from, ssize_t len) in gf_copy_from() 131 static void gf_write(struct map_info *map, map_word d1, unsigned long ofs) in gf_write() 151 static void gf_copy_to(struct map_info *map, unsigned long to, in gf_copy_to()
|
D | latch-addr-flash.c | 26 struct map_info map; 38 static map_word lf_read(struct map_info *map, unsigned long ofs) in lf_read() 55 static void lf_write(struct map_info *map, map_word datum, unsigned long ofs) in lf_write() 69 static void lf_copy_from(struct map_info *map, void *to, in lf_copy_from()
|
D | solutionengine.c | 22 struct map_info soleng_eprom_map = { 28 struct map_info soleng_flash_map = {
|
/drivers/mtd/lpddr/ |
D | qinfo_probe.c | 34 static int lpddr_chip_setup(struct map_info *map, struct lpddr_private *lpddr); 35 struct mtd_info *lpddr_probe(struct map_info *map); 36 static struct lpddr_private *lpddr_probe_chip(struct map_info *map); 37 static int lpddr_pfow_present(struct map_info *map, 58 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() 159 static struct lpddr_private *lpddr_probe_chip(struct map_info *map) in lpddr_probe_chip() 198 struct mtd_info *lpddr_probe(struct map_info *map) in lpddr_probe()
|
D | lpddr_cmds.c | 44 static int get_chip(struct map_info *map, struct flchip *chip, int mode); 45 static int chip_ready(struct map_info *map, struct flchip *chip, int mode); 46 static void put_chip(struct map_info *map, struct flchip *chip); 48 struct mtd_info *lpddr_cmdset(struct map_info *map) in lpddr_cmdset() 111 static int wait_for_ready(struct map_info *map, struct flchip *chip, in wait_for_ready() 184 static int get_chip(struct map_info *map, struct flchip *chip, int mode) in get_chip() 280 static int chip_ready(struct map_info *map, struct flchip *chip, int mode) in chip_ready() 334 static void put_chip(struct map_info *map, struct flchip *chip) in put_chip() 389 static int do_write_buffer(struct map_info *map, struct flchip *chip, in do_write_buffer() 472 struct map_info *map = mtd->priv; in do_erase_oneblock() [all …]
|
D | lpddr2_nvm.c | 129 static inline u_long ow_reg_add(struct map_info *map, u_long offset) in ow_reg_add() 145 static inline void ow_enable(struct map_info *map) in ow_enable() 160 static inline void ow_disable(struct map_info *map) in ow_disable() 172 static int lpddr2_nvm_do_op(struct map_info *map, u_long cmd_code, in lpddr2_nvm_do_op() 245 struct map_info *map = mtd->priv; in lpddr2_nvm_do_block_op() 272 static int lpddr2_nvm_pfow_present(struct map_info *map) in lpddr2_nvm_pfow_present() 310 struct map_info *map = mtd->priv; in lpddr2_nvm_read() 328 struct map_info *map = mtd->priv; in lpddr2_nvm_write() 416 struct map_info *map; in lpddr2_nvm_probe() 442 *map = (struct map_info) { in lpddr2_nvm_probe()
|
/drivers/mtd/chips/ |
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() 230 static struct mtd_info *check_cmd_set(struct map_info *map, int primary) in check_cmd_set()
|
D | map_ram.c | 22 static struct mtd_info *map_ram_probe(struct map_info *map); 33 static struct mtd_info *map_ram_probe(struct map_info *map) in map_ram_probe() 94 struct map_info *map = mtd->priv; in mapram_unmapped_area() 100 struct map_info *map = mtd->priv; in mapram_read() 109 struct map_info *map = mtd->priv; in mapram_write() 120 struct map_info *map = mtd->priv; in mapram_erase()
|
D | cfi_cmdset_0002.c | 79 struct mtd_info *cfi_cmdset_0002(struct map_info *, int); 82 static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode); 83 static void put_chip(struct map_info *map, struct flchip *chip, unsigned long adr); 158 struct map_info *map = mtd->priv; in fixup_amd_bootblock() 207 struct map_info *map = mtd->priv; in fixup_use_write_buffers() 218 struct map_info *map = mtd->priv; in fixup_convert_atmel_pri() 256 struct map_info *map = mtd->priv; in fixup_use_erase_chip() 278 struct map_info *map = mtd->priv; in fixup_old_sst_eraseregion() 292 struct map_info *map = mtd->priv; in fixup_sst39vf() 303 struct map_info *map = mtd->priv; in fixup_sst39vf_rev_b() [all …]
|
D | cfi_cmdset_0001.c | 87 struct mtd_info *cfi_cmdset_0001(struct map_info *, int); 96 static int chip_ready (struct map_info *map, struct flchip *chip, unsigned long adr, int mode); 97 static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode); 98 static void put_chip(struct map_info *map, struct flchip *chip, unsigned long adr); 171 struct map_info *map = mtd->priv; in fixup_convert_atmel_pri() 211 struct map_info *map = mtd->priv; in fixup_at49bv640dx_lock() 223 struct map_info *map = mtd->priv; in fixup_intel_strataflash() 236 struct map_info *map = mtd->priv; in fixup_no_write_suspend() 249 struct map_info *map = mtd->priv; in fixup_st_m28w320ct() 258 struct map_info *map = mtd->priv; in fixup_st_m28w320cb() [all …]
|
D | map_rom.c | 20 static struct mtd_info *map_rom_probe(struct map_info *map); 31 static struct mtd_info *map_rom_probe(struct map_info *map) in map_rom_probe() 68 struct map_info *map = mtd->priv; in maprom_unmapped_area() 74 struct map_info *map = mtd->priv; in maprom_read()
|
D | cfi_util.c | 26 int __xipram cfi_qry_present(struct map_info *map, __u32 base, in cfi_qry_present() 54 int __xipram cfi_qry_mode_on(uint32_t base, struct map_info *map, in cfi_qry_mode_on() 92 void __xipram cfi_qry_mode_off(uint32_t base, struct map_info *map, in cfi_qry_mode_off() 105 __xipram cfi_read_pri(struct map_info *map, __u16 adr, __u16 size, const char* name) in cfi_read_pri() 150 struct map_info *map = mtd->priv; in cfi_fixup() 167 struct map_info *map = mtd->priv; in cfi_varsize_frob()
|
D | cfi_probe.c | 27 static int cfi_probe_chip(struct map_info *map, __u32 base, 29 static int cfi_chip_setup(struct map_info *map, struct cfi_private *cfi); 31 struct mtd_info *cfi_probe(struct map_info *map); 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() 389 struct mtd_info *cfi_probe(struct map_info *map) in cfi_probe()
|
D | cfi_cmdset_0020.c | 50 struct mtd_info *cfi_cmdset_0020(struct map_info *, int); 52 static struct mtd_info *cfi_staa_setup (struct map_info *); 113 struct mtd_info *cfi_cmdset_0020(struct map_info *map, int primary) in cfi_cmdset_0020() 166 static struct mtd_info *cfi_staa_setup(struct map_info *map) in cfi_staa_setup() 247 static inline int do_read_onechip(struct map_info *map, struct flchip *chip, loff_t adr, size_t len… in do_read_onechip() 384 struct map_info *map = mtd->priv; in cfi_staa_read() 419 static inline int do_write_buffer(struct map_info *map, struct flchip *chip, in do_write_buffer() 608 struct map_info *map = mtd->priv; in cfi_staa_write_buffers() 731 static inline int do_erase_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr) in do_erase_oneblock() 891 { struct map_info *map = mtd->priv; in cfi_staa_erase_varsize() [all …]
|