tag | line | file | source code |
NCR5380_read | 363 | drivers/scsi/NCR5380.c | data = NCR5380_read(CURRENT_SCSI_DATA_REG); |
NCR5380_read | 364 | drivers/scsi/NCR5380.c | status = NCR5380_read(STATUS_REG); |
NCR5380_read | 365 | drivers/scsi/NCR5380.c | mr = NCR5380_read(MODE_REG); |
NCR5380_read | 366 | drivers/scsi/NCR5380.c | icr = NCR5380_read(INITIATOR_COMMAND_REG); |
NCR5380_read | 367 | drivers/scsi/NCR5380.c | basr = NCR5380_read(BUS_AND_STATUS_REG); |
NCR5380_read | 410 | drivers/scsi/NCR5380.c | status = NCR5380_read(STATUS_REG); |
NCR5380_read | 860 | drivers/scsi/NCR5380.c | for (pass = 1; (NCR5380_read(STATUS_REG) & SR_BSY) && |
NCR5380_read | 869 | drivers/scsi/NCR5380.c | while (jiffies < timeout && (NCR5380_read(STATUS_REG) & SR_BSY)); |
NCR5380_read | 1142 | drivers/scsi/NCR5380.c | basr = NCR5380_read(BUS_AND_STATUS_REG); |
NCR5380_read | 1148 | drivers/scsi/NCR5380.c | if ((NCR5380_read(STATUS_REG) & (SR_SEL | SR_IO)) == |
NCR5380_read | 1156 | drivers/scsi/NCR5380.c | (void) NCR5380_read(RESET_PARITY_INTERRUPT_REG); |
NCR5380_read | 1161 | drivers/scsi/NCR5380.c | (void) NCR5380_read(RESET_PARITY_INTERRUPT_REG); |
NCR5380_read | 1162 | drivers/scsi/NCR5380.c | } else if ((NCR5380_read(STATUS_REG) & SR_RST) == SR_RST) { |
NCR5380_read | 1166 | drivers/scsi/NCR5380.c | (void)NCR5380_read(RESET_PARITY_INTERRUPT_REG); |
NCR5380_read | 1180 | drivers/scsi/NCR5380.c | if ((NCR5380_read(MODE_REG) & MR_DMA) && ((basr & |
NCR5380_read | 1194 | drivers/scsi/NCR5380.c | (void) NCR5380_read(RESET_PARITY_INTERRUPT_REG); |
NCR5380_read | 1199 | drivers/scsi/NCR5380.c | while (NCR5380_read(BUS_AND_STATUS_REG) & BASR_ACK |
NCR5380_read | 1207 | drivers/scsi/NCR5380.c | while (NCR5380_read(BUS_AND_STATUS_REG) & BASR_ACK); |
NCR5380_read | 1215 | drivers/scsi/NCR5380.c | printk("scsi : unknown interrupt, BASR 0x%X, MR 0x%X, SR 0x%x\n", basr, NCR5380_read(MODE_REG), NCR5380_read(STATUS_REG)); |
NCR5380_read | 1217 | drivers/scsi/NCR5380.c | (void) NCR5380_read(RESET_PARITY_INTERRUPT_REG); |
NCR5380_read | 1299 | drivers/scsi/NCR5380.c | while (!(NCR5380_read(INITIATOR_COMMAND_REG) & ICR_ARBITRATION_PROGRESS) |
NCR5380_read | 1311 | drivers/scsi/NCR5380.c | while (!(NCR5380_read(INITIATOR_COMMAND_REG) & ICR_ARBITRATION_PROGRESS)); |
NCR5380_read | 1330 | drivers/scsi/NCR5380.c | if ((NCR5380_read(INITIATOR_COMMAND_REG) & ICR_ARBITRATION_LOST) || |
NCR5380_read | 1331 | drivers/scsi/NCR5380.c | (NCR5380_read(CURRENT_SCSI_DATA_REG) & hostdata->id_higher_mask) || |
NCR5380_read | 1332 | drivers/scsi/NCR5380.c | (NCR5380_read(INITIATOR_COMMAND_REG) & ICR_ARBITRATION_LOST)) { |
NCR5380_read | 1345 | drivers/scsi/NCR5380.c | if (NCR5380_read(INITIATOR_COMMAND_REG) & ICR_ARBITRATION_LOST) { |
NCR5380_read | 1436 | drivers/scsi/NCR5380.c | while ((jiffies < timeout) && !(NCR5380_read(STATUS_REG) & |
NCR5380_read | 1439 | drivers/scsi/NCR5380.c | if ((NCR5380_read(STATUS_REG) & (SR_SEL | SR_IO)) == |
NCR5380_read | 1459 | drivers/scsi/NCR5380.c | if (!(NCR5380_read(STATUS_REG) & SR_BSY)) { |
NCR5380_read | 1504 | drivers/scsi/NCR5380.c | while (!(NCR5380_read(STATUS_REG) & SR_REQ) && jiffies < timeout); |
NCR5380_read | 1513 | drivers/scsi/NCR5380.c | while (!(NCR5380_read(STATUS_REG) & SR_REQ)); |
NCR5380_read | 1617 | drivers/scsi/NCR5380.c | while (!((tmp = NCR5380_read(STATUS_REG)) & SR_REQ)); |
NCR5380_read | 1636 | drivers/scsi/NCR5380.c | *d = NCR5380_read(CURRENT_SCSI_DATA_REG); |
NCR5380_read | 1672 | drivers/scsi/NCR5380.c | while (NCR5380_read(STATUS_REG) & SR_REQ); |
NCR5380_read | 1703 | drivers/scsi/NCR5380.c | tmp = NCR5380_read(STATUS_REG); |
NCR5380_read | 1721 | drivers/scsi/NCR5380.c | PHASE_SR_TO_TCR(NCR5380_read(STATUS_REG) & PHASE_MASK)); |
NCR5380_read | 1757 | drivers/scsi/NCR5380.c | while (!(tmp = NCR5380_read(STATUS_REG)) & SR_REQ); |
NCR5380_read | 1764 | drivers/scsi/NCR5380.c | while (NCR5380_read(STATUS_REG) & SR_REQ); |
NCR5380_read | 1821 | drivers/scsi/NCR5380.c | if ((tmp = (NCR5380_read(STATUS_REG) & PHASE_MASK)) != p) { |
NCR5380_read | 1867 | drivers/scsi/NCR5380.c | printk("scsi%d : mode reg = 0x%X\n", instance->host_no, NCR5380_read(MODE_REG)); |
NCR5380_read | 1900 | drivers/scsi/NCR5380.c | tmp = NCR5380_read(BUS_AND_STATUS_REG); |
NCR5380_read | 1943 | drivers/scsi/NCR5380.c | if (((NCR5380_read(BUS_AND_STATUS_REG) & (BASR_PHASE_MATCH|BASR_ACK)) == |
NCR5380_read | 1945 | drivers/scsi/NCR5380.c | saved_data = NCR5380_read(INPUT_DATA_REGISTER); |
NCR5380_read | 1951 | drivers/scsi/NCR5380.c | while (((tmp = NCR5380_read(BUS_AND_STATUS_REG)) & BASR_ACK) || |
NCR5380_read | 1952 | drivers/scsi/NCR5380.c | (NCR5380_read(STATUS_REG) & SR_REQ)) { |
NCR5380_read | 1961 | drivers/scsi/NCR5380.c | instance->host_no, tmp, NCR5380_read(STATUS_REG)); |
NCR5380_read | 1971 | drivers/scsi/NCR5380.c | *phase = NCR5380_read(STATUS_REG) & PHASE_MASK; |
NCR5380_read | 2034 | drivers/scsi/NCR5380.c | while (!(NCR5380_read(BUS_AND_STATUS_REG) & BASR_DRQ)); |
NCR5380_read | 2036 | drivers/scsi/NCR5380.c | while (NCR5380_read(STATUS_REG) & SR_REQ); |
NCR5380_read | 2037 | drivers/scsi/NCR5380.c | d[c - 1] = NCR5380_read(INPUT_DATA_REG); |
NCR5380_read | 2054 | drivers/scsi/NCR5380.c | while (!(NCR5380_read(BUS_AND_STATUS_REG) & |
NCR5380_read | 2055 | drivers/scsi/NCR5380.c | BASR_DRQ) && (NCR5380_read(BUS_AND_STATUS_REG) & |
NCR5380_read | 2058 | drivers/scsi/NCR5380.c | if (NCR5380_read(STATUS_REG) & SR_REQ) { |
NCR5380_read | 2060 | drivers/scsi/NCR5380.c | !(NCR5380_read(BUS_AND_STATUS_REG) & BASR_ACK); |
NCR5380_read | 2062 | drivers/scsi/NCR5380.c | for (; timeout && (NCR5380_read(STATUS_REG) & SR_REQ); |
NCR5380_read | 2077 | drivers/scsi/NCR5380.c | if (NCR5380_read(TARGET_COMMAND_REG) & TCR_LAST_BYTE_SENT) { |
NCR5380_read | 2089 | drivers/scsi/NCR5380.c | while (!(NCR5380_read(TARGET_COMMAND_REG) & TCR_LAST_BYTE_SENT)); |
NCR5380_read | 2107 | drivers/scsi/NCR5380.c | if (NCR5380_read(BUS_AND_STATUS_REG) & BASR_IRQ) { |
NCR5380_read | 2111 | drivers/scsi/NCR5380.c | NCR5380_read(RESET_PARITY_INTERRUPT_REG); |
NCR5380_read | 2119 | drivers/scsi/NCR5380.c | *phase = (NCR5380_read(STATUS_REG & PHASE_MASK)); |
NCR5380_read | 2164 | drivers/scsi/NCR5380.c | tmp = NCR5380_read(STATUS_REG); |
NCR5380_read | 2180 | drivers/scsi/NCR5380.c | while (NCR5380_read(STATUS_REG) & SR_REQ); |
NCR5380_read | 2401 | drivers/scsi/NCR5380.c | while ((NCR5380_read(STATUS_REG) & SR_BSY) && !hostdata->connected) |
NCR5380_read | 2442 | drivers/scsi/NCR5380.c | while ((NCR5380_read(STATUS_REG) & SR_BSY) && !hostdata->connected) |
NCR5380_read | 2654 | drivers/scsi/NCR5380.c | target_mask = NCR5380_read(CURRENT_SCSI_DATA_REG) & ~(hostdata->id_mask); |
NCR5380_read | 2671 | drivers/scsi/NCR5380.c | while (NCR5380_read(STATUS_REG) & SR_SEL); |
NCR5380_read | 2678 | drivers/scsi/NCR5380.c | while (!(NCR5380_read(STATUS_REG) & SR_REQ)); |
NCR5380_read | 2786 | drivers/scsi/NCR5380.c | while (NCR5380_read(BUS_AND_STATUS_REG) & BASR_ACK); |
NCR5380_read | 2848 | drivers/scsi/NCR5380.c | NCR5380_read(BUS_AND_STATUS_REG), NCR5380_read(STATUS_REG)); |
NCR5380_read | 345 | drivers/scsi/g_NCR5380.c | if ((bl=NCR5380_read(C400_BLOCK_COUNTER_REG)) == 0) { |
NCR5380_read | 356 | drivers/scsi/g_NCR5380.c | if (NCR5380_read(C400_CONTROL_STATUS_REG) & CSR_GATED_53C80_IRQ) { |
NCR5380_read | 366 | drivers/scsi/g_NCR5380.c | while (NCR5380_read(C400_CONTROL_STATUS_REG) & CSR_HOST_BUF_NOT_RDY) |
NCR5380_read | 374 | drivers/scsi/g_NCR5380.c | dst[start+i] = NCR5380_read(C400_HOST_BUFFER); |
NCR5380_read | 386 | drivers/scsi/g_NCR5380.c | while (NCR5380_read(C400_CONTROL_STATUS_REG) & CSR_HOST_BUF_NOT_RDY) |
NCR5380_read | 394 | drivers/scsi/g_NCR5380.c | dst[start+i] = NCR5380_read(C400_HOST_BUFFER); |
NCR5380_read | 406 | drivers/scsi/g_NCR5380.c | if (!(NCR5380_read(C400_CONTROL_STATUS_REG) & CSR_GATED_53C80_IRQ)) |
NCR5380_read | 419 | drivers/scsi/g_NCR5380.c | if (!(NCR5380_read(BUS_AND_STATUS_REG) & BASR_END_DMA_TRANSFER)) |
NCR5380_read | 427 | drivers/scsi/g_NCR5380.c | NCR5380_read(RESET_PARITY_INTERRUPT_REG); |
NCR5380_read | 448 | drivers/scsi/g_NCR5380.c | if (NCR5380_read(C400_CONTROL_STATUS_REG) & CSR_GATED_53C80_IRQ) { |
NCR5380_read | 453 | drivers/scsi/g_NCR5380.c | if ((bl=NCR5380_read(C400_BLOCK_COUNTER_REG)) == 0) { |
NCR5380_read | 468 | drivers/scsi/g_NCR5380.c | while (NCR5380_read(C400_CONTROL_STATUS_REG) & CSR_HOST_BUF_NOT_RDY) |
NCR5380_read | 488 | drivers/scsi/g_NCR5380.c | while (NCR5380_read(C400_CONTROL_STATUS_REG) & CSR_HOST_BUF_NOT_RDY) |
NCR5380_read | 516 | drivers/scsi/g_NCR5380.c | while (NCR5380_read(C400_CONTROL_STATUS_REG) & CSR_53C80_REG) |
NCR5380_read | 525 | drivers/scsi/g_NCR5380.c | while (!(i = NCR5380_read(C400_CONTROL_STATUS_REG) & CSR_GATED_53C80_IRQ)) |
NCR5380_read | 536 | drivers/scsi/g_NCR5380.c | if (!((i=NCR5380_read(BUS_AND_STATUS_REG)) & BASR_END_DMA_TRANSFER)) |
NCR5380_read | 547 | drivers/scsi/g_NCR5380.c | if (!(NCR5380_read(BUS_AND_STATUS_REG) & BASR_END_DMA_TRANSFER)) { |
NCR5380_read | 555 | drivers/scsi/g_NCR5380.c | while (!(NCR5380_read(TARGET_COMMAND_REG) & TCR_LAST_BYTE_SENT)) |
NCR5380_read | 225 | drivers/scsi/pas16.c | NCR5380_read( RESET_PARITY_INTERRUPT_REG ); |
NCR5380_read | 301 | drivers/scsi/pas16.c | if( NCR5380_read( MODE_REG ) != 0x20 ) /* Write to a reg. */ |
NCR5380_read | 304 | drivers/scsi/pas16.c | if( NCR5380_read( MODE_REG ) != 0x00 ) |