Searched refs:PHASE_MASK (Results 1 – 14 of 14) sorted by relevance
/openbmc/qemu/hw/scsi/ |
H A D | lsi53c895a.c | 182 #define PHASE_MASK 7 macro 329 return scsi_phases[phase & PHASE_MASK]; in scsi_phase_name() 571 s->sbcl &= ~PHASE_MASK; in lsi_set_phase() 573 s->sstat1 = (s->sstat1 & ~PHASE_MASK) | phase; in lsi_set_phase() 612 s->sstat1 &= ~PHASE_MASK; in lsi_disconnect() 688 p->out = (s->sstat1 & PHASE_MASK) == PHASE_DO; in lsi_queue_command() 800 out = (s->sstat1 & PHASE_MASK) == PHASE_DO; in lsi_command_complete() 838 out = (s->sstat1 & PHASE_MASK) == PHASE_DO; in lsi_transfer_data() 1271 if ((s->sstat1 & PHASE_MASK) != ((insn >> 24) & 7)) { in lsi_execute_script() 1537 cond = (s->sstat1 & PHASE_MASK) == ((insn >> 24) & 7); in lsi_execute_script() [all …]
|
/openbmc/linux/drivers/scsi/ |
H A D | NCR5380.c | 354 (phases[i].value != (status & PHASE_MASK)); ++i) in NCR5380_print_phase() 810 if ((NCR5380_read(STATUS_REG) & PHASE_MASK) == p && (p & SR_IO)) { in NCR5380_dma_complete() 1287 if ((NCR5380_read(STATUS_REG) & PHASE_MASK) != p) { in NCR5380_transfer_pio() 1361 *phase = tmp & PHASE_MASK; in NCR5380_transfer_pio() 1390 PHASE_SR_TO_TCR(NCR5380_read(STATUS_REG) & PHASE_MASK)); in do_reset() 1432 tmp = NCR5380_read(STATUS_REG) & PHASE_MASK; in do_abort() 1495 if ((tmp = (NCR5380_read(STATUS_REG) & PHASE_MASK)) != p) { in NCR5380_transfer_dma() 1696 phase = (tmp & PHASE_MASK); in NCR5380_information_transfer()
|
H A D | NCR5380.h | 173 #define PHASE_MASK (SR_MSG | SR_CD | SR_IO) macro
|
H A D | g_NCR5380.c | 128 PHASE_SR_TO_TCR(NCR5380_read(STATUS_REG) & PHASE_MASK)); in g_NCR5380_trigger_irq()
|
/openbmc/linux/drivers/scsi/aic7xxx/ |
H A D | aic7xxx_reg_print.c_shipped | 62 { "PHASE_MASK", 0xe0, 0xe0 }, 247 { "PHASE_MASK", 0xe0, 0xe0 },
|
H A D | aic79xx_reg_print.c_shipped | 191 { "PHASE_MASK", 0xe0, 0xe0 } 673 { "PHASE_MASK", 0xe0, 0xe0 }
|
H A D | aic7xxx.reg | 132 mask PHASE_MASK CDI|IOI|MSGI 163 mask PHASE_MASK CDI|IOI|MSGI 1508 mask PHASE_MASK CDI|IOI|MSGI
|
H A D | aic7xxx_core.c | 1250 bus_phase = ahc_inb(ahc, SCSISIGI) & PHASE_MASK; in ahc_handle_seqint() 1325 curphase = ahc_inb(ahc, SCSISIGI) & PHASE_MASK; in ahc_handle_seqint() 1621 curphase = ahc_inb(ahc, SCSISIGI) & PHASE_MASK; in ahc_handle_scsiint() 3127 curphase = ahc_inb(ahc, SCSISIGI) & PHASE_MASK; in ahc_handle_proto_violation() 3218 bus_phase = ahc_inb(ahc, SCSISIGI) & PHASE_MASK; in ahc_handle_message_phase()
|
H A D | aic7xxx_reg.h_shipped | 460 #define PHASE_MASK 0xe0
|
H A D | aic7xxx.seq | 1987 and LASTPHASE, PHASE_MASK, SCSISIGI; 2119 and SCSISIGO, PHASE_MASK, SCSISIGI; 2121 and LASTPHASE, PHASE_MASK, SCSISIGI ret;
|
H A D | aic79xx.reg | 1747 enum PHASE_MASK CDO|IOO|MSGO { 1778 enum PHASE_MASK CDO|IOO|MSGO { 3867 enum PHASE_MASK CDO|IOO|MSGO {
|
H A D | aic79xx_core.c | 1888 bus_phase = ahd_inb(ahd, SCSISIGI) & PHASE_MASK; in ahd_handle_seqint() 2063 bus_phase = ahd_inb(ahd, SCSISIGI) & PHASE_MASK; in ahd_handle_seqint() 2692 curphase = ahd_inb(ahd, SCSISIGI) & PHASE_MASK; in ahd_handle_transmission_error() 3303 curphase = ahd_inb(ahd, SCSISIGI) & PHASE_MASK; in ahd_handle_proto_violation()
|
H A D | aic79xx_reg.h_shipped | 1589 #define PHASE_MASK 0xe0
|
H A D | aic79xx.seq | 1416 and LASTPHASE, PHASE_MASK, SCSISIGI ret; 1443 and LASTPHASE, PHASE_MASK, SCSISIGI;
|