Home
last modified time | relevance | path

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

/Linux-v4.19/arch/mips/sibyte/common/
Dbus_watcher.c86 status = csr_in32(IOADDR(A_SCD_BUS_ERR_STATUS_DEBUG)); in check_bus_watcher()
90 status = csr_in32(IOADDR(A_BCM1480_BUS_ERR_STATUS_DEBUG)); in check_bus_watcher()
100 l2_err = csr_in32(IOADDR(A_BUS_L2_ERRORS)); in check_bus_watcher()
101 memio_err = csr_in32(IOADDR(A_BUS_MEM_IO_ERRORS)); in check_bus_watcher()
186 stats->status = csr_in32(IOADDR(A_SCD_BUS_ERR_STATUS)); in sibyte_bw_int()
189 stats->l2_err = cntr = csr_in32(IOADDR(A_BUS_L2_ERRORS)); in sibyte_bw_int()
196 stats->memio_err = cntr = csr_in32(IOADDR(A_BUS_MEM_IO_ERRORS)); in sibyte_bw_int()
/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()
107 data->byte = csr_in32(SMB_CSR(adap, R_SMB_DATA)) & 0xff; in smbus_xfer()
109 data->word = csr_in32(SMB_CSR(adap, R_SMB_DATA)) & 0xffff; in smbus_xfer()
/Linux-v4.19/arch/mips/mm/
Dcerr-sb1.c152 status = csr_in32(IOADDR(A_SCD_BUS_ERR_STATUS)); in check_bus_watcher()
155 l2_err = csr_in32(IOADDR(A_BUS_L2_ERRORS)); in check_bus_watcher()
159 memio_err = csr_in32(IOADDR(A_BUS_MEM_IO_ERRORS)); in check_bus_watcher()
/Linux-v4.19/arch/mips/include/asm/
Dio.h638 #define csr_in32(a) (*(volatile u32 *)((unsigned long)(a) + __CSR_32_ADJUST)) macro