/openbmc/bios-bmc-smm-error-logger/src/ |
H A D | pci_handler.cpp | 19 PciDataHandler::PciDataHandler(uint32_t regionAddress, size_t regionSize, in PciDataHandler() argument 21 regionSize(regionSize), fd(std::move(fd)), in PciDataHandler() 23 *this->fd, regionSize, stdplus::fd::ProtFlags{PROT_READ | PROT_WRITE}, in PciDataHandler() 30 if (offset > regionSize || length == 0) in read() 35 offset, regionSize, length); in read() 41 (offset + length < regionSize) ? length : regionSize - offset; in read() 52 if (offset > regionSize || length == 0) in write() 57 offset, regionSize, length); in write() 63 (offset + length < regionSize) ? length : regionSize - offset; in write() 70 return regionSize; in getMemoryRegionSize()
|
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/ |
H A D | lpc_aspeed.hpp | 19 createAspeedMapper(std::uint32_t regionAddress, std::size_t regionSize); 24 LpcMapperAspeed(std::uint32_t regionAddress, std::size_t regionSize, in LpcMapperAspeed() argument 26 regionAddress(regionAddress), regionSize(regionSize), sys(sys) {}; in LpcMapperAspeed() 53 std::size_t regionSize; member in ipmi_flash::LpcMapperAspeed
|
H A D | lpc_aspeed.cpp | 39 std::uint32_t regionAddress, std::size_t regionSize) in createAspeedMapper() argument 44 return std::make_unique<LpcMapperAspeed>(regionAddress, regionSize); in createAspeedMapper() 51 sys->munmap(mappedRegion, regionSize); in close() 69 if (offset + length > regionSize) in mapWindow() 75 length, offset, regionSize); in mapWindow() 78 result.windowSize = regionSize - offset; in mapWindow() 150 sys->mmap(0, regionSize, PROT_READ, MAP_SHARED, mappedFd, 0)); in mapRegion()
|
H A D | lpc_nuvoton.hpp | 18 std::uint32_t regionAddress, std::uint32_t regionSize); 28 LpcMapperNuvoton(std::uint32_t regionAddress, std::uint32_t regionSize, in LpcMapperNuvoton() argument 30 regionAddress(regionAddress), memoryRegionSize(regionSize), sys(sys) {}; in LpcMapperNuvoton()
|
H A D | pci_handler.hpp | 21 PciDataHandler(std::uint32_t regionAddress, std::size_t regionSize, in PciDataHandler() argument 23 regionAddress(regionAddress), memoryRegionSize(regionSize), sys(sys) {}; in PciDataHandler()
|
H A D | lpc_nuvoton.cpp | 40 std::uint32_t regionAddress, std::uint32_t regionSize) in createNuvotonMapper() argument 43 return std::make_unique<LpcMapperNuvoton>(regionAddress, regionSize); in createNuvotonMapper()
|
/openbmc/bios-bmc-smm-error-logger/include/ |
H A D | pci_handler.hpp | 23 explicit PciDataHandler(uint32_t regionAddress, size_t regionSize, 32 uint32_t regionSize; member in bios_bmc_smm_error_logger::PciDataHandler
|
/openbmc/linux/drivers/net/ethernet/tehuti/ |
H A D | tehuti.c | 1888 u32 regionSize; in bdx_probe() local 1921 regionSize = pci_resource_len(pdev, 0); in bdx_probe() 1922 if (regionSize < BDX_REGS_SIZE) { in bdx_probe() 1924 pr_err("MMIO resource (%x) too small\n", regionSize); in bdx_probe() 1928 nic->regs = ioremap(pciaddr, regionSize); in bdx_probe()
|
/openbmc/qemu/chardev/ |
H A D | baum.c | 417 .regionSize = baum->x * baum->y, in baum_eat_packet()
|