/linux-6.12.1/drivers/crypto/intel/qat/qat_common/ |
D | adf_gen4_hw_csr_data.h | 37 #define READ_CSR_RING_HEAD(csr_base_addr, bank, ring) \ argument 38 ADF_CSR_RD((csr_base_addr) + ADF_RING_CSR_ADDR_OFFSET, \ 41 #define READ_CSR_RING_TAIL(csr_base_addr, bank, ring) \ argument 42 ADF_CSR_RD((csr_base_addr) + ADF_RING_CSR_ADDR_OFFSET, \ 45 #define READ_CSR_STAT(csr_base_addr, bank) \ argument 46 ADF_CSR_RD((csr_base_addr) + ADF_RING_CSR_ADDR_OFFSET, \ 48 #define READ_CSR_UO_STAT(csr_base_addr, bank) \ argument 49 ADF_CSR_RD((csr_base_addr) + ADF_RING_CSR_ADDR_OFFSET, \ 51 #define READ_CSR_E_STAT(csr_base_addr, bank) \ argument 52 ADF_CSR_RD((csr_base_addr) + ADF_RING_CSR_ADDR_OFFSET, \ [all …]
|
D | adf_gen4_hw_csr_data.c | 11 static u32 read_csr_ring_head(void __iomem *csr_base_addr, u32 bank, u32 ring) in read_csr_ring_head() argument 13 return READ_CSR_RING_HEAD(csr_base_addr, bank, ring); in read_csr_ring_head() 16 static void write_csr_ring_head(void __iomem *csr_base_addr, u32 bank, u32 ring, in write_csr_ring_head() argument 19 WRITE_CSR_RING_HEAD(csr_base_addr, bank, ring, value); in write_csr_ring_head() 22 static u32 read_csr_ring_tail(void __iomem *csr_base_addr, u32 bank, u32 ring) in read_csr_ring_tail() argument 24 return READ_CSR_RING_TAIL(csr_base_addr, bank, ring); in read_csr_ring_tail() 27 static void write_csr_ring_tail(void __iomem *csr_base_addr, u32 bank, u32 ring, in write_csr_ring_tail() argument 30 WRITE_CSR_RING_TAIL(csr_base_addr, bank, ring, value); in write_csr_ring_tail() 33 static u32 read_csr_stat(void __iomem *csr_base_addr, u32 bank) in read_csr_stat() argument 35 return READ_CSR_STAT(csr_base_addr, bank); in read_csr_stat() [all …]
|
D | adf_gen2_hw_csr_data.h | 30 #define READ_CSR_RING_HEAD(csr_base_addr, bank, ring) \ argument 31 ADF_CSR_RD(csr_base_addr, (ADF_RING_BUNDLE_SIZE * (bank)) + \ 33 #define READ_CSR_RING_TAIL(csr_base_addr, bank, ring) \ argument 34 ADF_CSR_RD(csr_base_addr, (ADF_RING_BUNDLE_SIZE * (bank)) + \ 36 #define READ_CSR_E_STAT(csr_base_addr, bank) \ argument 37 ADF_CSR_RD(csr_base_addr, (ADF_RING_BUNDLE_SIZE * (bank)) + \ 39 #define WRITE_CSR_RING_CONFIG(csr_base_addr, bank, ring, value) \ argument 40 ADF_CSR_WR(csr_base_addr, (ADF_RING_BUNDLE_SIZE * (bank)) + \ 42 #define WRITE_CSR_RING_BASE(csr_base_addr, bank, ring, value) \ argument 47 ADF_CSR_WR(csr_base_addr, (ADF_RING_BUNDLE_SIZE * (bank)) + \ [all …]
|
D | adf_gen2_hw_csr_data.c | 11 static u32 read_csr_ring_head(void __iomem *csr_base_addr, u32 bank, u32 ring) in read_csr_ring_head() argument 13 return READ_CSR_RING_HEAD(csr_base_addr, bank, ring); in read_csr_ring_head() 16 static void write_csr_ring_head(void __iomem *csr_base_addr, u32 bank, u32 ring, in write_csr_ring_head() argument 19 WRITE_CSR_RING_HEAD(csr_base_addr, bank, ring, value); in write_csr_ring_head() 22 static u32 read_csr_ring_tail(void __iomem *csr_base_addr, u32 bank, u32 ring) in read_csr_ring_tail() argument 24 return READ_CSR_RING_TAIL(csr_base_addr, bank, ring); in read_csr_ring_tail() 27 static void write_csr_ring_tail(void __iomem *csr_base_addr, u32 bank, u32 ring, in write_csr_ring_tail() argument 30 WRITE_CSR_RING_TAIL(csr_base_addr, bank, ring, value); in write_csr_ring_tail() 33 static u32 read_csr_e_stat(void __iomem *csr_base_addr, u32 bank) in read_csr_e_stat() argument 35 return READ_CSR_E_STAT(csr_base_addr, bank); in read_csr_e_stat() [all …]
|
D | adf_accel_devices.h | 180 u32 (*read_csr_ring_head)(void __iomem *csr_base_addr, u32 bank, 182 void (*write_csr_ring_head)(void __iomem *csr_base_addr, u32 bank, 184 u32 (*read_csr_ring_tail)(void __iomem *csr_base_addr, u32 bank, 186 void (*write_csr_ring_tail)(void __iomem *csr_base_addr, u32 bank, 188 u32 (*read_csr_stat)(void __iomem *csr_base_addr, u32 bank); 189 u32 (*read_csr_uo_stat)(void __iomem *csr_base_addr, u32 bank); 190 u32 (*read_csr_e_stat)(void __iomem *csr_base_addr, u32 bank); 191 u32 (*read_csr_ne_stat)(void __iomem *csr_base_addr, u32 bank); 192 u32 (*read_csr_nf_stat)(void __iomem *csr_base_addr, u32 bank); 193 u32 (*read_csr_f_stat)(void __iomem *csr_base_addr, u32 bank); [all …]
|