Searched refs:cxl_memdev_state (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/drivers/cxl/ |
H A D | cxlmem.h | 91 struct cxl_memdev_state; 92 int devm_cxl_setup_fw_upload(struct device *host, struct cxl_memdev_state *mds); 462 struct cxl_memdev_state { struct 484 int (*mbox_send)(struct cxl_memdev_state *mds, argument 488 static inline struct cxl_memdev_state * 493 return container_of(cxlds, struct cxl_memdev_state, cxlds); in to_cxl_memdev_state() 857 int cxl_internal_send_cmd(struct cxl_memdev_state *mds, 859 int cxl_dev_state_identify(struct cxl_memdev_state *mds); 861 int cxl_enumerate_cmds(struct cxl_memdev_state *mds); 862 int cxl_mem_create_range_info(struct cxl_memdev_state *mds); [all …]
|
H A D | security.c | 17 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlmd->cxlds); in cxl_pmem_get_security_flags() 73 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlmd->cxlds); in cxl_pmem_security_change_key() 99 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlmd->cxlds); in __cxl_pmem_security_disable() 134 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlmd->cxlds); in cxl_pmem_security_freeze() 147 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlmd->cxlds); in cxl_pmem_security_unlock() 172 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlmd->cxlds); in cxl_pmem_security_passphrase_erase()
|
H A D | pci.c | 123 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlds); in cxl_pci_mbox_irq() 148 struct cxl_memdev_state *mds = in cxl_mbox_sanitize_work() 191 static int __cxl_pci_mbox_send_cmd(struct cxl_memdev_state *mds, in __cxl_pci_mbox_send_cmd() 369 static int cxl_pci_mbox_send(struct cxl_memdev_state *mds, in cxl_pci_mbox_send() 381 static int cxl_pci_setup_mailbox(struct cxl_memdev_state *mds) in cxl_pci_setup_mailbox() 575 static int cxl_mem_alloc_event_buf(struct cxl_memdev_state *mds) in cxl_mem_alloc_event_buf() 613 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlds); in cxl_event_thread() 649 static int cxl_event_get_int_policy(struct cxl_memdev_state *mds, in cxl_event_get_int_policy() 667 static int cxl_event_config_msgnums(struct cxl_memdev_state *mds, in cxl_event_config_msgnums() 697 static int cxl_event_irqsetup(struct cxl_memdev_state *mds) in cxl_event_irqsetup() [all …]
|
H A D | pmem.c | 68 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlmd->cxlds); in cxl_nvdimm_probe() 103 static int cxl_pmem_get_config_size(struct cxl_memdev_state *mds, in cxl_pmem_get_config_size() 119 static int cxl_pmem_get_config_data(struct cxl_memdev_state *mds, in cxl_pmem_get_config_data() 150 static int cxl_pmem_set_config_data(struct cxl_memdev_state *mds, in cxl_pmem_set_config_data() 198 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlmd->cxlds); in cxl_pmem_nvdimm_ctl()
|
H A D | mem.c | 110 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlmd->cxlds); in cxl_mem_probe() 222 struct cxl_memdev_state *mds = in cxl_mem_visible()
|
/openbmc/linux/drivers/cxl/core/ |
H A D | mbox.c | 240 int cxl_internal_send_cmd(struct cxl_memdev_state *mds, in cxl_internal_send_cmd() 340 struct cxl_memdev_state *mds, u16 opcode, in cxl_mbox_cmd_ctor() 386 struct cxl_memdev_state *mds) in cxl_to_mem_cmd_raw() 418 struct cxl_memdev_state *mds) in cxl_to_mem_cmd() 481 struct cxl_memdev_state *mds, in cxl_validate_cmd_from_user() 516 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlmd->cxlds); in cxl_query_cmd() 576 static int handle_mailbox_cmd_from_user(struct cxl_memdev_state *mds, in handle_mailbox_cmd_from_user() 620 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlmd->cxlds); in cxl_send_cmd() 646 static int cxl_xfer_log(struct cxl_memdev_state *mds, uuid_t *uuid, in cxl_xfer_log() 706 static void cxl_walk_cel(struct cxl_memdev_state *mds, size_t size, u8 *cel) in cxl_walk_cel() [all …]
|
H A D | memdev.c | 44 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlds); in firmware_version_show() 57 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlds); in payload_max_show() 70 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlds); in label_storage_size_show() 127 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlds); in security_state_show() 280 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlmd->cxlds); in cxl_inject_poison() 335 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlmd->cxlds); in cxl_clear_poison() 451 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlmd->cxlds); in cxl_memdev_security_visible() 500 void set_exclusive_cxl_commands(struct cxl_memdev_state *mds, in set_exclusive_cxl_commands() 515 void clear_exclusive_cxl_commands(struct cxl_memdev_state *mds, in clear_exclusive_cxl_commands() 652 static int cxl_mem_get_fw_info(struct cxl_memdev_state *mds) in cxl_mem_get_fw_info() [all …]
|
H A D | hdm.c | 666 struct cxl_memdev_state *mds = in cxl_decoder_commit()
|
/openbmc/linux/tools/testing/cxl/test/ |
H A D | mem.c | 137 struct cxl_memdev_state *mds; 490 static int mock_get_log(struct cxl_memdev_state *mds, struct cxl_mbox_cmd *cmd) in mock_get_log() 1265 static int cxl_mock_mbox_send(struct cxl_memdev_state *mds, in cxl_mock_mbox_send() 1389 struct cxl_memdev_state *mds; in cxl_mock_mem_probe()
|