Lines Matching refs:cxl_afu
21 static int afu_control(struct cxl_afu *afu, u64 command, u64 clear,
74 static int afu_enable(struct cxl_afu *afu)
83 int cxl_afu_disable(struct cxl_afu *afu)
93 static int native_afu_reset(struct cxl_afu *afu)
119 static int native_afu_check_and_enable(struct cxl_afu *afu)
130 int cxl_psl_purge(struct cxl_afu *afu)
222 static int cxl_alloc_spa(struct cxl_afu *afu, int mode)
255 static void attach_spa(struct cxl_afu *afu)
271 static inline void detach_spa(struct cxl_afu *afu)
276 void cxl_release_spa(struct cxl_afu *afu)
387 static int cxl_write_sstp(struct cxl_afu *afu, u64 sstp0, u64 sstp1)
552 static int activate_afu_directed(struct cxl_afu *afu)
786 static int deactivate_afu_directed(struct cxl_afu *afu)
829 int cxl_activate_dedicated_process_psl9(struct cxl_afu *afu)
855 int cxl_activate_dedicated_process_psl8(struct cxl_afu *afu)
890 struct cxl_afu *afu = ctx->afu;
906 struct cxl_afu *afu = ctx->afu;
934 struct cxl_afu *afu = ctx->afu;
966 static int deactivate_dedicated_process(struct cxl_afu *afu)
978 static int native_afu_deactivate_mode(struct cxl_afu *afu, int mode)
987 static int native_afu_activate_mode(struct cxl_afu *afu, int mode)
1084 static int native_get_irq_info(struct cxl_afu *afu, struct cxl_irq_info *info)
1152 static bool cxl_is_translation_fault(struct cxl_afu *afu, u64 dsisr)
1163 irqreturn_t cxl_fail_irq_psl(struct cxl_afu *afu, struct cxl_irq_info *irq_info)
1175 struct cxl_afu *afu = data;
1251 struct cxl_afu *afu = data;
1360 int cxl_native_register_serr_irq(struct cxl_afu *afu)
1393 void cxl_native_release_serr_irq(struct cxl_afu *afu)
1406 int cxl_native_register_psl_irq(struct cxl_afu *afu)
1424 void cxl_native_release_psl_irq(struct cxl_afu *afu)
1437 static void recover_psl_err(struct cxl_afu *afu, u64 errstat)
1462 int cxl_check_error(struct cxl_afu *afu)
1473 static int native_afu_cr_read64(struct cxl_afu *afu, int cr, u64 off, u64 *out)
1484 static int native_afu_cr_read32(struct cxl_afu *afu, int cr, u64 off, u32 *out)
1495 static int native_afu_cr_read16(struct cxl_afu *afu, int cr, u64 off, u16 *out)
1507 static int native_afu_cr_read8(struct cxl_afu *afu, int cr, u64 off, u8 *out)
1519 static int native_afu_cr_write32(struct cxl_afu *afu, int cr, u64 off, u32 in)
1530 static int native_afu_cr_write16(struct cxl_afu *afu, int cr, u64 off, u16 in)
1548 static int native_afu_cr_write8(struct cxl_afu *afu, int cr, u64 off, u8 in)