Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/gpu/drm/i915/gvt/
Dfirmware.c46 u64 mmio_size; member
80 size = offsetof(struct gvt_firmware_header, data) + info->mmio_size + info->cfg_space_size; in expose_firmware_sysfs()
91 h->mmio_size = info->mmio_size; in expose_firmware_sysfs()
103 info->mmio_size); in expose_firmware_sysfs()
105 memcpy(p, gvt->firmware.mmio, info->mmio_size); in expose_firmware_sysfs()
169 VERIFY("mmio size", h->mmio_size, info->mmio_size); in verify_firmware()
221 mem = vmalloc(info->mmio_size); in intel_gvt_load_firmware()
255 h->mmio_size); in intel_gvt_load_firmware()
Dmmio.c58 (reg >= 0 && reg < gvt->device_info.mmio_size)
251 memcpy(vgpu->mmio.vreg, mmio, info->mmio_size); in intel_vgpu_reset_mmio()
315 vgpu->mmio.vreg = vzalloc(info->mmio_size); in intel_vgpu_init_mmio()
Dgvt.h67 u32 mmio_size; member
Dkvmgt.c1726 info->mmio_size = 2 * 1024 * 1024; in init_device_info()
/linux-6.6.21/drivers/pci/hotplug/
Dshpchp_hpc.c575 release_mem_region(ctrl->mmio_base, ctrl->mmio_size); in hpc_release_ctlr()
911 ctrl->mmio_size = pci_resource_len(pdev, 0); in shpc_init()
946 ctrl->mmio_size = 0x24 + 0x4 * num_slots; in shpc_init()
959 if (!request_mem_region(ctrl->mmio_base, ctrl->mmio_size, MY_NAME)) { in shpc_init()
965 ctrl->creg = ioremap(ctrl->mmio_base, ctrl->mmio_size); in shpc_init()
968 ctrl->mmio_size, ctrl->mmio_base); in shpc_init()
969 release_mem_region(ctrl->mmio_base, ctrl->mmio_size); in shpc_init()
Dshpchp.h104 unsigned long mmio_size; member
/linux-6.6.21/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-6.6.21/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.c528 u64 mmio_addr, mmio_size; in attach_afu_directed() local
592 &ctx->process_token, &mmio_addr, &mmio_size); in attach_afu_directed()
599 ctx->psn_size = mmio_size; in attach_afu_directed()
601 if (ctx->afu->pp_psa && mmio_size && in attach_afu_directed()
611 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-6.6.21/drivers/acpi/
Dacpi_lpss.c98 resource_size_t mmio_size; member
441 || pdata->mmio_size < dev_desc->prv_offset + LPSS_CLK_SIZE) in register_device_clock()
677 pdata->mmio_size = dev_desc->prv_size_override; in acpi_lpss_create_device()
679 pdata->mmio_size = resource_size(rentry->res); in acpi_lpss_create_device()
680 pdata->mmio_base = ioremap(rentry->res->start, pdata->mmio_size); in acpi_lpss_create_device()
1305 pdata->mmio_size < pdata->dev_desc->prv_offset + LPSS_LTR_SIZE) { in acpi_lpss_platform_notify()
1347 if (pdata->mmio_size >= pdata->dev_desc->prv_offset + LPSS_LTR_SIZE) in acpi_lpss_bind()
/linux-6.6.21/drivers/pci/endpoint/functions/
Dpci-epf-mhi.c127 u32 mmio_size; member
482 epf_bar->size = epf_mhi->mmio_size; in pci_epf_mhi_core_init()
610 epf_mhi->mmio_size = resource_size(res); in pci_epf_mhi_bind()
612 epf_mhi->mmio = ioremap(epf_mhi->mmio_phys, epf_mhi->mmio_size); in pci_epf_mhi_bind()
/linux-6.6.21/drivers/scsi/
Dmyrb.c2758 .mmio_size = DAC960_LA_mmio_size,
3004 .mmio_size = DAC960_PG_mmio_size,
3195 .mmio_size = DAC960_PD_mmio_size,
3393 .mmio_size = DAC960_PD_mmio_size,
3402 unsigned int mmio_size = privdata->mmio_size; in myrb_detect() local
3434 if (mmio_size < PAGE_SIZE) in myrb_detect()
3435 mmio_size = PAGE_SIZE; in myrb_detect()
3436 cb->mmio_base = ioremap(cb->pci_addr & PAGE_MASK, mmio_size); in myrb_detect()
Dmyrs.c2290 unsigned int mmio_size = privdata->mmio_size; in myrs_detect() local
2308 if (mmio_size < PAGE_SIZE) in myrs_detect()
2309 mmio_size = PAGE_SIZE; in myrs_detect()
2310 cs->mmio_base = ioremap(cs->pci_addr & PAGE_MASK, mmio_size); in myrs_detect()
2624 .mmio_size = DAC960_GEM_mmio_size,
2843 .mmio_size = DAC960_BA_mmio_size,
3062 .mmio_size = DAC960_LP_mmio_size,
Dmyrb.h955 unsigned int mmio_size; member
Dmyrs.h958 unsigned int mmio_size; member
/linux-6.6.21/Documentation/ABI/testing/
Dsysfs-class-cxl41 What: /sys/class/cxl/<afu>/mmio_size
154 What: /sys/class/cxl/<afu>m/mmio_size
/linux-6.6.21/drivers/gpu/drm/i915/
Dintel_uncore.c2485 int mmio_size; in intel_uncore_setup_mmio() local
2498 mmio_size = 4 * 1024 * 1024; in intel_uncore_setup_mmio()
2500 mmio_size = 2 * 1024 * 1024; in intel_uncore_setup_mmio()
2502 mmio_size = 512 * 1024; in intel_uncore_setup_mmio()
2504 uncore->regs = ioremap(phys_addr, mmio_size); in intel_uncore_setup_mmio()
/linux-6.6.21/drivers/video/fbdev/sis/
Dsis.h514 unsigned long mmio_size; member
Dsis_main.c1892 fix->mmio_len = ivideo->mmio_size; in sisfb_get_fix()
6057 ivideo->mmio_size = pci_resource_len(pdev, 1); in sisfb_probe()
6235 if(!request_mem_region(ivideo->mmio_base, ivideo->mmio_size, "sisfb MMIO")) { in sisfb_probe()
6249 ivideo->mmio_vbase = ioremap(ivideo->mmio_base, ivideo->mmio_size); in sisfb_probe()
6255 error_2: release_mem_region(ivideo->mmio_base, ivideo->mmio_size); in sisfb_probe()
6274 ivideo->mmio_base, (unsigned long)ivideo->mmio_vbase, ivideo->mmio_size / 1024); in sisfb_probe()
6543 release_mem_region(ivideo->mmio_base, ivideo->mmio_size); in sisfb_remove()
/linux-6.6.21/drivers/scsi/cxlflash/
Dsuperpipe.c1475 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()
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/engine/device/
Dbase.c2967 u64 mmio_base, mmio_size; in nvkm_device_ctor() local
2989 mmio_size = device->func->resource_size(device, 0); in nvkm_device_ctor()
2992 device->pri = ioremap(mmio_base, mmio_size); in nvkm_device_ctor()
/linux-6.6.21/include/acpi/
Dactbl2.h1500 u32 mmio_size; member

12