/drivers/gpu/drm/i915/gvt/ |
D | firmware.c | 46 u64 mmio_size; member 88 size = sizeof(*h) + info->mmio_size + info->cfg_space_size; in expose_firmware_sysfs() 99 h->mmio_size = info->mmio_size; in expose_firmware_sysfs() 114 memcpy(gvt->firmware.mmio, p, info->mmio_size); in expose_firmware_sysfs() 179 VERIFY("mmio size", h->mmio_size, info->mmio_size); in verify_firmware() 232 mem = kmalloc(info->mmio_size, GFP_KERNEL); in intel_gvt_load_firmware() 266 h->mmio_size); in intel_gvt_load_firmware()
|
D | mmio.c | 54 (reg >= 0 && reg < gvt->device_info.mmio_size) 241 memcpy(vgpu->mmio.vreg, mmio, info->mmio_size); in intel_vgpu_reset_mmio() 297 vgpu->mmio.vreg = vzalloc(info->mmio_size); in intel_vgpu_init_mmio()
|
D | gvt.c | 198 info->mmio_size = 2 * 1024 * 1024; in init_device_info()
|
D | gvt.h | 68 u32 mmio_size; member
|
/drivers/pci/hotplug/ |
D | shpchp_hpc.c | 597 release_mem_region(ctrl->mmio_base, ctrl->mmio_size); in hpc_release_ctlr() 934 ctrl->mmio_size = pci_resource_len(pdev, 0); in shpc_init() 969 ctrl->mmio_size = 0x24 + 0x4 * num_slots; in shpc_init() 982 if (!request_mem_region(ctrl->mmio_base, ctrl->mmio_size, MY_NAME)) { in shpc_init() 988 ctrl->creg = ioremap(ctrl->mmio_base, ctrl->mmio_size); in shpc_init() 991 ctrl->mmio_size, ctrl->mmio_base); in shpc_init() 992 release_mem_region(ctrl->mmio_base, ctrl->mmio_size); in shpc_init()
|
D | shpchp.h | 104 unsigned long mmio_size; member
|
/drivers/misc/cxl/ |
D | trace.h | 558 unsigned long mmio_addr, unsigned long mmio_size, long rc), 561 mmio_addr, mmio_size, rc), 568 __field(unsigned long, mmio_size) 577 __entry->mmio_size = mmio_size; 587 __entry->mmio_size,
|
D | hcalls.c | 133 u64 *process_token, u64 *mmio_addr, u64 *mmio_size) in cxl_h_attach_process() argument 152 if (mmio_size) in cxl_h_attach_process() 153 *mmio_size = retbuf[2]; in cxl_h_attach_process()
|
D | guest.c | 522 u64 mmio_addr, mmio_size; in attach_afu_directed() local 586 &ctx->process_token, &mmio_addr, &mmio_size); in attach_afu_directed() 593 ctx->psn_size = mmio_size; in attach_afu_directed() 595 if (ctx->afu->pp_psa && mmio_size && in attach_afu_directed() 605 ctx->afu->pp_size = mmio_size; in attach_afu_directed()
|
D | hcalls.h | 56 u64 *process_token, u64 *mmio_addr, u64 *mmio_size);
|
D | sysfs.c | 228 __ATTR(mmio_size, S_IRUGO, mmio_size_show_master, NULL), 456 __ATTR_RO(mmio_size),
|
/drivers/acpi/ |
D | acpi_lpss.c | 95 resource_size_t mmio_size; member 410 || pdata->mmio_size < dev_desc->prv_offset + LPSS_CLK_SIZE) in register_device_clock() 660 pdata->mmio_size = dev_desc->prv_size_override; in acpi_lpss_create_device() 662 pdata->mmio_size = resource_size(rentry->res); in acpi_lpss_create_device() 664 pdata->mmio_size); in acpi_lpss_create_device() 1284 pdata->mmio_size < pdata->dev_desc->prv_offset + LPSS_LTR_SIZE) { in acpi_lpss_platform_notify() 1326 if (pdata->mmio_size >= pdata->dev_desc->prv_offset + LPSS_LTR_SIZE) in acpi_lpss_bind()
|
/drivers/scsi/ |
D | myrb.c | 2818 .mmio_size = DAC960_LA_mmio_size, 3094 .mmio_size = DAC960_PG_mmio_size, 3297 .mmio_size = DAC960_PD_mmio_size, 3495 .mmio_size = DAC960_PD_mmio_size, 3504 unsigned int mmio_size = privdata->mmio_size; in myrb_detect() local 3532 if (mmio_size < PAGE_SIZE) in myrb_detect() 3533 mmio_size = PAGE_SIZE; in myrb_detect() 3534 cb->mmio_base = ioremap_nocache(cb->pci_addr & PAGE_MASK, mmio_size); in myrb_detect()
|
D | myrs.c | 2294 unsigned int mmio_size = privdata->mmio_size; in myrs_detect() local 2312 if (mmio_size < PAGE_SIZE) in myrs_detect() 2313 mmio_size = PAGE_SIZE; in myrs_detect() 2314 cs->mmio_base = ioremap_nocache(cs->pci_addr & PAGE_MASK, mmio_size); in myrs_detect() 2665 .mmio_size = DAC960_GEM_mmio_size, 2915 .mmio_size = DAC960_BA_mmio_size, 3165 .mmio_size = DAC960_LP_mmio_size,
|
D | myrb.h | 955 unsigned int mmio_size; member
|
D | myrs.h | 958 unsigned int mmio_size; member
|
/drivers/gpu/drm/i915/ |
D | intel_uncore.c | 1605 int mmio_size; in uncore_mmio_setup() local 1617 mmio_size = 512 * 1024; in uncore_mmio_setup() 1619 mmio_size = 2 * 1024 * 1024; in uncore_mmio_setup() 1620 uncore->regs = pci_iomap(pdev, mmio_bar, mmio_size); in uncore_mmio_setup()
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_drv.c | 685 dev_priv->mmio_size = vmw_read(dev_priv, SVGA_REG_MEM_SIZE); in vmw_driver_load() 769 dev_priv->mmio_start, dev_priv->mmio_size / 1024); in vmw_driver_load() 772 dev_priv->mmio_size, MEMREMAP_WB); in vmw_driver_load()
|
D | vmwgfx_fifo.c | 143 vmw_mmio_write(dev_priv->mmio_size, fifo_mem + SVGA_FIFO_MAX); in vmw_fifo_init()
|
/drivers/gpu/drm/mga/ |
D | mga_dma.c | 425 dev_priv->mmio_size = pci_resource_len(dev->pdev, 1); in mga_driver_load() 729 err = drm_legacy_addmap(dev, dev_priv->mmio_base, dev_priv->mmio_size, in mga_do_dma_bootstrap()
|
D | mga_drv.h | 132 resource_size_t mmio_size; /**< Size of the MMIO region. */ member
|
/drivers/video/fbdev/sis/ |
D | sis.h | 515 unsigned long mmio_size; member
|
D | sis_main.c | 1889 fix->mmio_len = ivideo->mmio_size; in sisfb_get_fix() 6039 ivideo->mmio_size = pci_resource_len(pdev, 1); in sisfb_probe() 6221 if(!request_mem_region(ivideo->mmio_base, ivideo->mmio_size, "sisfb MMIO")) { in sisfb_probe() 6235 ivideo->mmio_vbase = ioremap(ivideo->mmio_base, ivideo->mmio_size); in sisfb_probe() 6241 error_2: release_mem_region(ivideo->mmio_base, ivideo->mmio_size); in sisfb_probe() 6260 ivideo->mmio_base, (unsigned long)ivideo->mmio_vbase, ivideo->mmio_size / 1024); in sisfb_probe() 6532 release_mem_region(ivideo->mmio_base, ivideo->mmio_size); in sisfb_remove()
|
/drivers/scsi/cxlflash/ |
D | superpipe.c | 1475 attach->mmio_size = sizeof(afu->afu_map->hosts[0].harea); in cxlflash_disk_attach() 1732 recover->mmio_size = sizeof(afu->afu_map->hosts[0].harea); in cxlflash_afu_recover()
|
/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
D | base.c | 2894 u64 mmio_base, mmio_size; local 2920 mmio_size = device->func->resource_size(device, 0); 3120 device->pri = ioremap(mmio_base, mmio_size);
|