Searched refs:region_info (Results 1 – 11 of 11) sorted by relevance
/linux-6.12.1/drivers/vfio/pci/pds/ |
D | dirty.c | 41 struct pds_lm_dirty_region_info *region_info; in pds_vfio_print_guest_region_info() local 46 region_info = kcalloc(max_regions, in pds_vfio_print_guest_region_info() 49 if (!region_info) in pds_vfio_print_guest_region_info() 53 dma_map_single(pdsc_dev, region_info, len, DMA_FROM_DEVICE); in pds_vfio_print_guest_region_info() 66 i, le64_to_cpu(region_info[i].dma_base), in pds_vfio_print_guest_region_info() 67 le32_to_cpu(region_info[i].page_count), in pds_vfio_print_guest_region_info() 68 region_info[i].page_size_log2); in pds_vfio_print_guest_region_info() 71 kfree(region_info); in pds_vfio_print_guest_region_info() 182 struct pds_lm_dirty_region_info *region_info, in pds_vfio_dirty_alloc_regions() argument 196 struct pds_lm_dirty_region_info *ri = ®ion_info[i]; in pds_vfio_dirty_alloc_regions() [all …]
|
/linux-6.12.1/samples/vfio-mdev/ |
D | mdpy.c | 439 struct vfio_region_info *region_info, in mdpy_get_region_info() argument 442 if (region_info->index >= VFIO_PCI_NUM_REGIONS && in mdpy_get_region_info() 443 region_info->index != MDPY_DISPLAY_REGION) in mdpy_get_region_info() 446 switch (region_info->index) { in mdpy_get_region_info() 448 region_info->offset = 0; in mdpy_get_region_info() 449 region_info->size = MDPY_CONFIG_SPACE_SIZE; in mdpy_get_region_info() 450 region_info->flags = (VFIO_REGION_INFO_FLAG_READ | in mdpy_get_region_info() 455 region_info->offset = MDPY_MEMORY_BAR_OFFSET; in mdpy_get_region_info() 456 region_info->size = mdev_state->memsize; in mdpy_get_region_info() 457 region_info->flags = (VFIO_REGION_INFO_FLAG_READ | in mdpy_get_region_info() [all …]
|
D | mbochs.c | 1039 struct vfio_region_info *region_info = &ext->base; in mbochs_get_region_info() local 1041 if (region_info->index >= MBOCHS_NUM_REGIONS) in mbochs_get_region_info() 1044 switch (region_info->index) { in mbochs_get_region_info() 1046 region_info->offset = 0; in mbochs_get_region_info() 1047 region_info->size = MBOCHS_CONFIG_SPACE_SIZE; in mbochs_get_region_info() 1048 region_info->flags = (VFIO_REGION_INFO_FLAG_READ | in mbochs_get_region_info() 1052 region_info->offset = MBOCHS_MEMORY_BAR_OFFSET; in mbochs_get_region_info() 1053 region_info->size = mdev_state->memsize; in mbochs_get_region_info() 1054 region_info->flags = (VFIO_REGION_INFO_FLAG_READ | in mbochs_get_region_info() 1059 region_info->offset = MBOCHS_MMIO_BAR_OFFSET; in mbochs_get_region_info() [all …]
|
D | mtty.c | 161 struct mdev_region_info region_info[VFIO_PCI_NUM_REGIONS]; member 680 if (!mdev_state->region_info[index].size) in mdev_read_base() 702 mdev_state->region_info[index].start = ((u64)start_hi << 32) | in mdev_read_base() 739 if (!mdev_state->region_info[index].start) in mdev_access() 1721 struct vfio_region_info *region_info, in mtty_get_region_info() argument 1727 bar_index = region_info->index; in mtty_get_region_info() 1749 mdev_state->region_info[bar_index].size = size; in mtty_get_region_info() 1750 mdev_state->region_info[bar_index].vfio_offset = in mtty_get_region_info() 1753 region_info->size = size; in mtty_get_region_info() 1754 region_info->offset = MTTY_VFIO_PCI_INDEX_TO_OFFSET(bar_index); in mtty_get_region_info() [all …]
|
/linux-6.12.1/drivers/fpga/tests/ |
D | fpga-region-test.c | 160 struct fpga_region_info region_info = { 0 }; in fpga_region_test_init() local 188 region_info.mgr = ctx->mgr; in fpga_region_test_init() 189 region_info.priv = ctx->bridge; in fpga_region_test_init() 190 region_info.get_bridges = fake_region_get_bridges; in fpga_region_test_init() 192 ctx->region = fpga_region_register_full(ctx->region_dev, ®ion_info); in fpga_region_test_init()
|
/linux-6.12.1/drivers/media/radio/wl128x/ |
D | fmdrv.h | 90 struct region_info { struct 139 struct region_info region; /* Current selected band */
|
D | fmdrv_common.c | 36 static struct region_info region_configs[] = {
|
/linux-6.12.1/drivers/net/ethernet/chelsio/cxgb4/ |
D | cudbg_lib.c | 2319 struct cudbg_region_info region_info[CTXT_CNM + 1] = { {0} }; in cudbg_dump_context_size() local 2325 rc = cudbg_get_ctxt_region_info(padap, region_info, mem_type); in cudbg_dump_context_size() 2330 if (!region_info[i].exist) { in cudbg_dump_context_size() 2337 size += (region_info[i].end - region_info[i].start + 1) / in cudbg_dump_context_size() 2394 struct cudbg_region_info region_info[CTXT_CNM + 1] = { {0} }; in cudbg_collect_dump_context() local 2405 rc = cudbg_get_ctxt_region_info(padap, region_info, mem_type); in cudbg_collect_dump_context() 2421 max_ctx_size = max(region_info[CTXT_EGRESS].end - in cudbg_collect_dump_context() 2422 region_info[CTXT_EGRESS].start + 1, in cudbg_collect_dump_context() 2423 region_info[CTXT_INGRESS].end - in cudbg_collect_dump_context() 2424 region_info[CTXT_INGRESS].start + 1); in cudbg_collect_dump_context() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dmub/ |
D | dmub_srv.h | 248 const struct dmub_srv_region_info *region_info; member
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dmub/src/ |
D | dmub_srv.c | 559 if (params->region_info->num_regions != DMUB_NUM_WINDOWS) in dmub_srv_calc_mem_info() 564 ¶ms->region_info->regions[i]; in dmub_srv_calc_mem_info()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm.c | 2341 struct dmub_srv_region_info region_info; in dm_dmub_sw_init() local 2464 ®ion_info); in dm_dmub_sw_init() 2475 r = amdgpu_bo_create_kernel(adev, region_info.fb_size, PAGE_SIZE, in dm_dmub_sw_init() 2488 memory_params.region_info = ®ion_info; in dm_dmub_sw_init()
|