Searched refs:region_index (Results 1 – 7 of 7) sorted by relevance
/drivers/md/ |
D | dm-switch.c | 127 unsigned long *region_index, unsigned *bit) in switch_get_position() argument 130 *region_index = region_nr >> sctx->region_entries_per_slot_bits; in switch_get_position() 133 *region_index = region_nr / sctx->region_entries_per_slot; in switch_get_position() 142 unsigned long region_index; in switch_region_table_read() local 145 switch_get_position(sctx, region_nr, ®ion_index, &bit); in switch_region_table_read() 147 return (READ_ONCE(sctx->region_table[region_index]) >> bit) & in switch_region_table_read() 177 unsigned long region_index; in switch_region_table_write() local 181 switch_get_position(sctx, region_nr, ®ion_index, &bit); in switch_region_table_write() 183 pte = sctx->region_table[region_index]; in switch_region_table_write() 186 sctx->region_table[region_index] = pte; in switch_region_table_write() [all …]
|
/drivers/fpga/ |
D | dfl-afu-region.c | 28 u32 region_index) in get_region_by_index() argument 33 if (region->index == region_index) in get_region_by_index() 50 u32 region_index, u64 region_size, u64 phys, u32 flags) in afu_mmio_region_add() argument 60 region->index = region_index; in afu_mmio_region_add() 70 if (get_region_by_index(afu, region_index)) { in afu_mmio_region_add() 113 u32 region_index, in afu_mmio_region_get_by_index() argument 122 region = get_region_by_index(afu, region_index); in afu_mmio_region_get_by_index()
|
D | dfl-afu.h | 88 u32 region_index, u64 region_size, u64 phys, u32 flags); 91 u32 region_index,
|
/drivers/bus/fsl-mc/ |
D | dprc.c | 519 u8 region_index, in dprc_get_obj_region() argument 566 cmd_params->region_index = region_index; in dprc_get_obj_region()
|
D | fsl-mc-private.h | 206 u8 region_index; member 407 u8 region_index,
|
/drivers/acpi/nfit/ |
D | core.c | 751 memdev->region_index, memdev->flags); in add_memdev() 821 dcr->region_index, dcr->windows); in add_dcr() 848 bdw->region_index, bdw->windows); in add_bdw() 1004 u16 dcr = nfit_mem->dcr->region_index; in nfit_mem_find_spa_bdw() 1020 if (nfit_memdev->memdev->region_index != dcr) in nfit_mem_find_spa_bdw() 1036 u16 dcr = __to_nfit_memdev(nfit_mem)->region_index; in nfit_mem_init_bdw() 1043 if (nfit_bdw->bdw->region_index != dcr) in nfit_mem_init_bdw() 1060 nfit_memdev->memdev->region_index != dcr) in nfit_mem_init_bdw() 1108 dcr = nfit_memdev->memdev->region_index; in __nfit_mem_init() 1130 if (nfit_dcr->dcr->region_index != dcr) in __nfit_mem_init() [all …]
|
/drivers/ufs/core/ |
D | ufshpb.c | 1144 static void ufshpb_submit_region_inactive(struct ufshpb_lu *hpb, int region_index) in ufshpb_submit_region_inactive() argument 1154 ufshpb_update_inactive_info(hpb, region_index); in ufshpb_submit_region_inactive() 1157 rgn = hpb->rgn_tbl + region_index; in ufshpb_submit_region_inactive()
|