Home
last modified time | relevance | path

Searched refs:cdat_header (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/hw/cxl/
H A Dcxl-cdat.c49 g_autofree CDATTableHeader *cdat_header = NULL; in ct3_build_cdat() local
58 cdat_header = g_malloc0(sizeof(*cdat_header)); in ct3_build_cdat()
59 if (!cdat_header) { in ct3_build_cdat()
88 cdat_header->length += hdr->length; in ct3_build_cdat()
95 cdat_header->revision = CXL_CDAT_REV; in ct3_build_cdat()
97 cdat_header->sequence = 0; in ct3_build_cdat()
98 cdat_header->length += sizeof(CDATTableHeader); in ct3_build_cdat()
100 hdr_buf = (uint8_t *)cdat_header; in ct3_build_cdat()
101 for (i = 0; i < sizeof(*cdat_header); i++) { in ct3_build_cdat()
106 cdat_header->checksum = ~sum + 1; in ct3_build_cdat()
[all …]
/openbmc/linux/drivers/cxl/
H A Dcxlpci.h74 struct cdat_header { struct
/openbmc/linux/drivers/cxl/core/
H A Dpci.c564 rc != sizeof(__le32) + sizeof(struct cdat_header)) || in cxl_cdat_read_table()