Home
last modified time | relevance | path

Searched refs:cxl_dev_state (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/drivers/cxl/
H A Dpci.c89 struct cxl_dev_state *cxlds;
122 struct cxl_dev_state *cxlds = dev_id->cxlds; in cxl_pci_mbox_irq()
150 struct cxl_dev_state *cxlds = &mds->cxlds; in cxl_mbox_sanitize_work()
194 struct cxl_dev_state *cxlds = &mds->cxlds; in __cxl_pci_mbox_send_cmd()
383 struct cxl_dev_state *cxlds = &mds->cxlds; in cxl_pci_setup_mailbox()
522 struct cxl_dev_state *cxlds = pci_get_drvdata(pdev); in cxl_pci_ras_unmask()
612 struct cxl_dev_state *cxlds = dev_id->cxlds; in cxl_event_thread()
699 struct cxl_dev_state *cxlds = &mds->cxlds; in cxl_event_irqsetup()
784 struct cxl_dev_state *cxlds; in cxl_pci_probe()
932 struct cxl_dev_state *cxlds = pci_get_drvdata(pdev); in cxl_slot_reset()
[all …]
H A Dcxlpci.h89 struct cxl_dev_state;
90 int cxl_hdm_decode_init(struct cxl_dev_state *cxlds, struct cxl_hdm *cxlhdm,
H A Dcxlmem.h49 struct cxl_dev_state *cxlds;
88 struct cxl_dev_state *cxlds);
414 struct cxl_dev_state { struct
463 struct cxl_dev_state cxlds;
489 to_cxl_memdev_state(struct cxl_dev_state *cxlds) in to_cxl_memdev_state()
860 int cxl_await_media_ready(struct cxl_dev_state *cxlds);
911 void cxl_dpa_debug(struct seq_file *file, struct cxl_dev_state *cxlds);
H A Dmem.c52 struct cxl_dev_state *cxlds = cxlmd->cxlds; in devm_cxl_add_endpoint()
111 struct cxl_dev_state *cxlds = cxlmd->cxlds; in cxl_mem_probe()
H A Dport.c91 struct cxl_dev_state *cxlds = cxlmd->cxlds; in cxl_endpoint_port_probe()
H A Dpmem.c41 struct cxl_dev_state *cxlds = cxl_nvd->cxlmd->cxlds; in id_show()
367 struct cxl_dev_state *cxlds = cxlmd->cxlds; in cxl_pmem_region_probe()
/openbmc/linux/drivers/cxl/core/
H A Dmemdev.c43 struct cxl_dev_state *cxlds = cxlmd->cxlds; in firmware_version_show()
56 struct cxl_dev_state *cxlds = cxlmd->cxlds; in payload_max_show()
69 struct cxl_dev_state *cxlds = cxlmd->cxlds; in label_storage_size_show()
82 struct cxl_dev_state *cxlds = cxlmd->cxlds; in ram_size_show()
95 struct cxl_dev_state *cxlds = cxlmd->cxlds; in pmem_size_show()
108 struct cxl_dev_state *cxlds = cxlmd->cxlds; in serial_show()
126 struct cxl_dev_state *cxlds = cxlmd->cxlds; in security_state_show()
195 struct cxl_dev_state *cxlds = cxlmd->cxlds; in cxl_get_poison_by_memdev()
256 struct cxl_dev_state *cxlds = cxlmd->cxlds; in cxl_validate_poison_dpa()
609 struct cxl_dev_state *cxlds; in cxl_memdev_ioctl()
[all …]
H A Dpci.c104 static int cxl_dvsec_mem_range_valid(struct cxl_dev_state *cxlds, int id) in cxl_dvsec_mem_range_valid()
140 static int cxl_dvsec_mem_range_active(struct cxl_dev_state *cxlds, int id) in cxl_dvsec_mem_range_active()
178 int cxl_await_media_ready(struct cxl_dev_state *cxlds) in cxl_await_media_ready()
243 static int cxl_set_mem_enable(struct cxl_dev_state *cxlds, u16 val) in cxl_set_mem_enable()
271 static int devm_cxl_enable_mem(struct device *host, struct cxl_dev_state *cxlds) in devm_cxl_enable_mem()
428 int cxl_hdm_decode_init(struct cxl_dev_state *cxlds, struct cxl_hdm *cxlhdm, in cxl_hdm_decode_init()
645 struct cxl_dev_state *cxlds = pci_get_drvdata(pdev); in cxl_cor_error_detected()
662 static void header_log_copy(struct cxl_dev_state *cxlds, u32 *log) in header_log_copy()
682 static bool cxl_report_and_clear(struct cxl_dev_state *cxlds) in cxl_report_and_clear()
718 struct cxl_dev_state *cxlds = pci_get_drvdata(pdev); in cxl_error_detected()
H A Dhdm.c222 void cxl_dpa_debug(struct seq_file *file, struct cxl_dev_state *cxlds) in cxl_dpa_debug()
244 struct cxl_dev_state *cxlds = cxlmd->cxlds; in __cxl_dpa_release()
287 struct cxl_dev_state *cxlds = cxlmd->cxlds; in __cxl_dpa_reserve()
435 struct cxl_dev_state *cxlds = cxlmd->cxlds; in cxl_dpa_set_mode()
482 struct cxl_dev_state *cxlds = cxlmd->cxlds; in cxl_dpa_alloc()
917 struct cxl_dev_state *cxlds = cxlmd->cxlds; in init_hdm_decoder()
H A Dmbox.c1139 struct cxl_dev_state *cxlds = &mds->cxlds; in __cxl_mem_sanitize()
1239 struct cxl_dev_state *cxlds = &mds->cxlds; in cxl_mem_create_range_info()
H A Dregion.c157 struct cxl_dev_state *cxlds = cxlmd->cxlds; in cxl_region_decode_reset()
1380 struct cxl_dev_state *cxlds; in cxl_region_teardown_targets()
1415 struct cxl_dev_state *cxlds; in cxl_region_setup_targets()
2464 struct cxl_dev_state *cxlds = cxlmd->cxlds; in cxl_get_poison_unmapped()
/openbmc/linux/tools/testing/cxl/test/
H A Dmem.c417 static int mock_set_timestamp(struct cxl_dev_state *cxlds, in mock_set_timestamp()
1000 struct cxl_dev_state *cxlds;
1036 static int mock_get_poison(struct cxl_dev_state *cxlds, in mock_get_poison()
1056 static bool mock_poison_dev_max_injected(struct cxl_dev_state *cxlds) in mock_poison_dev_max_injected()
1067 static bool mock_poison_add(struct cxl_dev_state *cxlds, u64 dpa) in mock_poison_add()
1090 static bool mock_poison_found(struct cxl_dev_state *cxlds, u64 dpa) in mock_poison_found()
1100 static int mock_inject_poison(struct cxl_dev_state *cxlds, in mock_inject_poison()
1117 static bool mock_poison_del(struct cxl_dev_state *cxlds, u64 dpa) in mock_poison_del()
1129 static int mock_clear_poison(struct cxl_dev_state *cxlds, in mock_clear_poison()
1268 struct cxl_dev_state *cxlds = &mds->cxlds; in cxl_mock_mbox_send()
[all …]
H A Dmock.c199 int __wrap_cxl_await_media_ready(struct cxl_dev_state *cxlds) in __wrap_cxl_await_media_ready()
214 int __wrap_cxl_hdm_decode_init(struct cxl_dev_state *cxlds, in __wrap_cxl_hdm_decode_init()