Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/gpu/drm/i915/gvt/
H A 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()
H A 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()
/openbmc/qemu/hw/core/
H A Dplatform-bus.c147 for (off = 0; off < pbus->mmio_size; off += alignment) { in platform_bus_map_mmio()
191 pbus->mmio_size); in platform_bus_realize()
206 DEFINE_PROP_UINT32("mmio_size", PlatformBusDevice, mmio_size, 0),
/openbmc/qemu/include/hw/
H A Dplatform-bus.h37 uint32_t mmio_size; member
/openbmc/linux/drivers/pci/hotplug/
H A 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()
H A Dshpchp.h104 unsigned long mmio_size; member
/openbmc/linux/include/uapi/scsi/
H A Dcxlflash_ioctl.h78 __u64 mmio_size; /* Returned size of MMIO area */ member
155 __u64 mmio_size; /* Returned size of MMIO area */ member
/openbmc/qemu/include/hw/pci-host/
H A Dxilinx-pcie.h50 uint64_t mmio_base, mmio_size; member
/openbmc/linux/drivers/misc/cxl/
H A 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,
H A 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()
H A Dhcalls.h56 u64 *process_token, u64 *mmio_addr, u64 *mmio_size);
H A 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()
H A Dsysfs.c228 __ATTR(mmio_size, S_IRUGO, mmio_size_show_master, NULL),
456 __ATTR_RO(mmio_size),
/openbmc/linux/drivers/acpi/
H A Dacpi_lpss.c98 resource_size_t mmio_size; member
442 || pdata->mmio_size < dev_desc->prv_offset + LPSS_CLK_SIZE) in register_device_clock()
678 pdata->mmio_size = dev_desc->prv_size_override; in acpi_lpss_create_device()
680 pdata->mmio_size = resource_size(rentry->res); in acpi_lpss_create_device()
681 pdata->mmio_base = ioremap(rentry->res->start, pdata->mmio_size); in acpi_lpss_create_device()
1306 pdata->mmio_size < pdata->dev_desc->prv_offset + LPSS_LTR_SIZE) { in acpi_lpss_platform_notify()
1348 if (pdata->mmio_size >= pdata->dev_desc->prv_offset + LPSS_LTR_SIZE) in acpi_lpss_bind()
/openbmc/linux/drivers/pci/endpoint/functions/
H A 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()
/openbmc/qemu/hw/pci-host/
H A Dxilinx-pcie.c164 DEFINE_PROP_SIZE("mmio_size", XilinxPCIEHost, mmio_size, 1 * MiB),
281 ((s->mmio_base + s->mmio_size - 1) >> 16) & 0xfff0); in xilinx_pcie_root_realize()
/openbmc/qemu/hw/openrisc/
H A Dvirt.c370 hwaddr mmio_base, hwaddr mmio_size, in openrisc_virt_pcie_init() argument
401 reg, mmio_base, mmio_size); in openrisc_virt_pcie_init()
437 mmio_base, 0, mmio_size); in openrisc_virt_pcie_init()
/openbmc/qemu/hw/mips/
H A Dboston.c430 hwaddr mmio_base, uint64_t mmio_size, in xilinx_pcie_init() argument
442 qdev_prop_set_uint64(dev, "mmio_size", mmio_size); in xilinx_pcie_init()
459 hwaddr reg_size, hwaddr mmio_base, hwaddr mmio_size) in fdt_create_pcie() argument
483 mmio_base, 0, mmio_size); in fdt_create_pcie()
/openbmc/qemu/hw/riscv/
H A Dvirt-acpi-build.c145 uint64_t mmio_base, uint64_t mmio_size, in acpi_dsdt_add_plic_aplic() argument
153 plic_aplic_addr = mmio_base + mmio_size * socket; in acpi_dsdt_add_plic_aplic()
161 aml_append(crs, aml_memory32_fixed(plic_aplic_addr, mmio_size, in acpi_dsdt_add_plic_aplic()
/openbmc/linux/drivers/scsi/
H A 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()
H A 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,
H A Dmyrb.h955 unsigned int mmio_size; member
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-class-cxl41 What: /sys/class/cxl/<afu>/mmio_size
154 What: /sys/class/cxl/<afu>m/mmio_size
/openbmc/qemu/hw/ppc/
H A De500.c1125 uint64_t mmio_size = memory_region_size(&pms->pbus_dev->mmio); in ppce500_init() local
1134 if (size > mmio_size) { in ppce500_init()
1136 " bytes.", mmio_size); in ppce500_init()
/openbmc/linux/drivers/gpu/drm/i915/
H A 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()

12