D | icp_qat_hal.h | 134 #define SET_CAP_CSR(handle, csr, val) \ argument 136 #define GET_CAP_CSR(handle, csr) \ argument 138 #define SET_GLB_CSR(handle, csr, val) SET_CAP_CSR(handle, csr + GLOBAL_CSR, val) argument 139 #define GET_GLB_CSR(handle, csr) GET_CAP_CSR(handle, GLOBAL_CSR + csr) argument 140 #define AE_CSR(handle, ae) \ argument 143 #define AE_CSR_ADDR(handle, ae, csr) (AE_CSR(handle, ae) + (0x3ff & csr)) argument 144 #define SET_AE_CSR(handle, ae, csr, val) \ argument 146 #define GET_AE_CSR(handle, ae, csr) ADF_CSR_RD(AE_CSR_ADDR(handle, ae, csr), 0) argument 147 #define AE_XFER(handle, ae) \ argument 150 #define AE_XFER_ADDR(handle, ae, reg) (AE_XFER(handle, ae) + \ argument [all …]
|