Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/cxl/
Dcxlmem.h43 struct cxl_dev_state *cxlds;
59 struct cxl_memdev *devm_cxl_add_memdev(struct cxl_dev_state *cxlds);
199 struct cxl_dev_state { struct
227 int (*mbox_send)(struct cxl_dev_state *cxlds, struct cxl_mbox_cmd *cmd); argument
345 int cxl_mbox_send_cmd(struct cxl_dev_state *cxlds, u16 opcode, void *in,
347 int cxl_dev_state_identify(struct cxl_dev_state *cxlds);
348 int cxl_await_media_ready(struct cxl_dev_state *cxlds);
349 int cxl_enumerate_cmds(struct cxl_dev_state *cxlds);
350 int cxl_mem_create_range_info(struct cxl_dev_state *cxlds);
351 struct cxl_dev_state *cxl_dev_state_create(struct device *dev);
[all …]
Dpci.c53 static int cxl_pci_mbox_wait_for_doorbell(struct cxl_dev_state *cxlds) in cxl_pci_mbox_wait_for_doorbell()
108 static int __cxl_pci_mbox_send_cmd(struct cxl_dev_state *cxlds, in __cxl_pci_mbox_send_cmd()
209 static int cxl_pci_mbox_send(struct cxl_dev_state *cxlds, struct cxl_mbox_cmd *cmd) in cxl_pci_mbox_send()
220 static int cxl_pci_setup_mailbox(struct cxl_dev_state *cxlds) in cxl_pci_setup_mailbox()
349 static int cxl_map_regs(struct cxl_dev_state *cxlds, struct cxl_register_map *map) in cxl_map_regs()
393 struct cxl_dev_state *cxlds; in cxl_pci_probe()
Dpmem.c37 struct cxl_dev_state *cxlds = cxlmd->cxlds; in cxl_nvdimm_probe()
83 static int cxl_pmem_get_config_size(struct cxl_dev_state *cxlds, in cxl_pmem_get_config_size()
98 static int cxl_pmem_get_config_data(struct cxl_dev_state *cxlds, in cxl_pmem_get_config_data()
122 static int cxl_pmem_set_config_data(struct cxl_dev_state *cxlds, in cxl_pmem_set_config_data()
166 struct cxl_dev_state *cxlds = cxlmd->cxlds; in cxl_pmem_nvdimm_ctl()
Dcxlpci.h75 struct cxl_dev_state;
76 int cxl_hdm_decode_init(struct cxl_dev_state *cxlds, struct cxl_hdm *cxlhdm);
Dport.c54 struct cxl_dev_state *cxlds = cxlmd->cxlds; in cxl_port_probe()
Dmem.c30 struct cxl_dev_state *cxlds = cxlmd->cxlds; in create_endpoint()
/linux-5.19.10/drivers/cxl/core/
Dmemdev.c40 struct cxl_dev_state *cxlds = cxlmd->cxlds; in firmware_version_show()
50 struct cxl_dev_state *cxlds = cxlmd->cxlds; in payload_max_show()
60 struct cxl_dev_state *cxlds = cxlmd->cxlds; in label_storage_size_show()
70 struct cxl_dev_state *cxlds = cxlmd->cxlds; in ram_size_show()
83 struct cxl_dev_state *cxlds = cxlmd->cxlds; in pmem_size_show()
96 struct cxl_dev_state *cxlds = cxlmd->cxlds; in serial_show()
180 void set_exclusive_cxl_commands(struct cxl_dev_state *cxlds, unsigned long *cmds) in set_exclusive_cxl_commands()
194 void clear_exclusive_cxl_commands(struct cxl_dev_state *cxlds, unsigned long *cmds) in clear_exclusive_cxl_commands()
233 static struct cxl_memdev *cxl_memdev_alloc(struct cxl_dev_state *cxlds, in cxl_memdev_alloc()
326 struct cxl_memdev *devm_cxl_add_memdev(struct cxl_dev_state *cxlds) in devm_cxl_add_memdev()
Dmbox.c164 int cxl_mbox_send_cmd(struct cxl_dev_state *cxlds, u16 opcode, void *in, in cxl_mbox_send_cmd()
257 struct cxl_dev_state *cxlds, u16 opcode, in cxl_mbox_cmd_ctor()
303 struct cxl_dev_state *cxlds) in cxl_to_mem_cmd_raw()
335 struct cxl_dev_state *cxlds) in cxl_to_mem_cmd()
398 struct cxl_dev_state *cxlds, in cxl_validate_cmd_from_user()
487 static int handle_mailbox_cmd_from_user(struct cxl_dev_state *cxlds, in handle_mailbox_cmd_from_user()
531 struct cxl_dev_state *cxlds = cxlmd->cxlds; in cxl_send_cmd()
557 static int cxl_xfer_log(struct cxl_dev_state *cxlds, uuid_t *uuid, u32 size, u8 *out) in cxl_xfer_log()
593 static void cxl_walk_cel(struct cxl_dev_state *cxlds, size_t size, u8 *cel) in cxl_walk_cel()
615 static struct cxl_mbox_get_supported_logs *cxl_get_gsl(struct cxl_dev_state *cxlds) in cxl_get_gsl()
[all …]
Dpci.c109 int cxl_await_media_ready(struct cxl_dev_state *cxlds) in cxl_await_media_ready()
146 static int wait_for_valid(struct cxl_dev_state *cxlds) in wait_for_valid()
178 static int cxl_set_mem_enable(struct cxl_dev_state *cxlds, u16 val) in cxl_set_mem_enable()
206 static int devm_cxl_enable_mem(struct device *host, struct cxl_dev_state *cxlds) in devm_cxl_enable_mem()
271 static bool __cxl_hdm_decode_init(struct cxl_dev_state *cxlds, in __cxl_hdm_decode_init()
352 int cxl_hdm_decode_init(struct cxl_dev_state *cxlds, struct cxl_hdm *cxlhdm) in cxl_hdm_decode_init()
/linux-5.19.10/tools/testing/cxl/test/
Dmem.c74 static int mock_get_log(struct cxl_dev_state *cxlds, struct cxl_mbox_cmd *cmd) in mock_get_log()
98 static int mock_id(struct cxl_dev_state *cxlds, struct cxl_mbox_cmd *cmd) in mock_id()
140 static int mock_get_lsa(struct cxl_dev_state *cxlds, struct cxl_mbox_cmd *cmd) in mock_get_lsa()
159 static int mock_set_lsa(struct cxl_dev_state *cxlds, struct cxl_mbox_cmd *cmd) in mock_set_lsa()
176 static int mock_health_info(struct cxl_dev_state *cxlds, in mock_health_info()
206 static int cxl_mock_mbox_send(struct cxl_dev_state *cxlds, struct cxl_mbox_cmd *cmd) in cxl_mock_mbox_send()
249 struct cxl_dev_state *cxlds; in cxl_mock_mem_probe()
Dmock.c196 int __wrap_cxl_await_media_ready(struct cxl_dev_state *cxlds) in __wrap_cxl_await_media_ready()
211 int __wrap_cxl_hdm_decode_init(struct cxl_dev_state *cxlds, in __wrap_cxl_hdm_decode_init()