| /linux/drivers/misc/cxl/ |
| A D | cxl.h | 465 struct cxl_afu *parent; 475 struct cxl_afu { struct 539 struct cxl_afu *afu; argument 680 struct cxl_afu *afu[CXL_MAX_SLICES]; 863 void cxl_release_spa(struct cxl_afu *afu); 869 int cxl_register_afu(struct cxl_afu *afu); 1017 int cxl_check_error(struct cxl_afu *afu); 1018 int cxl_afu_slbia(struct cxl_afu *afu); 1020 int cxl_afu_disable(struct cxl_afu *afu); 1021 int cxl_psl_purge(struct cxl_afu *afu); [all …]
|
| A D | vphb.c | 31 struct cxl_afu *afu; in cxl_pci_enable_device_hook() 35 afu = (struct cxl_afu *)phb->private_data; in cxl_pci_enable_device_hook() 93 static void cxl_afu_configured_put(struct cxl_afu *afu) in cxl_afu_configured_put() 98 static bool cxl_afu_configured_get(struct cxl_afu *afu) in cxl_afu_configured_get() 104 struct cxl_afu *afu, int *_record) in cxl_pcie_config_info() 120 struct cxl_afu *afu; in cxl_pcie_read_config() 160 struct cxl_afu *afu; in cxl_pcie_write_config() 209 int cxl_pci_vphb_add(struct cxl_afu *afu) in cxl_pci_vphb_add() 275 void cxl_pci_vphb_remove(struct cxl_afu *afu) in cxl_pci_vphb_remove() 302 struct cxl_afu *cxl_pci_to_afu(struct pci_dev *dev) in cxl_pci_to_afu() [all …]
|
| A D | guest.c | 18 static void pci_error_handlers(struct cxl_afu *afu, in pci_error_handlers() 197 struct cxl_afu *afu = data; in guest_slice_irq_err() 266 struct cxl_afu *afu = NULL; in guest_reset() 353 static int guest_register_serr_irq(struct cxl_afu *afu) in guest_register_serr_irq() 662 struct cxl_afu *afu = to_cxl_afu(dev); in guest_release_afu() 733 static int activate_afu_directed(struct cxl_afu *afu) in activate_afu_directed() 803 static int guest_afu_reset(struct cxl_afu *afu) in guest_afu_reset() 809 static int guest_map_slice_regs(struct cxl_afu *afu) in guest_map_slice_regs() 825 static int afu_update_state(struct cxl_afu *afu) in afu_update_state() 923 struct cxl_afu *afu; in cxl_guest_init_afu() [all …]
|
| A D | sysfs.c | 240 struct cxl_afu *afu = to_cxl_afu(device); in mmio_size_show() 251 struct cxl_afu *afu = to_cxl_afu(device); in reset_store_afu() 274 struct cxl_afu *afu = to_cxl_afu(device); in irqs_min_show() 283 struct cxl_afu *afu = to_cxl_afu(device); in irqs_max_show() 292 struct cxl_afu *afu = to_cxl_afu(device); in irqs_max_store() 319 struct cxl_afu *afu = to_cxl_afu(device); in modes_supported_show() 333 struct cxl_afu *afu = to_cxl_afu(device); in prefault_mode_show() 349 struct cxl_afu *afu = to_cxl_afu(device); in prefault_mode_store() 378 struct cxl_afu *afu = to_cxl_afu(device); in mode_show() 390 struct cxl_afu *afu = to_cxl_afu(device); in mode_store() [all …]
|
| A D | native.c | 74 static int afu_enable(struct cxl_afu *afu) in afu_enable() 83 int cxl_afu_disable(struct cxl_afu *afu) in cxl_afu_disable() 130 int cxl_psl_purge(struct cxl_afu *afu) in cxl_psl_purge() 255 static void attach_spa(struct cxl_afu *afu) in attach_spa() 276 void cxl_release_spa(struct cxl_afu *afu) in cxl_release_spa() 890 struct cxl_afu *afu = ctx->afu; in cxl_update_dedicated_ivtes_psl8() 906 struct cxl_afu *afu = ctx->afu; in cxl_attach_dedicated_process_psl9() 934 struct cxl_afu *afu = ctx->afu; in cxl_attach_dedicated_process_psl8() 1175 struct cxl_afu *afu = data; in native_irq_multiplexed() 1251 struct cxl_afu *afu = data; in native_slice_irq_err() [all …]
|
| A D | main.c | 36 int cxl_afu_slbia(struct cxl_afu *afu) in cxl_afu_slbia() 78 struct cxl_afu *afu; in cxl_slbia_core() 243 struct cxl_afu *cxl_alloc_afu(struct cxl *adapter, int slice) in cxl_alloc_afu() 245 struct cxl_afu *afu; in cxl_alloc_afu() 247 if (!(afu = kzalloc(sizeof(struct cxl_afu), GFP_KERNEL))) in cxl_alloc_afu() 264 int cxl_afu_select_best_mode(struct cxl_afu *afu) in cxl_afu_select_best_mode()
|
| A D | debugfs.c | 80 void cxl_debugfs_add_afu_regs_psl9(struct cxl_afu *afu, struct dentry *dir) in cxl_debugfs_add_afu_regs_psl9() 85 void cxl_debugfs_add_afu_regs_psl8(struct cxl_afu *afu, struct dentry *dir) in cxl_debugfs_add_afu_regs_psl8() 96 void cxl_debugfs_afu_add(struct cxl_afu *afu) in cxl_debugfs_afu_add() 118 void cxl_debugfs_afu_remove(struct cxl_afu *afu) in cxl_debugfs_afu_remove()
|
| A D | base.c | 54 struct cxl_afu *cxl_afu_get(struct cxl_afu *afu) in cxl_afu_get() 60 void cxl_afu_put(struct cxl_afu *afu) in cxl_afu_put()
|
| A D | pci.c | 268 static void dump_afu_descriptor(struct cxl_afu *afu) in dump_afu_descriptor() 812 static void pci_unmap_slice_regs(struct cxl_afu *afu) in pci_unmap_slice_regs() 830 struct cxl_afu *afu = to_cxl_afu(dev); in cxl_pci_release_afu() 927 static int sanitise_afu_regs_psl9(struct cxl_afu *afu) in sanitise_afu_regs_psl9() 1120 static void pci_deconfigure_afu(struct cxl_afu *afu) in pci_deconfigure_afu() 1138 struct cxl_afu *afu; in pci_init_afu() 1193 static void cxl_pci_remove_afu(struct cxl_afu *afu) in cxl_pci_remove_afu() 1780 struct cxl_afu *afu; in cxl_remove() 1834 struct cxl_afu *afu; in cxl_pci_error_detected() 1976 struct cxl_afu *afu; in cxl_pci_slot_reset() [all …]
|
| A D | file.c | 46 struct cxl_afu *afu; in __afu_open() 564 static int cxl_add_chardev(struct cxl_afu *afu, dev_t devt, struct cdev *cdev, in cxl_add_chardev() 594 int cxl_chardev_d_afu_add(struct cxl_afu *afu) in cxl_chardev_d_afu_add() 601 int cxl_chardev_m_afu_add(struct cxl_afu *afu) in cxl_chardev_m_afu_add() 608 int cxl_chardev_s_afu_add(struct cxl_afu *afu) in cxl_chardev_s_afu_add() 615 void cxl_chardev_afu_remove(struct cxl_afu *afu) in cxl_chardev_afu_remove() 634 int cxl_register_afu(struct cxl_afu *afu) in cxl_register_afu()
|
| A D | api.c | 102 struct cxl_afu *afu; in cxl_dev_context_init() 505 struct cxl_afu *afu = ctx->afu; in cxl_afu_reset() 516 void cxl_perst_reloads_same_image(struct cxl_afu *afu, in cxl_perst_reloads_same_image() 525 struct cxl_afu *afu = cxl_pci_to_afu(dev); in cxl_read_adapter_vpd()
|
| A D | trace.h | 404 TP_PROTO(struct cxl_afu *afu, u64 cmd), 428 TP_PROTO(struct cxl_afu *afu, u64 cmd, int rc), 455 TP_PROTO(struct cxl_afu *afu, u64 cmd), 460 TP_PROTO(struct cxl_afu *afu, u64 cmd, int rc), 465 TP_PROTO(struct cxl_afu *afu, u64 cmd), 476 TP_PROTO(struct cxl_afu *afu, u64 cmd, int rc),
|
| A D | of.c | 70 struct cxl_afu *afu) in read_phys_addr() 111 static int read_vpd(struct cxl *adapter, struct cxl_afu *afu) in read_vpd() 131 int cxl_of_read_afu_handle(struct cxl_afu *afu, struct device_node *afu_np) in cxl_of_read_afu_handle() 140 int cxl_of_read_afu_properties(struct cxl_afu *afu, struct device_node *np) in cxl_of_read_afu_properties()
|
| A D | context.c | 35 int cxl_context_init(struct cxl_context *ctx, struct cxl_afu *afu, bool master) in cxl_context_init() 297 void cxl_context_detach_all(struct cxl_afu *afu) in cxl_context_detach_all()
|
| A D | irq.c | 422 void cxl_afu_decode_psl_serr(struct cxl_afu *afu, u64 serr) in cxl_afu_decode_psl_serr()
|
| /linux/include/misc/ |
| A D | cxl-base.h | 35 struct cxl_afu *cxl_afu_get(struct cxl_afu *afu); 36 void cxl_afu_put(struct cxl_afu *afu); 42 static inline struct cxl_afu *cxl_afu_get(struct cxl_afu *afu) { return NULL; } in cxl_afu_get() 43 static inline void cxl_afu_put(struct cxl_afu *afu) {} in cxl_afu_put()
|
| A D | cxl.h | 24 struct cxl_afu *cxl_pci_to_afu(struct pci_dev *dev); 209 void cxl_perst_reloads_same_image(struct cxl_afu *afu,
|