Home
last modified time | relevance | path

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

/linux/drivers/cxl/
H A Dcxlmem.h102 struct cxl_memdev_state;
103 int devm_cxl_setup_fw_upload(struct device *host, struct cxl_memdev_state *mds);
492 struct cxl_memdev_state { struct
510 static inline struct cxl_memdev_state * argument
515 return container_of(cxlds, struct cxl_memdev_state, cxlds); in to_cxl_memdev_state()
849 int cxl_dev_state_identify(struct cxl_memdev_state *mds);
851 int cxl_enumerate_cmds(struct cxl_memdev_state *mds);
852 int cxl_mem_dpa_fetch(struct cxl_memdev_state *mds, struct cxl_dpa_info *info);
853 struct cxl_memdev_state *cxl_memdev_state_create(struct device *dev);
854 void set_exclusive_cxl_commands(struct cxl_memdev_state *mds,
[all …]
H A Dpci.c129 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlds); in cxl_pci_mbox_irq()
154 struct cxl_memdev_state *mds = in cxl_mbox_sanitize_work()
202 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlds); in __cxl_pci_mbox_send_cmd()
389 static int cxl_pci_setup_mailbox(struct cxl_memdev_state *mds, bool irq_avail) in cxl_pci_setup_mailbox()
593 static int cxl_mem_alloc_event_buf(struct cxl_memdev_state *mds) in cxl_mem_alloc_event_buf()
632 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlds); in cxl_event_thread()
668 static int cxl_event_get_int_policy(struct cxl_memdev_state *mds, in cxl_event_get_int_policy()
687 static int cxl_event_config_msgnums(struct cxl_memdev_state *mds, in cxl_event_config_msgnums()
718 static int cxl_event_irqsetup(struct cxl_memdev_state *mds) in cxl_event_irqsetup()
763 struct cxl_memdev_state *mds, bool irq_avail) in cxl_event_config()
[all …]
H A Dpmem.c94 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlds); in cxl_nvdimm_arm_dirty_shutdown_tracking()
127 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlmd->cxlds); in cxl_nvdimm_probe()
170 static int cxl_pmem_get_config_size(struct cxl_memdev_state *mds, in cxl_pmem_get_config_size()
188 static int cxl_pmem_get_config_data(struct cxl_memdev_state *mds, in cxl_pmem_get_config_data()
220 static int cxl_pmem_set_config_data(struct cxl_memdev_state *mds, in cxl_pmem_set_config_data()
269 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlmd->cxlds); in cxl_pmem_nvdimm_ctl()
H A Dmem.c109 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlmd->cxlds); in cxl_mem_probe()
224 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlmd->cxlds); in cxl_mem_visible()
H A Dsecurity.c18 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlmd->cxlds); in cxl_pmem_get_security_flags()
/linux/drivers/cxl/core/
H A Dmemdev.c45 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlds); in firmware_version_show()
58 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlds); in payload_max_show()
71 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlds); in label_storage_size_show()
137 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlds); in security_state_show()
511 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlmd->cxlds); in cxl_memdev_security_visible()
567 void set_exclusive_cxl_commands(struct cxl_memdev_state *mds, in set_exclusive_cxl_commands()
583 void clear_exclusive_cxl_commands(struct cxl_memdev_state *mds, in clear_exclusive_cxl_commands()
663 struct cxl_memdev_state *mds = to_cxl_memdev_state(cxlmd->cxlds); in __cxl_memdev_ioctl()
721 static int cxl_mem_get_fw_info(struct cxl_memdev_state *mds) in cxl_mem_get_fw_info()
756 static int cxl_mem_activate_fw(struct cxl_memdev_state *mds, int slot) in cxl_mem_activate_fw()
[all …]
H A Dmbox.c658 static int cxl_xfer_log(struct cxl_memdev_state *mds, uuid_t *uuid, in cxl_xfer_log()
748 static void cxl_walk_cel(struct cxl_memdev_state *mds, size_t size, u8 *cel) in cxl_walk_cel()
788 static struct cxl_mbox_get_supported_logs *cxl_get_gsl(struct cxl_memdev_state *mds) in cxl_get_gsl()
837 int cxl_enumerate_cmds(struct cxl_memdev_state *mds) in cxl_enumerate_cmds()
983 static int cxl_clear_event_record(struct cxl_memdev_state *mds, in cxl_clear_event_record()
1054 static void cxl_mem_get_records_log(struct cxl_memdev_state *mds, in cxl_mem_get_records_log()
1120 void cxl_mem_get_event_records(struct cxl_memdev_state *mds, u32 status) in cxl_mem_get_event_records()
1147 static int cxl_mem_get_partition_info(struct cxl_memdev_state *mds) in cxl_mem_get_partition_info()
1180 int cxl_dev_state_identify(struct cxl_memdev_state *mds) in cxl_dev_state_identify()
1223 static int __cxl_mem_sanitize(struct cxl_memdev_state *mds, u16 cmd) in __cxl_mem_sanitize()
[all …]
H A Dmce.c13 struct cxl_memdev_state *mds = container_of(nb, struct cxl_memdev_state, in cxl_handle_mce()
H A Dhdm.c843 struct cxl_memdev_state *mds = in cxl_decoder_commit()
/linux/tools/testing/cxl/test/
H A Dmem.c180 struct cxl_memdev_state *mds;
575 static int mock_get_log(struct cxl_memdev_state *mds, struct cxl_mbox_cmd *cmd) in mock_get_log()
659 struct cxl_memdev_state *mds = in cxl_mockmem_sanitize_work()
675 struct cxl_memdev_state *mds = mdata->mds; in mock_sanitize()
1544 struct cxl_memdev_state *mds = mdata->mds; in cxl_mock_mbox_send()
1692 struct cxl_memdev_state *mds; in cxl_mock_mem_probe()