Home
last modified time | relevance | path

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

12

/linux/drivers/misc/cxl/
H A Dcxl.h443 #define to_cxl_adapter(d) container_of(d, struct cxl, dev)
488 struct cxl *adapter;
628 int (*adapter_regs_init)(struct cxl *adapter, struct pci_dev *dev);
629 int (*invalidate_all)(struct cxl *adapter);
640 void (*debugfs_add_adapter_regs)(struct cxl *adapter, struct dentry *dir);
643 void (*err_irq_dump_registers)(struct cxl *adapter);
644 void (*debugfs_stop_trace)(struct cxl *adapter);
645 void (*write_timebase_ctrl)(struct cxl *adapter);
646 u64 (*timebase_read)(struct cxl *adapter);
678 struct cxl { struct
[all …]
H 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
H 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()
222 if (!(adapter = kzalloc(sizeof(struct cxl), GFP_KERNEL))) in cxl_alloc_adapter()
244 struct cxl_afu *cxl_alloc_afu(struct cxl *adapter, int slice) in cxl_alloc_afu()
278 int cxl_adapter_context_get(struct cxl *adapter) in cxl_adapter_context_get()
[all …]
H A Dguest.c70 static ssize_t guest_collect_vpd(struct cxl *adapter, struct cxl_afu *afu, in guest_collect_vpd()
223 static int irq_alloc_range(struct cxl *adapter, int len, int *irq) in irq_alloc_range()
244 static int irq_free_range(struct cxl *adapter, int irq, int len) in irq_free_range()
266 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()
304 static void guest_release_one_irq(struct cxl *adapter, int irq) in guest_release_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
[all …]
H 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()
H A Dsysfs.c11 #include "cxl.h"
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 *adapte in load_image_on_perst_store()
[all...]
H 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()
H 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()
H A Dnative.c285 int cxl_invalidate_all_psl9(struct cxl *adapter) in cxl_invalidate_all_psl9()
311 int cxl_invalidate_all_psl8(struct cxl *adapter) in cxl_invalidate_all_psl8()
343 int cxl_data_cache_flush(struct cxl *adapter) in cxl_data_cache_flush()
406 struct cxl *adapter = ctx->afu->adapter; in slb_invalid()
1279 void cxl_native_err_irq_dump_regs_psl9(struct cxl *adapter) in cxl_native_err_irq_dump_regs_psl9()
1287 void cxl_native_err_irq_dump_regs_psl8(struct cxl *adapter) in cxl_native_err_irq_dump_regs_psl8()
1300 struct cxl *adapter = data; in native_irq_err()
1319 int cxl_native_register_psl_err_irq(struct cxl *adapter) in cxl_native_register_psl_err_irq()
1342 void cxl_native_release_psl_err_irq(struct cxl *adapter) in cxl_native_release_psl_err_irq()
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-cxl1 What: /sys/bus/cxl/flush
4 Contact: linux-cxl@vger.kernel.org
11 What: /sys/bus/cxl/devices/memX/firmware_version
14 Contact: linux-cxl@vger.kernel.org
21 What: /sys/bus/cxl/devices/memX/ram/size
24 Contact: linux-cxl@vger.kernel.org
31 What: /sys/bus/cxl/devices/memX/ram/qos_class
34 Contact: linux-cxl@vger.kernel.org
48 What: /sys/bus/cxl/devices/memX/pmem/size
51 Contact: linux-cxl@vger.kernel.org
[all …]
H 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
H 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/
H A Dmemory-devices.rst43 # cxl list -BEMPu -b cxl_test
203 # cxl list -BDMu -d root -m mem3
261 # cxl list -MDu -d 3.2
322 .. kernel-doc:: drivers/cxl/pci.c
323 :doc: cxl pci
325 .. kernel-doc:: drivers/cxl/pci.c
328 .. kernel-doc:: drivers/cxl/mem.c
329 :doc: cxl mem
331 .. kernel-doc:: drivers/cxl/cxlmem.h
334 .. kernel-doc:: drivers/cxl/core/memdev.c
[all …]
H 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/
H 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/
H A DKbuild2 ccflags-y := -I$(srctree)/drivers/cxl/ -I$(srctree)/drivers/cxl/core
8 cxl_test-y := cxl.o
/linux/include/misc/
H 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/
H 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/
H 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/
H A Dcxl.rst140 files will be created. /dev/cxl/afu0.0m will correspond to a
141 master context and /dev/cxl/afu0.0s will correspond to a slave
148 /dev/cxl/afu0.0d. This will have access to the entire MMIO space
151 The types described below are defined in include/uapi/misc/cxl.h
455 A cxl sysfs class is added under /sys/class/cxl to facilitate
457 described in Documentation/ABI/obsolete/sysfs-class-cxl
468 SUBSYSTEM=="cxl", ATTRS{mode}=="dedicated_process", SYMLINK="cxl/%b"
469 SUBSYSTEM=="cxl", ATTRS{mode}=="afu_directed", \
470 KERNEL=="afu[0-9]*.[0-9]*s", SYMLINK="cxl/%b"
H A Dindex.rst15 cxl
/linux/drivers/nvdimm/
H 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/acpi/apei/
H A DMakefile6 einj-$(CONFIG_ACPI_APEI_EINJ_CXL) += einj-cxl.o
/linux/drivers/dax/
H A DMakefile12 dax_cxl-y := cxl.o
/linux/drivers/cxl/core/
H A DMakefile5 ccflags-y += -I$(srctree)/drivers/cxl

12