Searched refs:CDATSubHeader (Results 1 – 4 of 4) sorted by relevance
/openbmc/qemu/include/hw/cxl/ |
H A D | cxl_cdat.h | 67 typedef struct CDATSubHeader { struct 71 } CDATSubHeader; typedef 75 CDATSubHeader header; 90 CDATSubHeader header; 104 CDATSubHeader header; 113 CDATSubHeader header; 121 CDATSubHeader header; 132 CDATSubHeader header; 163 int (*build_cdat_table)(CDATSubHeader ***cdat_table, void *priv); 164 void (*free_cdat_table)(CDATSubHeader **cdat_table, int num, void *priv); [all …]
|
/openbmc/qemu/hw/cxl/ |
H A D | cxl-cdat.c | 16 static void cdat_len_check(CDATSubHeader *hdr, Error **errp) in cdat_len_check() 82 CDATSubHeader *hdr = cdat->built_buf[ent - 1]; in ct3_build_cdat() 123 CDATSubHeader *hdr; in ct3_load_cdat() 140 hdr = (CDATSubHeader *)(buf + i); in ct3_load_cdat() 141 if (i + sizeof(CDATSubHeader) > file_size) { in ct3_load_cdat() 171 hdr = (CDATSubHeader *)(buf + i); in ct3_load_cdat()
|
/openbmc/qemu/hw/pci-bridge/ |
H A D | cxl_upstream.c | 195 static int build_cdat_table(CDATSubHeader ***cdat_table, void *priv) in build_cdat_table() 272 *cdat_table = g_new0(CDATSubHeader *, CXL_USP_CDAT_NUM_ENTRIES); in build_cdat_table() 275 (*cdat_table)[CXL_USP_CDAT_SSLBIS_LAT] = (CDATSubHeader *)sslbis_latency; in build_cdat_table() 276 (*cdat_table)[CXL_USP_CDAT_SSLBIS_BW] = (CDATSubHeader *)sslbis_bandwidth; in build_cdat_table() 281 static void free_default_cdat_table(CDATSubHeader **cdat_table, int num, in free_default_cdat_table()
|
/openbmc/qemu/hw/mem/ |
H A D | cxl_type3.c | 47 static void ct3_build_cdat_entries_for_mr(CDATSubHeader **cdat_table, in ct3_build_cdat_entries_for_mr() 142 cdat_table[CT3_CDAT_DSMAS] = (CDATSubHeader *)dsmas; in ct3_build_cdat_entries_for_mr() 143 cdat_table[CT3_CDAT_DSLBIS0] = (CDATSubHeader *)dslbis0; in ct3_build_cdat_entries_for_mr() 144 cdat_table[CT3_CDAT_DSLBIS1] = (CDATSubHeader *)dslbis1; in ct3_build_cdat_entries_for_mr() 145 cdat_table[CT3_CDAT_DSLBIS2] = (CDATSubHeader *)dslbis2; in ct3_build_cdat_entries_for_mr() 146 cdat_table[CT3_CDAT_DSLBIS3] = (CDATSubHeader *)dslbis3; in ct3_build_cdat_entries_for_mr() 147 cdat_table[CT3_CDAT_DSEMTS] = (CDATSubHeader *)dsemts; in ct3_build_cdat_entries_for_mr() 150 static int ct3_build_cdat_table(CDATSubHeader ***cdat_table, void *priv) in ct3_build_cdat_table() 152 g_autofree CDATSubHeader **table = NULL; in ct3_build_cdat_table() 238 static void ct3_free_cdat_table(CDATSubHeader **cdat_table, int num, void *priv) in ct3_free_cdat_table()
|