Home
last modified time | relevance | path

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

123

/linux/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/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
889 struct cxl *cxl_alloc_adapter(void);
975 struct cxl *get_cxl_adapter(int num);
1074 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.c684 int cxl_pci_alloc_one_irq(struct cxl *adapter) in cxl_pci_alloc_one_irq()
699 struct cxl *adapter, unsigned int num) in cxl_pci_alloc_irq_ranges()
707 struct cxl *adapter) in cxl_pci_release_irq_ranges()
1203 int cxl_pci_reset(struct cxl *adapter) in cxl_pci_reset()
1405 struct cxl *adapter = to_cxl_adapter(dev); in cxl_release_adapter()
1623 struct cxl *adapter; in cxl_pci_init_adapter()
1725 struct cxl *adapter; in cxl_probe()
1769 struct cxl *adapter = pci_get_drvdata(dev); in cxl_remove()
1823 struct cxl *adapter = pci_get_drvdata(pdev); in cxl_pci_error_detected()
1965 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.c55 static int read_vpd(struct cxl *adapter, struct cxl_afu *afu) in read_vpd()
173 static int read_adapter_irq_config(struct cxl *adapter, struct device_node *np) in read_adapter_irq_config()
225 int cxl_of_read_adapter_handle(struct cxl *adapter, struct device_node *np) in cxl_of_read_adapter_handle()
230 int cxl_of_read_adapter_properties(struct cxl *adapter, struct device_node *np) in cxl_of_read_adapter_properties()
275 struct cxl *adapter; in cxl_of_remove()
294 struct cxl *adapter = NULL; in cxl_of_probe()
/linux/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
51 Contact: linux-cxl@vger.kernel.org
61 Contact: linux-cxl@vger.kernel.org
78 Contact: linux-cxl@vger.kernel.org
88 Contact: linux-cxl@vger.kernel.org
98 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 Ddebugfs-cxl1 What: /sys/kernel/debug/cxl/memX/inject_poison
4 Contact: linux-cxl@vger.kernel.org
26 Contact: linux-cxl@vger.kernel.org
38 What: /sys/kernel/debug/cxl/einj_types
41 Contact: linux-cxl@vger.kernel.org
60 What: /sys/kernel/debug/cxl/$dport_dev/einj_inject
63 Contact: linux-cxl@vger.kernel.org
A Dsysfs-bus-nvdimm47 What: /sys/bus/nd/devices/nmemX/cxl/id
53 What: /sys/bus/nd/devices/nmemX/cxl/provider
59 a /sys/bus/cxl/devices/memX instance.
/linux/Documentation/driver-api/cxl/
A Dmemory-devices.rst323 :doc: cxl pci
329 :doc: cxl mem
340 :doc: cxl port
344 .. kernel-doc:: drivers/cxl/cxl.h
345 :doc: cxl objects
347 .. kernel-doc:: drivers/cxl/cxl.h
351 :doc: cxl core hdm
360 :doc: cxl core
366 :doc: cxl core pci
372 :doc: cxl pmem
[all …]
A Dmaturity-map.rst9 <https://computeexpresslink.org/cxl-specification-landing-page>`_ that
14 <https://lore.kernel.org/linux-cxl/?q=s%3APULL+s%3ACXL+tc%3Atorvalds+NOT+s%3ARe>`_,
39 the linux-cxl@vger.kernel.org community has started to look at it.
186 …<https://lore.kernel.org/linux-cxl/6650e4f835a0e_195e294a8@dwillia2-mobl3.amr.corp.intel.com.notmu…
/linux/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/tools/testing/cxl/test/
A DKbuild2 ccflags-y := -I$(srctree)/drivers/cxl/ -I$(srctree)/drivers/cxl/core
8 cxl_test-y := cxl.o
/linux/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/tools/testing/cxl/
A DKbuild20 CXL_SRC := $(DRIVERS)/cxl
21 CXL_CORE_SRC := $(DRIVERS)/cxl/core
22 ccflags-y := -I$(srctree)/drivers/cxl/
24 ccflags-y += -DTRACE_INCLUDE_PATH=$(CXL_CORE_SRC) -I$(srctree)/drivers/cxl/core/
/linux/drivers/net/can/dev/
A Dskb.c257 struct canxl_frame **cxl, in alloc_canxl_skb() argument
274 *cxl = skb_put_zero(skb, CANXL_HDR_SIZE + data_len); in alloc_canxl_skb()
277 (*cxl)->flags = CANXL_XLF; in alloc_canxl_skb()
278 (*cxl)->len = data_len; in alloc_canxl_skb()
283 *cxl = NULL; in alloc_canxl_skb()
/linux/Documentation/arch/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"
/linux/net/can/
A Draw.c145 struct canxl_frame *cxl = (struct canxl_frame *)oskb->data; in raw_rcv() local
154 if ((cxl->prio & ro->rx_vcid_mask_shifted) != in raw_rcv()
159 if (cxl->prio & CANXL_VCID_MASK) in raw_rcv()
864 struct canxl_frame *cxl = (struct canxl_frame *)skb->data; in raw_put_canxl_vcid() local
867 cxl->prio &= (CANXL_PRIO_MASK | CANXL_VCID_MASK); in raw_put_canxl_vcid()
871 cxl->prio &= CANXL_PRIO_MASK; in raw_put_canxl_vcid()
875 cxl->prio &= CANXL_PRIO_MASK; in raw_put_canxl_vcid()
876 cxl->prio |= ro->tx_vcid_shifted; in raw_put_canxl_vcid()
/linux/drivers/acpi/apei/
A DMakefile6 einj-$(CONFIG_ACPI_APEI_EINJ_CXL) += einj-cxl.o

Completed in 778 milliseconds

123