Home
last modified time | relevance | path

Searched refs:mmio_size (Results 1 – 25 of 27) sorted by relevance

12

/Linux-v5.15/drivers/gpu/drm/i915/gvt/
Dfirmware.c46 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()
Dmmio.c54 (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()
Dgvt.c73 info->mmio_size = 2 * 1024 * 1024; in init_device_info()
Dgvt.h72 u32 mmio_size; member
/Linux-v5.15/drivers/pci/hotplug/
Dshpchp_hpc.c592 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()
Dshpchp.h104 unsigned long mmio_size; member
/Linux-v5.15/include/uapi/scsi/
Dcxlflash_ioctl.h78 __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/
Dtrace.h558 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,
Dhcalls.c133 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()
Dhcalls.h56 u64 *process_token, u64 *mmio_addr, u64 *mmio_size);
Dguest.c522 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()
Dsysfs.c228 __ATTR(mmio_size, S_IRUGO, mmio_size_show_master, NULL),
456 __ATTR_RO(mmio_size),
/Linux-v5.15/drivers/acpi/
Dacpi_lpss.c97 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/
Dmyrb.c2753 .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()
Dmyrs.c2287 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,
Dmyrb.h955 unsigned int mmio_size; member
Dmyrs.h958 unsigned int mmio_size; member
/Linux-v5.15/Documentation/ABI/testing/
Dsysfs-class-cxl41 What: /sys/class/cxl/<afu>/mmio_size
154 What: /sys/class/cxl/<afu>m/mmio_size
/Linux-v5.15/drivers/gpu/drm/i915/
Dintel_uncore.c2042 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/
Dmga_drv.h130 resource_size_t mmio_size; /**< Size of the MMIO region. */ member
Dmga_dma.c426 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/
Dsis.h514 unsigned long mmio_size; member
Dsis_main.c1889 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/
Dsuperpipe.c1473 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/
Dbase.c2875 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()

12