/drivers/base/regmap/ |
D | regmap.c | 68 static bool _regmap_check_range_table(struct regmap *map, in _regmap_check_range_table() 84 bool regmap_writeable(struct regmap *map, unsigned int reg) in regmap_writeable() 98 bool regmap_readable(struct regmap *map, unsigned int reg) in regmap_readable() 115 bool regmap_volatile(struct regmap *map, unsigned int reg) in regmap_volatile() 129 bool regmap_precious(struct regmap *map, unsigned int reg) in regmap_precious() 143 static bool regmap_volatile_range(struct regmap *map, unsigned int reg, in regmap_volatile_range() 155 static void regmap_format_2_6_write(struct regmap *map, in regmap_format_2_6_write() 163 static void regmap_format_4_12_write(struct regmap *map, in regmap_format_4_12_write() 170 static void regmap_format_7_9_write(struct regmap *map, in regmap_format_7_9_write() 177 static void regmap_format_10_14_write(struct regmap *map, in regmap_format_10_14_write() [all …]
|
D | regcache.c | 28 static int regcache_hw_init(struct regmap *map) in regcache_hw_init() 94 int regcache_init(struct regmap *map, const struct regmap_config *config) in regcache_init() 177 void regcache_exit(struct regmap *map) in regcache_exit() 205 int regcache_read(struct regmap *map, in regcache_read() 236 int regcache_write(struct regmap *map, in regcache_write() 264 int regcache_sync(struct regmap *map) in regcache_sync() 327 int regcache_sync_region(struct regmap *map, unsigned int min, in regcache_sync_region() 373 void regcache_cache_only(struct regmap *map, bool enable) in regcache_cache_only() 392 void regcache_mark_dirty(struct regmap *map) in regcache_mark_dirty() 411 void regcache_cache_bypass(struct regmap *map, bool enable) in regcache_cache_bypass() [all …]
|
D | regcache-rbtree.c | 42 struct regmap *map, in regcache_rbtree_get_base_top_reg() 50 static unsigned int regcache_rbtree_get_register(struct regmap *map, in regcache_rbtree_get_register() 56 static void regcache_rbtree_set_register(struct regmap *map, in regcache_rbtree_set_register() 63 static struct regcache_rbtree_node *regcache_rbtree_lookup(struct regmap *map, in regcache_rbtree_lookup() 97 static int regcache_rbtree_insert(struct regmap *map, struct rb_root *root, in regcache_rbtree_insert() 136 struct regmap *map = s->private; in rbtree_show() local 190 static void rbtree_debugfs_init(struct regmap *map) in rbtree_debugfs_init() 195 static void rbtree_debugfs_init(struct regmap *map) in rbtree_debugfs_init() 200 static int regcache_rbtree_init(struct regmap *map) in regcache_rbtree_init() 231 static int regcache_rbtree_exit(struct regmap *map) in regcache_rbtree_exit() [all …]
|
D | regcache-lzo.c | 33 static int regcache_lzo_block_count(struct regmap *map) in regcache_lzo_block_count() 72 static int regcache_lzo_compress_cache_block(struct regmap *map, in regcache_lzo_compress_cache_block() 90 static int regcache_lzo_decompress_cache_block(struct regmap *map, in regcache_lzo_decompress_cache_block() 108 static inline int regcache_lzo_get_blkindex(struct regmap *map, in regcache_lzo_get_blkindex() 116 static inline int regcache_lzo_get_blkpos(struct regmap *map, in regcache_lzo_get_blkpos() 125 static inline int regcache_lzo_get_blksize(struct regmap *map) in regcache_lzo_get_blksize() 131 static int regcache_lzo_init(struct regmap *map) in regcache_lzo_init() 204 static int regcache_lzo_exit(struct regmap *map) in regcache_lzo_exit() 234 static int regcache_lzo_read(struct regmap *map, in regcache_lzo_read() 273 static int regcache_lzo_write(struct regmap *map, in regcache_lzo_write() [all …]
|
D | regmap-debugfs.c | 34 struct regmap *map = file->private_data; in regmap_name_read_file() local 59 static void regmap_debugfs_free_dump_cache(struct regmap *map) in regmap_debugfs_free_dump_cache() 76 static unsigned int regmap_debugfs_get_dump_start(struct regmap *map, in regmap_debugfs_get_dump_start() 159 static inline void regmap_calc_tot_len(struct regmap *map, in regmap_calc_tot_len() 172 static ssize_t regmap_read_debugfs(struct regmap *map, unsigned int from, in regmap_read_debugfs() 245 struct regmap *map = file->private_data; in regmap_map_read_file() local 267 struct regmap *map = file->private_data; in regmap_map_write_file() local 306 struct regmap *map = range->map; in regmap_range_read_file() local 322 struct regmap *map = file->private_data; in regmap_reg_ranges_read_file() local 400 struct regmap *map = file->private_data; in regmap_access_read_file() local [all …]
|
D | regcache-flat.c | 19 static int regcache_flat_init(struct regmap *map) in regcache_flat_init() 37 static int regcache_flat_exit(struct regmap *map) in regcache_flat_exit() 45 static int regcache_flat_read(struct regmap *map, in regcache_flat_read() 55 static int regcache_flat_write(struct regmap *map, unsigned int reg, in regcache_flat_write()
|
/drivers/mtd/maps/ |
D | pci.c | 34 struct map_info map; member 43 struct map_pci_info *map = (struct map_pci_info *)_map; in mtd_pci_read8() local 51 struct map_pci_info *map = (struct map_pci_info *)_map; in mtd_pci_read32() local 59 struct map_pci_info *map = (struct map_pci_info *)_map; in mtd_pci_copyfrom() local 65 struct map_pci_info *map = (struct map_pci_info *)_map; in mtd_pci_write8() local 71 struct map_pci_info *map = (struct map_pci_info *)_map; in mtd_pci_write32() local 77 struct map_pci_info *map = (struct map_pci_info *)_map; in mtd_pci_copyto() local 92 intel_iq80310_init(struct pci_dev *dev, struct map_pci_info *map) in intel_iq80310_init() 120 intel_iq80310_exit(struct pci_dev *dev, struct map_pci_info *map) in intel_iq80310_exit() 128 intel_iq80310_translate(struct map_pci_info *map, unsigned long ofs) in intel_iq80310_translate() [all …]
|
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()
|
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 | vmax301.c | 41 static void __vmax301_page(struct map_info *map, unsigned long page) in __vmax301_page() 47 static inline void vmax301_page(struct map_info *map, in vmax301_page() 55 static map_word vmax301_read8(struct map_info *map, unsigned long ofs) in vmax301_read8() 65 static void vmax301_copy_from(struct map_info *map, void *to, unsigned long from, ssize_t len) in vmax301_copy_from() 81 static void vmax301_write8(struct map_info *map, map_word d, unsigned long adr) in vmax301_write8() 89 static void vmax301_copy_to(struct map_info *map, unsigned long to, const void *from, ssize_t len) in vmax301_copy_to()
|
D | pcmciamtd.c | 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() 247 static void pcmcia_copy_from(struct map_info *map, void *to, unsigned long from, ssize_t len) in pcmcia_copy_from() [all …]
|
D | octagon-5066.c | 48 static void __oct5066_page(struct map_info *map, __u8 byte) in __oct5066_page() 54 static inline void oct5066_page(struct map_info *map, unsigned long ofs) in oct5066_page() 63 static map_word oct5066_read8(struct map_info *map, unsigned long ofs) in oct5066_read8() 73 static void oct5066_copy_from(struct map_info *map, void *to, unsigned long from, ssize_t len) in oct5066_copy_from() 90 static void oct5066_write8(struct map_info *map, map_word d, unsigned long adr) in oct5066_write8() 98 static void oct5066_copy_to(struct map_info *map, unsigned long to, const void *from, ssize_t len) in oct5066_copy_to()
|
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()
|
/drivers/mtd/chips/ |
D | cfi_cmdset_0002.c | 148 struct map_info *map = mtd->priv; in fixup_amd_bootblock() local 197 struct map_info *map = mtd->priv; in fixup_use_write_buffers() local 208 struct map_info *map = mtd->priv; in fixup_convert_atmel_pri() local 246 struct map_info *map = mtd->priv; in fixup_use_erase_chip() local 268 struct map_info *map = mtd->priv; in fixup_old_sst_eraseregion() local 282 struct map_info *map = mtd->priv; in fixup_sst39vf() local 293 struct map_info *map = mtd->priv; in fixup_sst39vf_rev_b() local 306 struct map_info *map = mtd->priv; in fixup_sst38vf640x_sectorsize() local 321 struct map_info *map = mtd->priv; in fixup_s29gl064n_sectors() local 332 struct map_info *map = mtd->priv; in fixup_s29gl032n_sectors() local [all …]
|
D | cfi_probe.c | 38 #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()
|
D | cfi_cmdset_0001.c | 167 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 …]
|
D | cfi_cmdset_0020.c | 114 struct mtd_info *cfi_cmdset_0020(struct map_info *map, int primary) in cfi_cmdset_0020() 167 static struct mtd_info *cfi_staa_setup(struct map_info *map) in cfi_staa_setup() 250 static inline int do_read_onechip(struct map_info *map, struct flchip *chip, loff_t adr, size_t len… in do_read_onechip() 387 struct map_info *map = mtd->priv; in cfi_staa_read() local 422 static inline int do_write_buffer(struct map_info *map, struct flchip *chip, in do_write_buffer() 611 struct map_info *map = mtd->priv; in cfi_staa_write_buffers() local 734 static inline int do_erase_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr) in do_erase_oneblock() 894 { struct map_info *map = mtd->priv; in cfi_staa_erase_varsize() local 979 struct map_info *map = mtd->priv; in cfi_staa_sync() local 1035 static inline int do_lock_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr) in do_lock_oneblock() [all …]
|
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() 152 struct map_info *map = mtd->priv; in cfi_fixup() local 169 struct map_info *map = mtd->priv; in cfi_varsize_frob() local
|
D | map_ram.c | 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() local 100 struct map_info *map = mtd->priv; in mapram_read() local 109 struct map_info *map = mtd->priv; in mapram_write() local 120 struct map_info *map = mtd->priv; in mapram_erase() local
|
D | gen_probe.c | 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() 167 static int genprobe_new_chip(struct map_info *map, struct chip_probe *cp, in genprobe_new_chip() 201 static inline struct mtd_info *cfi_cmdset_unknown(struct map_info *map, in cfi_cmdset_unknown() 234 static struct mtd_info *check_cmd_set(struct map_info *map, int primary) in check_cmd_set()
|
/drivers/xen/ |
D | gntdev.c | 103 struct grant_map *map; in gntdev_print_maps() local 113 static void gntdev_free_map(struct grant_map *map) in gntdev_free_map() 171 struct grant_map *map; in gntdev_add_map() local 189 struct grant_map *map; in gntdev_find_map_index() local 201 static void gntdev_put_map(struct gntdev_priv *priv, struct grant_map *map) in gntdev_put_map() 232 struct grant_map *map = data; in find_grant_ptes() local 248 static int map_grant_pages(struct grant_map *map) in map_grant_pages() 309 static int __unmap_grant_pages(struct grant_map *map, int offset, int pages) in __unmap_grant_pages() 340 static int unmap_grant_pages(struct grant_map *map, int offset, int pages) in unmap_grant_pages() 374 struct grant_map *map = vma->vm_private_data; in gntdev_vma_open() local [all …]
|
/drivers/scsi/megaraid/ |
D | megaraid_sas_fp.c | 100 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 …]
|
/drivers/mtd/lpddr/ |
D | lpddr_cmds.c | 48 struct mtd_info *lpddr_cmdset(struct map_info *map) in lpddr_cmdset() 113 static int wait_for_ready(struct map_info *map, struct flchip *chip, in wait_for_ready() 186 static int get_chip(struct map_info *map, struct flchip *chip, int mode) in get_chip() 282 static int chip_ready(struct map_info *map, struct flchip *chip, int mode) in chip_ready() 336 static void put_chip(struct map_info *map, struct flchip *chip) in put_chip() 391 int do_write_buffer(struct map_info *map, struct flchip *chip, in do_write_buffer() 474 struct map_info *map = mtd->priv; in do_erase_oneblock() local 502 struct map_info *map = mtd->priv; in lpddr_read() local 526 struct map_info *map = mtd->priv; in lpddr_point() local 578 struct map_info *map = mtd->priv; in lpddr_unpoint() local [all …]
|
D | qinfo_probe.c | 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() 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()
|
/drivers/pcmcia/ |
D | i82365.h | 48 #define I365_IO(map) (0x08+((map)<<2)) argument 49 #define I365_MEM(map) (0x10+((map)<<3)) argument 101 #define I365_ENA_IO(map) (0x40 << (map)) argument 102 #define I365_ENA_MEM(map) (0x01 << (map)) argument 105 #define I365_IOCTL_MASK(map) (0x0F << (map<<2)) argument 106 #define I365_IOCTL_WAIT(map) (0x08 << (map<<2)) argument 107 #define I365_IOCTL_0WS(map) (0x04 << (map<<2)) argument 108 #define I365_IOCTL_IOCS16(map) (0x02 << (map<<2)) argument 109 #define I365_IOCTL_16BIT(map) (0x01 << (map<<2)) argument
|