Lines Matching full:csr
463 /* helper enum for performing CSR operations */
469 /* 32-bit CSR write macro */
473 /* 64-bit CSR write macro */
488 /* 32-bit CSR read macro */
491 /* 64-bit CSR read macro */
532 adf_csr_fetch_and_and(struct resource *csr, size_t offs, unsigned long mask) in adf_csr_fetch_and_and() argument
534 unsigned int val = ADF_CSR_RD(csr, offs); in adf_csr_fetch_and_and()
537 ADF_CSR_WR(csr, offs, val); in adf_csr_fetch_and_and()
541 adf_csr_fetch_and_or(struct resource *csr, size_t offs, unsigned long mask) in adf_csr_fetch_and_or() argument
543 unsigned int val = ADF_CSR_RD(csr, offs); in adf_csr_fetch_and_or()
546 ADF_CSR_WR(csr, offs, val); in adf_csr_fetch_and_or()
551 struct resource *csr, in adf_csr_fetch_and_update() argument
557 adf_csr_fetch_and_and(csr, offs, mask); in adf_csr_fetch_and_update()
560 adf_csr_fetch_and_or(csr, offs, mask); in adf_csr_fetch_and_update()
567 /* Messages put in CSR */
569 /* Messages read from CSR */
579 /* CSR in use by other side */
625 struct mutex pf2vf_lock; /* protect CSR access for PF2VF messages */
701 struct mutex vf2pf_lock; /* protect CSR access */