Lines Matching refs:cxl_afu

341 #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);
582 int cxl_chardev_m_afu_add(struct cxl_afu *afu);
583 int cxl_chardev_s_afu_add(struct cxl_afu *afu);
584 void cxl_chardev_afu_remove(struct cxl_afu *afu);
586 void cxl_context_detach_all(struct cxl_afu *afu);
592 int cxl_sysfs_afu_add(struct cxl_afu *afu);
593 void cxl_sysfs_afu_remove(struct cxl_afu *afu);
594 int cxl_sysfs_afu_m_add(struct cxl_afu *afu);
595 void cxl_sysfs_afu_m_remove(struct cxl_afu *afu);
597 int cxl_afu_activate_mode(struct cxl_afu *afu, int mode);
598 int _cxl_afu_deactivate_mode(struct cxl_afu *afu, int mode);
599 int cxl_afu_deactivate_mode(struct cxl_afu *afu);
600 int cxl_afu_select_best_mode(struct cxl_afu *afu);
602 int cxl_register_psl_irq(struct cxl_afu *afu);
603 void cxl_release_psl_irq(struct cxl_afu *afu);
606 int cxl_register_serr_irq(struct cxl_afu *afu);
607 void cxl_release_serr_irq(struct cxl_afu *afu);
616 int cxl_debugfs_afu_add(struct cxl_afu *afu);
617 void cxl_debugfs_afu_remove(struct cxl_afu *afu);
628 int cxl_context_init(struct cxl_context *ctx, struct cxl_afu *afu, bool master,
649 int cxl_get_irq(struct cxl_afu *afu, struct cxl_irq_info *info);
652 int cxl_check_error(struct cxl_afu *afu);
653 int cxl_afu_slbia(struct cxl_afu *afu);
655 int cxl_afu_disable(struct cxl_afu *afu);
656 int cxl_afu_reset(struct cxl_afu *afu);
657 int cxl_psl_purge(struct cxl_afu *afu);