Home
last modified time | relevance | path

Searched refs:cxl_memdev_state (Results 1 – 8 of 8) sorted by relevance

/Linux-v6.6/drivers/cxl/
Dcxlmem.h88 struct cxl_memdev_state;
89 int cxl_memdev_setup_fw_upload(struct cxl_memdev_state *mds);
459 struct cxl_memdev_state { struct
481 int (*mbox_send)(struct cxl_memdev_state *mds, argument
485 static inline struct cxl_memdev_state *
490 return container_of(cxlds, struct cxl_memdev_state, cxlds); in to_cxl_memdev_state()
854 int cxl_internal_send_cmd(struct cxl_memdev_state *mds,
856 int cxl_dev_state_identify(struct cxl_memdev_state *mds);
858 int cxl_enumerate_cmds(struct cxl_memdev_state *mds);
859 int cxl_mem_create_range_info(struct cxl_memdev_state *mds);
[all …]
Dsecurity.c17 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()
Dpci.c123 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()
193 static int __cxl_pci_mbox_send_cmd(struct cxl_memdev_state *mds, in __cxl_pci_mbox_send_cmd()
374 static int cxl_pci_mbox_send(struct cxl_memdev_state *mds, in cxl_pci_mbox_send()
386 static int cxl_pci_setup_mailbox(struct cxl_memdev_state *mds) in cxl_pci_setup_mailbox()
585 static int cxl_mem_alloc_event_buf(struct cxl_memdev_state *mds) in cxl_mem_alloc_event_buf()
623 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlds); in cxl_event_thread()
659 static int cxl_event_get_int_policy(struct cxl_memdev_state *mds, in cxl_event_get_int_policy()
677 static int cxl_event_config_msgnums(struct cxl_memdev_state *mds, in cxl_event_config_msgnums()
707 static int cxl_event_irqsetup(struct cxl_memdev_state *mds) in cxl_event_irqsetup()
[all …]
Dpmem.c68 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()
Dmem.c110 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()
/Linux-v6.6/drivers/cxl/core/
Dmemdev.c44 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()
155 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlmd->cxlds); in security_sanitize_store()
182 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlmd->cxlds); in security_erase_store()
328 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlmd->cxlds); in cxl_inject_poison()
376 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlmd->cxlds); in cxl_clear_poison()
485 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlmd->cxlds); in cxl_memdev_security_visible()
534 void set_exclusive_cxl_commands(struct cxl_memdev_state *mds, in set_exclusive_cxl_commands()
[all …]
Dmbox.c240 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 …]
/Linux-v6.6/tools/testing/cxl/test/
Dmem.c136 struct cxl_memdev_state *mds;
489 static int mock_get_log(struct cxl_memdev_state *mds, struct cxl_mbox_cmd *cmd) in mock_get_log()
1264 static int cxl_mock_mbox_send(struct cxl_memdev_state *mds, in cxl_mock_mbox_send()
1388 struct cxl_memdev_state *mds; in cxl_mock_mem_probe()