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