| /drivers/base/regmap/ |
| A D | regmap.c | 396 struct regmap *map = __map; in regmap_lock_hwlock() local 403 struct regmap *map = __map; in regmap_lock_hwlock_irq() local 410 struct regmap *map = __map; in regmap_lock_hwlock_irqsave() local 418 struct regmap *map = __map; in regmap_unlock_hwlock() local 425 struct regmap *map = __map; in regmap_unlock_hwlock_irq() local 432 struct regmap *map = __map; in regmap_unlock_hwlock_irqrestore() local 444 struct regmap *map = __map; in regmap_lock_mutex() local 450 struct regmap *map = __map; in regmap_unlock_mutex() local 457 struct regmap *map = __map; in regmap_lock_spinlock() local 467 struct regmap *map = __map; in regmap_unlock_spinlock() local [all …]
|
| A D | regcache.c | 44 static int regcache_hw_init(struct regmap *map) in regcache_hw_init() 234 void regcache_exit(struct regmap *map) in regcache_exit() 263 int regcache_read(struct regmap *map, in regcache_read() 294 int regcache_write(struct regmap *map, in regcache_write() 379 int regcache_sync(struct regmap *map) in regcache_sync() 472 int regcache_sync_region(struct regmap *map, unsigned int min, in regcache_sync_region() 562 void regcache_cache_only(struct regmap *map, bool enable) in regcache_cache_only() 586 void regcache_mark_dirty(struct regmap *map) in regcache_mark_dirty() 606 void regcache_cache_bypass(struct regmap *map, bool enable) in regcache_cache_bypass() 715 int regcache_lookup_reg(struct regmap *map, unsigned int reg) in regcache_lookup_reg() [all …]
|
| A D | regmap-kunit.c | 235 struct regmap *map; in basic_read_write() local 260 struct regmap *map; in bulk_write() local 293 struct regmap *map; in bulk_read() local 322 struct regmap *map; in multi_write() local 361 struct regmap *map; in multi_read() local 394 struct regmap *map; in read_bypassed() local 458 struct regmap *map; in read_bypassed_volatile() local 522 struct regmap *map; in write_readonly() local 553 struct regmap *map; in read_writeonly() local 589 struct regmap *map; in reg_defaults() local [all …]
|
| A D | regmap-debugfs.c | 19 struct regmap *map; member 38 struct regmap *map = file->private_data; in regmap_name_read_file() local 287 struct regmap *map = file->private_data; in regmap_map_read_file() local 309 struct regmap *map = file->private_data; in regmap_map_write_file() local 348 struct regmap *map = range->map; in regmap_range_read_file() local 364 struct regmap *map = file->private_data; in regmap_reg_ranges_read_file() local 436 struct regmap *map = s->private; in regmap_access_show() local 463 struct regmap *map = container_of(file->private_data, in regmap_cache_only_write_file() local 505 struct regmap *map = container_of(file->private_data, in regmap_cache_bypass_write_file() local 536 void regmap_debugfs_init(struct regmap *map) in regmap_debugfs_init() [all …]
|
| A D | regcache-rbtree.c | 40 struct regmap *map, in regcache_rbtree_get_base_top_reg() 48 static unsigned int regcache_rbtree_get_register(struct regmap *map, in regcache_rbtree_get_register() 54 static void regcache_rbtree_set_register(struct regmap *map, in regcache_rbtree_set_register() 134 struct regmap *map = s->private; in rbtree_show() local 178 static void rbtree_debugfs_init(struct regmap *map) in rbtree_debugfs_init() 184 static int regcache_rbtree_init(struct regmap *map) in regcache_rbtree_init() 213 static int regcache_rbtree_exit(struct regmap *map) in regcache_rbtree_exit() 242 static int regcache_rbtree_read(struct regmap *map, in regcache_rbtree_read() 262 static int regcache_rbtree_insert_to_block(struct regmap *map, in regcache_rbtree_insert_to_block() 315 regcache_rbtree_node_alloc(struct regmap *map, unsigned int reg) in regcache_rbtree_node_alloc() [all …]
|
| A D | regcache-maple.c | 16 static int regcache_maple_read(struct regmap *map, in regcache_maple_read() 38 static int regcache_maple_write(struct regmap *map, unsigned int reg, in regcache_maple_write() 106 static int regcache_maple_drop(struct regmap *map, unsigned int min, in regcache_maple_drop() 188 static int regcache_maple_sync_block(struct regmap *map, unsigned long *entry, in regcache_maple_sync_block() 237 static int regcache_maple_sync(struct regmap *map, unsigned int min, in regcache_maple_sync() 292 static int regcache_maple_exit(struct regmap *map) in regcache_maple_exit() 314 static int regcache_maple_insert_block(struct regmap *map, int first, in regcache_maple_insert_block() 343 static int regcache_maple_init(struct regmap *map) in regcache_maple_init()
|
| A D | regmap-irq.c | 27 struct regmap *map; member 64 struct regmap *map = data->map; in regmap_irq_can_bulk_read_status() local 86 struct regmap *map = d->map; in regmap_irq_sync_unlock() local 213 struct regmap *map = d->map; in regmap_irq_enable() local 242 struct regmap *map = d->map; in regmap_irq_disable() local 251 struct regmap *map = d->map; in regmap_irq_set_type() local 281 struct regmap *map = d->map; in regmap_irq_set_wake() local 313 struct regmap *map = data->map; in read_sub_irq_data() local 342 struct regmap *map = data->map; in read_irq_data() local 452 struct regmap *map = data->map; in regmap_irq_thread() local [all …]
|
| /drivers/mtd/chips/ |
| A D | cfi_cmdset_0002.c | 226 struct map_info *map = mtd->priv; in fixup_amd_bootblock() local 276 struct map_info *map = mtd->priv; in fixup_use_write_buffers() local 292 struct map_info *map = mtd->priv; in fixup_convert_atmel_pri() local 330 struct map_info *map = mtd->priv; in fixup_use_erase_chip() local 352 struct map_info *map = mtd->priv; in fixup_old_sst_eraseregion() local 366 struct map_info *map = mtd->priv; in fixup_sst39vf() local 377 struct map_info *map = mtd->priv; in fixup_sst39vf_rev_b() local 390 struct map_info *map = mtd->priv; in fixup_sst38vf640x_sectorsize() local 406 struct map_info *map = mtd->priv; in fixup_s29gl064n_sectors() local 418 struct map_info *map = mtd->priv; in fixup_s29gl032n_sectors() local [all …]
|
| A D | cfi_cmdset_0001.c | 174 struct map_info *map = mtd->priv; in fixup_convert_atmel_pri() local 214 struct map_info *map = mtd->priv; in fixup_at49bv640dx_lock() local 226 struct map_info *map = mtd->priv; in fixup_intel_strataflash() local 239 struct map_info *map = mtd->priv; in fixup_no_write_suspend() local 252 struct map_info *map = mtd->priv; in fixup_st_m28w320ct() local 261 struct map_info *map = mtd->priv; in fixup_st_m28w320cb() local 281 struct map_info *map = mtd->priv; in fixup_LH28F640BF() local 301 struct map_info *map = mtd->priv; in fixup_use_point() local 310 struct map_info *map = mtd->priv; in fixup_use_write_buffers() local 324 struct map_info *map = mtd->priv; in fixup_unlock_powerup_lock() local [all …]
|
| A 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() 386 struct map_info *map = mtd->priv; in cfi_staa_read() local 610 struct map_info *map = mtd->priv; in cfi_staa_write_buffers() local 893 { struct map_info *map = mtd->priv; in cfi_staa_erase_varsize() local 975 struct map_info *map = mtd->priv; in cfi_staa_sync() local 1129 struct map_info *map = mtd->priv; in cfi_staa_lock() local 1275 struct map_info *map = mtd->priv; in cfi_staa_unlock() local 1314 struct map_info *map = mtd->priv; in cfi_staa_suspend() local 1372 struct map_info *map = mtd->priv; in cfi_staa_resume() local [all …]
|
| A D | cfi_probe.c | 39 #define xip_allowed(base, map) \ argument 46 #define xip_enable(base, map, cfi) \ argument 52 #define xip_disable_qry(base, map, cfi) \ argument 61 #define xip_allowed(base, map) do { } while (0) argument 62 #define xip_enable(base, map, cfi) do { } while (0) argument 63 #define xip_disable_qry(base, map, cfi) do { } while (0) argument 96 static int __xipram cfi_probe_chip(struct map_info *map, __u32 base, in cfi_probe_chip() 195 static int __xipram cfi_chip_setup(struct map_info *map, in cfi_chip_setup() 432 struct mtd_info *cfi_probe(struct map_info *map) in cfi_probe()
|
| A 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() local 360 struct map_info *map = mtd->priv; in cfi_varsize_frob() local
|
| /drivers/mtd/maps/ |
| A D | pci.c | 30 struct map_info map; member 39 struct map_pci_info *map = (struct map_pci_info *)_map; in mtd_pci_read8() local 47 struct map_pci_info *map = (struct map_pci_info *)_map; in mtd_pci_read32() local 55 struct map_pci_info *map = (struct map_pci_info *)_map; in mtd_pci_copyfrom() local 61 struct map_pci_info *map = (struct map_pci_info *)_map; in mtd_pci_write8() local 67 struct map_pci_info *map = (struct map_pci_info *)_map; in mtd_pci_write32() local 73 struct map_pci_info *map = (struct map_pci_info *)_map; in mtd_pci_copyto() local 88 intel_iq80310_init(struct pci_dev *dev, struct map_pci_info *map) in intel_iq80310_init() 116 intel_iq80310_exit(struct pci_dev *dev, struct map_pci_info *map) in intel_iq80310_exit() 255 struct map_pci_info *map = NULL; in mtd_pci_probe() local [all …]
|
| 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()
|
| A 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() 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() 247 static void pcmcia_copy_from(struct map_info *map, void *to, unsigned long from, ssize_t len) in pcmcia_copy_from() 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 …]
|
| /drivers/xen/ |
| A D | gntdev.c | 95 struct gntdev_grant_map *map; in gntdev_print_maps() local 233 struct gntdev_grant_map *map; in gntdev_add_map() local 251 struct gntdev_grant_map *map; in gntdev_find_map_index() local 315 struct gntdev_grant_map *map = data; in find_grant_ptes() local 551 struct gntdev_grant_map *map = in gntdev_invalidate() local 624 struct gntdev_grant_map *map; in gntdev_release() local 658 struct gntdev_grant_map *map; in gntdev_ioctl_map_grant_ref() local 693 struct gntdev_grant_map *map; in gntdev_ioctl_unmap_grant_ref() local 717 struct gntdev_grant_map *map; in gntdev_ioctl_get_offset_for_vaddr() local 748 struct gntdev_grant_map *map; in gntdev_ioctl_notify() local [all …]
|
| A D | pvcalls-front.c | 101 struct sock_mapping *map; in pvcalls_enter_sock() local 118 struct sock_mapping *map; in pvcalls_exit_sock() local 231 struct sock_mapping *map) in pvcalls_front_destroy_active() 251 struct sock_mapping *map) in pvcalls_front_free_map() 273 struct sock_mapping *map = NULL; in pvcalls_front_socket() local 546 struct sock_mapping *map; in pvcalls_front_sendmsg() local 641 struct sock_mapping *map; in pvcalls_front_recvmsg() local 731 struct sock_mapping *map; in pvcalls_front_listen() local 782 struct sock_mapping *map; in pvcalls_front_accept() local 1000 struct sock_mapping *map; in pvcalls_front_poll() local [all …]
|
| /drivers/cxl/core/ |
| A D | regs.c | 39 struct cxl_component_reg_map *map) in cxl_probe_component_regs() 120 struct cxl_device_reg_map *map) in cxl_probe_device_regs() 237 int cxl_map_device_regs(const struct cxl_register_map *map, in cxl_map_device_regs() 272 struct cxl_register_map *map) in cxl_decode_regblock() 302 struct cxl_register_map *map, int index) in __cxl_find_regblock_instance() 361 struct cxl_register_map *map, unsigned int index) in cxl_find_regblock_instance() 379 struct cxl_register_map *map) in cxl_find_regblock() 396 struct cxl_register_map map; in cxl_count_regblock() local 416 static int cxl_map_regblock(struct cxl_register_map *map) in cxl_map_regblock() 436 static int cxl_probe_regs(struct cxl_register_map *map) in cxl_probe_regs() [all …]
|
| /drivers/scsi/megaraid/ |
| A D | megaraid_sas_fp.c | 107 struct MR_DRV_RAID_MAP_ALL in MR_LdSpanInfoGet() 149 struct MR_DRV_RAID_MAP_ALL *map) in MR_LdSpanPtrGet() 374 struct MR_DRV_RAID_MAP_ALL *map) in MR_GetSpanBlock() 487 u32 ld, u64 strip, struct MR_DRV_RAID_MAP_ALL *map) in get_row_from_strip() 544 u32 ld, u64 row, struct MR_DRV_RAID_MAP_ALL *map) in get_strip_from_row() 605 u32 ld, u64 strip, struct MR_DRV_RAID_MAP_ALL *map) in get_arm_from_strip() 649 struct MR_DRV_RAID_MAP_ALL *map) in get_arm() 693 struct MR_DRV_RAID_MAP_ALL *map) in mr_spanset_get_phy_params() 794 struct MR_DRV_RAID_MAP_ALL *map) in MR_GetPhyParams() 906 struct MR_DRV_RAID_MAP_ALL *map) in mr_get_phy_params_r56_rmw() [all …]
|
| /drivers/md/dm-vdo/ |
| A D | int-map.c | 157 static int allocate_buckets(struct int_map *map, size_t capacity) in allocate_buckets() 181 struct int_map *map; in vdo_int_map_create() local 215 void vdo_int_map_free(struct int_map *map) in vdo_int_map_free() 230 size_t vdo_int_map_size(const struct int_map *map) in vdo_int_map_size() 293 static struct bucket *select_bucket(const struct int_map *map, u64 key) in select_bucket() 355 void *vdo_int_map_get(struct int_map *map, u64 key) in vdo_int_map_get() 370 static int resize_buckets(struct int_map *map) in resize_buckets() 423 find_empty_bucket(struct int_map *map, struct bucket *bucket, unsigned int max_probes) in find_empty_bucket() 556 static struct bucket *find_or_make_vacancy(struct int_map *map, in find_or_make_vacancy() 604 int vdo_int_map_put(struct int_map *map, u64 key, void *new_value, bool update, in vdo_int_map_put() [all …]
|
| /drivers/mtd/lpddr/ |
| A D | lpddr_cmds.c | 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() 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() local 511 struct map_info *map = mtd->priv; in lpddr_read() local 535 struct map_info *map = mtd->priv; in lpddr_point() local 587 struct map_info *map = mtd->priv; in lpddr_unpoint() local 645 struct map_info *map = mtd->priv; in lpddr_writev() local 693 struct map_info *map = mtd->priv; in lpddr_erase() local [all …]
|
| /drivers/clk/berlin/ |
| A D | berlin2-div.c | 57 struct berlin2_div_map map; member 68 struct berlin2_div_map *map = &div->map; in berlin2_div_is_enabled() local 86 struct berlin2_div_map *map = &div->map; in berlin2_div_enable() local 105 struct berlin2_div_map *map = &div->map; in berlin2_div_disable() local 122 struct berlin2_div_map *map = &div->map; in berlin2_div_set_parent() local 153 struct berlin2_div_map *map = &div->map; in berlin2_div_get_parent() local 180 struct berlin2_div_map *map = &div->map; in berlin2_div_recalc_rate() local 229 berlin2_div_register(const struct berlin2_div_map *map, in berlin2_div_register()
|
| /drivers/pcmcia/ |
| A 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/md/dm-vdo/indexer/ |
| A D | index-page-map.c | 39 struct index_page_map *map; in uds_make_index_page_map() local 58 void uds_free_index_page_map(struct index_page_map *map) in uds_free_index_page_map() 66 void uds_update_index_page_map(struct index_page_map *map, u64 virtual_chapter_number, in uds_update_index_page_map() 80 u32 uds_find_index_page_number(const struct index_page_map *map, in uds_find_index_page_number() 95 void uds_get_list_number_bounds(const struct index_page_map *map, u32 chapter_number, in uds_get_list_number_bounds() 113 int uds_write_index_page_map(struct index_page_map *map, struct buffered_writer *writer) in uds_write_index_page_map() 139 int uds_read_index_page_map(struct index_page_map *map, struct buffered_reader *reader) in uds_read_index_page_map()
|
| /drivers/power/supply/ |
| A D | max17042_battery.c | 100 struct regmap *map = chip->regmap; in max17042_get_temperature() local 237 struct regmap *map = chip->regmap; in max17042_get_property() local 446 struct regmap *map = chip->regmap; in max17042_set_property() local 534 struct regmap *map = chip->regmap; in max17042_unlock_model() local 542 struct regmap *map = chip->regmap; in max17042_lock_model() local 551 struct regmap *map = chip->regmap; in max17042_write_model_data() local 562 struct regmap *map = chip->regmap; in max17042_read_model_data() local 640 struct regmap *map = chip->regmap; in max17042_write_config_regs() local 657 struct regmap *map = chip->regmap; in max17042_write_custom_regs() local 681 struct regmap *map = chip->regmap; in max17042_update_capacity_regs() local [all …]
|