Home
last modified time | relevance | path

Searched refs:dmap (Results 1 - 25 of 44) sorted by relevance

12

/kernel/linux/linux-5.10/fs/fuse/
H A Ddax.c63 /* Semaphore to protect modifications to the dmap tree */
130 struct fuse_dax_mapping *dmap; in alloc_dax_mapping() local
133 dmap = list_first_entry_or_null(&fcd->free_ranges, in alloc_dax_mapping()
135 if (dmap) { in alloc_dax_mapping()
136 list_del_init(&dmap->list); in alloc_dax_mapping()
143 return dmap; in alloc_dax_mapping()
148 struct fuse_dax_mapping *dmap) in __dmap_remove_busy_list()
150 list_del_init(&dmap->busy_list); in __dmap_remove_busy_list()
156 struct fuse_dax_mapping *dmap) in dmap_remove_busy_list()
159 __dmap_remove_busy_list(fcd, dmap); in dmap_remove_busy_list()
147 __dmap_remove_busy_list(struct fuse_conn_dax *fcd, struct fuse_dax_mapping *dmap) __dmap_remove_busy_list() argument
155 dmap_remove_busy_list(struct fuse_conn_dax *fcd, struct fuse_dax_mapping *dmap) dmap_remove_busy_list() argument
164 __dmap_add_to_free_pool(struct fuse_conn_dax *fcd, struct fuse_dax_mapping *dmap) __dmap_add_to_free_pool() argument
172 dmap_add_to_free_pool(struct fuse_conn_dax *fcd, struct fuse_dax_mapping *dmap) dmap_add_to_free_pool() argument
181 fuse_setup_one_mapping(struct inode *inode, unsigned long start_idx, struct fuse_dax_mapping *dmap, bool writable, bool upgrade) fuse_setup_one_mapping() argument
255 struct fuse_dax_mapping *dmap; dmap_removemapping_list() local
290 dmap_reinit_add_to_free_pool(struct fuse_conn_dax *fcd, struct fuse_dax_mapping *dmap) dmap_reinit_add_to_free_pool() argument
313 struct fuse_dax_mapping *dmap, *n; inode_reclaim_dmap_range() local
352 dmap_removemapping_one(struct inode *inode, struct fuse_dax_mapping *dmap) dmap_removemapping_one() argument
394 fuse_fill_iomap(struct inode *inode, loff_t pos, loff_t length, struct iomap *iomap, struct fuse_dax_mapping *dmap, unsigned int flags) fuse_fill_iomap() argument
437 struct fuse_dax_mapping *dmap, *alloc_dmap = NULL; fuse_setup_new_dax_mapping() local
503 struct fuse_dax_mapping *dmap; fuse_upgrade_dax_mapping() local
566 struct fuse_dax_mapping *dmap; fuse_iomap_begin() local
638 struct fuse_dax_mapping *dmap = iomap->private; fuse_iomap_end() local
871 dmap_writeback_invalidate(struct inode *inode, struct fuse_dax_mapping *dmap) dmap_writeback_invalidate() argument
895 reclaim_one_dmap_locked(struct inode *inode, struct fuse_dax_mapping *dmap) reclaim_one_dmap_locked() argument
931 struct fuse_dax_mapping *dmap; inode_lookup_first_dmap() local
956 struct fuse_dax_mapping *dmap; inode_inline_reclaim_one_dmap() local
1030 struct fuse_dax_mapping *dmap; alloc_dax_mapping_reclaim() local
1081 struct fuse_dax_mapping *dmap; lookup_and_reclaim_dmap_locked() local
1143 struct fuse_dax_mapping *dmap, *pos, *temp; try_to_free_dmap_chunks() local
[all...]
/kernel/linux/linux-6.6/fs/fuse/
H A Ddax.c64 /* Semaphore to protect modifications to the dmap tree */
131 struct fuse_dax_mapping *dmap; in alloc_dax_mapping() local
134 dmap = list_first_entry_or_null(&fcd->free_ranges, in alloc_dax_mapping()
136 if (dmap) { in alloc_dax_mapping()
137 list_del_init(&dmap->list); in alloc_dax_mapping()
144 return dmap; in alloc_dax_mapping()
149 struct fuse_dax_mapping *dmap) in __dmap_remove_busy_list()
151 list_del_init(&dmap->busy_list); in __dmap_remove_busy_list()
157 struct fuse_dax_mapping *dmap) in dmap_remove_busy_list()
160 __dmap_remove_busy_list(fcd, dmap); in dmap_remove_busy_list()
148 __dmap_remove_busy_list(struct fuse_conn_dax *fcd, struct fuse_dax_mapping *dmap) __dmap_remove_busy_list() argument
156 dmap_remove_busy_list(struct fuse_conn_dax *fcd, struct fuse_dax_mapping *dmap) dmap_remove_busy_list() argument
165 __dmap_add_to_free_pool(struct fuse_conn_dax *fcd, struct fuse_dax_mapping *dmap) __dmap_add_to_free_pool() argument
173 dmap_add_to_free_pool(struct fuse_conn_dax *fcd, struct fuse_dax_mapping *dmap) dmap_add_to_free_pool() argument
182 fuse_setup_one_mapping(struct inode *inode, unsigned long start_idx, struct fuse_dax_mapping *dmap, bool writable, bool upgrade) fuse_setup_one_mapping() argument
256 struct fuse_dax_mapping *dmap; dmap_removemapping_list() local
291 dmap_reinit_add_to_free_pool(struct fuse_conn_dax *fcd, struct fuse_dax_mapping *dmap) dmap_reinit_add_to_free_pool() argument
314 struct fuse_dax_mapping *dmap, *n; inode_reclaim_dmap_range() local
353 dmap_removemapping_one(struct inode *inode, struct fuse_dax_mapping *dmap) dmap_removemapping_one() argument
395 fuse_fill_iomap(struct inode *inode, loff_t pos, loff_t length, struct iomap *iomap, struct fuse_dax_mapping *dmap, unsigned int flags) fuse_fill_iomap() argument
438 struct fuse_dax_mapping *dmap, *alloc_dmap = NULL; fuse_setup_new_dax_mapping() local
504 struct fuse_dax_mapping *dmap; fuse_upgrade_dax_mapping() local
567 struct fuse_dax_mapping *dmap; fuse_iomap_begin() local
639 struct fuse_dax_mapping *dmap = iomap->private; fuse_iomap_end() local
865 dmap_writeback_invalidate(struct inode *inode, struct fuse_dax_mapping *dmap) dmap_writeback_invalidate() argument
889 reclaim_one_dmap_locked(struct inode *inode, struct fuse_dax_mapping *dmap) reclaim_one_dmap_locked() argument
925 struct fuse_dax_mapping *dmap; inode_lookup_first_dmap() local
950 struct fuse_dax_mapping *dmap; inode_inline_reclaim_one_dmap() local
1024 struct fuse_dax_mapping *dmap; alloc_dax_mapping_reclaim() local
1075 struct fuse_dax_mapping *dmap; lookup_and_reclaim_dmap_locked() local
1137 struct fuse_dax_mapping *dmap, *pos, *temp; try_to_free_dmap_chunks() local
[all...]
/kernel/linux/linux-6.6/drivers/pmdomain/ti/
H A Domap_prm.c59 const struct omap_prm_domain_map *dmap; member
158 .pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_reton,
162 .pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_noinact,
167 .pwrstctrl = 0, .pwrstst = 0x4, .dmap = &omap_prm_all,
171 .pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_alwon,
175 .pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_reton,
182 .pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_noinact,
187 .pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_onoff_noauto,
191 .pwrstctrl = 0x0, .pwrstst = 0x4, .dmap = &omap_prm_noinact
195 .pwrstctrl = 0x0, .pwrstst = 0x4, .dmap
[all...]
/kernel/linux/linux-5.10/drivers/md/
H A Ddm-clone-metadata.c71 * we use a second set of bitmaps, the dmap (dirty bitmap), which includes two
87 * and dmap.
89 * During a metadata commit we scan dmap->dirty_words and dmap->dirty_regions
93 * We use the helper dmap->dirty_words bitmap, which is smaller than the
107 * swap the currently used dmap with the unused one. This allows the metadata
127 struct dirty_map dmap[2]; member
479 static int __dirty_map_init(struct dirty_map *dmap, unsigned long nr_words, in __dirty_map_init() argument
482 dmap->changed = 0; in __dirty_map_init()
484 dmap in __dirty_map_init()
497 __dirty_map_exit(struct dirty_map *dmap) __dirty_map_exit() argument
748 __flush_dmap(struct dm_clone_metadata *cmd, struct dirty_map *dmap) __flush_dmap() argument
785 struct dirty_map *dmap, *next_dmap; dm_clone_metadata_pre_commit() local
850 struct dirty_map *dmap; dm_clone_set_region_hydrated() local
885 struct dirty_map *dmap; dm_clone_cond_set_range() local
[all...]
/kernel/linux/linux-6.6/drivers/md/
H A Ddm-clone-metadata.c71 * we use a second set of bitmaps, the dmap (dirty bitmap), which includes two
87 * and dmap.
89 * During a metadata commit we scan dmap->dirty_words and dmap->dirty_regions
93 * We use the helper dmap->dirty_words bitmap, which is smaller than the
107 * swap the currently used dmap with the unused one. This allows the metadata
127 struct dirty_map dmap[2]; member
473 static int __dirty_map_init(struct dirty_map *dmap, unsigned long nr_words, in __dirty_map_init() argument
476 dmap->changed = 0; in __dirty_map_init()
478 dmap in __dirty_map_init()
491 __dirty_map_exit(struct dirty_map *dmap) __dirty_map_exit() argument
742 __flush_dmap(struct dm_clone_metadata *cmd, struct dirty_map *dmap) __flush_dmap() argument
779 struct dirty_map *dmap, *next_dmap; dm_clone_metadata_pre_commit() local
844 struct dirty_map *dmap; dm_clone_set_region_hydrated() local
879 struct dirty_map *dmap; dm_clone_cond_set_range() local
[all...]
/kernel/linux/linux-6.6/sound/soc/tegra/
H A Dtegra_pcm.c80 struct snd_dmaengine_dai_dma_data *dmap; in tegra_pcm_open() local
88 dmap = snd_soc_dai_get_dma_data(cpu_dai, substream); in tegra_pcm_open()
101 chan = dma_request_slave_channel(cpu_dai->dev, dmap->chan_name); in tegra_pcm_open()
105 dmap->chan_name); in tegra_pcm_open()
113 dmap->chan_name); in tegra_pcm_open()
146 struct snd_dmaengine_dai_dma_data *dmap; in tegra_pcm_hw_params() local
154 dmap = snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), substream); in tegra_pcm_hw_params()
155 if (!dmap) in tegra_pcm_hw_params()
169 slave_config.dst_addr = dmap->addr; in tegra_pcm_hw_params()
173 slave_config.src_addr = dmap in tegra_pcm_hw_params()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/ttm/
H A Dttm_resource.c543 struct iosys_map *dmap, in ttm_kmap_iter_iomap_map_local()
570 iosys_map_set_vaddr_iomem(dmap, addr); in ttm_kmap_iter_iomap_map_local()
625 struct iosys_map *dmap, in ttm_kmap_iter_linear_io_map_local()
631 *dmap = iter_io->dmap; in ttm_kmap_iter_linear_io_map_local()
632 iosys_map_incr(dmap, i * PAGE_SIZE); in ttm_kmap_iter_linear_io_map_local()
668 iosys_map_set_vaddr(&iter_io->dmap, mem->bus.addr); in ttm_kmap_iter_linear_io_init()
672 memset(&iter_io->dmap, 0, sizeof(iter_io->dmap)); in ttm_kmap_iter_linear_io_init()
674 iosys_map_set_vaddr_iomem(&iter_io->dmap, in ttm_kmap_iter_linear_io_init()
542 ttm_kmap_iter_iomap_map_local(struct ttm_kmap_iter *iter, struct iosys_map *dmap, pgoff_t i) ttm_kmap_iter_iomap_map_local() argument
624 ttm_kmap_iter_linear_io_map_local(struct ttm_kmap_iter *iter, struct iosys_map *dmap, pgoff_t i) ttm_kmap_iter_linear_io_map_local() argument
[all...]
H A Dttm_tt.c409 struct iosys_map *dmap, in ttm_kmap_iter_tt_map_local()
415 iosys_map_set_vaddr(dmap, kmap_local_page_prot(iter_tt->tt->pages[i], in ttm_kmap_iter_tt_map_local()
408 ttm_kmap_iter_tt_map_local(struct ttm_kmap_iter *iter, struct iosys_map *dmap, pgoff_t i) ttm_kmap_iter_tt_map_local() argument
/kernel/linux/linux-5.10/sound/soc/tegra/
H A Dtegra_pcm.c74 struct snd_dmaengine_dai_dma_data *dmap; in tegra_pcm_open() local
82 dmap = snd_soc_dai_get_dma_data(cpu_dai, substream); in tegra_pcm_open()
95 chan = dma_request_slave_channel(cpu_dai->dev, dmap->chan_name); in tegra_pcm_open()
99 dmap->chan_name); in tegra_pcm_open()
107 dmap->chan_name); in tegra_pcm_open()
137 struct snd_dmaengine_dai_dma_data *dmap; in tegra_pcm_hw_params() local
145 dmap = snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), substream); in tegra_pcm_hw_params()
146 if (!dmap) in tegra_pcm_hw_params()
160 slave_config.dst_addr = dmap->addr; in tegra_pcm_hw_params()
164 slave_config.src_addr = dmap in tegra_pcm_hw_params()
[all...]
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_reflink.c987 * Remap the given extent into the file. The dmap blockcount will be set to
993 struct xfs_bmbt_irec *dmap, in xfs_reflink_remap_extent()
1003 bool dmap_written = xfs_bmap_is_written_extent(dmap); in xfs_reflink_remap_extent()
1019 * dmap to the destination file. in xfs_reflink_remap_extent()
1022 error = xfs_bmapi_read(ip, dmap->br_startoff, dmap->br_blockcount, in xfs_reflink_remap_extent()
1026 ASSERT(nimaps == 1 && smap.br_startoff == dmap->br_startoff); in xfs_reflink_remap_extent()
1033 dmap->br_blockcount = min(dmap->br_blockcount, smap.br_blockcount); in xfs_reflink_remap_extent()
1034 ASSERT(dmap in xfs_reflink_remap_extent()
991 xfs_reflink_remap_extent( struct xfs_inode *ip, struct xfs_bmbt_irec *dmap, xfs_off_t new_isize) xfs_reflink_remap_extent() argument
[all...]
/kernel/linux/linux-5.10/fs/nilfs2/
H A Dpage.c240 int nilfs_copy_dirty_pages(struct address_space *dmap, in nilfs_copy_dirty_pages() argument
260 dpage = grab_cache_page(dmap, page->index); in nilfs_copy_dirty_pages()
288 * @dmap: destination page cache
294 void nilfs_copy_back_pages(struct address_space *dmap, in nilfs_copy_back_pages() argument
312 dpage = find_lock_page(dmap, offset); in nilfs_copy_back_pages()
330 xa_lock_irq(&dmap->i_pages); in nilfs_copy_back_pages()
331 p = __xa_store(&dmap->i_pages, offset, page, GFP_NOFS); in nilfs_copy_back_pages()
337 page->mapping = dmap; in nilfs_copy_back_pages()
338 dmap->nrpages++; in nilfs_copy_back_pages()
340 __xa_set_mark(&dmap in nilfs_copy_back_pages()
[all...]
/kernel/linux/linux-6.6/fs/nilfs2/
H A Dpage.c240 int nilfs_copy_dirty_pages(struct address_space *dmap, in nilfs_copy_dirty_pages() argument
261 dfolio = filemap_grab_folio(dmap, folio->index); in nilfs_copy_dirty_pages()
289 * @dmap: destination page cache
295 void nilfs_copy_back_pages(struct address_space *dmap, in nilfs_copy_back_pages() argument
313 dfolio = filemap_lock_folio(dmap, index); in nilfs_copy_back_pages()
331 xa_lock_irq(&dmap->i_pages); in nilfs_copy_back_pages()
332 f = __xa_store(&dmap->i_pages, index, folio, GFP_NOFS); in nilfs_copy_back_pages()
338 folio->mapping = dmap; in nilfs_copy_back_pages()
339 dmap->nrpages++; in nilfs_copy_back_pages()
341 __xa_set_mark(&dmap in nilfs_copy_back_pages()
[all...]
/kernel/linux/linux-6.6/include/drm/ttm/
H A Dttm_kmap_iter.h27 * @dmap: The struct iosys_map holding the virtual address after
32 struct iosys_map *dmap, pgoff_t i);
38 * @dmap: The struct iosys_map holding the virtual address after
42 struct iosys_map *dmap);
/kernel/linux/linux-5.10/fs/jfs/
H A Djfs_dmap.c24 * 1) allocation and free requests that start at the dmap
25 * level and move up through the dmap control pages (i.e.
28 * 2) allocation requests that start at dmap control page
35 * as it works it way up from a single dmap to the required level
36 * of dmap control page.
45 * in addition to information found in dmaps and dmap control pages,
64 static void dbAllocBits(struct bmap * bmp, struct dmap * dp, s64 blkno,
73 static int dbAllocNext(struct bmap * bmp, struct dmap * dp, s64 blkno,
75 static int dbAllocNear(struct bmap * bmp, struct dmap * dp, s64 blkno,
78 static int dbAllocDmap(struct bmap * bmp, struct dmap * d
[all...]
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_reflink.c1148 * Remap the given extent into the file. The dmap blockcount will be set to
1154 struct xfs_bmbt_irec *dmap, in xfs_reflink_remap_extent()
1165 bool dmap_written = xfs_bmap_is_written_extent(dmap); in xfs_reflink_remap_extent()
1181 * mapping dmap into a sparse part of the file plus the bmbt split. We in xfs_reflink_remap_extent()
1193 resblks + dmap->br_blockcount, 0, false, &tp); in xfs_reflink_remap_extent()
1205 * dmap to the destination file. in xfs_reflink_remap_extent()
1208 error = xfs_bmapi_read(ip, dmap->br_startoff, dmap->br_blockcount, in xfs_reflink_remap_extent()
1212 ASSERT(nimaps == 1 && smap.br_startoff == dmap->br_startoff); in xfs_reflink_remap_extent()
1219 dmap in xfs_reflink_remap_extent()
1152 xfs_reflink_remap_extent( struct xfs_inode *ip, struct xfs_bmbt_irec *dmap, xfs_off_t new_isize) xfs_reflink_remap_extent() argument
[all...]
/kernel/linux/linux-6.6/fs/jfs/
H A Djfs_dmap.c24 * 1) allocation and free requests that start at the dmap
25 * level and move up through the dmap control pages (i.e.
28 * 2) allocation requests that start at dmap control page
35 * as it works it way up from a single dmap to the required level
36 * of dmap control page.
45 * in addition to information found in dmaps and dmap control pages,
64 static void dbAllocBits(struct bmap * bmp, struct dmap * dp, s64 blkno,
73 static int dbAllocNext(struct bmap * bmp, struct dmap * dp, s64 blkno,
75 static int dbAllocNear(struct bmap * bmp, struct dmap * dp, s64 blkno,
78 static int dbAllocDmap(struct bmap * bmp, struct dmap * d
[all...]
/kernel/linux/linux-5.10/drivers/misc/sgi-gru/
H A Dgrufault.c143 struct gru_tlb_fault_map *dmap) in get_clear_fault_map()
158 dmap->fault_bits[i] = k; in get_clear_fault_map()
522 struct gru_tlb_fault_map imap, dmap; in gru_intr() local
536 get_clear_fault_map(gru, &imap, &dmap); in gru_intr()
538 "cpu %d, chiplet %d, gid %d, imap %016lx %016lx, dmap %016lx %016lx\n", in gru_intr()
541 dmap.fault_bits[0], dmap.fault_bits[1]); in gru_intr()
543 for_each_cbr_in_tfm(cbrnum, dmap.fault_bits) { in gru_intr()
141 get_clear_fault_map(struct gru_state *gru, struct gru_tlb_fault_map *imap, struct gru_tlb_fault_map *dmap) get_clear_fault_map() argument
/kernel/linux/linux-6.6/drivers/misc/sgi-gru/
H A Dgrufault.c143 struct gru_tlb_fault_map *dmap) in get_clear_fault_map()
158 dmap->fault_bits[i] = k; in get_clear_fault_map()
522 struct gru_tlb_fault_map imap, dmap; in gru_intr() local
536 get_clear_fault_map(gru, &imap, &dmap); in gru_intr()
538 "cpu %d, chiplet %d, gid %d, imap %016lx %016lx, dmap %016lx %016lx\n", in gru_intr()
541 dmap.fault_bits[0], dmap.fault_bits[1]); in gru_intr()
543 for_each_cbr_in_tfm(cbrnum, dmap.fault_bits) { in gru_intr()
141 get_clear_fault_map(struct gru_state *gru, struct gru_tlb_fault_map *imap, struct gru_tlb_fault_map *dmap) get_clear_fault_map() argument
/kernel/linux/linux-5.10/drivers/soc/ti/
H A Domap_prm.c57 const struct omap_prm_domain_map *dmap; member
146 .pwrstctrl = 0, .pwrstst = 0x4, .dmap = &omap_prm_all,
158 .pwrstctrl = 0, .pwrstst = 0x4, .dmap = &omap_prm_nooff,
195 .pwrstctrl = 0, .pwrstst = 0x10, .dmap = &omap_prm_noinact,
215 .pwrstctrl = 0, .pwrstst = 0x4, .dmap = &omap_prm_onoff_noauto,
387 prmd->cap = prmd->prm->data->dmap; in omap_prm_domain_init()
/kernel/linux/linux-5.10/drivers/staging/media/ipu3/
H A Dipu3.c76 &imgu_pipe->queues[i].dmap); in imgu_dummybufs_cleanup()
97 &imgu_pipe->queues[i].dmap, size)) { in imgu_dummybufs_preallocate()
137 &imgu_pipe->queues[i].dmap, in imgu_dummybufs_init()
145 imgu_pipe->queues[i].dmap.daddr); in imgu_dummybufs_init()
162 if (WARN_ON(!imgu_pipe->queues[queue].dmap.vaddr)) in imgu_dummybufs_get()
175 imgu_pipe->queues[queue].dmap.daddr); in imgu_dummybufs_get()
H A Dipu3.h110 struct imgu_css_map dmap; member
/kernel/linux/linux-6.6/drivers/staging/media/ipu3/
H A Dipu3.c76 &imgu_pipe->queues[i].dmap); in imgu_dummybufs_cleanup()
97 &imgu_pipe->queues[i].dmap, size)) { in imgu_dummybufs_preallocate()
137 &imgu_pipe->queues[i].dmap, in imgu_dummybufs_init()
145 imgu_pipe->queues[i].dmap.daddr); in imgu_dummybufs_init()
162 if (WARN_ON(!imgu_pipe->queues[queue].dmap.vaddr)) in imgu_dummybufs_get()
175 imgu_pipe->queues[queue].dmap.daddr); in imgu_dummybufs_get()
H A Dipu3.h105 struct imgu_css_map dmap; member
/kernel/linux/linux-5.10/drivers/edac/
H A Dpnd2_edac.c439 static struct d_cr_dmap dmap[DNV_NUM_CHANNELS]; variable
495 RD_REGP(&dmap[i], d_cr_dmap, dnv_dports[i]) || in dnv_get_registers()
1000 daddr->rank = dnv_get_bit(pmiaddr, dmap[pmiidx].rs0 + 13, 0); in dnv_pmi2mem()
1002 daddr->rank |= dnv_get_bit(pmiaddr, dmap[pmiidx].rs1 + 13, 1); in dnv_pmi2mem()
1010 daddr->bank = dnv_get_bit(pmiaddr, dmap[pmiidx].ba0 + 6, 0); in dnv_pmi2mem()
1011 daddr->bank |= dnv_get_bit(pmiaddr, dmap[pmiidx].ba1 + 6, 1); in dnv_pmi2mem()
1012 daddr->bank |= dnv_get_bit(pmiaddr, dmap[pmiidx].bg0 + 6, 2); in dnv_pmi2mem()
1014 daddr->bank |= dnv_get_bit(pmiaddr, dmap[pmiidx].bg1 + 6, 3); in dnv_pmi2mem()
/kernel/linux/linux-6.6/drivers/edac/
H A Dpnd2_edac.c417 static struct d_cr_dmap dmap[DNV_NUM_CHANNELS]; variable
473 RD_REGP(&dmap[i], d_cr_dmap, dnv_dports[i]) || in dnv_get_registers()
978 daddr->rank = dnv_get_bit(pmiaddr, dmap[pmiidx].rs0 + 13, 0); in dnv_pmi2mem()
980 daddr->rank |= dnv_get_bit(pmiaddr, dmap[pmiidx].rs1 + 13, 1); in dnv_pmi2mem()
988 daddr->bank = dnv_get_bit(pmiaddr, dmap[pmiidx].ba0 + 6, 0); in dnv_pmi2mem()
989 daddr->bank |= dnv_get_bit(pmiaddr, dmap[pmiidx].ba1 + 6, 1); in dnv_pmi2mem()
990 daddr->bank |= dnv_get_bit(pmiaddr, dmap[pmiidx].bg0 + 6, 2); in dnv_pmi2mem()
992 daddr->bank |= dnv_get_bit(pmiaddr, dmap[pmiidx].bg1 + 6, 3); in dnv_pmi2mem()

Completed in 28 milliseconds

12