Home
last modified time | relevance | path

Searched refs:DWORD_BYTE (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/hw/pci/
H A Dpcie_doe.c21 #define DWORD_BYTE 4 macro
45 DIV_ROUND_UP(sizeof(DoeDiscoveryReq), DWORD_BYTE)) { in pcie_doe_discovery()
52 .length = DIV_ROUND_UP(sizeof(DoeDiscoveryRsp), DWORD_BYTE), in pcie_doe_discovery()
87 memset(st->read_mbox, 0, PCI_DOE_DW_SIZE_MAX * DWORD_BYTE); in pcie_doe_reset_mbox()
88 memset(st->write_mbox, 0, PCI_DOE_DW_SIZE_MAX * DWORD_BYTE); in pcie_doe_reset_mbox()
106 doe_cap->read_mbox = g_malloc0(PCI_DOE_DW_SIZE_MAX * DWORD_BYTE); in pcie_doe_init()
263 if (range_covers_byte(PCI_EXP_DOE_CAP, DWORD_BYTE, addr)) { in pcie_doe_read_config()
289 shift = addr % DWORD_BYTE; in pcie_doe_read_config()
311 shift = addr % DWORD_BYTE; in pcie_doe_write_config()
342 if (size != DWORD_BYTE) { in pcie_doe_write_config()
[all …]
/openbmc/qemu/hw/mem/
H A Dcxl_type3.c32 #define DWORD_BYTE 4 macro
260 DIV_ROUND_UP(sizeof(CDATReq), DWORD_BYTE)) { in cxl_doe_cdat_rsp()
273 .length = DIV_ROUND_UP((sizeof(rsp) + len), DWORD_BYTE), in cxl_doe_cdat_rsp()
282 memcpy(doe_cap->read_mbox + DIV_ROUND_UP(sizeof(rsp), DWORD_BYTE), in cxl_doe_cdat_rsp()