/openbmc/qemu/hw/virtio/ |
H A D | virtio-mem.c | 221 first_bit = find_first_bit(vmem->bitmap, vmem->bitmap_size); in virtio_mem_for_each_plugged_range() 484 if (gpa < vmem->addr || gpa >= vmem->addr + vmem->usable_region_size) { in virtio_mem_valid_range() 487 if (gpa + size > vmem->addr + vmem->usable_region_size) { in virtio_mem_valid_range() 746 bitmap_clear(vmem->bitmap, 0, vmem->bitmap_size); in virtio_mem_unplug_all() 914 assert(!vmem->mr && vmem->dynamic_memslots); in virtio_mem_prepare_mr() 916 memory_region_init(vmem->mr, OBJECT(vmem), "virtio-mem", in virtio_mem_prepare_mr() 926 g_assert(!vmem->memslots && vmem->nb_memslots && vmem->dynamic_memslots); in virtio_mem_prepare_memslots() 1096 vmem->bitmap = bitmap_new(vmem->bitmap_size); in virtio_mem_device_realize() 1117 assert(!vmem->mr && !vmem->nb_memslots && !vmem->memslots); in virtio_mem_device_realize() 1121 vmstate_register_ram(&vmem->memdev->mr, DEVICE(vmem)); in virtio_mem_device_realize() [all …]
|
H A D | virtio-mem-pci.c | 45 VirtIOMEM *vmem = &pci_mem->vdev; in virtio_mem_pci_get_memory_region() local 48 return vmc->get_memory_region(vmem, errp); in virtio_mem_pci_get_memory_region() 58 vmc->decide_memslots(vmem, limit); in virtio_mem_pci_decide_memslots() 67 return vmc->get_memslots(vmem); in virtio_mem_pci_get_memslots() 82 VirtIOMEM *vmem = &pci_mem->vdev; in virtio_mem_pci_fill_device_info() local 91 vpc->fill_device_info(vmem, vi); in virtio_mem_pci_fill_device_info() 118 VirtIOMEM *vmem = &pci_mem->vdev; in virtio_mem_pci_unplug_request_check() local 121 vpc->unplug_request_check(vmem, errp); in virtio_mem_pci_unplug_request_check() 184 VirtIOMEM *vmem; in virtio_mem_pci_instance_init() local 190 vmem = &dev->vdev; in virtio_mem_pci_instance_init() [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/ |
H A D | ia_css_isp_states.c | 32 unsigned int size = binary->info->mem_offsets.offsets.state->vmem.aa.size; in ia_css_initialize_aa_state() 34 unsigned int offset = binary->info->mem_offsets.offsets.state->vmem.aa.offset; in ia_css_initialize_aa_state() 54 unsigned int size = binary->info->mem_offsets.offsets.state->vmem.cnr.size; in ia_css_initialize_cnr_state() 56 unsigned int offset = binary->info->mem_offsets.offsets.state->vmem.cnr.offset; in ia_css_initialize_cnr_state() 78 unsigned int size = binary->info->mem_offsets.offsets.state->vmem.cnr2.size; in ia_css_initialize_cnr2_state() 80 unsigned int offset = binary->info->mem_offsets.offsets.state->vmem.cnr2.offset; in ia_css_initialize_cnr2_state() 102 unsigned int size = binary->info->mem_offsets.offsets.state->vmem.dp.size; in ia_css_initialize_dp_state() 104 unsigned int offset = binary->info->mem_offsets.offsets.state->vmem.dp.offset; in ia_css_initialize_dp_state() 126 unsigned int size = binary->info->mem_offsets.offsets.state->vmem.de.size; in ia_css_initialize_de_state() 128 unsigned int offset = binary->info->mem_offsets.offsets.state->vmem.de.offset; in ia_css_initialize_de_state() [all …]
|
H A D | ia_css_isp_states.h | 56 } vmem; member
|
H A D | ia_css_3a.h | 47 } vmem; member
|
H A D | ia_css_isp_params.c | 134 stage->binary->info->mem_offsets.offsets.param->vmem.anr2.size; in ia_css_process_anr2() 137 stage->binary->info->mem_offsets.offsets.param->vmem.anr2.offset; in ia_css_process_anr2() 918 stage->binary->info->mem_offsets.offsets.param->vmem.ob.size; in ia_css_process_ob() 921 stage->binary->info->mem_offsets.offsets.param->vmem.ob.offset; in ia_css_process_ob() 1126 stage->binary->info->mem_offsets.offsets.param->vmem.sdis_horicoef.size; in ia_css_process_sdis_horicoef() 1129 stage->binary->info->mem_offsets.offsets.param->vmem.sdis_horicoef.offset; in ia_css_process_sdis_horicoef() 1161 stage->binary->info->mem_offsets.offsets.param->vmem.sdis_vertcoef.size; in ia_css_process_sdis_vertcoef() 1164 stage->binary->info->mem_offsets.offsets.param->vmem.sdis_vertcoef.offset; in ia_css_process_sdis_vertcoef() 1266 stage->binary->info->mem_offsets.offsets.param->vmem.sdis2_horicoef.size; in ia_css_process_sdis2_horicoef() 1269 stage->binary->info->mem_offsets.offsets.param->vmem.sdis2_horicoef.offset; in ia_css_process_sdis2_horicoef() [all …]
|
H A D | ia_css_isp_params.h | 124 } vmem; member
|
/openbmc/qemu/include/hw/virtio/ |
H A D | virtio-mem.h | 126 MemoryRegion *(*get_memory_region)(VirtIOMEM *vmem, Error **errp); 127 void (*decide_memslots)(VirtIOMEM *vmem, unsigned int limit); 128 unsigned int (*get_memslots)(VirtIOMEM *vmem); 129 void (*add_size_change_notifier)(VirtIOMEM *vmem, Notifier *notifier); 130 void (*remove_size_change_notifier)(VirtIOMEM *vmem, Notifier *notifier); 131 void (*unplug_request_check)(VirtIOMEM *vmem, Error **errp);
|
/openbmc/qemu/tests/tcg/hexagon/ |
H A D | hvx_histogram_row.S | 79 { v12.tmp = vmem(R0++#1) 86 { v13.tmp = vmem(r0 + #0) 246 v1.tmp = vmem(r4 + #0) /* update hist[0-31] */ 248 vmem(r4++#1) = v0.new 257 vmem(r4++#1) = v4.new 266 vmem(r4++#1) = v8.new 271 vmem(r4++#1) = v12.new 277 vmem(r4++#1) = v16.new 282 vmem(r4++#1) = v20.new 287 vmem(r4++#1) = v24.new [all …]
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | ssd1307fb.c | 217 u8 *vmem = par->info->screen_buffer; in ssd1307fb_update_rect() local 274 u8 byte = vmem[(8 * i + k) * line_length + in ssd1307fb_update_rect() 602 void *vmem; in ssd1307fb_probe() local 678 vmem = (void *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, in ssd1307fb_probe() 680 if (!vmem) { in ssd1307fb_probe() 708 info->screen_buffer = vmem; in ssd1307fb_probe() 709 info->fix.smem_start = __pa(vmem); in ssd1307fb_probe()
|
H A D | hyperv_fb.c | 943 void *vmem; in hvfb_get_phymem() local 961 vmem = dma_alloc_coherent(&hdev->device, in hvfb_get_phymem() 966 if (!vmem) in hvfb_get_phymem() 969 paddr = virt_to_phys(vmem); in hvfb_get_phymem()
|
/openbmc/linux/drivers/infiniband/hw/irdma/ |
H A D | puda.c | 899 struct irdma_virt_mem *vmem; in irdma_puda_dele_rsrc() local 906 vmem = &vsi->ilq_mem; in irdma_puda_dele_rsrc() 913 vmem = &vsi->ieq_mem; in irdma_puda_dele_rsrc() 959 kfree(vmem->va); in irdma_puda_dele_rsrc() 1016 vmem = &vsi->ilq_mem; in irdma_puda_create_rsrc() 1019 vmem = &vsi->ieq_mem; in irdma_puda_create_rsrc() 1025 vmem->va = kzalloc(vmem->size, GFP_KERNEL); in irdma_puda_create_rsrc() 1026 if (!vmem->va) in irdma_puda_create_rsrc() 1029 rsrc = vmem->va; in irdma_puda_create_rsrc() 1033 vsi->ilq = vmem->va; in irdma_puda_create_rsrc() [all …]
|
H A D | hmc.c | 495 struct irdma_virt_mem *vmem = in irdma_add_sd_table_entry() local 498 vmem->size = sizeof(struct irdma_hmc_pd_entry) * 512; in irdma_add_sd_table_entry() 499 vmem->va = kzalloc(vmem->size, GFP_KERNEL); in irdma_add_sd_table_entry() 500 if (!vmem->va) { in irdma_add_sd_table_entry() 506 sd_entry->u.pd_table.pd_entry = vmem->va; in irdma_add_sd_table_entry()
|
/openbmc/qemu/target/hexagon/imported/mmvec/ |
H A D | encode_ext.def | 65 DEF_FIELDROW_DESC32( ICLASS_NCJ" 1 000 --- ----- PP i --iii ----- ---","[#0] vmem(Rt… 157 DEF_FIELDROW_DESC32( ICLASS_NCJ" 1 001 --- ----- PP - ----- ddddd ---","[#1] vmem(Rx… 182 DEF_FIELDROW_DESC32( ICLASS_NCJ" 1 011 --- ----- PP - ----- ----- ---","[#3] vmem(Rx++#M… 211 DEF_ENC(V6_vgathermw, ICLASS_NCJ" 1 111 000 ttttt PP u --000 --- vvvvv") // vtmp.w=vmem(… 212 DEF_ENC(V6_vgathermh, ICLASS_NCJ" 1 111 000 ttttt PP u --001 --- vvvvv") // vtmp.h=vmem(… 213 DEF_ENC(V6_vgathermhw, ICLASS_NCJ" 1 111 000 ttttt PP u --010 --- vvvvv") // vtmp.h=vmem… 222 DEF_ENC(V6_vscattermw, ICLASS_NCJ" 1 111 001 ttttt PP u vvvvv 000 wwwww") // vmem(Rt32,M… 223 DEF_ENC(V6_vscattermh, ICLASS_NCJ" 1 111 001 ttttt PP u vvvvv 001 wwwww") // vmem(Rt32,M… 224 DEF_ENC(V6_vscattermhw, ICLASS_NCJ" 1 111 001 ttttt PP u vvvvv 010 wwwww") // vmem(Rt32,Mu2,… 226 DEF_ENC(V6_vscattermw_add, ICLASS_NCJ" 1 111 001 ttttt PP u vvvvv 100 wwwww") // vmem(Rt32,M… [all …]
|
H A D | ext.idef | 258 #define MMVEC_LD(TAG,DESCR,ATTRIB,NT) MMVEC_EACH_EA(TAG,DESCR,ATTRIB,NT,"Vd32=vmem","",fLOADMMV(EA,… 259 #define MMVEC_LDC(TAG,DESCR,ATTRIB,NT) MMVEC_EACH_EA(TAG##_cur,DESCR,ATTRIB,NT,"Vd32.cur=vmem","",f… 260 #define MMVEC_LDT(TAG,DESCR,ATTRIB,NT) MMVEC_EACH_EA(TAG##_tmp,DESCR,ATTRIB,NT,"Vd32.tmp=vmem","",f… 265 MMVEC_EACH_EA(TAG##_qpred,DESCR,ATTRIB,NT,"if (Qv4) vmem","=Vs32",fSTOREMMVQ(EA,VsV,QvV)) \ 266 MMVEC_EACH_EA(TAG##_nqpred,DESCR,ATTRIB,NT,"if (!Qv4) vmem","=Vs32",fSTOREMMVNQ(EA,VsV,QvV)) 280 …onditional Aligned Vector Load",ATTRIBS(ATTR_VMEM,A_LOAD,A_CVI_VA),,"Vd32=vmem",,Pv,fLOADMMV(EA,Vd… 282 …l Aligned Vector Load Tmp",ATTRIBS(ATTR_VMEM,A_LOAD,A_CVI_TMP),,"Vd32.tmp=vmem",,Pv,fLOADMMV(EA,Vd… 284 … Vector Store",ATTRIBS(ATTR_VMEM,A_STORE,A_RESTRICT_SLOT0ONLY,A_CVI_VA),,"vmem","=Vs32",fSTOREMMV(… 285 … Vector Store",ATTRIBS(ATTR_VMEM,A_STORE,A_RESTRICT_SLOT0ONLY,A_CVI_VA),,"vmem","=Vs32",Pv,fSTOREM… 327 …t,"Conditional Aligned Vector Load",ATTRIBS(ATTR_VMEM_NT,A_CVI_VA),,"Vd32=vmem",":nt",Pv,fLOADMMV(… [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/ |
H A D | isp_local.h | 47 bool vmem; member
|
H A D | isp.c | 70 stall->vmem = in isp_get_state()
|
/openbmc/linux/arch/s390/mm/ |
H A D | Makefile | 6 obj-y := init.o fault.o extmem.o mmap.o vmem.o maccess.o
|
/openbmc/linux/Documentation/fb/ |
H A D | pxafb.rst | 10 modprobe pxafb options=vmem:2M,mode:640x480-8,passive 14 video=pxafb:vmem:2M,mode:640x480-8,passive 16 vmem: VIDEO_MEM_SIZE
|
/openbmc/linux/arch/mips/boot/dts/ingenic/ |
H A D | rs90.dts | 24 vmem: video-memory@1f00000 { label 313 memory-region = <&vmem>;
|
/openbmc/linux/drivers/staging/media/ipu3/ |
H A D | ipu3-css-fw.h | 40 } vmem; member
|
/openbmc/linux/drivers/staging/fbtft/ |
H A D | fbtft-core.c | 541 u8 *vmem = NULL; in fbtft_framebuffer_alloc() local 610 vmem = vzalloc(vmem_size); in fbtft_framebuffer_alloc() 611 if (!vmem) in fbtft_framebuffer_alloc() 640 info->screen_buffer = vmem; in fbtft_framebuffer_alloc() 750 vfree(vmem); in fbtft_framebuffer_alloc()
|
/openbmc/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_nvm.c | 603 struct i40e_virt_mem vmem; in i40e_calc_nvm_checksum() local 611 ret_code = i40e_allocate_virt_mem(hw, &vmem, in i40e_calc_nvm_checksum() 615 data = (u16 *)vmem.va; in i40e_calc_nvm_checksum() 669 i40e_free_virt_mem(hw, &vmem); in i40e_calc_nvm_checksum()
|
/openbmc/linux/arch/s390/boot/ |
H A D | Makefile | 38 obj-y := head.o als.o startup.o physmem_info.o ipl_parm.o ipl_report.o vmem.o
|
/openbmc/linux/arch/arm/boot/dts/st/ |
H A D | ste-ux500-samsung-golden.dts | 451 vmem_3v3: regulator-vmem {
|