/kernel/linux/linux-6.6/drivers/nvdimm/ |
H A D | nd.h | 33 bool cxl; member 42 if (ndd->cxl) in nsl_ref_name() 43 return nd_label->cxl.name; in nsl_ref_name() 50 if (ndd->cxl) in nsl_get_name() 51 return memcpy(name, nd_label->cxl.name, NSLABEL_NAME_LEN); in nsl_get_name() 60 if (ndd->cxl) in nsl_set_name() 61 return memcpy(nd_label->cxl.name, name, NSLABEL_NAME_LEN); in nsl_set_name() 68 if (ndd->cxl) in nsl_get_slot() 69 return __le32_to_cpu(nd_label->cxl.slot); in nsl_get_slot() 76 if (ndd->cxl) in nsl_set_slot() [all...] |
/kernel/linux/linux-5.10/drivers/misc/cxl/ |
H A D | cxl.h | 21 #include <misc/cxl-base.h> 23 #include <misc/cxl.h> 24 #include <uapi/misc/cxl.h> 441 #define to_cxl_adapter(d) container_of(d, struct cxl, dev) 486 struct cxl *adapter; 535 * This is a cxl context. If the PSL is in dedicated mode, there will be one 594 * external_pe is the PE shown outside of cxl. 598 * of cxl. 626 int (*adapter_regs_init)(struct cxl *adapter, struct pci_dev *dev); 627 int (*invalidate_all)(struct cxl *adapte 676 struct cxl { global() struct 763 cxl_adapter_link_ok(struct cxl *cxl, struct cxl_afu *afu) cxl_adapter_link_ok() argument 774 _cxl_p1_addr(struct cxl *cxl, cxl_p1_reg_t reg) _cxl_p1_addr() argument 780 cxl_p1_write(struct cxl *cxl, cxl_p1_reg_t reg, u64 val) cxl_p1_write() argument 786 cxl_p1_read(struct cxl *cxl, cxl_p1_reg_t reg) cxl_p1_read() argument [all...] |
H 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
|
H A D | main.c | 22 #include <misc/cxl-base.h> 24 #include "cxl.h" 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() 221 if (!(adapter = kzalloc(sizeof(struct cxl), GFP_KERNE in cxl_alloc_adapter() [all...] |
H A D | pci.c | 22 #include "cxl.h" 23 #include <misc/cxl.h> 196 dev_info(&dev->dev, "cxl vsec: %30s: %#x\n", name, what) in dump_cxl_config_space() 389 pr_err("cxl: invalid phb index\n"); in cxl_calc_capp_routing() 397 pr_err("cxl: No capp unit found for PHB[%lld,%d]. Make sure the adapter is on a capi-compatible slot\n", in cxl_calc_capp_routing() 483 static int init_implementation_adapter_regs_psl9(struct cxl *adapter, in init_implementation_adapter_regs_psl9() 551 static int init_implementation_adapter_regs_psl8(struct cxl *adapter, struct pci_dev *dev) in init_implementation_adapter_regs_psl8() 590 static void write_timebase_ctrl_psl8(struct cxl *adapter) in write_timebase_ctrl_psl8() 596 static u64 timebase_read_psl9(struct cxl *adapter) in timebase_read_psl9() 601 static u64 timebase_read_psl8(struct cxl *adapte [all...] |
H A D | flash.c | 9 #include "cxl.h" 160 pr_err("cxl: Could not update property %s - %i\n", in update_node() 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 *adapte [all...] |
H A D | debugfs.c | 10 #include "cxl.h" 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() 128 cxl_debugfs = debugfs_create_dir("cxl", NULL); in cxl_debugfs_init()
|
H A D | guest.c | 10 #include "cxl.h" 64 static ssize_t guest_collect_vpd(struct cxl *adapter, struct cxl_afu *afu, in guest_collect_vpd() 217 static int irq_alloc_range(struct cxl *adapter, int len, int *irq) in irq_alloc_range() 238 static int irq_free_range(struct cxl *adapter, int irq, int len) in irq_free_range() 260 static int guest_reset(struct cxl *adapter) in guest_reset() 287 static int guest_alloc_one_irq(struct cxl *adapter) in guest_alloc_one_irq() 298 static void guest_release_one_irq(struct cxl *adapter, int irq) in guest_release_one_irq() 306 struct cxl *adapter, unsigned int num) in guest_alloc_irq_ranges() 339 struct cxl *adapter) in guest_release_irq_ranges() 351 afu->err_irq_name = kasprintf(GFP_KERNEL, "cxl in guest_register_serr_irq() 890 guest_link_ok(struct cxl *cxl, struct cxl_afu *afu) guest_link_ok() argument [all...] |
H A D | sysfs.c | 11 #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 D | of.c | 13 #include "cxl.h" 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()
|
/kernel/linux/linux-6.6/drivers/misc/cxl/ |
H A D | cxl.h | 21 #include <misc/cxl-base.h> 23 #include <misc/cxl.h> 24 #include <uapi/misc/cxl.h> 443 #define to_cxl_adapter(d) container_of(d, struct cxl, dev) 488 struct cxl *adapter; 537 * This is a cxl context. If the PSL is in dedicated mode, there will be one 596 * external_pe is the PE shown outside of cxl. 600 * of cxl. 628 int (*adapter_regs_init)(struct cxl *adapter, struct pci_dev *dev); 629 int (*invalidate_all)(struct cxl *adapte 678 struct cxl { global() struct 765 cxl_adapter_link_ok(struct cxl *cxl, struct cxl_afu *afu) cxl_adapter_link_ok() argument 776 _cxl_p1_addr(struct cxl *cxl, cxl_p1_reg_t reg) _cxl_p1_addr() argument 782 cxl_p1_write(struct cxl *cxl, cxl_p1_reg_t reg, u64 val) cxl_p1_write() argument 788 cxl_p1_read(struct cxl *cxl, cxl_p1_reg_t reg) cxl_p1_read() argument [all...] |
H 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
|
H A D | main.c | 23 #include <misc/cxl-base.h> 25 #include "cxl.h" 78 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_KERNE in cxl_alloc_adapter() [all...] |
H A D | pci.c | 22 #include "cxl.h" 23 #include <misc/cxl.h> 187 dev_info(&dev->dev, "cxl vsec: %30s: %#x\n", name, what) in dump_cxl_config_space() 380 pr_err("cxl: invalid phb index\n"); in cxl_calc_capp_routing() 388 pr_err("cxl: No capp unit found for PHB[%lld,%d]. Make sure the adapter is on a capi-compatible slot\n", in cxl_calc_capp_routing() 474 static int init_implementation_adapter_regs_psl9(struct cxl *adapter, in init_implementation_adapter_regs_psl9() 542 static int init_implementation_adapter_regs_psl8(struct cxl *adapter, struct pci_dev *dev) in init_implementation_adapter_regs_psl8() 581 static void write_timebase_ctrl_psl8(struct cxl *adapter) in write_timebase_ctrl_psl8() 587 static u64 timebase_read_psl9(struct cxl *adapter) in timebase_read_psl9() 592 static u64 timebase_read_psl8(struct cxl *adapte [all...] |
H A D | flash.c | 10 #include "cxl.h" 161 pr_err("cxl: Could not update property %s - %i\n", in update_node() 174 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 *adapte [all...] |
H A D | debugfs.c | 10 #include "cxl.h" 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() 128 cxl_debugfs = debugfs_create_dir("cxl", NULL); in cxl_debugfs_init()
|
H A D | guest.c | 12 #include "cxl.h" 70 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() 357 afu->err_irq_name = kasprintf(GFP_KERNEL, "cxl in guest_register_serr_irq() 896 guest_link_ok(struct cxl *cxl, struct cxl_afu *afu) guest_link_ok() argument [all...] |
H A D | sysfs.c | 11 #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 D | of.c | 13 #include "cxl.h" 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() 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()
|
/kernel/linux/linux-6.6/include/linux/can/ |
H A D | skb.h | 34 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()
|
/kernel/linux/linux-5.10/include/misc/ |
H A D | cxl.h | 12 #include <uapi/misc/cxl.h> 44 * One context is inited by the cxl driver for every pci_dev. This is to be 65 * On pci_enabled_device(), the cxl driver will init a single cxl context for 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); 112 * Start work on the AFU. This starts an cxl context and associates it with a 144 * identical to the cxl fil [all...] |
/kernel/linux/linux-6.6/include/misc/ |
H A D | cxl.h | 12 #include <uapi/misc/cxl.h> 44 * One context is inited by the cxl driver for every pci_dev. This is to be 65 * On pci_enabled_device(), the cxl driver will init a single cxl context for 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); 112 * Start work on the AFU. This starts an cxl context and associates it with a 144 * identical to the cxl fil [all...] |
/kernel/linux/linux-6.6/drivers/net/can/dev/ |
H A D | skb.c | 257 struct canxl_frame **cxl, in alloc_canxl_skb() 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() 256 alloc_canxl_skb(struct net_device *dev, struct canxl_frame **cxl, unsigned int data_len) alloc_canxl_skb() argument
|
/kernel/linux/linux-6.6/drivers/cxl/core/ |
H A D | Makefile | 5 ccflags-y += -I$(srctree)/drivers/cxl
|
/kernel/linux/linux-6.6/drivers/dax/ |
H A D | Makefile | 12 dax_cxl-y := cxl.o
|