Home
last modified time | relevance | path

Searched refs:range_covers_byte (Results 1 – 21 of 21) sorted by relevance

/openbmc/qemu/hw/pci/
H A Dpcie_doe.c255 if (!range_covers_byte(doe_offset + PCI_EXP_DOE_CAP, in pcie_doe_read_config()
263 if (range_covers_byte(PCI_EXP_DOE_CAP, DWORD_BYTE, addr)) { in pcie_doe_read_config()
268 } else if (range_covers_byte(PCI_EXP_DOE_CTRL, DWORD_BYTE, addr)) { in pcie_doe_read_config()
272 } else if (range_covers_byte(PCI_EXP_DOE_STATUS, DWORD_BYTE, addr)) { in pcie_doe_read_config()
305 if (!range_covers_byte(doe_offset + PCI_EXP_DOE_CAP, in pcie_doe_write_config()
H A Dpcie_sriov.c237 if (range_covers_byte(off, len, PCI_SRIOV_CTRL)) { in pcie_sriov_config_write()
H A Dmsix.c186 if (!msix_present(dev) || !range_covers_byte(addr, len, enable_pos)) { in msix_write_config()
H A Dpci.c1630 range_covers_byte(addr, l, PCI_COMMAND)) in pci_default_write_config()
/openbmc/qemu/hw/i2c/
H A Dsmbus_ich9.c68 if (range_covers_byte(address, len, ICH9_SMB_HOSTC)) { in ich9_smbus_write_config()
/openbmc/qemu/hw/net/
H A Dvmware_utils.h143 range_covers_byte(base, cnt * regsize, addr)
H A Digb.c109 if (range_covers_byte(addr, len, PCI_COMMAND) && in igb_write_config()
H A De1000e.c405 if (range_covers_byte(address, len, PCI_COMMAND) && in e1000e_write_config()
H A De1000.c1631 if (range_covers_byte(address, len, PCI_COMMAND) && in e1000_write_config()
/openbmc/qemu/include/qemu/
H A Drange.h205 static inline int range_covers_byte(uint64_t offset, uint64_t len, in range_covers_byte() function
/openbmc/qemu/hw/usb/
H A Dhcd-ehci-pci.c131 if (!range_covers_byte(addr, l, PCI_COMMAND)) { in usb_ehci_pci_write_config()
/openbmc/qemu/hw/ide/
H A Dvia.c192 if (range_covers_byte(addr, len, PCI_CLASS_PROG)) { in via_ide_cfg_write()
/openbmc/qemu/hw/i386/xen/
H A Dxen-hvm.c186 if (range_covers_byte(physmap->start_addr, physmap->size, start_addr)) { in get_physmapping()
200 if (range_covers_byte(physmap->phys_offset, physmap->size, addr)) { in xen_phys_offset_to_gaddr()
/openbmc/qemu/hw/acpi/
H A Dpiix4.c117 if (range_covers_byte(address, len, 0x80) || in pm_write_config()
121 if (range_covers_byte(address, len, 0xd2) || in pm_write_config()
/openbmc/qemu/hw/isa/
H A Dvt82c686.c110 if (range_covers_byte(addr, len, 0x41)) { in pm_write_config()
117 if (range_covers_byte(addr, len, 0xd2)) { in pm_write_config()
/openbmc/qemu/hw/pci-host/
H A Di440fx.c110 range_covers_byte(address, len, I440FX_SMRAM)) { in i440fx_write_config()
/openbmc/qemu/hw/arm/
H A Domap1.c3810 return range_covers_byte(OMAP_EMIFF_BASE, s->sdram_size, addr); in omap_validate_emiff_addr()
3816 return range_covers_byte(OMAP_EMIFS_BASE, OMAP_EMIFF_BASE - OMAP_EMIFS_BASE, in omap_validate_emifs_addr()
3823 return range_covers_byte(OMAP_IMIF_BASE, s->sram_size, addr); in omap_validate_imif_addr()
3829 return range_covers_byte(0xfffb0000, 0xffff0000 - 0xfffb0000, addr); in omap_validate_tipb_addr()
3835 return range_covers_byte(OMAP_LOCALBUS_BASE, 0x1000000, addr); in omap_validate_local_addr()
3841 return range_covers_byte(0xe1010000, 0xe1020004 - 0xe1010000, addr); in omap_validate_tipb_mpui_addr()
/openbmc/qemu/hw/display/
H A Dsm501.c1175 assert(range_covers_byte(0, 0x400 * 3, addr)); in sm501_palette_read()
1189 assert(range_covers_byte(0, 0x400 * 3, addr)); in sm501_palette_write()
/openbmc/qemu/hw/virtio/
H A Dvirtio-pci.c745 if (range_covers_byte(off, len, PCI_ATS_CTRL + 1)) { in pcie_ats_config_write()
767 if (range_covers_byte(address, len, PCI_COMMAND)) { in virtio_write_config()
/openbmc/qemu/hw/vfio/
H A Dpci.c1296 range_covers_byte(addr, len, PCI_COMMAND)) { in vfio_pci_write_config()
/openbmc/qemu/system/
H A Dphysmem.c310 range_covers_byte(section->offset_within_address_space, in section_covers_addr()