/Linux-v5.15/drivers/gpu/drm/i915/gvt/ |
D | firmware.c | 46 u64 mmio_size; member 86 size = sizeof(*h) + info->mmio_size + info->cfg_space_size; in expose_firmware_sysfs() 97 h->mmio_size = info->mmio_size; in expose_firmware_sysfs() 112 memcpy(gvt->firmware.mmio, p, info->mmio_size); in expose_firmware_sysfs() 176 VERIFY("mmio size", h->mmio_size, info->mmio_size); in verify_firmware() 228 mem = vmalloc(info->mmio_size); in intel_gvt_load_firmware() 262 h->mmio_size); in intel_gvt_load_firmware()
|
D | mmio.c | 54 (reg >= 0 && reg < gvt->device_info.mmio_size) 247 memcpy(vgpu->mmio.vreg, mmio, info->mmio_size); in intel_vgpu_reset_mmio() 311 vgpu->mmio.vreg = vzalloc(info->mmio_size); in intel_vgpu_init_mmio()
|
D | gvt.c | 73 info->mmio_size = 2 * 1024 * 1024; in init_device_info()
|
D | gvt.h | 72 u32 mmio_size; member
|
/Linux-v5.15/drivers/pci/hotplug/ |
D | shpchp_hpc.c | 592 release_mem_region(ctrl->mmio_base, ctrl->mmio_size); in hpc_release_ctlr() 929 ctrl->mmio_size = pci_resource_len(pdev, 0); in shpc_init() 964 ctrl->mmio_size = 0x24 + 0x4 * num_slots; in shpc_init() 977 if (!request_mem_region(ctrl->mmio_base, ctrl->mmio_size, MY_NAME)) { in shpc_init() 983 ctrl->creg = ioremap(ctrl->mmio_base, ctrl->mmio_size); in shpc_init() 986 ctrl->mmio_size, ctrl->mmio_base); in shpc_init() 987 release_mem_region(ctrl->mmio_base, ctrl->mmio_size); in shpc_init()
|
D | shpchp.h | 104 unsigned long mmio_size; member
|
/Linux-v5.15/include/uapi/scsi/ |
D | cxlflash_ioctl.h | 78 __u64 mmio_size; /* Returned size of MMIO area */ member 155 __u64 mmio_size; /* Returned size of MMIO area */ member
|
/Linux-v5.15/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 | hcalls.h | 56 u64 *process_token, u64 *mmio_addr, u64 *mmio_size);
|
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 | sysfs.c | 228 __ATTR(mmio_size, S_IRUGO, mmio_size_show_master, NULL), 456 __ATTR_RO(mmio_size),
|
/Linux-v5.15/drivers/acpi/ |
D | acpi_lpss.c | 97 resource_size_t mmio_size; member 412 || pdata->mmio_size < dev_desc->prv_offset + LPSS_CLK_SIZE) in register_device_clock() 647 pdata->mmio_size = dev_desc->prv_size_override; in acpi_lpss_create_device() 649 pdata->mmio_size = resource_size(rentry->res); in acpi_lpss_create_device() 651 pdata->mmio_size); in acpi_lpss_create_device() 1277 pdata->mmio_size < pdata->dev_desc->prv_offset + LPSS_LTR_SIZE) { in acpi_lpss_platform_notify() 1319 if (pdata->mmio_size >= pdata->dev_desc->prv_offset + LPSS_LTR_SIZE) in acpi_lpss_bind()
|
/Linux-v5.15/drivers/scsi/ |
D | myrb.c | 2753 .mmio_size = DAC960_LA_mmio_size, 2999 .mmio_size = DAC960_PG_mmio_size, 3190 .mmio_size = DAC960_PD_mmio_size, 3388 .mmio_size = DAC960_PD_mmio_size, 3397 unsigned int mmio_size = privdata->mmio_size; in myrb_detect() local 3425 if (mmio_size < PAGE_SIZE) in myrb_detect() 3426 mmio_size = PAGE_SIZE; in myrb_detect() 3427 cb->mmio_base = ioremap(cb->pci_addr & PAGE_MASK, mmio_size); in myrb_detect()
|
D | myrs.c | 2287 unsigned int mmio_size = privdata->mmio_size; in myrs_detect() local 2305 if (mmio_size < PAGE_SIZE) in myrs_detect() 2306 mmio_size = PAGE_SIZE; in myrs_detect() 2307 cs->mmio_base = ioremap(cs->pci_addr & PAGE_MASK, mmio_size); in myrs_detect() 2621 .mmio_size = DAC960_GEM_mmio_size, 2840 .mmio_size = DAC960_BA_mmio_size, 3059 .mmio_size = DAC960_LP_mmio_size,
|
D | myrb.h | 955 unsigned int mmio_size; member
|
D | myrs.h | 958 unsigned int mmio_size; member
|
/Linux-v5.15/Documentation/ABI/testing/ |
D | sysfs-class-cxl | 41 What: /sys/class/cxl/<afu>/mmio_size 154 What: /sys/class/cxl/<afu>m/mmio_size
|
/Linux-v5.15/drivers/gpu/drm/i915/ |
D | intel_uncore.c | 2042 int mmio_size; in uncore_mmio_setup() local 2055 mmio_size = 512 * 1024; in uncore_mmio_setup() 2057 mmio_size = 4 * 1024 * 1024; in uncore_mmio_setup() 2059 mmio_size = 2 * 1024 * 1024; in uncore_mmio_setup() 2061 uncore->regs = pci_iomap(pdev, mmio_bar, mmio_size); in uncore_mmio_setup()
|
/Linux-v5.15/drivers/gpu/drm/mga/ |
D | mga_drv.h | 130 resource_size_t mmio_size; /**< Size of the MMIO region. */ member
|
D | mga_dma.c | 426 dev_priv->mmio_size = pci_resource_len(pdev, 1); in mga_driver_load() 730 err = drm_legacy_addmap(dev, dev_priv->mmio_base, dev_priv->mmio_size, in mga_do_dma_bootstrap()
|
/Linux-v5.15/drivers/video/fbdev/sis/ |
D | sis.h | 514 unsigned long mmio_size; member
|
D | sis_main.c | 1889 fix->mmio_len = ivideo->mmio_size; in sisfb_get_fix() 6038 ivideo->mmio_size = pci_resource_len(pdev, 1); in sisfb_probe() 6220 if(!request_mem_region(ivideo->mmio_base, ivideo->mmio_size, "sisfb MMIO")) { in sisfb_probe() 6234 ivideo->mmio_vbase = ioremap(ivideo->mmio_base, ivideo->mmio_size); in sisfb_probe() 6240 error_2: release_mem_region(ivideo->mmio_base, ivideo->mmio_size); in sisfb_probe() 6259 ivideo->mmio_base, (unsigned long)ivideo->mmio_vbase, ivideo->mmio_size / 1024); in sisfb_probe() 6531 release_mem_region(ivideo->mmio_base, ivideo->mmio_size); in sisfb_remove()
|
/Linux-v5.15/drivers/scsi/cxlflash/ |
D | superpipe.c | 1473 attach->mmio_size = sizeof(afu->afu_map->hosts[0].harea); in cxlflash_disk_attach() 1730 recover->mmio_size = sizeof(afu->afu_map->hosts[0].harea); in cxlflash_afu_recover()
|
/Linux-v5.15/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
D | base.c | 2875 u64 mmio_base, mmio_size; in nvkm_device_ctor() local 2901 mmio_size = device->func->resource_size(device, 0); in nvkm_device_ctor() 2904 device->pri = ioremap(mmio_base, mmio_size); in nvkm_device_ctor()
|