Home
last modified time | relevance | path

Searched refs:R_SMB_STATUS (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/arch/mips/sibyte/swarm/
Drtc_m41t81.c90 while (__raw_readq(SMB_CSR(R_SMB_STATUS)) & M_SMB_BUSY) in m41t81_read()
97 while (__raw_readq(SMB_CSR(R_SMB_STATUS)) & M_SMB_BUSY) in m41t81_read()
103 while (__raw_readq(SMB_CSR(R_SMB_STATUS)) & M_SMB_BUSY) in m41t81_read()
106 if (__raw_readq(SMB_CSR(R_SMB_STATUS)) & M_SMB_ERROR) { in m41t81_read()
108 __raw_writeq(M_SMB_ERROR, SMB_CSR(R_SMB_STATUS)); in m41t81_read()
117 while (__raw_readq(SMB_CSR(R_SMB_STATUS)) & M_SMB_BUSY) in m41t81_write()
125 while (__raw_readq(SMB_CSR(R_SMB_STATUS)) & M_SMB_BUSY) in m41t81_write()
128 if (__raw_readq(SMB_CSR(R_SMB_STATUS)) & M_SMB_ERROR) { in m41t81_write()
130 __raw_writeq(M_SMB_ERROR, SMB_CSR(R_SMB_STATUS)); in m41t81_write()
138 while (__raw_readq(SMB_CSR(R_SMB_STATUS)) & M_SMB_BUSY) in m41t81_write()
Drtc_xicor1241.c64 while (__raw_readq(SMB_CSR(R_SMB_STATUS)) & M_SMB_BUSY) in xicor_read()
72 while (__raw_readq(SMB_CSR(R_SMB_STATUS)) & M_SMB_BUSY) in xicor_read()
78 while (__raw_readq(SMB_CSR(R_SMB_STATUS)) & M_SMB_BUSY) in xicor_read()
81 if (__raw_readq(SMB_CSR(R_SMB_STATUS)) & M_SMB_ERROR) { in xicor_read()
83 __raw_writeq(M_SMB_ERROR, SMB_CSR(R_SMB_STATUS)); in xicor_read()
92 while (__raw_readq(SMB_CSR(R_SMB_STATUS)) & M_SMB_BUSY) in xicor_write()
100 while (__raw_readq(SMB_CSR(R_SMB_STATUS)) & M_SMB_BUSY) in xicor_write()
103 if (__raw_readq(SMB_CSR(R_SMB_STATUS)) & M_SMB_ERROR) { in xicor_write()
105 __raw_writeq(M_SMB_ERROR, SMB_CSR(R_SMB_STATUS)); in xicor_write()
/Linux-v4.19/drivers/i2c/busses/
Di2c-sibyte.c44 while (csr_in32(SMB_CSR(adap, R_SMB_STATUS)) & M_SMB_BUSY) in smbus_xfer()
96 while (csr_in32(SMB_CSR(adap, R_SMB_STATUS)) & M_SMB_BUSY) in smbus_xfer()
99 error = csr_in32(SMB_CSR(adap, R_SMB_STATUS)); in smbus_xfer()
102 csr_out32(M_SMB_ERROR, SMB_CSR(adap, R_SMB_STATUS)); in smbus_xfer()
/Linux-v4.19/arch/mips/include/asm/sibyte/
Dsb1250_regs.h594 #define R_SMB_STATUS 0x0000000020 macro