Searched refs:xcsr (Results 1 – 2 of 2) sorted by relevance
/openbmc/u-boot/arch/riscv/include/asm/ |
H A D | csr.h | 64 #define xcsr(csr) #csr macro 69 __asm__ __volatile__ ("csrrw %0, " xcsr(csr) ", %1" \ 78 __asm__ __volatile__ ("csrr %0, " xcsr(csr) \ 87 __asm__ __volatile__ ("csrw " xcsr(csr) ", %0" \ 95 __asm__ __volatile__ ("csrrs %0, " xcsr(csr) ", %1" \ 104 __asm__ __volatile__ ("csrs " xcsr(csr) ", %0" \ 112 __asm__ __volatile__ ("csrrc %0, " xcsr(csr) ", %1" \ 121 __asm__ __volatile__ ("csrc " xcsr(csr) ", %0" \
|
/openbmc/linux/sound/soc/fsl/ |
H A D | fsl_sai.c | 92 u32 flags, xcsr, mask; in fsl_sai_isr() local 103 regmap_read(sai->regmap, FSL_SAI_TCSR(ofs), &xcsr); in fsl_sai_isr() 104 flags = xcsr & mask; in fsl_sai_isr() 127 xcsr &= ~FSL_SAI_CSR_xF_MASK; in fsl_sai_isr() 130 regmap_write(sai->regmap, FSL_SAI_TCSR(ofs), flags | xcsr); in fsl_sai_isr() 134 regmap_read(sai->regmap, FSL_SAI_RCSR(ofs), &xcsr); in fsl_sai_isr() 135 flags = xcsr & mask; in fsl_sai_isr() 158 xcsr &= ~FSL_SAI_CSR_xF_MASK; in fsl_sai_isr() 161 regmap_write(sai->regmap, FSL_SAI_RCSR(ofs), flags | xcsr); in fsl_sai_isr() 740 u32 xcsr, count = 100, mask; in fsl_sai_config_disable() local [all …]
|