Lines Matching refs:cxl_afu
22 static int afu_control(struct cxl_afu *afu, u64 command, u64 clear,
75 static int afu_enable(struct cxl_afu *afu)
84 int cxl_afu_disable(struct cxl_afu *afu)
94 static int native_afu_reset(struct cxl_afu *afu)
120 static int native_afu_check_and_enable(struct cxl_afu *afu)
131 int cxl_psl_purge(struct cxl_afu *afu)
223 static int cxl_alloc_spa(struct cxl_afu *afu, int mode)
256 static void attach_spa(struct cxl_afu *afu)
272 void cxl_release_spa(struct cxl_afu *afu)
383 static int cxl_write_sstp(struct cxl_afu *afu, u64 sstp0, u64 sstp1)
548 static int activate_afu_directed(struct cxl_afu *afu)
782 static int deactivate_afu_directed(struct cxl_afu *afu)
825 int cxl_activate_dedicated_process_psl9(struct cxl_afu *afu)
851 int cxl_activate_dedicated_process_psl8(struct cxl_afu *afu)
886 struct cxl_afu *afu = ctx->afu;
902 struct cxl_afu *afu = ctx->afu;
930 struct cxl_afu *afu = ctx->afu;
962 static int deactivate_dedicated_process(struct cxl_afu *afu)
974 static int native_afu_deactivate_mode(struct cxl_afu *afu, int mode)
983 static int native_afu_activate_mode(struct cxl_afu *afu, int mode)
1080 static int native_get_irq_info(struct cxl_afu *afu, struct cxl_irq_info *info)
1148 static bool cxl_is_translation_fault(struct cxl_afu *afu, u64 dsisr)
1159 irqreturn_t cxl_fail_irq_psl(struct cxl_afu *afu, struct cxl_irq_info *irq_info)
1171 struct cxl_afu *afu = data;
1247 struct cxl_afu *afu = data;
1356 int cxl_native_register_serr_irq(struct cxl_afu *afu)
1389 void cxl_native_release_serr_irq(struct cxl_afu *afu)
1402 int cxl_native_register_psl_irq(struct cxl_afu *afu)
1420 void cxl_native_release_psl_irq(struct cxl_afu *afu)
1433 static void recover_psl_err(struct cxl_afu *afu, u64 errstat)
1458 int cxl_check_error(struct cxl_afu *afu)
1469 static int native_afu_cr_read64(struct cxl_afu *afu, int cr, u64 off, u64 *out)
1480 static int native_afu_cr_read32(struct cxl_afu *afu, int cr, u64 off, u32 *out)
1491 static int native_afu_cr_read16(struct cxl_afu *afu, int cr, u64 off, u16 *out)
1503 static int native_afu_cr_read8(struct cxl_afu *afu, int cr, u64 off, u8 *out)
1515 static int native_afu_cr_write32(struct cxl_afu *afu, int cr, u64 off, u32 in)
1526 static int native_afu_cr_write16(struct cxl_afu *afu, int cr, u64 off, u16 in)
1544 static int native_afu_cr_write8(struct cxl_afu *afu, int cr, u64 off, u8 in)