Home
last modified time | relevance | path

Searched refs:regionSize (Results 1 – 9 of 9) sorted by relevance

/openbmc/bios-bmc-smm-error-logger/src/
H A Dpci_handler.cpp19 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 Dlpc_aspeed.hpp19 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 Dlpc_aspeed.cpp39 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 Dlpc_nuvoton.hpp18 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 Dpci_handler.hpp21 PciDataHandler(std::uint32_t regionAddress, std::size_t regionSize, in PciDataHandler() argument
23 regionAddress(regionAddress), memoryRegionSize(regionSize), sys(sys) {}; in PciDataHandler()
H A Dlpc_nuvoton.cpp40 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 Dpci_handler.hpp23 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 Dtehuti.c1888 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 Dbaum.c417 .regionSize = baum->x * baum->y, in baum_eat_packet()