tag | line | file | source code |
NCR5380_read | 373 | drivers/scsi/NCR5380.c | data = NCR5380_read(CURRENT_SCSI_DATA_REG); |
NCR5380_read | 374 | drivers/scsi/NCR5380.c | status = NCR5380_read(STATUS_REG); |
NCR5380_read | 375 | drivers/scsi/NCR5380.c | mr = NCR5380_read(MODE_REG); |
NCR5380_read | 376 | drivers/scsi/NCR5380.c | icr = NCR5380_read(INITIATOR_COMMAND_REG); |
NCR5380_read | 377 | drivers/scsi/NCR5380.c | basr = NCR5380_read(BUS_AND_STATUS_REG); |
NCR5380_read | 420 | drivers/scsi/NCR5380.c | status = NCR5380_read(STATUS_REG); |
NCR5380_read | 997 | drivers/scsi/NCR5380.c | for (pass = 1; (NCR5380_read(STATUS_REG) & SR_BSY) && |
NCR5380_read | 1006 | drivers/scsi/NCR5380.c | while (jiffies < timeout && (NCR5380_read(STATUS_REG) & SR_BSY)); |
NCR5380_read | 1308 | drivers/scsi/NCR5380.c | basr = NCR5380_read(BUS_AND_STATUS_REG); |
NCR5380_read | 1314 | drivers/scsi/NCR5380.c | if ((NCR5380_read(STATUS_REG) & (SR_SEL | SR_IO)) == |
NCR5380_read | 1322 | drivers/scsi/NCR5380.c | (void) NCR5380_read(RESET_PARITY_INTERRUPT_REG); |
NCR5380_read | 1327 | drivers/scsi/NCR5380.c | (void) NCR5380_read(RESET_PARITY_INTERRUPT_REG); |
NCR5380_read | 1328 | drivers/scsi/NCR5380.c | } else if ((NCR5380_read(STATUS_REG) & SR_RST) == SR_RST) { |
NCR5380_read | 1332 | drivers/scsi/NCR5380.c | (void)NCR5380_read(RESET_PARITY_INTERRUPT_REG); |
NCR5380_read | 1346 | drivers/scsi/NCR5380.c | if ((NCR5380_read(MODE_REG) & MR_DMA) && ((basr & |
NCR5380_read | 1360 | drivers/scsi/NCR5380.c | (void) NCR5380_read(RESET_PARITY_INTERRUPT_REG); |
NCR5380_read | 1365 | drivers/scsi/NCR5380.c | while (NCR5380_read(BUS_AND_STATUS_REG) & BASR_ACK |
NCR5380_read | 1373 | drivers/scsi/NCR5380.c | while (NCR5380_read(BUS_AND_STATUS_REG) & BASR_ACK); |
NCR5380_read | 1381 | 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 | 1383 | drivers/scsi/NCR5380.c | (void) NCR5380_read(RESET_PARITY_INTERRUPT_REG); |
NCR5380_read | 1492 | drivers/scsi/NCR5380.c | while (!(NCR5380_read(INITIATOR_COMMAND_REG) & ICR_ARBITRATION_PROGRESS) |
NCR5380_read | 1504 | drivers/scsi/NCR5380.c | while (!(NCR5380_read(INITIATOR_COMMAND_REG) & ICR_ARBITRATION_PROGRESS)); |
NCR5380_read | 1523 | drivers/scsi/NCR5380.c | if ((NCR5380_read(INITIATOR_COMMAND_REG) & ICR_ARBITRATION_LOST) || |
NCR5380_read | 1524 | drivers/scsi/NCR5380.c | (NCR5380_read(CURRENT_SCSI_DATA_REG) & hostdata->id_higher_mask) || |
NCR5380_read | 1525 | drivers/scsi/NCR5380.c | (NCR5380_read(INITIATOR_COMMAND_REG) & ICR_ARBITRATION_LOST)) { |
NCR5380_read | 1538 | drivers/scsi/NCR5380.c | if (NCR5380_read(INITIATOR_COMMAND_REG) & ICR_ARBITRATION_LOST) { |
NCR5380_read | 1629 | drivers/scsi/NCR5380.c | while ((jiffies < timeout) && !(NCR5380_read(STATUS_REG) & |
NCR5380_read | 1632 | drivers/scsi/NCR5380.c | if ((NCR5380_read(STATUS_REG) & (SR_SEL | SR_IO)) == |
NCR5380_read | 1652 | drivers/scsi/NCR5380.c | if (!(NCR5380_read(STATUS_REG) & SR_BSY)) { |
NCR5380_read | 1700 | drivers/scsi/NCR5380.c | while (!(NCR5380_read(STATUS_REG) & SR_REQ) && jiffies < timeout); |
NCR5380_read | 1709 | drivers/scsi/NCR5380.c | while (!(NCR5380_read(STATUS_REG) & SR_REQ)); |
NCR5380_read | 1813 | drivers/scsi/NCR5380.c | while (!((tmp = NCR5380_read(STATUS_REG)) & SR_REQ)); |
NCR5380_read | 1832 | drivers/scsi/NCR5380.c | *d = NCR5380_read(CURRENT_SCSI_DATA_REG); |
NCR5380_read | 1868 | drivers/scsi/NCR5380.c | while (NCR5380_read(STATUS_REG) & SR_REQ); |
NCR5380_read | 1899 | drivers/scsi/NCR5380.c | tmp = NCR5380_read(STATUS_REG); |
NCR5380_read | 1917 | drivers/scsi/NCR5380.c | PHASE_SR_TO_TCR(NCR5380_read(STATUS_REG) & PHASE_MASK)); |
NCR5380_read | 1953 | drivers/scsi/NCR5380.c | while (!(tmp = NCR5380_read(STATUS_REG)) & SR_REQ); |
NCR5380_read | 1960 | drivers/scsi/NCR5380.c | while (NCR5380_read(STATUS_REG) & SR_REQ); |
NCR5380_read | 2017 | drivers/scsi/NCR5380.c | if ((tmp = (NCR5380_read(STATUS_REG) & PHASE_MASK)) != p) { |
NCR5380_read | 2063 | drivers/scsi/NCR5380.c | printk("scsi%d : mode reg = 0x%X\n", instance->host_no, NCR5380_read(MODE_REG)); |
NCR5380_read | 2096 | drivers/scsi/NCR5380.c | tmp = NCR5380_read(BUS_AND_STATUS_REG); |
NCR5380_read | 2139 | drivers/scsi/NCR5380.c | if (((NCR5380_read(BUS_AND_STATUS_REG) & (BASR_PHASE_MATCH|BASR_ACK)) == |
NCR5380_read | 2141 | drivers/scsi/NCR5380.c | saved_data = NCR5380_read(INPUT_DATA_REGISTER); |
NCR5380_read | 2147 | drivers/scsi/NCR5380.c | while (((tmp = NCR5380_read(BUS_AND_STATUS_REG)) & BASR_ACK) || |
NCR5380_read | 2148 | drivers/scsi/NCR5380.c | (NCR5380_read(STATUS_REG) & SR_REQ)) { |
NCR5380_read | 2157 | drivers/scsi/NCR5380.c | instance->host_no, tmp, NCR5380_read(STATUS_REG)); |
NCR5380_read | 2167 | drivers/scsi/NCR5380.c | *phase = NCR5380_read(STATUS_REG) & PHASE_MASK; |
NCR5380_read | 2233 | drivers/scsi/NCR5380.c | while (!(NCR5380_read(BUS_AND_STATUS_REG) & BASR_DRQ)); |
NCR5380_read | 2235 | drivers/scsi/NCR5380.c | while (NCR5380_read(STATUS_REG) & SR_REQ); |
NCR5380_read | 2236 | drivers/scsi/NCR5380.c | d[c - 1] = NCR5380_read(INPUT_DATA_REG); |
NCR5380_read | 2257 | drivers/scsi/NCR5380.c | while (!(NCR5380_read(BUS_AND_STATUS_REG) & |
NCR5380_read | 2258 | drivers/scsi/NCR5380.c | BASR_DRQ) && (NCR5380_read(BUS_AND_STATUS_REG) & |
NCR5380_read | 2261 | drivers/scsi/NCR5380.c | if (NCR5380_read(STATUS_REG) & SR_REQ) { |
NCR5380_read | 2263 | drivers/scsi/NCR5380.c | !(NCR5380_read(BUS_AND_STATUS_REG) & BASR_ACK); |
NCR5380_read | 2265 | drivers/scsi/NCR5380.c | for (; timeout && (NCR5380_read(STATUS_REG) & SR_REQ); |
NCR5380_read | 2280 | drivers/scsi/NCR5380.c | if (NCR5380_read(TARGET_COMMAND_REG) & TCR_LAST_BYTE_SENT) { |
NCR5380_read | 2292 | drivers/scsi/NCR5380.c | while (!(NCR5380_read(TARGET_COMMAND_REG) & TCR_LAST_BYTE_SENT)); |
NCR5380_read | 2311 | drivers/scsi/NCR5380.c | if (NCR5380_read(BUS_AND_STATUS_REG) & BASR_IRQ) { |
NCR5380_read | 2315 | drivers/scsi/NCR5380.c | NCR5380_read(RESET_PARITY_INTERRUPT_REG); |
NCR5380_read | 2323 | drivers/scsi/NCR5380.c | *phase = NCR5380_read(STATUS_REG) & PHASE_MASK; |
NCR5380_read | 2368 | drivers/scsi/NCR5380.c | tmp = NCR5380_read(STATUS_REG); |
NCR5380_read | 2384 | drivers/scsi/NCR5380.c | while (NCR5380_read(STATUS_REG) & SR_REQ); |
NCR5380_read | 2616 | drivers/scsi/NCR5380.c | while ((NCR5380_read(STATUS_REG) & SR_BSY) && !hostdata->connected) |
NCR5380_read | 2657 | drivers/scsi/NCR5380.c | while ((NCR5380_read(STATUS_REG) & SR_BSY) && !hostdata->connected) |
NCR5380_read | 2872 | drivers/scsi/NCR5380.c | target_mask = NCR5380_read(CURRENT_SCSI_DATA_REG) & ~(hostdata->id_mask); |
NCR5380_read | 2889 | drivers/scsi/NCR5380.c | while (NCR5380_read(STATUS_REG) & SR_SEL); |
NCR5380_read | 2896 | drivers/scsi/NCR5380.c | while (!(NCR5380_read(STATUS_REG) & SR_REQ)); |
NCR5380_read | 3004 | drivers/scsi/NCR5380.c | while (NCR5380_read(BUS_AND_STATUS_REG) & BASR_ACK); |
NCR5380_read | 3066 | drivers/scsi/NCR5380.c | NCR5380_read(BUS_AND_STATUS_REG), NCR5380_read(STATUS_REG)); |
NCR5380_read | 310 | drivers/scsi/dtc.c | NCR5380_read(RESET_PARITY_INTERRUPT_REG); |
NCR5380_read | 320 | drivers/scsi/dtc.c | while (NCR5380_read(DTC_CONTROL_REG) & CSR_HOST_BUF_NOT_RDY) |
NCR5380_read | 330 | drivers/scsi/dtc.c | while ( !(NCR5380_read(DTC_CONTROL_REG) & D_CR_ACCESS)) |
NCR5380_read | 334 | drivers/scsi/dtc.c | NCR5380_read(RESET_PARITY_INTERRUPT_REG); |
NCR5380_read | 359 | drivers/scsi/dtc.c | NCR5380_read(RESET_PARITY_INTERRUPT_REG); |
NCR5380_read | 370 | drivers/scsi/dtc.c | while (NCR5380_read(DTC_CONTROL_REG) & CSR_HOST_BUF_NOT_RDY) |
NCR5380_read | 378 | drivers/scsi/dtc.c | while ( !(NCR5380_read(DTC_CONTROL_REG) & D_CR_ACCESS)) |
NCR5380_read | 382 | drivers/scsi/dtc.c | while (!(NCR5380_read(TARGET_COMMAND_REG) & TCR_LAST_BYTE_SENT)) |
NCR5380_read | 315 | drivers/scsi/g_NCR5380.c | if ((bl=NCR5380_read(C400_BLOCK_COUNTER_REG)) == 0) { |
NCR5380_read | 326 | drivers/scsi/g_NCR5380.c | if (NCR5380_read(C400_CONTROL_STATUS_REG) & CSR_GATED_53C80_IRQ) { |
NCR5380_read | 336 | drivers/scsi/g_NCR5380.c | while (NCR5380_read(C400_CONTROL_STATUS_REG) & CSR_HOST_BUF_NOT_RDY) |
NCR5380_read | 344 | drivers/scsi/g_NCR5380.c | dst[start+i] = NCR5380_read(C400_HOST_BUFFER); |
NCR5380_read | 356 | drivers/scsi/g_NCR5380.c | while (NCR5380_read(C400_CONTROL_STATUS_REG) & CSR_HOST_BUF_NOT_RDY) |
NCR5380_read | 364 | drivers/scsi/g_NCR5380.c | dst[start+i] = NCR5380_read(C400_HOST_BUFFER); |
NCR5380_read | 376 | drivers/scsi/g_NCR5380.c | if (!(NCR5380_read(C400_CONTROL_STATUS_REG) & CSR_GATED_53C80_IRQ)) |
NCR5380_read | 389 | drivers/scsi/g_NCR5380.c | if (!(NCR5380_read(BUS_AND_STATUS_REG) & BASR_END_DMA_TRANSFER)) |
NCR5380_read | 397 | drivers/scsi/g_NCR5380.c | NCR5380_read(RESET_PARITY_INTERRUPT_REG); |
NCR5380_read | 418 | drivers/scsi/g_NCR5380.c | if (NCR5380_read(C400_CONTROL_STATUS_REG) & CSR_GATED_53C80_IRQ) { |
NCR5380_read | 423 | drivers/scsi/g_NCR5380.c | if ((bl=NCR5380_read(C400_BLOCK_COUNTER_REG)) == 0) { |
NCR5380_read | 438 | drivers/scsi/g_NCR5380.c | while (NCR5380_read(C400_CONTROL_STATUS_REG) & CSR_HOST_BUF_NOT_RDY) |
NCR5380_read | 458 | drivers/scsi/g_NCR5380.c | while (NCR5380_read(C400_CONTROL_STATUS_REG) & CSR_HOST_BUF_NOT_RDY) |
NCR5380_read | 486 | drivers/scsi/g_NCR5380.c | while (NCR5380_read(C400_CONTROL_STATUS_REG) & CSR_53C80_REG) |
NCR5380_read | 495 | drivers/scsi/g_NCR5380.c | while (!(i = NCR5380_read(C400_CONTROL_STATUS_REG) & CSR_GATED_53C80_IRQ)) |
NCR5380_read | 506 | drivers/scsi/g_NCR5380.c | if (!((i=NCR5380_read(BUS_AND_STATUS_REG)) & BASR_END_DMA_TRANSFER)) |
NCR5380_read | 517 | drivers/scsi/g_NCR5380.c | if (!(NCR5380_read(BUS_AND_STATUS_REG) & BASR_END_DMA_TRANSFER)) { |
NCR5380_read | 525 | drivers/scsi/g_NCR5380.c | while (!(NCR5380_read(TARGET_COMMAND_REG) & TCR_LAST_BYTE_SENT)) |
NCR5380_read | 661 | drivers/scsi/g_NCR5380.c | status = NCR5380_read(STATUS_REG); |
NCR5380_read | 243 | drivers/scsi/pas16.c | NCR5380_read( RESET_PARITY_INTERRUPT_REG ); |
NCR5380_read | 319 | drivers/scsi/pas16.c | if( NCR5380_read( MODE_REG ) != 0x20 ) /* Write to a reg. */ |
NCR5380_read | 322 | drivers/scsi/pas16.c | if( NCR5380_read( MODE_REG ) != 0x00 ) |