Searched refs:csr_in32 (Results 1 – 10 of 10) sorted by relevance
82 status = csr_in32(IO_SPACE_BASE | A_SCD_BUS_ERR_STATUS); in check_bus_watcher()85 status = csr_in32(IO_SPACE_BASE | A_SCD_BUS_ERR_STATUS_DEBUG); in check_bus_watcher()93 l2_err = csr_in32(IO_SPACE_BASE | A_BUS_L2_ERRORS); in check_bus_watcher()94 memio_err = csr_in32(IO_SPACE_BASE | A_BUS_MEM_IO_ERRORS); in check_bus_watcher()196 stats->status = csr_in32(IO_SPACE_BASE | A_SCD_BUS_ERR_STATUS); in sibyte_bw_int()199 stats->l2_err = cntr = csr_in32(IO_SPACE_BASE | A_BUS_L2_ERRORS); in sibyte_bw_int()206 stats->memio_err = cntr = csr_in32(IO_SPACE_BASE | A_BUS_MEM_IO_ERRORS); in sibyte_bw_int()
419 #define duart_in(reg) csr_in32(KSEG1 + A_DUART_CHANREG(kgdb_port,reg))
57 while (csr_in32(SMB_CSR(adap, R_SMB_STATUS)) & M_SMB_BUSY) in smbus_xfer()105 while (csr_in32(SMB_CSR(adap, R_SMB_STATUS)) & M_SMB_BUSY) in smbus_xfer()108 error = csr_in32(SMB_CSR(adap, R_SMB_STATUS)); in smbus_xfer()116 data->byte = csr_in32(SMB_CSR(adap, R_SMB_DATA)) & 0xff; in smbus_xfer()118 data->word = csr_in32(SMB_CSR(adap, R_SMB_DATA)) & 0xffff; in smbus_xfer()
145 status = csr_in32(IO_SPACE_BASE | A_SCD_BUS_ERR_STATUS); in check_bus_watcher()148 l2_err = csr_in32(IO_SPACE_BASE | A_BUS_L2_ERRORS); in check_bus_watcher()149 memio_err = csr_in32(IO_SPACE_BASE | A_BUS_MEM_IO_ERRORS); in check_bus_watcher()
41 #define duart_in(reg) csr_in32(KSEG1 + A_DUART_CHANREG(kgdb_port,reg))
123 #define csr_in32(a) (*(volatile u32 *)((unsigned long)(a) + __CSR_32_ADJUST)) macro
124 #define READ_CSR32(reg) csr_in32(IO_SPACE_BASE + (reg))645 temp = G_IO_MULT_SIZE(csr_in32(IO_SPACE_BASE + addr)); in sibyte_pcmcia_init()650 temp = G_IO_START_ADDR(csr_in32(KSEG1|addr)); in sibyte_pcmcia_init()
122 u32 val = csr_in32(addr); in READ_SERCSR()