Lines Matching full:handle
90 #define SET_CAP_CSR(handle, csr, val) \ argument
91 ADF_CSR_WR(handle->hal_cap_g_ctl_csr_addr_v, csr, val)
92 #define GET_CAP_CSR(handle, csr) \ argument
93 ADF_CSR_RD(handle->hal_cap_g_ctl_csr_addr_v, csr)
94 #define SET_GLB_CSR(handle, csr, val) SET_CAP_CSR(handle, csr + GLOBAL_CSR, val) argument
95 #define GET_GLB_CSR(handle, csr) GET_CAP_CSR(handle, GLOBAL_CSR + csr) argument
96 #define AE_CSR(handle, ae) \ argument
97 ((char __iomem *)handle->hal_cap_ae_local_csr_addr_v + \
98 ((ae & handle->hal_handle->ae_mask) << 12))
99 #define AE_CSR_ADDR(handle, ae, csr) (AE_CSR(handle, ae) + (0x3ff & csr)) argument
100 #define SET_AE_CSR(handle, ae, csr, val) \ argument
101 ADF_CSR_WR(AE_CSR_ADDR(handle, ae, csr), 0, val)
102 #define GET_AE_CSR(handle, ae, csr) ADF_CSR_RD(AE_CSR_ADDR(handle, ae, csr), 0) argument
103 #define AE_XFER(handle, ae) \ argument
104 ((char __iomem *)handle->hal_cap_ae_xfer_csr_addr_v + \
105 ((ae & handle->hal_handle->ae_mask) << 12))
106 #define AE_XFER_ADDR(handle, ae, reg) (AE_XFER(handle, ae) + \ argument
108 #define SET_AE_XFER(handle, ae, reg, val) \ argument
109 ADF_CSR_WR(AE_XFER_ADDR(handle, ae, reg), 0, val)
110 #define SRAM_WRITE(handle, addr, val) \ argument
111 ADF_CSR_WR(handle->hal_sram_addr_v, addr, val)