Home
last modified time | relevance | path

Searched refs:cxl_afu (Results 1 – 10 of 10) sorted by relevance

/linux-4.1.27/drivers/misc/cxl/
Dcxl.h341 #define to_cxl_afu(d) container_of(d, struct cxl_afu, dev)
343 struct cxl_afu { struct
406 struct cxl_afu *afu; argument
466 struct cxl_afu *afu[CXL_MAX_SLICES];
537 static inline void __iomem *_cxl_p1n_addr(struct cxl_afu *afu, cxl_p1n_reg_t reg) in _cxl_p1n_addr()
548 static inline void __iomem *_cxl_p2n_addr(struct cxl_afu *afu, cxl_p2n_reg_t reg) in _cxl_p2n_addr()
563 u16 cxl_afu_cr_read16(struct cxl_afu *afu, int cr, u64 off);
564 u8 cxl_afu_cr_read8(struct cxl_afu *afu, int cr, u64 off);
580 int cxl_register_afu(struct cxl_afu *afu);
581 int cxl_chardev_d_afu_add(struct cxl_afu *afu);
[all …]
Dsysfs.c131 struct cxl_afu *afu = to_afu_chardev_m(device); in mmio_size_show_master()
140 struct cxl_afu *afu = to_afu_chardev_m(device); in pp_mmio_off_show()
149 struct cxl_afu *afu = to_afu_chardev_m(device); in pp_mmio_len_show()
167 struct cxl_afu *afu = to_cxl_afu(device); in mmio_size_show()
178 struct cxl_afu *afu = to_cxl_afu(device); in reset_store_afu()
201 struct cxl_afu *afu = to_cxl_afu(device); in irqs_min_show()
210 struct cxl_afu *afu = to_cxl_afu(device); in irqs_max_show()
219 struct cxl_afu *afu = to_cxl_afu(device); in irqs_max_store()
240 struct cxl_afu *afu = to_cxl_afu(device); in modes_supported_show()
254 struct cxl_afu *afu = to_cxl_afu(device); in prefault_mode_show()
[all …]
Dnative.c23 static int afu_control(struct cxl_afu *afu, u64 command, in afu_control()
58 static int afu_enable(struct cxl_afu *afu) in afu_enable()
67 int cxl_afu_disable(struct cxl_afu *afu) in cxl_afu_disable()
76 int cxl_afu_reset(struct cxl_afu *afu) in cxl_afu_reset()
86 static int afu_check_and_enable(struct cxl_afu *afu) in afu_check_and_enable()
93 int cxl_psl_purge(struct cxl_afu *afu) in cxl_psl_purge()
164 static int alloc_spa(struct cxl_afu *afu) in alloc_spa()
198 static void release_spa(struct cxl_afu *afu) in release_spa()
232 int cxl_afu_slbia(struct cxl_afu *afu) in cxl_afu_slbia()
248 static int cxl_write_sstp(struct cxl_afu *afu, u64 sstp0, u64 sstp1) in cxl_write_sstp()
[all …]
Dpci.c117 u16 cxl_afu_cr_read16(struct cxl_afu *afu, int cr, u64 off) in cxl_afu_cr_read16()
126 u8 cxl_afu_cr_read8(struct cxl_afu *afu, int cr, u64 off) in cxl_afu_cr_read8()
287 static void dump_afu_descriptor(struct cxl_afu *afu) in dump_afu_descriptor()
362 static int init_implementation_afu_regs(struct cxl_afu *afu) in init_implementation_afu_regs()
500 static int cxl_map_slice_regs(struct cxl_afu *afu, struct cxl *adapter, struct pci_dev *dev) in cxl_map_slice_regs()
530 static void cxl_unmap_slice_regs(struct cxl_afu *afu) in cxl_unmap_slice_regs()
540 struct cxl_afu *afu = to_cxl_afu(dev); in cxl_release_afu()
547 static struct cxl_afu *cxl_alloc_afu(struct cxl *adapter, int slice) in cxl_alloc_afu()
549 struct cxl_afu *afu; in cxl_alloc_afu()
551 if (!(afu = kzalloc(sizeof(struct cxl_afu), GFP_KERNEL))) in cxl_alloc_afu()
[all …]
Dfile.c51 struct cxl_afu *afu; in __afu_open()
399 static int cxl_add_chardev(struct cxl_afu *afu, dev_t devt, struct cdev *cdev, in cxl_add_chardev()
428 int cxl_chardev_d_afu_add(struct cxl_afu *afu) in cxl_chardev_d_afu_add()
435 int cxl_chardev_m_afu_add(struct cxl_afu *afu) in cxl_chardev_m_afu_add()
442 int cxl_chardev_s_afu_add(struct cxl_afu *afu) in cxl_chardev_s_afu_add()
449 void cxl_chardev_afu_remove(struct cxl_afu *afu) in cxl_chardev_afu_remove()
468 int cxl_register_afu(struct cxl_afu *afu) in cxl_register_afu()
Dirq.c48 struct cxl_afu *afu = data; in cxl_slice_irq_err()
182 static irqreturn_t fail_psl_irq(struct cxl_afu *afu, struct cxl_irq_info *irq_info) in fail_psl_irq()
194 struct cxl_afu *afu = data; in cxl_irq_multiplexed()
349 int cxl_register_serr_irq(struct cxl_afu *afu) in cxl_register_serr_irq()
374 void cxl_release_serr_irq(struct cxl_afu *afu) in cxl_release_serr_irq()
382 int cxl_register_psl_irq(struct cxl_afu *afu) in cxl_register_psl_irq()
400 void cxl_release_psl_irq(struct cxl_afu *afu) in cxl_release_psl_irq()
Dtrace.h365 TP_PROTO(struct cxl_afu *afu, u64 cmd),
389 TP_PROTO(struct cxl_afu *afu, u64 cmd, int rc),
416 TP_PROTO(struct cxl_afu *afu, u64 cmd),
421 TP_PROTO(struct cxl_afu *afu, u64 cmd, int rc),
426 TP_PROTO(struct cxl_afu *afu, u64 cmd),
437 TP_PROTO(struct cxl_afu *afu, u64 cmd, int rc),
Ddebugfs.c83 int cxl_debugfs_afu_add(struct cxl_afu *afu) in cxl_debugfs_afu_add()
113 void cxl_debugfs_afu_remove(struct cxl_afu *afu) in cxl_debugfs_afu_remove()
Dcontext.c37 int cxl_context_init(struct cxl_context *ctx, struct cxl_afu *afu, bool master, in cxl_context_init()
208 void cxl_context_detach_all(struct cxl_afu *afu) in cxl_context_detach_all()
Dmain.c64 struct cxl_afu *afu; in cxl_slbia_core()
177 int cxl_afu_select_best_mode(struct cxl_afu *afu) in cxl_afu_select_best_mode()