/linux-6.6.21/drivers/infiniband/core/ |
D | iwpm_util.c | 112 struct iwpm_mapping_info *map_info; in iwpm_create_mapinfo() local 116 map_info = kzalloc(sizeof(struct iwpm_mapping_info), GFP_KERNEL); in iwpm_create_mapinfo() 117 if (!map_info) in iwpm_create_mapinfo() 120 memcpy(&map_info->local_sockaddr, local_sockaddr, in iwpm_create_mapinfo() 122 memcpy(&map_info->mapped_sockaddr, mapped_sockaddr, 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() 133 hlist_add_head(&map_info->hlist_node, hash_bucket_head); in iwpm_create_mapinfo() [all …]
|
/linux-6.6.21/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 | 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()
|
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 = {
|
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 = {
|
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() 125 ltq_mtd->map = devm_kzalloc(&pdev->dev, sizeof(struct map_info), in ltq_mtd_probe()
|
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 = {
|
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()
|
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()
|
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() 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 …]
|
/linux-6.6.21/include/linux/mtd/ |
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); 321 static inline map_word map_word_load(struct map_info *map, const void *ptr) in map_word_load() [all …]
|
D | cfi.h | 281 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) in cfi_read_query() 323 static inline uint16_t cfi_read_query16(struct map_info *map, uint32_t addr) in cfi_read_query16() 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 *map, [all …]
|
/linux-6.6.21/drivers/mtd/lpddr/ |
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()
|
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() 439 *map = (struct map_info) { in lpddr2_nvm_probe()
|
D | lpddr_cmds.c | 31 static int get_chip(struct map_info *map, struct flchip *chip, int mode); 32 static int chip_ready(struct map_info *map, struct flchip *chip, int mode); 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() 198 static int get_chip(struct map_info *map, struct flchip *chip, int mode) in get_chip() 294 static int chip_ready(struct map_info *map, struct flchip *chip, int mode) in chip_ready() 348 static void put_chip(struct map_info *map, struct flchip *chip) in put_chip() 403 static int do_write_buffer(struct map_info *map, struct flchip *chip, in do_write_buffer() 483 struct map_info *map = mtd->priv; in do_erase_oneblock() [all …]
|
/linux-6.6.21/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() 164 static int genprobe_new_chip(struct map_info *map, struct chip_probe *cp, in genprobe_new_chip() 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, in cfi_cmdset_unknown() 232 static struct mtd_info *check_cmd_set(struct map_info *map, int primary) in check_cmd_set()
|
D | map_ram.c | 23 static struct mtd_info *map_ram_probe(struct map_info *map); 35 static struct mtd_info *map_ram_probe(struct map_info *map) in map_ram_probe() 90 struct map_info *map = mtd->priv; in mapram_point() 108 struct map_info *map = mtd->priv; in mapram_read() 117 struct map_info *map = mtd->priv; in mapram_write() 128 struct map_info *map = mtd->priv; in mapram_erase()
|
D | cfi_cmdset_0002.c | 94 struct mtd_info *cfi_cmdset_0002(struct map_info *, int); 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); 129 static int cfi_check_err_status(struct map_info *map, struct flchip *chip, in cfi_check_err_status() 226 struct map_info *map = mtd->priv; in fixup_amd_bootblock() 276 struct map_info *map = mtd->priv; in fixup_use_write_buffers() 292 struct map_info *map = mtd->priv; in fixup_convert_atmel_pri() 330 struct map_info *map = mtd->priv; in fixup_use_erase_chip() 352 struct map_info *map = mtd->priv; in fixup_old_sst_eraseregion() 366 struct map_info *map = mtd->priv; in fixup_sst39vf() [all …]
|
D | map_rom.c | 22 static struct mtd_info *map_rom_probe(struct map_info *map); 35 static unsigned int default_erasesize(struct map_info *map) in default_erasesize() 44 static struct mtd_info *map_rom_probe(struct map_info *map) in map_rom_probe() 76 struct map_info *map = mtd->priv; in maprom_point() 94 struct map_info *map = mtd->priv; in maprom_read()
|
D | cfi_util.c | 40 struct map_info *map, struct cfi_private *cfi) in cfi_build_cmd_addr() 66 map_word cfi_build_cmd(u_long cmd, struct map_info *map, struct cfi_private *cfi) in cfi_build_cmd() 132 unsigned long cfi_merge_status(map_word val, struct map_info *map, in cfi_merge_status() 203 struct map_info *map, struct cfi_private *cfi, in cfi_send_gen_cmd() 219 int __xipram cfi_qry_present(struct map_info *map, __u32 base, in cfi_qry_present() 247 int __xipram cfi_qry_mode_on(uint32_t base, struct map_info *map, in cfi_qry_mode_on() 285 void __xipram cfi_qry_mode_off(uint32_t base, struct map_info *map, in cfi_qry_mode_off() 298 __xipram cfi_read_pri(struct map_info *map, __u16 adr, __u16 size, const char* name) in cfi_read_pri() 343 struct map_info *map = mtd->priv; in cfi_fixup() 360 struct map_info *map = mtd->priv; in cfi_varsize_frob()
|
D | cfi_cmdset_0001.c | 90 struct mtd_info *cfi_cmdset_0001(struct map_info *, int); 99 static int chip_ready (struct map_info *map, struct flchip *chip, unsigned long adr, int mode); 100 static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode); 101 static void put_chip(struct map_info *map, struct flchip *chip, unsigned long adr); 174 struct map_info *map = mtd->priv; in fixup_convert_atmel_pri() 214 struct map_info *map = mtd->priv; in fixup_at49bv640dx_lock() 226 struct map_info *map = mtd->priv; in fixup_intel_strataflash() 239 struct map_info *map = mtd->priv; in fixup_no_write_suspend() 252 struct map_info *map = mtd->priv; in fixup_st_m28w320ct() 261 struct map_info *map = mtd->priv; in fixup_st_m28w320cb() [all …]
|
/linux-6.6.21/drivers/media/pci/cobalt/ |
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-6.6.21/drivers/mtd/hyperbus/ |
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-6.6.21/arch/mips/cavium-octeon/ |
D | flash_setup.c | 21 static struct map_info flash_map; 31 static map_word octeon_flash_map_read(struct map_info *map, unsigned long ofs) in octeon_flash_map_read() 42 static void octeon_flash_map_write(struct map_info *map, const map_word datum, in octeon_flash_map_write() 50 static void octeon_flash_map_copy_from(struct map_info *map, void *to, in octeon_flash_map_copy_from() 58 static void octeon_flash_map_copy_to(struct map_info *map, unsigned long to, in octeon_flash_map_copy_to()
|
/linux-6.6.21/tools/perf/util/ |
D | bpf_counter.h | 115 struct bpf_map_info map_info = { .id = 0, }; in bpf_map_get_id() local 116 __u32 map_info_len = sizeof(map_info); in bpf_map_get_id() 118 bpf_obj_get_info_by_fd(fd, &map_info, &map_info_len); in bpf_map_get_id() 119 return map_info.id; in bpf_map_get_id()
|