Home
last modified time | relevance | path

Searched refs:cxl (Results 1 – 25 of 45) sorted by relevance

12

/linux-6.3-rc2/drivers/nvdimm/
A Dnd.h33 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 Dlabel.c362 if (!ndd->cxl && !efi_namespace_label_has(ndd, checksum)) in nsl_validate_checksum()
377 if (!ndd->cxl && !efi_namespace_label_has(ndd, checksum)) in nsl_calculate_checksum()
829 if (ndd->cxl || !efi_namespace_label_has(ndd, type_guid)) in nsl_validate_type_guid()
843 if (ndd->cxl) { in nsl_set_claim_class()
846 import_uuid(&uuid, nd_label->cxl.abstraction_uuid); in nsl_set_claim_class()
847 export_uuid(nd_label->cxl.abstraction_uuid, in nsl_set_claim_class()
862 if (ndd->cxl) { in nsl_get_claim_class()
865 import_uuid(&uuid, nd_label->cxl.abstraction_uuid); in nsl_get_claim_class()
/linux-6.3-rc2/drivers/misc/cxl/
A Dcxl.h488 struct cxl *adapter;
678 struct cxl { struct
765 static inline bool cxl_adapter_link_ok(struct cxl *cxl, struct cxl_afu *afu) in cxl_adapter_link_ok() argument
770 pdev = to_pci_dev(cxl->dev.parent); in cxl_adapter_link_ok()
776 static inline void __iomem *_cxl_p1_addr(struct cxl *cxl, cxl_p1_reg_t reg) in _cxl_p1_addr() argument
782 static inline void cxl_p1_write(struct cxl *cxl, cxl_p1_reg_t reg, u64 val) in cxl_p1_write() argument
788 static inline u64 cxl_p1_read(struct cxl *cxl, cxl_p1_reg_t reg) in cxl_p1_read() argument
888 struct cxl *cxl_alloc_adapter(void);
974 struct cxl *get_cxl_adapter(int num);
1073 struct cxl *adapter);
[all …]
A DMakefile5 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 Dmain.c78 struct cxl *adapter; in cxl_slbia_core()
184 struct cxl *get_cxl_adapter(int num) in get_cxl_adapter()
186 struct cxl *adapter; in get_cxl_adapter()
196 static int cxl_alloc_adapter_nr(struct cxl *adapter) in cxl_alloc_adapter_nr()
213 void cxl_remove_adapter_nr(struct cxl *adapter) in cxl_remove_adapter_nr()
218 struct cxl *cxl_alloc_adapter(void) in cxl_alloc_adapter()
220 struct cxl *adapter; in cxl_alloc_adapter()
278 int cxl_adapter_context_get(struct cxl *adapter) in cxl_adapter_context_get()
286 void cxl_adapter_context_put(struct cxl *adapter) in cxl_adapter_context_put()
291 int cxl_adapter_context_lock(struct cxl *adapter) in cxl_adapter_context_lock()
[all …]
A Dpci.c699 int cxl_pci_alloc_one_irq(struct cxl *adapter) in cxl_pci_alloc_one_irq()
714 struct cxl *adapter, unsigned int num) in cxl_pci_alloc_irq_ranges()
722 struct cxl *adapter) in cxl_pci_release_irq_ranges()
1218 int cxl_pci_reset(struct cxl *adapter) in cxl_pci_reset()
1420 struct cxl *adapter = to_cxl_adapter(dev); in cxl_release_adapter()
1638 struct cxl *adapter; in cxl_pci_init_adapter()
1740 struct cxl *adapter; in cxl_probe()
1784 struct cxl *adapter = pci_get_drvdata(dev); in cxl_remove()
1838 struct cxl *adapter = pci_get_drvdata(pdev); in cxl_pci_error_detected()
1980 struct cxl *adapter = pci_get_drvdata(pdev); in cxl_pci_slot_reset()
[all …]
A Dflash.c174 static int update_devicetree(struct cxl *adapter, s32 scope) in update_devicetree()
228 static int handle_image(struct cxl *adapter, int operation, in handle_image()
323 static int transfer_image(struct cxl *adapter, int operation, in transfer_image()
372 static long ioctl_transfer_image(struct cxl *adapter, int operation, in ioctl_transfer_image()
395 struct cxl *adapter; in device_open()
461 struct cxl *adapter = file->private_data; in device_ioctl()
479 struct cxl *adapter = file->private_data; in device_close()
516 void cxl_guest_remove_chardev(struct cxl *adapter) in cxl_guest_remove_chardev()
521 int cxl_guest_add_chardev(struct cxl *adapter) in cxl_guest_add_chardev()
A Dguest.c266 static int guest_reset(struct cxl *adapter) in guest_reset()
293 static int guest_alloc_one_irq(struct cxl *adapter) in guest_alloc_one_irq()
312 struct cxl *adapter, unsigned int num) in guest_alloc_irq_ranges()
345 struct cxl *adapter) in guest_release_irq_ranges()
524 struct cxl *adapter = ctx->afu->adapter; in attach_afu_directed()
896 static bool guest_link_ok(struct cxl *cxl, struct cxl_afu *afu) in guest_link_ok() argument
1049 static void free_adapter(struct cxl *adapter) in free_adapter()
1069 static int properties_look_ok(struct cxl *adapter) in properties_look_ok()
1088 void cxl_guest_remove_adapter(struct cxl *adapter) in cxl_guest_remove_adapter()
1105 struct cxl *adapter; in cxl_guest_init_adapter()
[all …]
A Dsysfs.c21 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 Ddebugfs.c36 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 Dof.c111 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()
335 int cxl_of_read_adapter_handle(struct cxl *adapter, struct device_node *np) in cxl_of_read_adapter_handle()
344 int cxl_of_read_adapter_properties(struct cxl *adapter, struct device_node *np) in cxl_of_read_adapter_properties()
436 struct cxl *adapter; in cxl_of_remove()
456 struct cxl *adapter = NULL; in cxl_of_probe()
A DKconfig21 userspace programs to access these accelerators via /dev/cxl/afuM.N
/linux-6.3-rc2/Documentation/ABI/testing/
A Dsysfs-bus-cxl1 What: /sys/bus/cxl/flush
4 Contact: linux-cxl@vger.kernel.org
14 Contact: linux-cxl@vger.kernel.org
24 Contact: linux-cxl@vger.kernel.org
34 Contact: linux-cxl@vger.kernel.org
44 Contact: linux-cxl@vger.kernel.org
54 Contact: linux-cxl@vger.kernel.org
64 Contact: linux-cxl@vger.kernel.org
74 Contact: linux-cxl@vger.kernel.org
84 Contact: linux-cxl@vger.kernel.org
[all …]
A Dsysfs-class-cxl4 /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 …]
A Dsysfs-bus-nvdimm45 What: /sys/bus/nd/devices/nmemX/cxl/id
51 What: /sys/bus/nd/devices/nmemX/cxl/provider
57 a /sys/bus/cxl/devices/memX instance.
/linux-6.3-rc2/Documentation/driver-api/cxl/
A Dmemory-devices.rst323 :doc: cxl pci
329 :doc: cxl mem
334 :doc: cxl port
338 .. kernel-doc:: drivers/cxl/cxl.h
339 :doc: cxl objects
341 .. kernel-doc:: drivers/cxl/cxl.h
345 :doc: cxl core
351 :doc: cxl core pci
357 :doc: cxl pmem
360 :doc: cxl registers
[all …]
/linux-6.3-rc2/include/linux/can/
A Dskb.h34 struct canxl_frame **cxl,
122 const struct canxl_frame *cxl = (struct canxl_frame *)skb->data; in can_is_canxl_skb() local
128 if (skb->len != CANXL_HDR_SIZE + cxl->len) in can_is_canxl_skb()
131 return cxl->flags & CANXL_XLF; in can_is_canxl_skb()
137 const struct canxl_frame *cxl = (struct canxl_frame *)skb->data; in can_skb_get_len_val() local
141 return cxl->len; in can_skb_get_len_val()
/linux-6.3-rc2/tools/testing/cxl/test/
A DKbuild2 ccflags-y := -I$(srctree)/drivers/cxl/ -I$(srctree)/drivers/cxl/core
8 cxl_test-y := cxl.o
/linux-6.3-rc2/include/misc/
A Dcxl.h97 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-6.3-rc2/tools/testing/cxl/
A DKbuild17 CXL_SRC := $(DRIVERS)/cxl
18 CXL_CORE_SRC := $(DRIVERS)/cxl/core
19 ccflags-y := -I$(srctree)/drivers/cxl/
21 ccflags-y += -DTRACE_INCLUDE_PATH=$(CXL_CORE_SRC) -I$(srctree)/drivers/cxl/core/
/linux-6.3-rc2/drivers/net/can/dev/
A Dskb.c252 struct canxl_frame **cxl, in alloc_canxl_skb() argument
269 *cxl = skb_put_zero(skb, CANXL_HDR_SIZE + data_len); in alloc_canxl_skb()
272 (*cxl)->flags = CANXL_XLF; in alloc_canxl_skb()
273 (*cxl)->len = data_len; in alloc_canxl_skb()
278 *cxl = NULL; in alloc_canxl_skb()
/linux-6.3-rc2/Documentation/powerpc/
A Dcxl.rst139 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 Dindex.rst15 cxl
/linux-6.3-rc2/drivers/dax/
A DMakefile12 dax_cxl-y := cxl.o
/linux-6.3-rc2/drivers/cxl/core/
A DMakefile5 ccflags-y += -I$(srctree)/drivers/cxl

Completed in 39 milliseconds

12