Lines Matching refs:cxl_afu

20 static void pci_error_handlers(struct cxl_afu *afu,
70 static ssize_t guest_collect_vpd(struct cxl *adapter, struct cxl_afu *afu,
178 static int afu_read_error_state(struct cxl_afu *afu, int *state_out)
199 struct cxl_afu *afu = data;
268 struct cxl_afu *afu = NULL;
355 static int guest_register_serr_irq(struct cxl_afu *afu)
372 static void guest_release_serr_irq(struct cxl_afu *afu)
417 static int _guest_afu_cr_readXX(int sz, struct cxl_afu *afu, int cr_idx,
461 static int guest_afu_cr_read32(struct cxl_afu *afu, int cr_idx, u64 offset,
473 static int guest_afu_cr_read16(struct cxl_afu *afu, int cr_idx, u64 offset,
485 static int guest_afu_cr_read8(struct cxl_afu *afu, int cr_idx, u64 offset,
497 static int guest_afu_cr_read64(struct cxl_afu *afu, int cr_idx, u64 offset,
503 static int guest_afu_cr_write32(struct cxl_afu *afu, int cr, u64 off, u32 in)
509 static int guest_afu_cr_write16(struct cxl_afu *afu, int cr, u64 off, u16 in)
515 static int guest_afu_cr_write8(struct cxl_afu *afu, int cr, u64 off, u8 in)
664 struct cxl_afu *afu = to_cxl_afu(dev);
674 ssize_t cxl_guest_read_afu_vpd(struct cxl_afu *afu, void *buf, size_t len)
680 static ssize_t guest_afu_read_err_buffer(struct cxl_afu *afu, char *buf,
706 static int guest_afu_check_and_enable(struct cxl_afu *afu)
735 static int activate_afu_directed(struct cxl_afu *afu)
762 static int guest_afu_activate_mode(struct cxl_afu *afu, int mode)
778 static int deactivate_afu_directed(struct cxl_afu *afu)
793 static int guest_afu_deactivate_mode(struct cxl_afu *afu, int mode)
805 static int guest_afu_reset(struct cxl_afu *afu)
811 static int guest_map_slice_regs(struct cxl_afu *afu)
821 static void guest_unmap_slice_regs(struct cxl_afu *afu)
827 static int afu_update_state(struct cxl_afu *afu)
896 static bool guest_link_ok(struct cxl *cxl, struct cxl_afu *afu)
908 static int afu_properties_look_ok(struct cxl_afu *afu)
925 struct cxl_afu *afu;
1025 void cxl_guest_remove_afu(struct cxl_afu *afu)