| /linux/drivers/misc/cxl/ |
| A D | cxl.h | 486 struct cxl *adapter; 676 struct cxl { struct 763 static inline bool cxl_adapter_link_ok(struct cxl *cxl, struct cxl_afu *afu) in cxl_adapter_link_ok() argument 768 pdev = to_pci_dev(cxl->dev.parent); in cxl_adapter_link_ok() 774 static inline void __iomem *_cxl_p1_addr(struct cxl *cxl, cxl_p1_reg_t reg) in _cxl_p1_addr() argument 780 static inline void cxl_p1_write(struct cxl *cxl, cxl_p1_reg_t reg, u64 val) in cxl_p1_write() argument 786 static inline u64 cxl_p1_read(struct cxl *cxl, cxl_p1_reg_t reg) in cxl_p1_read() argument 886 struct cxl *cxl_alloc_adapter(void); 972 struct cxl *get_cxl_adapter(int num); 1071 struct cxl *adapter); [all …]
|
| A D | Makefile | 5 cxl-y += main.o file.o irq.o fault.o native.o 6 cxl-y += context.o sysfs.o pci.o trace.o 7 cxl-y += vphb.o api.o cxllib.o 8 cxl-$(CONFIG_PPC_PSERIES) += flash.o guest.o of.o hcalls.o 9 cxl-$(CONFIG_DEBUG_FS) += debugfs.o 10 obj-$(CONFIG_CXL) += cxl.o
|
| A D | main.c | 77 struct cxl *adapter; in cxl_slbia_core() 183 struct cxl *get_cxl_adapter(int num) in get_cxl_adapter() 185 struct cxl *adapter; in get_cxl_adapter() 195 static int cxl_alloc_adapter_nr(struct cxl *adapter) in cxl_alloc_adapter_nr() 212 void cxl_remove_adapter_nr(struct cxl *adapter) in cxl_remove_adapter_nr() 217 struct cxl *cxl_alloc_adapter(void) in cxl_alloc_adapter() 219 struct cxl *adapter; in cxl_alloc_adapter() 277 int cxl_adapter_context_get(struct cxl *adapter) in cxl_adapter_context_get() 285 void cxl_adapter_context_put(struct cxl *adapter) in cxl_adapter_context_put() 290 int cxl_adapter_context_lock(struct cxl *adapter) in cxl_adapter_context_lock() [all …]
|
| A D | pci.c | 698 int cxl_pci_alloc_one_irq(struct cxl *adapter) in cxl_pci_alloc_one_irq() 713 struct cxl *adapter, unsigned int num) in cxl_pci_alloc_irq_ranges() 721 struct cxl *adapter) in cxl_pci_release_irq_ranges() 1215 int cxl_pci_reset(struct cxl *adapter) in cxl_pci_reset() 1417 struct cxl *adapter = to_cxl_adapter(dev); in cxl_release_adapter() 1635 struct cxl *adapter; in cxl_pci_init_adapter() 1735 struct cxl *adapter; in cxl_probe() 1779 struct cxl *adapter = pci_get_drvdata(dev); in cxl_remove() 1833 struct cxl *adapter = pci_get_drvdata(pdev); in cxl_pci_error_detected() 1975 struct cxl *adapter = pci_get_drvdata(pdev); in cxl_pci_slot_reset() [all …]
|
| A D | guest.c | 264 static int guest_reset(struct cxl *adapter) in guest_reset() 291 static int guest_alloc_one_irq(struct cxl *adapter) in guest_alloc_one_irq() 310 struct cxl *adapter, unsigned int num) in guest_alloc_irq_ranges() 343 struct cxl *adapter) in guest_release_irq_ranges() 522 struct cxl *adapter = ctx->afu->adapter; in attach_afu_directed() 894 static bool guest_link_ok(struct cxl *cxl, struct cxl_afu *afu) in guest_link_ok() argument 1045 static void free_adapter(struct cxl *adapter) in free_adapter() 1065 static int properties_look_ok(struct cxl *adapter) in properties_look_ok() 1084 void cxl_guest_remove_adapter(struct cxl *adapter) in cxl_guest_remove_adapter() 1101 struct cxl *adapter; in cxl_guest_init_adapter() [all …]
|
| A D | flash.c | 173 static int update_devicetree(struct cxl *adapter, s32 scope) in update_devicetree() 227 static int handle_image(struct cxl *adapter, int operation, in handle_image() 322 static int transfer_image(struct cxl *adapter, int operation, in transfer_image() 371 static long ioctl_transfer_image(struct cxl *adapter, int operation, in ioctl_transfer_image() 394 struct cxl *adapter; in device_open() 460 struct cxl *adapter = file->private_data; in device_ioctl() 478 struct cxl *adapter = file->private_data; in device_close() 515 void cxl_guest_remove_chardev(struct cxl *adapter) in cxl_guest_remove_chardev() 520 int cxl_guest_add_chardev(struct cxl *adapter) in cxl_guest_add_chardev()
|
| A D | sysfs.c | 21 struct cxl *adapter = to_cxl_adapter(device); in caia_version_show() 31 struct cxl *adapter = to_cxl_adapter(device); in psl_revision_show() 40 struct cxl *adapter = to_cxl_adapter(device); in base_image_show() 49 struct cxl *adapter = to_cxl_adapter(device); in image_loaded_show() 60 struct cxl *adapter = to_cxl_adapter(device); in psl_timebase_synced_show() 81 struct cxl *adapter = to_cxl_adapter(device); in tunneled_ops_supported_show() 90 struct cxl *adapter = to_cxl_adapter(device); in reset_adapter_store() 126 struct cxl *adapter = to_cxl_adapter(device); in load_image_on_perst_show() 140 struct cxl *adapter = to_cxl_adapter(device); in load_image_on_perst_store() 164 struct cxl *adapter = to_cxl_adapter(device); in perst_reloads_same_image_show() [all …]
|
| A D | debugfs.c | 36 void cxl_debugfs_add_adapter_regs_psl9(struct cxl *adapter, struct dentry *dir) in cxl_debugfs_add_adapter_regs_psl9() 49 void cxl_debugfs_add_adapter_regs_psl8(struct cxl *adapter, struct dentry *dir) in cxl_debugfs_add_adapter_regs_psl8() 57 void cxl_debugfs_adapter_add(struct cxl *adapter) in cxl_debugfs_adapter_add() 75 void cxl_debugfs_adapter_remove(struct cxl *adapter) in cxl_debugfs_adapter_remove()
|
| A D | of.c | 111 static int read_vpd(struct cxl *adapter, struct cxl_afu *afu) in read_vpd() 283 static int read_adapter_irq_config(struct cxl *adapter, struct device_node *np) in read_adapter_irq_config() 336 int cxl_of_read_adapter_handle(struct cxl *adapter, struct device_node *np) in cxl_of_read_adapter_handle() 345 int cxl_of_read_adapter_properties(struct cxl *adapter, struct device_node *np) in cxl_of_read_adapter_properties() 437 struct cxl *adapter; in cxl_of_remove() 457 struct cxl *adapter = NULL; in cxl_of_probe()
|
| A D | native.c | 289 int cxl_invalidate_all_psl9(struct cxl *adapter) in cxl_invalidate_all_psl9() 315 int cxl_invalidate_all_psl8(struct cxl *adapter) in cxl_invalidate_all_psl8() 347 int cxl_data_cache_flush(struct cxl *adapter) in cxl_data_cache_flush() 410 struct cxl *adapter = ctx->afu->adapter; in slb_invalid() 1283 void cxl_native_err_irq_dump_regs_psl9(struct cxl *adapter) in cxl_native_err_irq_dump_regs_psl9() 1291 void cxl_native_err_irq_dump_regs_psl8(struct cxl *adapter) in cxl_native_err_irq_dump_regs_psl8() 1304 struct cxl *adapter = data; in native_irq_err() 1323 int cxl_native_register_psl_err_irq(struct cxl *adapter) in cxl_native_register_psl_err_irq() 1346 void cxl_native_release_psl_err_irq(struct cxl *adapter) in cxl_native_release_psl_err_irq()
|
| A D | Kconfig | 20 userspace programs to access these accelerators via /dev/cxl/afuM.N
|
| A D | irq.c | 223 unsigned int cxl_map_irq(struct cxl *adapter, irq_hw_number_t hwirq, in cxl_map_irq() 255 int cxl_register_one_irq(struct cxl *adapter, in cxl_register_one_irq()
|
| /linux/drivers/nvdimm/ |
| A D | nd.h | 33 bool cxl; member 42 if (ndd->cxl) in nsl_ref_name() 50 if (ndd->cxl) in nsl_get_name() 60 if (ndd->cxl) in nsl_set_name() 68 if (ndd->cxl) in nsl_get_slot() 76 if (ndd->cxl) in nsl_set_slot() 85 if (ndd->cxl) in nsl_get_checksum() 94 if (ndd->cxl) in nsl_set_checksum() 103 if (ndd->cxl) in nsl_get_flags() 111 if (ndd->cxl) in nsl_set_flags() [all …]
|
| A D | label.c | 363 if (!ndd->cxl && !efi_namespace_label_has(ndd, checksum)) in nsl_validate_checksum() 378 if (!ndd->cxl && !efi_namespace_label_has(ndd, checksum)) in nsl_calculate_checksum() 833 if (ndd->cxl || !efi_namespace_label_has(ndd, type_guid)) in nsl_validate_type_guid() 847 if (ndd->cxl) { in nsl_set_claim_class() 850 import_uuid(&uuid, nd_label->cxl.abstraction_uuid); in nsl_set_claim_class() 851 export_uuid(nd_label->cxl.abstraction_uuid, in nsl_set_claim_class() 866 if (ndd->cxl) { in nsl_get_claim_class() 869 import_uuid(&uuid, nd_label->cxl.abstraction_uuid); in nsl_get_claim_class()
|
| /linux/Documentation/driver-api/cxl/ |
| A D | memory-devices.rst | 25 .. kernel-doc:: drivers/cxl/pci.c 26 :doc: cxl pci 28 .. kernel-doc:: drivers/cxl/pci.c 33 .. kernel-doc:: drivers/cxl/cxl.h 34 :doc: cxl objects 36 .. kernel-doc:: drivers/cxl/cxl.h 39 .. kernel-doc:: drivers/cxl/core/bus.c 40 :doc: cxl core 46 :doc: cxl pmem 49 :doc: cxl registers [all …]
|
| /linux/Documentation/ABI/testing/ |
| A D | sysfs-bus-cxl | 4 Contact: linux-cxl@vger.kernel.org 10 What: /sys/bus/cxl/devices/memX/ram/size 13 Contact: linux-cxl@vger.kernel.org 22 Contact: linux-cxl@vger.kernel.org 28 What: /sys/bus/cxl/devices/*/devtype 31 Contact: linux-cxl@vger.kernel.org 40 Contact: linux-cxl@vger.kernel.org 51 Contact: linux-cxl@vger.kernel.org 64 Contact: linux-cxl@vger.kernel.org 76 Contact: linux-cxl@vger.kernel.org [all …]
|
| A D | sysfs-class-cxl | 4 /sys/class/cxl/afu0.0s/device/irqs_max, i.e. /sys/class/cxl/afu0.0/irqs_max. 7 Slave contexts (eg. /sys/class/cxl/afu0.0s): 9 What: /sys/class/cxl/<afu>/afu_err_buf 20 What: /sys/class/cxl/<afu>/irqs_max 31 What: /sys/class/cxl/<afu>/irqs_min 41 What: /sys/class/cxl/<afu>/mmio_size 57 What: /sys/class/cxl/<afu>/mode 87 What: /sys/class/cxl/<afu>/reset 152 Master contexts (eg. /sys/class/cxl/afu0.0m) 178 Card info (eg. /sys/class/cxl/card0) [all …]
|
| /linux/include/misc/ |
| A D | cxl.h | 97 int cxl_allocate_afu_irqs(struct cxl_context *cxl, int num); 99 void cxl_free_afu_irqs(struct cxl_context *cxl); 106 int cxl_map_afu_irq(struct cxl_context *cxl, int num, 109 void cxl_unmap_afu_irq(struct cxl_context *cxl, int num, void *cookie);
|
| /linux/tools/testing/cxl/ |
| A D | Kbuild | 11 CXL_SRC := $(DRIVERS)/cxl 12 CXL_CORE_SRC := $(DRIVERS)/cxl/core 13 ccflags-y := -I$(srctree)/drivers/cxl/
|
| /linux/tools/testing/cxl/test/ |
| A D | Kbuild | 2 ccflags-y := -I$(srctree)/drivers/cxl/ 8 cxl_test-y := cxl.o
|
| /linux/Documentation/powerpc/ |
| A D | cxl.rst | 139 files will be created. /dev/cxl/afu0.0m will correspond to a 140 master context and /dev/cxl/afu0.0s will correspond to a slave 147 /dev/cxl/afu0.0d. This will have access to the entire MMIO space 150 The types described below are defined in include/uapi/misc/cxl.h 454 A cxl sysfs class is added under /sys/class/cxl to facilitate 456 described in Documentation/ABI/testing/sysfs-class-cxl 467 SUBSYSTEM=="cxl", ATTRS{mode}=="dedicated_process", SYMLINK="cxl/%b" 468 SUBSYSTEM=="cxl", ATTRS{mode}=="afu_directed", \ 469 KERNEL=="afu[0-9]*.[0-9]*s", SYMLINK="cxl/%b"
|
| A D | index.rst | 15 cxl
|
| /linux/drivers/cxl/core/ |
| A D | Makefile | 4 ccflags-y += -DDEFAULT_SYMBOL_NAMESPACE=CXL -I$(srctree)/drivers/cxl
|
| /linux/arch/powerpc/platforms/powernv/ |
| A D | Makefile | 15 obj-$(CONFIG_CXL_BASE) += pci-cxl.o
|
| /linux/drivers/misc/ |
| A D | Makefile | 50 obj-$(CONFIG_CXL_BASE) += cxl/
|