H A D | px_csr.h | 37 #define CSR_XR(base, off) \ argument 38 (*(volatile uint64_t *)((base) + ((off)))) 40 #define CSRA_XR(base, off, index) \ argument 41 (*(volatile uint64_t *)((base) + ((off) + ((index) * 8)))) 43 #define CSR_XS(base, off, val) \ argument 44 ((*(volatile uint64_t *)((base) + ((off)))) = (val)) 46 #define CSRA_XS(base, off, index, val) \ argument 47 ((*(volatile uint64_t *)((base) + ((off) + ((index) * 8)))) = (val)) 50 #define CSR_FR(base, off, bit) \ argument 51 (((*(volatile uint64_t *) ((base) 54 CSRA_FR(base,off,index,bit) global() argument 58 CSR_FS(base,off,bit,val) global() argument 64 CSRA_FS(base,off,index,bit,val) global() argument 70 CSR_FC(base,off,bit) global() argument 75 CSRA_FC(base,off,index,bit) global() argument 81 CSR_BR(base,off,bit) global() argument 85 CSRA_BR(base,off,index,bit) global() argument 89 CSR_BS(base,off,bit) global() argument 94 CSRA_BS(base,off,index,bit) global() argument 99 CSR_BC(base,off,bit) global() argument 104 CSRA_BC(base,off,index,bit) global() argument [all...] |