Lines Matching defs:afu

89 #define AFUD_READ(afu, off)		in_be64(afu->native->afu_desc_mmio + off)  argument
90 #define AFUD_READ_LE(afu, off) in_le64(afu->native->afu_desc_mmio + off) argument
94 #define AFUD_READ_INFO(afu) AFUD_READ(afu, 0x0) argument
103 #define AFUD_READ_CR(afu) AFUD_READ(afu, 0x20) argument
105 #define AFUD_READ_CR_OFF(afu) AFUD_READ(afu, 0x28) argument
106 #define AFUD_READ_PPPSA(afu) AFUD_READ(afu, 0x30) argument
110 #define AFUD_READ_PPPSA_OFF(afu) AFUD_READ(afu, 0x38) argument
111 #define AFUD_READ_EB(afu) AFUD_READ(afu, 0x40) argument
113 #define AFUD_READ_EB_OFF(afu) AFUD_READ(afu, 0x48) argument
259 static void dump_afu_descriptor(struct cxl_afu *afu) in dump_afu_descriptor()
623 static int init_implementation_afu_regs_psl9(struct cxl_afu *afu) in init_implementation_afu_regs_psl9()
628 static int init_implementation_afu_regs_psl8(struct cxl_afu *afu) in init_implementation_afu_regs_psl8()
768 static int pci_map_slice_regs(struct cxl_afu *afu, struct cxl *adapter, struct pci_dev *dev) in pci_map_slice_regs()
798 static void pci_unmap_slice_regs(struct cxl_afu *afu) in pci_unmap_slice_regs()
816 struct cxl_afu *afu = to_cxl_afu(dev); in cxl_pci_release_afu() local
828 static int cxl_read_afu_descriptor(struct cxl_afu *afu) in cxl_read_afu_descriptor()
873 static int cxl_afu_descriptor_looks_ok(struct cxl_afu *afu) in cxl_afu_descriptor_looks_ok()
913 static int sanitise_afu_regs_psl9(struct cxl_afu *afu) in sanitise_afu_regs_psl9()
959 static int sanitise_afu_regs_psl8(struct cxl_afu *afu) in sanitise_afu_regs_psl8()
1021 ssize_t cxl_pci_afu_read_err_buffer(struct cxl_afu *afu, char *buf, in cxl_pci_afu_read_err_buffer()
1058 static int pci_configure_afu(struct cxl_afu *afu, struct cxl *adapter, struct pci_dev *dev) in pci_configure_afu()
1106 static void pci_deconfigure_afu(struct cxl_afu *afu) in pci_deconfigure_afu()
1124 struct cxl_afu *afu; in pci_init_afu() local
1181 static void cxl_pci_remove_afu(struct cxl_afu *afu) in cxl_pci_remove_afu()
1772 struct cxl_afu *afu; in cxl_remove() local
1786 static pci_ers_result_t cxl_vphb_error_detected(struct cxl_afu *afu, in cxl_vphb_error_detected()
1826 struct cxl_afu *afu; in cxl_pci_error_detected() local
1968 struct cxl_afu *afu; in cxl_pci_slot_reset() local
2060 struct cxl_afu *afu; in cxl_pci_resume() local