Searched refs:region_info (Results 1 – 9 of 9) sorted by relevance
429 struct vfio_region_info *region_info, in mdpy_get_region_info() argument432 if (region_info->index >= VFIO_PCI_NUM_REGIONS && in mdpy_get_region_info()433 region_info->index != MDPY_DISPLAY_REGION) in mdpy_get_region_info()436 switch (region_info->index) { in mdpy_get_region_info()438 region_info->offset = 0; in mdpy_get_region_info()439 region_info->size = MDPY_CONFIG_SPACE_SIZE; in mdpy_get_region_info()445 region_info->offset = MDPY_MEMORY_BAR_OFFSET; in mdpy_get_region_info()446 region_info->size = mdev_state->memsize; in mdpy_get_region_info()452 region_info->size = 0; in mdpy_get_region_info()453 region_info->offset = 0; in mdpy_get_region_info()[all …]
1014 if (region_info->index >= MBOCHS_NUM_REGIONS) in mbochs_get_region_info()1017 switch (region_info->index) { in mbochs_get_region_info()1019 region_info->offset = 0; in mbochs_get_region_info()1020 region_info->size = MBOCHS_CONFIG_SPACE_SIZE; in mbochs_get_region_info()1025 region_info->offset = MBOCHS_MEMORY_BAR_OFFSET; in mbochs_get_region_info()1026 region_info->size = mdev_state->memsize; in mbochs_get_region_info()1032 region_info->offset = MBOCHS_MMIO_BAR_OFFSET; in mbochs_get_region_info()1033 region_info->size = MBOCHS_MMIO_BAR_SIZE; in mbochs_get_region_info()1052 region_info->size = 0; in mbochs_get_region_info()1053 region_info->offset = 0; in mbochs_get_region_info()[all …]
138 struct mdev_region_info region_info[VFIO_PCI_NUM_REGIONS]; member609 if (!mdev_state->region_info[index].size) in mdev_read_base()631 mdev_state->region_info[index].start = ((u64)start_hi << 32) | in mdev_read_base()668 if (!mdev_state->region_info[index].start) in mdev_access()1021 struct vfio_region_info *region_info, in mtty_get_region_info() argument1027 bar_index = region_info->index; in mtty_get_region_info()1049 mdev_state->region_info[bar_index].size = size; in mtty_get_region_info()1050 mdev_state->region_info[bar_index].vfio_offset = in mtty_get_region_info()1053 region_info->size = size; in mtty_get_region_info()1054 region_info->offset = MTTY_VFIO_PCI_INDEX_TO_OFFSET(bar_index); in mtty_get_region_info()[all …]
89 struct region_info { struct138 struct region_info region; /* Current selected band */
35 static struct region_info region_configs[] = {
2329 if (!region_info[i].exist) { in cudbg_dump_context_size()2336 size += (region_info[i].end - region_info[i].start + 1) / in cudbg_dump_context_size()2420 max_ctx_size = max(region_info[CTXT_EGRESS].end - in cudbg_collect_dump_context()2421 region_info[CTXT_EGRESS].start + 1, in cudbg_collect_dump_context()2422 region_info[CTXT_INGRESS].end - in cudbg_collect_dump_context()2423 region_info[CTXT_INGRESS].start + 1); in cudbg_collect_dump_context()2438 if (!region_info[i].exist) { in cudbg_collect_dump_context()2445 max_ctx_size = region_info[i].end - region_info[i].start + 1; in cudbg_collect_dump_context()2455 region_info[i].start, max_ctx_size, in cudbg_collect_dump_context()2492 max_ctx_size = region_info[CTXT_FLM].end - in cudbg_collect_dump_context()[all …]
202 const struct dmub_srv_region_info *region_info; member
394 if (params->region_info->num_regions != DMUB_NUM_WINDOWS) in dmub_srv_calc_fb_info()402 ¶ms->region_info->regions[i]; in dmub_srv_calc_fb_info()
1834 struct dmub_srv_region_info region_info; in dm_dmub_sw_init() local1949 ®ion_info); in dm_dmub_sw_init()1960 r = amdgpu_bo_create_kernel(adev, region_info.fb_size, PAGE_SIZE, in dm_dmub_sw_init()1971 fb_params.region_info = ®ion_info; in dm_dmub_sw_init()
Completed in 43 milliseconds