/drivers/base/regmap/ |
D | regmap.c | 36 static inline bool regmap_should_log(struct regmap *map) in regmap_should_log() 41 static inline bool regmap_should_log(struct regmap *map) { return false; } in regmap_should_log() 74 bool regmap_check_range_table(struct regmap *map, unsigned int reg, in regmap_check_range_table() 90 bool regmap_writeable(struct regmap *map, unsigned int reg) in regmap_writeable() 104 bool regmap_cached(struct regmap *map, unsigned int reg) in regmap_cached() 127 bool regmap_readable(struct regmap *map, unsigned int reg) in regmap_readable() 147 bool regmap_volatile(struct regmap *map, unsigned int reg) in regmap_volatile() 164 bool regmap_precious(struct regmap *map, unsigned int reg) in regmap_precious() 178 bool regmap_writeable_noinc(struct regmap *map, unsigned int reg) in regmap_writeable_noinc() 189 bool regmap_readable_noinc(struct regmap *map, unsigned int reg) in regmap_readable_noinc() [all …]
|
D | regcache.c | 24 static int regcache_hw_init(struct regmap *map) in regcache_hw_init() 113 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 bool regcache_reg_needs_sync(struct regmap *map, unsigned int reg, in regcache_reg_needs_sync() 301 static int regcache_default_sync(struct regmap *map, unsigned int min, in regcache_default_sync() 353 int regcache_sync(struct regmap *map) in regcache_sync() 446 int regcache_sync_region(struct regmap *map, unsigned int min, in regcache_sync_region() 504 int regcache_drop_region(struct regmap *map, unsigned int min, in regcache_drop_region() [all …]
|
D | regmap-debugfs.c | 19 struct regmap *map; member 38 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 int regmap_next_readable_reg(struct regmap *map, int reg) in regmap_next_readable_reg() 215 static ssize_t regmap_read_debugfs(struct regmap *map, unsigned int from, in regmap_read_debugfs() 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 [all …]
|
D | regmap-kunit.c | 123 struct regmap *map; in basic_read_write() local 152 struct regmap *map; in bulk_write() local 189 struct regmap *map; in bulk_read() local 222 struct regmap *map; in write_readonly() local 257 struct regmap *map; in read_writeonly() local 297 struct regmap *map; in reg_defaults() local 325 struct regmap *map; in reg_defaults_read_dev() local 359 struct regmap *map; in register_patch() local 411 struct regmap *map; in stride() local 477 struct regmap *map; in basic_ranges() local [all …]
|
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() 62 static struct regcache_rbtree_node *regcache_rbtree_lookup(struct regmap *map, in regcache_rbtree_lookup() 96 static int regcache_rbtree_insert(struct regmap *map, struct rb_root *root, in regcache_rbtree_insert() 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() [all …]
|
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() 107 static int regcache_maple_drop(struct regmap *map, unsigned int min, in regcache_maple_drop() 189 static int regcache_maple_sync_block(struct regmap *map, unsigned long *entry, in regcache_maple_sync_block() 238 static int regcache_maple_sync(struct regmap *map, unsigned int min, in regcache_maple_sync() 293 static int regcache_maple_exit(struct regmap *map) in regcache_maple_exit() 315 static int regcache_maple_insert_block(struct regmap *map, int first, in regcache_maple_insert_block() 344 static int regcache_maple_init(struct regmap *map) in regcache_maple_init()
|
/drivers/mtd/chips/ |
D | cfi_cmdset_0002.c | 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() 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 [all …]
|
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 …]
|
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() 249 static inline int do_read_onechip(struct map_info *map, struct flchip *chip, loff_t adr, size_t len… in do_read_onechip() 386 struct map_info *map = mtd->priv; in cfi_staa_read() local 421 static int do_write_buffer(struct map_info *map, struct flchip *chip, in do_write_buffer() 610 struct map_info *map = mtd->priv; in cfi_staa_write_buffers() local 733 static inline int do_erase_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr) in do_erase_oneblock() 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 1032 static inline int do_lock_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr) in do_lock_oneblock() [all …]
|
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()
|
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/ |
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() 124 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 | 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/xen/ |
D | gntdev.c | 83 struct gntdev_grant_map *map; in gntdev_print_maps() local 93 static void gntdev_free_map(struct gntdev_grant_map *map) in gntdev_free_map() 221 struct gntdev_grant_map *map; in gntdev_add_map() local 239 struct gntdev_grant_map *map; in gntdev_find_map_index() local 251 void gntdev_put_map(struct gntdev_priv *priv, struct gntdev_grant_map *map) in gntdev_put_map() 303 struct gntdev_grant_map *map = data; in find_grant_ptes() local 320 int gntdev_map_grant_pages(struct gntdev_grant_map *map) in gntdev_map_grant_pages() 396 struct gntdev_grant_map *map = data->data; in __unmap_grant_pages_done() local 439 static void __unmap_grant_pages(struct gntdev_grant_map *map, int offset, in __unmap_grant_pages() 465 static void unmap_grant_pages(struct gntdev_grant_map *map, int offset, in unmap_grant_pages() [all …]
|
D | pvcalls-front.c | 101 struct sock_mapping *map; in pvcalls_enter_sock() local 118 struct sock_mapping *map; in pvcalls_exit_sock() local 134 static bool pvcalls_front_write_todo(struct sock_mapping *map) in pvcalls_front_write_todo() 151 static bool pvcalls_front_read_todo(struct sock_mapping *map) in pvcalls_front_read_todo() 189 struct sock_mapping *map = (struct sock_mapping *)(uintptr_t) in pvcalls_front_event_handler() local 231 struct sock_mapping *map) in pvcalls_front_destroy_active() 251 struct sock_mapping *map) in pvcalls_front_free_map() 260 struct sock_mapping *map = sock_map; in pvcalls_front_conn_handler() local 273 struct sock_mapping *map = NULL; in pvcalls_front_socket() local 345 static void free_active_ring(struct sock_mapping *map) in free_active_ring() [all …]
|
/drivers/cxl/core/ |
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() 203 int cxl_map_component_regs(const struct cxl_register_map *map, in cxl_map_component_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() 306 struct cxl_register_map *map, int index) in cxl_find_regblock_instance() 361 struct cxl_register_map *map) in cxl_find_regblock() 378 struct cxl_register_map map; in cxl_count_regblock() local 391 struct cxl_register_map *map) in cxl_map_pmu_regs() 405 static int cxl_map_regblock(struct cxl_register_map *map) in cxl_map_regblock() [all …]
|
/drivers/scsi/megaraid/ |
D | megaraid_sas_fp.c | 57 #define SPAN_ROW_SIZE(map, ld, index_) (MR_LdSpanPtrGet(ld, index_, map)->spanRowSize) argument 101 struct MR_LD_RAID *MR_LdRaidGet(u32 ld, struct MR_DRV_RAID_MAP_ALL *map) in MR_LdRaidGet() 107 struct MR_DRV_RAID_MAP_ALL in MR_LdSpanInfoGet() 113 static u8 MR_LdDataArmGet(u32 ld, u32 armIdx, struct MR_DRV_RAID_MAP_ALL *map) in MR_LdDataArmGet() 118 u16 MR_ArPdGet(u32 ar, u32 arm, struct MR_DRV_RAID_MAP_ALL *map) in MR_ArPdGet() 123 u16 MR_LdSpanArrayGet(u32 ld, u32 span, struct MR_DRV_RAID_MAP_ALL *map) in MR_LdSpanArrayGet() 128 __le16 MR_PdDevHandleGet(u32 pd, struct MR_DRV_RAID_MAP_ALL *map) in MR_PdDevHandleGet() 133 static u8 MR_PdInterfaceTypeGet(u32 pd, struct MR_DRV_RAID_MAP_ALL *map) in MR_PdInterfaceTypeGet() 138 u16 MR_GetLDTgtId(u32 ld, struct MR_DRV_RAID_MAP_ALL *map) in MR_GetLDTgtId() 143 u16 MR_TargetIdToLdGet(u32 ldTgtId, struct MR_DRV_RAID_MAP_ALL *map) in MR_TargetIdToLdGet() [all …]
|
/drivers/mtd/lpddr/ |
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() 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() 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 [all …]
|
D | qinfo_probe.c | 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()
|
/drivers/clk/berlin/ |
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/ |
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/power/supply/ |
D | max17042_battery.c | 98 struct regmap *map = chip->regmap; in max17042_get_temperature() local 235 struct regmap *map = chip->regmap; in max17042_get_property() local 444 struct regmap *map = chip->regmap; in max17042_set_property() local 502 static int max17042_write_verify_reg(struct regmap *map, u8 reg, u32 value) in max17042_write_verify_reg() 523 static inline void max17042_override_por(struct regmap *map, in max17042_override_por() 532 struct regmap *map = chip->regmap; in max17042_unlock_model() local 540 struct regmap *map = chip->regmap; in max17042_lock_model() local 549 struct regmap *map = chip->regmap; in max17042_write_model_data() local 560 struct regmap *map = chip->regmap; in max17042_read_model_data() local 638 struct regmap *map = chip->regmap; in max17042_write_config_regs() local [all …]
|
/drivers/vdpa/vdpa_user/ |
D | iova_domain.c | 49 struct vhost_iotlb_map *map; in vduse_iotlb_del_range() local 63 struct vhost_iotlb_map *map; in vduse_domain_set_map() local 92 struct vhost_iotlb_map *map; in vduse_domain_clear_map() local 106 struct vduse_bounce_map *map; in vduse_domain_map_bounce_page() local 126 struct vduse_bounce_map *map; in vduse_domain_unmap_bounce_page() local 164 struct vduse_bounce_map *map; in vduse_domain_bounce() local 194 struct vhost_iotlb_map *map; in vduse_domain_get_coherent_page() local 213 struct vduse_bounce_map *map; in vduse_domain_get_bounce_page() local 232 struct vduse_bounce_map *map; in vduse_domain_free_kernel_bounce_pages() local 253 struct vduse_bounce_map *map; in vduse_domain_add_user_bounce_pages() local [all …]
|
/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() local
|