Home
last modified time | relevance | path

Searched refs:region_index (Results 1 – 6 of 6) sorted by relevance

/drivers/md/
Ddm-switch.c128 unsigned long *region_index, unsigned int *bit) in switch_get_position() argument
131 *region_index = region_nr >> sctx->region_entries_per_slot_bits; in switch_get_position()
134 *region_index = region_nr / sctx->region_entries_per_slot; in switch_get_position()
143 unsigned long region_index; in switch_region_table_read() local
146 switch_get_position(sctx, region_nr, &region_index, &bit); in switch_region_table_read()
148 return (READ_ONCE(sctx->region_table[region_index]) >> bit) & in switch_region_table_read()
178 unsigned long region_index; in switch_region_table_write() local
182 switch_get_position(sctx, region_nr, &region_index, &bit); in switch_region_table_write()
184 pte = sctx->region_table[region_index]; in switch_region_table_write()
187 sctx->region_table[region_index] = pte; in switch_region_table_write()
[all …]
/drivers/fpga/
Ddfl-afu-region.c28 u32 region_index) in get_region_by_index() argument
33 if (region->index == region_index) in get_region_by_index()
51 u32 region_index, u64 region_size, u64 phys, u32 flags) in afu_mmio_region_add() argument
61 region->index = region_index; in afu_mmio_region_add()
71 if (get_region_by_index(afu, region_index)) { in afu_mmio_region_add()
114 u32 region_index, in afu_mmio_region_get_by_index() argument
123 region = get_region_by_index(afu, region_index); in afu_mmio_region_get_by_index()
Ddfl-afu.h88 u32 region_index, u64 region_size, u64 phys, u32 flags);
91 u32 region_index,
/drivers/bus/fsl-mc/
Ddprc.c519 u8 region_index, in dprc_get_obj_region() argument
566 cmd_params->region_index = region_index; in dprc_get_obj_region()
Dfsl-mc-private.h204 u8 region_index; member
405 u8 region_index,
/drivers/acpi/nfit/
Dcore.c753 memdev->region_index, memdev->flags); in add_memdev()
823 dcr->region_index, dcr->windows); in add_dcr()
850 bdw->region_index, bdw->windows); in add_bdw()
1036 dcr = nfit_memdev->memdev->region_index; in __nfit_mem_init()
1058 if (nfit_dcr->dcr->region_index != dcr) in __nfit_mem_init()
1497 if (nfit_dcr->dcr->region_index != memdev->region_index) in format1_show()