/drivers/base/regmap/ |
D | regmap.c | 66 bool regmap_check_range_table(struct regmap *map, unsigned int reg, in regmap_check_range_table() 82 bool regmap_writeable(struct regmap *map, unsigned int reg) in regmap_writeable() 96 bool regmap_cached(struct regmap *map, unsigned int reg) in regmap_cached() 119 bool regmap_readable(struct regmap *map, unsigned int reg) in regmap_readable() 139 bool regmap_volatile(struct regmap *map, unsigned int reg) in regmap_volatile() 156 bool regmap_precious(struct regmap *map, unsigned int reg) in regmap_precious() 170 static bool regmap_volatile_range(struct regmap *map, unsigned int reg, in regmap_volatile_range() 182 static void regmap_format_2_6_write(struct regmap *map, in regmap_format_2_6_write() 190 static void regmap_format_4_12_write(struct regmap *map, in regmap_format_4_12_write() 197 static void regmap_format_7_9_write(struct regmap *map, in regmap_format_7_9_write() [all …]
|
D | regcache.c | 30 static int regcache_hw_init(struct regmap *map) in regcache_hw_init() 119 int regcache_init(struct regmap *map, const struct regmap_config *config) in regcache_init() 210 void regcache_exit(struct regmap *map) in regcache_exit() 237 int regcache_read(struct regmap *map, in regcache_read() 268 int regcache_write(struct regmap *map, in regcache_write() 282 static bool regcache_reg_needs_sync(struct regmap *map, unsigned int reg, in regcache_reg_needs_sync() 298 static int regcache_default_sync(struct regmap *map, unsigned int min, in regcache_default_sync() 343 int regcache_sync(struct regmap *map) in regcache_sync() 412 int regcache_sync_region(struct regmap *map, unsigned int min, in regcache_sync_region() 467 int regcache_drop_region(struct regmap *map, unsigned int min, in regcache_drop_region() [all …]
|
D | regmap-debugfs.c | 23 struct regmap *map; member 42 struct regmap *map = file->private_data; in regmap_name_read_file() local 67 static void regmap_debugfs_free_dump_cache(struct regmap *map) in regmap_debugfs_free_dump_cache() 80 static bool regmap_printable(struct regmap *map, unsigned int reg) in regmap_printable() 95 static unsigned int regmap_debugfs_get_dump_start(struct regmap *map, in regmap_debugfs_get_dump_start() 181 static inline void regmap_calc_tot_len(struct regmap *map, in regmap_calc_tot_len() 193 static ssize_t regmap_read_debugfs(struct regmap *map, unsigned int from, in regmap_read_debugfs() 266 struct regmap *map = file->private_data; in regmap_map_read_file() local 288 struct regmap *map = file->private_data; in regmap_map_write_file() local 327 struct regmap *map = range->map; in regmap_range_read_file() local [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() 271 static int regcache_lzo_write(struct regmap *map, in regcache_lzo_write() [all …]
|
D | regcache-rbtree.c | 44 struct regmap *map, in regcache_rbtree_get_base_top_reg() 52 static unsigned int regcache_rbtree_get_register(struct regmap *map, in regcache_rbtree_get_register() 58 static void regcache_rbtree_set_register(struct regmap *map, in regcache_rbtree_set_register() 66 static struct regcache_rbtree_node *regcache_rbtree_lookup(struct regmap *map, in regcache_rbtree_lookup() 100 static int regcache_rbtree_insert(struct regmap *map, struct rb_root *root, in regcache_rbtree_insert() 138 struct regmap *map = s->private; in rbtree_show() local 192 static void rbtree_debugfs_init(struct regmap *map) in rbtree_debugfs_init() 198 static int regcache_rbtree_init(struct regmap *map) in regcache_rbtree_init() 227 static int regcache_rbtree_exit(struct regmap *map) in regcache_rbtree_exit() 256 static int regcache_rbtree_read(struct regmap *map, in regcache_rbtree_read() [all …]
|
D | regcache-flat.c | 19 static inline unsigned int regcache_flat_get_index(const struct regmap *map, in regcache_flat_get_index() 25 static int regcache_flat_init(struct regmap *map) in regcache_flat_init() 47 static int regcache_flat_exit(struct regmap *map) in regcache_flat_exit() 55 static int regcache_flat_read(struct regmap *map, in regcache_flat_read() 65 static int regcache_flat_write(struct regmap *map, unsigned int reg, in regcache_flat_write()
|
/drivers/mtd/maps/ |
D | pci.c | 33 struct map_info map; member 42 struct map_pci_info *map = (struct map_pci_info *)_map; in mtd_pci_read8() local 50 struct map_pci_info *map = (struct map_pci_info *)_map; in mtd_pci_read32() local 58 struct map_pci_info *map = (struct map_pci_info *)_map; in mtd_pci_copyfrom() local 64 struct map_pci_info *map = (struct map_pci_info *)_map; in mtd_pci_write8() local 70 struct map_pci_info *map = (struct map_pci_info *)_map; in mtd_pci_write32() local 76 struct map_pci_info *map = (struct map_pci_info *)_map; in mtd_pci_copyto() local 91 intel_iq80310_init(struct pci_dev *dev, struct map_pci_info *map) in intel_iq80310_init() 119 intel_iq80310_exit(struct pci_dev *dev, struct map_pci_info *map) in intel_iq80310_exit() 127 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 | pcmciamtd.c | 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() 247 static void pcmcia_copy_from(struct map_info *map, void *to, unsigned long from, ssize_t len) in pcmcia_copy_from() [all …]
|
/drivers/mtd/chips/ |
D | cfi_cmdset_0002.c | 158 struct map_info *map = mtd->priv; in fixup_amd_bootblock() local 207 struct map_info *map = mtd->priv; in fixup_use_write_buffers() local 218 struct map_info *map = mtd->priv; in fixup_convert_atmel_pri() local 256 struct map_info *map = mtd->priv; in fixup_use_erase_chip() local 278 struct map_info *map = mtd->priv; in fixup_old_sst_eraseregion() local 292 struct map_info *map = mtd->priv; in fixup_sst39vf() local 303 struct map_info *map = mtd->priv; in fixup_sst39vf_rev_b() local 316 struct map_info *map = mtd->priv; in fixup_sst38vf640x_sectorsize() local 332 struct map_info *map = mtd->priv; in fixup_s29gl064n_sectors() local 344 struct map_info *map = mtd->priv; in fixup_s29gl032n_sectors() local [all …]
|
D | cfi_cmdset_0001.c | 172 struct map_info *map = mtd->priv; in fixup_convert_atmel_pri() local 212 struct map_info *map = mtd->priv; in fixup_at49bv640dx_lock() local 224 struct map_info *map = mtd->priv; in fixup_intel_strataflash() local 237 struct map_info *map = mtd->priv; in fixup_no_write_suspend() local 250 struct map_info *map = mtd->priv; in fixup_st_m28w320ct() local 259 struct map_info *map = mtd->priv; in fixup_st_m28w320cb() local 279 struct map_info *map = mtd->priv; in fixup_LH28F640BF() local 299 struct map_info *map = mtd->priv; in fixup_use_point() local 308 struct map_info *map = mtd->priv; in fixup_use_write_buffers() local 322 struct map_info *map = mtd->priv; in fixup_unlock_powerup_lock() 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() 389 struct mtd_info *cfi_probe(struct map_info *map) in cfi_probe()
|
D | cfi_cmdset_0020.c | 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() local 419 static 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() local 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() local 976 struct map_info *map = mtd->priv; in cfi_staa_sync() local 1032 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 | 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() 130 unsigned long cfi_merge_status(map_word val, struct map_info *map, in cfi_merge_status() 198 struct map_info *map, struct cfi_private *cfi, in cfi_send_gen_cmd() 214 int __xipram cfi_qry_present(struct map_info *map, __u32 base, in cfi_qry_present() 242 int __xipram cfi_qry_mode_on(uint32_t base, struct map_info *map, in cfi_qry_mode_on() 280 void __xipram cfi_qry_mode_off(uint32_t base, struct map_info *map, in cfi_qry_mode_off() 293 __xipram cfi_read_pri(struct map_info *map, __u16 adr, __u16 size, const char* name) in cfi_read_pri() 338 struct map_info *map = mtd->priv; in cfi_fixup() local 355 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() 95 struct map_info *map = mtd->priv; in mapram_unmapped_area() local 101 struct map_info *map = mtd->priv; in mapram_read() local 110 struct map_info *map = mtd->priv; in mapram_write() local 121 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() 165 static int genprobe_new_chip(struct map_info *map, struct chip_probe *cp, in genprobe_new_chip() 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()
|
/drivers/xen/ |
D | gntdev.c | 109 struct grant_map *map; in gntdev_print_maps() local 119 static void gntdev_free_map(struct grant_map *map) in gntdev_free_map() 181 struct grant_map *map; in gntdev_add_map() local 199 struct grant_map *map; in gntdev_find_map_index() local 211 static void gntdev_put_map(struct gntdev_priv *priv, struct grant_map *map) in gntdev_put_map() 242 struct grant_map *map = data; in find_grant_ptes() local 275 static int map_grant_pages(struct grant_map *map) in map_grant_pages() 332 static int __unmap_grant_pages(struct grant_map *map, int offset, int pages) in __unmap_grant_pages() 367 static int unmap_grant_pages(struct grant_map *map, int offset, int pages) in unmap_grant_pages() 399 struct grant_map *map = vma->vm_private_data; in gntdev_vma_open() local [all …]
|
/drivers/clk/berlin/ |
D | berlin2-div.c | 67 struct berlin2_div_map map; member 78 struct berlin2_div_map *map = &div->map; in berlin2_div_is_enabled() local 96 struct berlin2_div_map *map = &div->map; in berlin2_div_enable() local 115 struct berlin2_div_map *map = &div->map; in berlin2_div_disable() local 132 struct berlin2_div_map *map = &div->map; in berlin2_div_set_parent() local 163 struct berlin2_div_map *map = &div->map; in berlin2_div_get_parent() local 190 struct berlin2_div_map *map = &div->map; in berlin2_div_recalc_rate() local 238 berlin2_div_register(const struct berlin2_div_map *map, in berlin2_div_register()
|
/drivers/mtd/lpddr/ |
D | lpddr_cmds.c | 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() local 500 struct map_info *map = mtd->priv; in lpddr_read() local 524 struct map_info *map = mtd->priv; in lpddr_point() local 576 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() 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()
|
/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
|
/drivers/scsi/megaraid/ |
D | megaraid_sas_fp.c | 70 #define SPAN_ROW_SIZE(map, ld, index_) (MR_LdSpanPtrGet(ld, index_, map)->spanRowSize) argument 115 struct MR_LD_RAID *MR_LdRaidGet(u32 ld, struct MR_DRV_RAID_MAP_ALL *map) in MR_LdRaidGet() 121 struct MR_DRV_RAID_MAP_ALL in MR_LdSpanInfoGet() 127 static u8 MR_LdDataArmGet(u32 ld, u32 armIdx, struct MR_DRV_RAID_MAP_ALL *map) in MR_LdDataArmGet() 132 u16 MR_ArPdGet(u32 ar, u32 arm, struct MR_DRV_RAID_MAP_ALL *map) in MR_ArPdGet() 137 u16 MR_LdSpanArrayGet(u32 ld, u32 span, struct MR_DRV_RAID_MAP_ALL *map) in MR_LdSpanArrayGet() 142 __le16 MR_PdDevHandleGet(u32 pd, struct MR_DRV_RAID_MAP_ALL *map) in MR_PdDevHandleGet() 147 static u8 MR_PdInterfaceTypeGet(u32 pd, struct MR_DRV_RAID_MAP_ALL *map) in MR_PdInterfaceTypeGet() 152 u16 MR_GetLDTgtId(u32 ld, struct MR_DRV_RAID_MAP_ALL *map) in MR_GetLDTgtId() 157 u16 MR_TargetIdToLdGet(u32 ldTgtId, struct MR_DRV_RAID_MAP_ALL *map) in MR_TargetIdToLdGet() [all …]
|
/drivers/power/supply/ |
D | max17042_battery.c | 110 struct regmap *map = chip->regmap; in max17042_get_temperature() local 224 struct regmap *map = chip->regmap; in max17042_get_property() local 414 struct regmap *map = chip->regmap; in max17042_set_property() local 477 static int max17042_write_verify_reg(struct regmap *map, u8 reg, u32 value) in max17042_write_verify_reg() 498 static inline void max17042_override_por(struct regmap *map, in max17042_override_por() 507 struct regmap *map = chip->regmap; in max10742_unlock_model() local 515 struct regmap *map = chip->regmap; in max10742_lock_model() local 524 struct regmap *map = chip->regmap; in max17042_write_model_data() local 535 struct regmap *map = chip->regmap; in max17042_read_model_data() local 613 struct regmap *map = chip->regmap; in max17042_write_config_regs() local [all …]
|
/drivers/media/pci/cobalt/ |
D | cobalt-flash.c | 37 static map_word flash_read16(struct map_info *map, unsigned long offset) in flash_read16() 50 static void flash_write16(struct map_info *map, const map_word datum, in flash_write16() 58 static void flash_copy_from(struct map_info *map, void *to, in flash_copy_from() 76 static void flash_copy_to(struct map_info *map, unsigned long to, in flash_copy_to() 99 struct map_info *map = &cobalt_flash_map; in cobalt_flash_probe() local
|