Lines Matching defs:afu
93 #define AFUD_READ(afu, off) in_be64(afu->afu_desc_mmio + off) argument
94 #define AFUD_READ_LE(afu, off) in_le64(afu->afu_desc_mmio + off) argument
98 #define AFUD_READ_INFO(afu) AFUD_READ(afu, 0x0) argument
107 #define AFUD_READ_CR(afu) AFUD_READ(afu, 0x20) argument
109 #define AFUD_READ_CR_OFF(afu) AFUD_READ(afu, 0x28) argument
110 #define AFUD_READ_PPPSA(afu) AFUD_READ(afu, 0x30) argument
114 #define AFUD_READ_PPPSA_OFF(afu) AFUD_READ(afu, 0x38) argument
115 #define AFUD_READ_EB(afu) AFUD_READ(afu, 0x40) argument
117 #define AFUD_READ_EB_OFF(afu) AFUD_READ(afu, 0x48) argument
119 u16 cxl_afu_cr_read16(struct cxl_afu *afu, int cr, u64 off) in cxl_afu_cr_read16()
128 u8 cxl_afu_cr_read8(struct cxl_afu *afu, int cr, u64 off) in cxl_afu_cr_read8()
289 static void dump_afu_descriptor(struct cxl_afu *afu) in dump_afu_descriptor()
422 static int init_implementation_afu_regs(struct cxl_afu *afu) in init_implementation_afu_regs()
560 static int cxl_map_slice_regs(struct cxl_afu *afu, struct cxl *adapter, struct pci_dev *dev) in cxl_map_slice_regs()
590 static void cxl_unmap_slice_regs(struct cxl_afu *afu) in cxl_unmap_slice_regs()
608 struct cxl_afu *afu = to_cxl_afu(dev); in cxl_release_afu() local
620 struct cxl_afu *afu; in cxl_alloc_afu() local
641 static int cxl_read_afu_descriptor(struct cxl_afu *afu) in cxl_read_afu_descriptor()
686 static int cxl_afu_descriptor_looks_ok(struct cxl_afu *afu) in cxl_afu_descriptor_looks_ok()
709 static int sanitise_afu_regs(struct cxl_afu *afu) in sanitise_afu_regs()
769 ssize_t cxl_afu_read_err_buffer(struct cxl_afu *afu, char *buf, in cxl_afu_read_err_buffer()
806 static int cxl_configure_afu(struct cxl_afu *afu, struct cxl *adapter, struct pci_dev *dev) in cxl_configure_afu()
847 static void cxl_deconfigure_afu(struct cxl_afu *afu) in cxl_deconfigure_afu()
856 struct cxl_afu *afu; in cxl_init_afu() local
903 static void cxl_remove_afu(struct cxl_afu *afu) in cxl_remove_afu()
1306 struct cxl_afu *afu; in cxl_remove() local
1321 static pci_ers_result_t cxl_vphb_error_detected(struct cxl_afu *afu, in cxl_vphb_error_detected()
1354 struct cxl_afu *afu; in cxl_pci_error_detected() local
1475 struct cxl_afu *afu; in cxl_pci_slot_reset() local
1547 struct cxl_afu *afu; in cxl_pci_resume() local