Home
last modified time | relevance | path

Searched refs:ct3d (Results 1 – 5 of 5) sorted by relevance

/openbmc/qemu/hw/mem/
H A Dcxl_type3.c162 CXLType3Dev *ct3d = priv; in ct3_build_cdat_table() local
170 if (!ct3d->hostpmem && !ct3d->hostvmem && !ct3d->dc.num_regions) { in ct3_build_cdat_table()
174 if (ct3d->hostvmem) { in ct3_build_cdat_table()
175 volatile_mr = host_memory_backend_get_memory(ct3d->hostvmem); in ct3_build_cdat_table()
183 if (ct3d->hostpmem) { in ct3_build_cdat_table()
184 nonvolatile_mr = host_memory_backend_get_memory(ct3d->hostpmem); in ct3_build_cdat_table()
192 if (ct3d->dc.num_regions) { in ct3_build_cdat_table()
193 if (!ct3d->dc.host_dc) { in ct3_build_cdat_table()
196 dc_mr = host_memory_backend_get_memory(ct3d->dc.host_dc); in ct3_build_cdat_table()
200 len += CT3_CDAT_NUM_ENTRIES * ct3d->dc.num_regions; in ct3_build_cdat_table()
[all …]
/openbmc/qemu/hw/cxl/
H A Dcxl-mailbox-utils.c205 CXLType3Dev *ct3d = CXL_TYPE3(cci->d); in cmd_tunnel_management_cmd() local
210 target_cci = &ct3d->ld0_cci; in cmd_tunnel_management_cmd()
225 CXLType3Dev *ct3d = CXL_TYPE3(tunnel_target); in cmd_tunnel_management_cmd() local
227 target_cci = &ct3d->vdm_fm_owned_ld_mctp_cci; in cmd_tunnel_management_cmd()
753 CXLType3Dev *ct3d = CXL_TYPE3(cci->d); in cmd_firmware_update_get_info() local
754 CXLDeviceState *cxl_dstate = &ct3d->cxl_dstate; in cmd_firmware_update_get_info()
769 !QEMU_IS_ALIGNED(ct3d->dc.total_capacity, CXL_CAPACITY_MULTIPLIER)) { in cmd_firmware_update_get_info()
1295 CXLType3Dev *ct3d; in cmd_features_get_feature() local
1302 ct3d = CXL_TYPE3(cci->d); in cmd_features_get_feature()
1305 set_feat_info = &ct3d->set_feat_info; in cmd_features_get_feature()
[all …]
H A Dcxl-events.c240 void cxl_event_irq_assert(CXLType3Dev *ct3d) in cxl_event_irq_assert() argument
242 CXLDeviceState *cxlds = &ct3d->cxl_dstate; in cxl_event_irq_assert()
243 PCIDevice *pdev = &ct3d->parent_obj; in cxl_event_irq_assert()
262 void cxl_create_dc_event_records_for_extents(CXLType3Dev *ct3d, in cxl_create_dc_event_records_for_extents() argument
274 cxl_device_get_timestamp(&ct3d->cxl_dstate)); in cxl_create_dc_event_records_for_extents()
280 ct3d->dc.total_extent_count; in cxl_create_dc_event_records_for_extents()
292 if (cxl_event_insert(&ct3d->cxl_dstate, in cxl_create_dc_event_records_for_extents()
295 cxl_event_irq_assert(ct3d); in cxl_create_dc_event_records_for_extents()
H A Dcxl-device-utils.c387 void cxl_device_register_init_t3(CXLType3Dev *ct3d, int msi_n) in cxl_device_register_init_t3() argument
389 CXLDeviceState *cxl_dstate = &ct3d->cxl_dstate; in cxl_device_register_init_t3()
409 cxl_initialize_mailbox_t3(&ct3d->cci, DEVICE(ct3d), in cxl_device_register_init_t3()
/openbmc/qemu/include/hw/cxl/
H A Dcxl_device.h279 void cxl_device_register_init_t3(CXLType3Dev *ct3d, int msi_n);
656 uint64_t (*get_lsa_size)(CXLType3Dev *ct3d);
658 uint64_t (*get_lsa)(CXLType3Dev *ct3d, void *buf, uint64_t size,
660 void (*set_lsa)(CXLType3Dev *ct3d, const void *buf, uint64_t size,
662 bool (*set_cacheline)(CXLType3Dev *ct3d, uint64_t dpa_offset,
694 void cxl_event_irq_assert(CXLType3Dev *ct3d);
696 void cxl_set_poison_list_overflowed(CXLType3Dev *ct3d);
697 void cxl_clear_poison_list_overflowed(CXLType3Dev *ct3d);
699 CXLDCRegion *cxl_find_dc_region(CXLType3Dev *ct3d, uint64_t dpa, uint64_t len);
718 void ct3_set_region_block_backed(CXLType3Dev *ct3d, uint64_t dpa,
[all …]