taglinefilesource code
phase4633drivers/scsi/53c7,8xx.cint sstat, phase, offset;
phase4657drivers/scsi/53c7,8xx.cphase = sstat & SSTAT2_PHASE_MASK;
phase1125drivers/scsi/AM53C974.chostdata->connected->SCp.phase = PHASE_CMDOUT;
phase1224drivers/scsi/AM53C974.cinstance->host_no, cmd->SCp.phase, cmd->target, cmd->SCp.this_residual, cmd->SCp.buffers_residual,
phase1401drivers/scsi/AM53C974.ccmd->SCp.phase = PHASE_DATAOUT;
phase1407drivers/scsi/AM53C974.ccmd->SCp.phase = PHASE_DATAIN;
phase1434drivers/scsi/AM53C974.cif (cmd->SCp.phase == PHASE_DATAIN)
phase1436drivers/scsi/AM53C974.cif ((cmd->SCp.phase == PHASE_DATAOUT) && (AM53C974_read_8(DMACMD) & DMACMD_START)) {
phase1444drivers/scsi/AM53C974.cif (cmd->SCp.phase == PHASE_STATIN) {
phase1459drivers/scsi/AM53C974.ccmd->SCp.phase = PHASE_MSGIN;
phase1487drivers/scsi/AM53C974.ccmd->SCp.phase = PHASE_MSGOUT;
phase1497drivers/scsi/AM53C974.ccmd->SCp.phase = PHASE_CMDOUT;
phase1503drivers/scsi/AM53C974.cif (cmd->SCp.phase == PHASE_DATAIN)
phase1506drivers/scsi/AM53C974.cif (cmd->SCp.phase == PHASE_DATAOUT) {
phase1517drivers/scsi/AM53C974.ccmd->SCp.phase = PHASE_STATIN;
phase1979drivers/scsi/AM53C974.chostdata->connected->SCp.phase = PHASE_CMDOUT;
phase1456drivers/scsi/NCR5380.cunsigned char tmp[3], phase;
phase1742drivers/scsi/NCR5380.cphase = PHASE_MSGOUT;
phase1743drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
phase1786drivers/scsi/NCR5380.cunsigned char *phase, int *count, unsigned char **data) {
phase1788drivers/scsi/NCR5380.cregister unsigned char p = *phase, tmp;
phase1901drivers/scsi/NCR5380.c*phase = tmp & PHASE_MASK;
phase1903drivers/scsi/NCR5380.c*phase = PHASE_UNKNOWN;
phase1905drivers/scsi/NCR5380.cif (!c || (*phase == p))
phase1935drivers/scsi/NCR5380.cunsigned char tmp, *msgptr, phase;
phase1967drivers/scsi/NCR5380.cphase = PHASE_MSGOUT;
phase1968drivers/scsi/NCR5380.cNCR5380_transfer_pio (host, &phase, &len, &msgptr);
phase2000drivers/scsi/NCR5380.cunsigned char *phase, int *count, unsigned char **data) {
phase2003drivers/scsi/NCR5380.cregister unsigned char p = *phase;
phase2018drivers/scsi/NCR5380.c*phase = tmp;
phase2167drivers/scsi/NCR5380.c*phase = NCR5380_read(STATUS_REG) & PHASE_MASK;
phase2170drivers/scsi/NCR5380.cif (*phase == p && (p & SR_IO) && residue == 0) {
phase2186drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, phase, &cnt, data);
phase2323drivers/scsi/NCR5380.c*phase = NCR5380_read(STATUS_REG) & PHASE_MASK;
phase2363drivers/scsi/NCR5380.cunsigned char phase, tmp, extended_msg[10], old_phase=0xff;
phase2371drivers/scsi/NCR5380.cphase = (tmp & PHASE_MASK); 
phase2372drivers/scsi/NCR5380.cif (phase != old_phase) {
phase2373drivers/scsi/NCR5380.cold_phase = phase;
phase2379drivers/scsi/NCR5380.cif (sink && (phase != PHASE_MSGOUT)) {
phase2391drivers/scsi/NCR5380.cswitch (phase) {
phase2460drivers/scsi/NCR5380.cif (NCR5380_transfer_dma(instance, &phase,
phase2480drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, 
phase2487drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
phase2702drivers/scsi/NCR5380.cphase = PHASE_MSGIN;
phase2703drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
phase2717drivers/scsi/NCR5380.cphase = PHASE_MSGIN;
phase2719drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
phase2770drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
phase2792drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, 
phase2809drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
phase2853drivers/scsi/NCR5380.cunsigned char lun, phase;
phase2900drivers/scsi/NCR5380.cphase = PHASE_MSGIN;
phase2901drivers/scsi/NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
phase3015drivers/scsi/NCR5380.cif (!(hostdata->connected->SCp.phase & SR_CD)) {
phase207drivers/scsi/NCR5380.h#define PHASE_SR_TO_TCR(phase) ((phase) >> 2)  
phase312drivers/scsi/NCR5380.hunsigned char *phase, int *count, unsigned char **data);
phase315drivers/scsi/NCR5380.hunsigned char *phase, int *count, unsigned char **data);
phase662drivers/scsi/NCR53c406a.ccurrent_SC->SCp.phase = idle;
phase705drivers/scsi/NCR53c406a.ccurrent_SC->SCp.phase = command_ph;
phase805drivers/scsi/NCR53c406a.ccurrent_SC->SCp.phase = idle;
phase814drivers/scsi/NCR53c406a.ccurrent_SC->SCp.phase = idle;
phase823drivers/scsi/NCR53c406a.ccurrent_SC->SCp.phase = idle;
phase831drivers/scsi/NCR53c406a.ccurrent_SC->SCp.phase = idle;
phase839drivers/scsi/NCR53c406a.cif(current_SC->SCp.phase != message_in){ /* Unexpected disconnect */
phase848drivers/scsi/NCR53c406a.ccurrent_SC->SCp.phase = idle;
phase857drivers/scsi/NCR53c406a.ccurrent_SC->SCp.phase = data_out;
phase886drivers/scsi/NCR53c406a.ccurrent_SC->SCp.phase = data_in;
phase913drivers/scsi/NCR53c406a.ccurrent_SC->SCp.phase = command_ph;
phase919drivers/scsi/NCR53c406a.ccurrent_SC->SCp.phase = status_ph;
phase932drivers/scsi/NCR53c406a.ccurrent_SC->SCp.phase = message_out;
phase940drivers/scsi/NCR53c406a.ccurrent_SC->SCp.phase = message_in;
phase536drivers/scsi/aha152x.cint phase, sstat1;
phase556drivers/scsi/aha152x.cphase = GETPORT(SCSISIG) & P_MASK ;
phase560drivers/scsi/aha152x.cif((phase & (CDO|MSGO))==0)                        /* DATA phase */
phase566drivers/scsi/aha152x.creturn phase;
phase906drivers/scsi/aha152x.cSCpnt->SCp.phase = not_issued;
phase1050drivers/scsi/aha152x.cptr->SCp.phase = in_selection|aborted;
phase1323drivers/scsi/aha152x.cint done=0, phase;
phase1347drivers/scsi/aha152x.c(!CURRENT_SC || (CURRENT_SC->SCp.phase & in_selection)) )
phase1440drivers/scsi/aha152x.cCURRENT_SC->SCp.phase &= ~disconnected;
phase1474drivers/scsi/aha152x.cCURRENT_SC->SCp.phase = in_selection;
phase1519drivers/scsi/aha152x.cif(CURRENT_SC->SCp.phase & in_selection)
phase1544drivers/scsi/aha152x.cif(CURRENT_SC->SCp.phase & aborted)
phase1562drivers/scsi/aha152x.cif((HOSTDATA(shpnt)->debug & debug_abort) && (CURRENT_SC->SCp.phase & aborted))
phase1566drivers/scsi/aha152x.cCURRENT_SC->SCp.phase &= ~in_selection;
phase1567drivers/scsi/aha152x.cCURRENT_SC->SCp.phase |= in_other;
phase1583drivers/scsi/aha152x.cCURRENT_SC->SCp.phase |= in_sync;
phase1619drivers/scsi/aha152x.cif(CURRENT_SC->SCp.phase & aborted)
phase1641drivers/scsi/aha152x.cphase = getphase(shpnt);
phase1642drivers/scsi/aha152x.cif(!(phase & ~P_MASK))                                      /* "real" phase */
phase1643drivers/scsi/aha152x.cSETPORT(SCSISIG, phase);
phase1645drivers/scsi/aha152x.cCURRENT_SC->SCp.phase =
phase1646drivers/scsi/aha152x.c(CURRENT_SC->SCp.phase & ~((P_MASK|1)<<16)) | (phase << 16);
phase1649drivers/scsi/aha152x.cswitch(phase)
phase1718drivers/scsi/aha152x.cCURRENT_SC->SCp.phase |= sent_ident;
phase1726drivers/scsi/aha152x.cCURRENT_SC->SCp.phase &= ~(P_MASK<<16);
phase1787drivers/scsi/aha152x.cwhile(phase == P_MSGI) 
phase1798drivers/scsi/aha152x.cCURRENT_SC->SCp.phase   |= disconnected;
phase1812drivers/scsi/aha152x.cif(CURRENT_SC->SCp.phase & in_sync)
phase1814drivers/scsi/aha152x.cCURRENT_SC->SCp.phase &= ~in_sync;
phase1874drivers/scsi/aha152x.cif(CURRENT_SC->SCp.phase & in_sync)
phase1903drivers/scsi/aha152x.cCURRENT_SC->SCp.phase |= in_sync;
phase1938drivers/scsi/aha152x.cphase=getphase(shpnt);
phase1942drivers/scsi/aha152x.cCURRENT_SC->SCp.phase |= in_sync;
phase1944drivers/scsi/aha152x.cCURRENT_SC->SCp.phase &= ~in_sync;
phase1950drivers/scsi/aha152x.cif(phase==P_BUSFREE)
phase1953drivers/scsi/aha152x.cif(CURRENT_SC->SCp.phase & disconnected)
phase1962drivers/scsi/aha152x.cCURRENT_SC->SCp.phase |= 1<<16;
phase2338drivers/scsi/aha152x.cCURRENT_SC->SCp.phase &= ~(P_MASK<<16);
phase2350drivers/scsi/aha152x.cCURRENT_SC->SCp.phase &= ~(P_MASK<<16);
phase2391drivers/scsi/aha152x.cCURRENT_SC->SCp.phase |= 1<<16 ;
phase2687drivers/scsi/aha152x.cif(ptr->SCp.phase & not_issued  )  printk("not issued|");
phase2688drivers/scsi/aha152x.cif(ptr->SCp.phase & in_selection)  printk("in selection|");
phase2689drivers/scsi/aha152x.cif(ptr->SCp.phase & disconnected)  printk("disconnected|");
phase2690drivers/scsi/aha152x.cif(ptr->SCp.phase & aborted     )  printk("aborted|");
phase2691drivers/scsi/aha152x.cif(ptr->SCp.phase & sent_ident  )  printk("send_ident|");
phase2692drivers/scsi/aha152x.cif(ptr->SCp.phase & in_other)
phase2695drivers/scsi/aha152x.cswitch((ptr->SCp.phase >> 16) & P_MASK)
phase2720drivers/scsi/aha152x.cif(ptr->SCp.phase & (1<<16))
phase2777drivers/scsi/aha152x.cif(ptr->SCp.phase & not_issued  )  SPRINTF("not issued|");
phase2778drivers/scsi/aha152x.cif(ptr->SCp.phase & in_selection)  SPRINTF("in selection|");
phase2779drivers/scsi/aha152x.cif(ptr->SCp.phase & disconnected)  SPRINTF("disconnected|");
phase2780drivers/scsi/aha152x.cif(ptr->SCp.phase & aborted     )  SPRINTF("aborted|");
phase2781drivers/scsi/aha152x.cif(ptr->SCp.phase & sent_ident  )  SPRINTF("send_ident|");
phase2782drivers/scsi/aha152x.cif(ptr->SCp.phase & in_other)
phase2785drivers/scsi/aha152x.cswitch((ptr->SCp.phase >> 16) & P_MASK)
phase2810drivers/scsi/aha152x.cif(ptr->SCp.phase & (1<<16))
phase2375drivers/scsi/aic7xxx.cchar  *phase;
phase2383drivers/scsi/aic7xxx.cphase = "Data-Out";
phase2386drivers/scsi/aic7xxx.cphase = "Data-In";
phase2390drivers/scsi/aic7xxx.cphase = "Command";
phase2393drivers/scsi/aic7xxx.cphase = "Message-Out";
phase2396drivers/scsi/aic7xxx.cphase = "Status";
phase2400drivers/scsi/aic7xxx.cphase = "Message-In";
phase2404drivers/scsi/aic7xxx.cphase = "unknown";
phase2413drivers/scsi/aic7xxx.c"channel %d, lun %d.\n", phase,
phase1283drivers/scsi/atari_NCR5380.cp = hostdata->connected->SCp.phase;
phase1507drivers/scsi/atari_NCR5380.cunsigned char tmp[3], phase;
phase1810drivers/scsi/atari_NCR5380.cphase = PHASE_MSGOUT;
phase1811drivers/scsi/atari_NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
phase1853drivers/scsi/atari_NCR5380.cunsigned char *phase, int *count,
phase1856drivers/scsi/atari_NCR5380.cregister unsigned char p = *phase, tmp;
phase1964drivers/scsi/atari_NCR5380.c*phase = tmp & PHASE_MASK;
phase1966drivers/scsi/atari_NCR5380.c*phase = PHASE_UNKNOWN;
phase1968drivers/scsi/atari_NCR5380.cif (!c || (*phase == p))
phase1985drivers/scsi/atari_NCR5380.cunsigned char tmp, *msgptr, phase;
phase2015drivers/scsi/atari_NCR5380.cphase = PHASE_MSGOUT;
phase2016drivers/scsi/atari_NCR5380.cNCR5380_transfer_pio (host, &phase, &len, &msgptr);
phase2048drivers/scsi/atari_NCR5380.cunsigned char *phase, int *count,
phase2053drivers/scsi/atari_NCR5380.cregister unsigned char p = *phase;
phase2059drivers/scsi/atari_NCR5380.c*phase = tmp;
phase2141drivers/scsi/atari_NCR5380.cunsigned char phase, tmp, extended_msg[10], old_phase=0xff;
phase2148drivers/scsi/atari_NCR5380.cphase = (tmp & PHASE_MASK); 
phase2149drivers/scsi/atari_NCR5380.cif (phase != old_phase) {
phase2150drivers/scsi/atari_NCR5380.cold_phase = phase;
phase2156drivers/scsi/atari_NCR5380.cif (sink && (phase != PHASE_MSGOUT)) {
phase2168drivers/scsi/atari_NCR5380.cswitch (phase) {
phase2218drivers/scsi/atari_NCR5380.c(transfersize = NCR5380_dma_xfer_len(instance,cmd,phase)) > 31) {
phase2220drivers/scsi/atari_NCR5380.ccmd->SCp.phase = phase;
phase2221drivers/scsi/atari_NCR5380.cif (NCR5380_transfer_dma(instance, &phase,
phase2251drivers/scsi/atari_NCR5380.cNCR5380_transfer_pio(instance, &phase, 
phase2259drivers/scsi/atari_NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
phase2523drivers/scsi/atari_NCR5380.cphase = PHASE_MSGIN;
phase2524drivers/scsi/atari_NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
phase2538drivers/scsi/atari_NCR5380.cphase = PHASE_MSGIN;
phase2540drivers/scsi/atari_NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
phase2594drivers/scsi/atari_NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
phase2621drivers/scsi/atari_NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, 
phase2627drivers/scsi/atari_NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
phase2656drivers/scsi/atari_NCR5380.cunsigned char lun, phase;
phase2702drivers/scsi/atari_NCR5380.cphase = PHASE_MSGIN;
phase2703drivers/scsi/atari_NCR5380.cNCR5380_transfer_pio(instance, &phase, &len, &data);
phase2719drivers/scsi/atari_NCR5380.cif (phase == PHASE_MSGIN && setup_use_tagged_queuing) {
phase2724drivers/scsi/atari_NCR5380.cif (!NCR5380_transfer_pio(instance, &phase, &len, &data) &&
phase92drivers/scsi/atari_scsi.h#define  NCR5380_dma_xfer_len(i,cmd,phase) \
phase93drivers/scsi/atari_scsi.hatari_dma_xfer_len(cmd->SCp.this_residual,cmd,((phase) & SR_IO) ? 0 : 1)
phase128drivers/scsi/esp.cunchar phase;
phase131drivers/scsi/esp.cphase = statreg & ESP_STAT_PMASK;
phase132drivers/scsi/esp.cprintk("%s,", (phase == ESP_DOP ? "DATA-OUT" :
phase133drivers/scsi/esp.c(phase == ESP_DIP ? "DATA-IN" :
phase134drivers/scsi/esp.c(phase == ESP_CMDP ? "COMMAND" :
phase135drivers/scsi/esp.c(phase == ESP_STATP ? "STATUS" :
phase136drivers/scsi/esp.c(phase == ESP_MOP ? "MSG-OUT" :
phase137drivers/scsi/esp.c(phase == ESP_MIP ? "MSG_IN" :
phase574drivers/scsi/esp.cSCptr->SCp.phase = in_selection;
phase636drivers/scsi/esp.cSCpnt->SCp.phase = not_issued;
phase844drivers/scsi/esp.cprintk("esp: SCptr->SCp.phase = %d\n", SCptr->SCp.phase);
phase852drivers/scsi/esp.cprintk("esp: SCptr->SCp.phase = %d\n", SCptr->SCp.phase);
phase859drivers/scsi/esp.cprintk("esp: SCptr->SCp.phase = %d\n", SCptr->SCp.phase);
phase864drivers/scsi/esp.cswitch(SCptr->SCp.phase) {
phase920drivers/scsi/esp.cSCptr->SCp.phase = in_dataout;
phase947drivers/scsi/esp.cSCptr->SCp.phase = in_datain;
phase970drivers/scsi/esp.cSCptr->SCp.phase = in_status;
phase1056drivers/scsi/esp.cSCptr->SCp.phase = in_status;
phase1074drivers/scsi/esp.cSCptr->SCp.phase   = in_finale;
phase1302drivers/scsi/fdomain.cif (current_SC->SCp.phase & aborted) {
phase1314drivers/scsi/fdomain.cif (current_SC->SCp.phase & in_arbitration) {
phase1323drivers/scsi/fdomain.ccurrent_SC->SCp.phase = in_selection;
phase1336drivers/scsi/fdomain.c} else if (current_SC->SCp.phase & in_selection) {
phase1354drivers/scsi/fdomain.ccurrent_SC->SCp.phase = in_other;
phase1693drivers/scsi/fdomain.cif (current_SC->SCp.phase & disconnect) {
phase1744drivers/scsi/fdomain.ccurrent_SC->SCp.phase               = in_arbitration;
phase1794drivers/scsi/fdomain.cswitch (SCpnt->SCp.phase) {
phase1802drivers/scsi/fdomain.cSCpnt->SCp.phase,
phase1874drivers/scsi/fdomain.ccurrent_SC->SCp.phase |= aborted;
phase539drivers/scsi/in2000.ccmd->SCp.phase = 0;  /* assume no disconnect */
phase555drivers/scsi/in2000.cprev->SCp.phase = 1;
phase562drivers/scsi/in2000.ccmd->SCp.phase = 1;
phase569drivers/scsi/in2000.cwrite_3393(hostdata,WD_SOURCE_ID,((cmd->SCp.phase)?SRCID_ER:0));
phase656drivers/scsi/in2000.cif (!(cmd->SCp.phase)) {
phase718drivers/scsi/in2000.cDB(DB_EXECUTE,printk("%s%ld)EX-2 ",(cmd->SCp.phase)?"d:":"",cmd->pid))
phase798drivers/scsi/in2000.cif ((hostdata->level2 >= L2_DATA) || (cmd->SCp.phase == 0)) {
phase815drivers/scsi/in2000.cif ((hostdata->level2 >= L2_DATA) || (cmd->SCp.phase == 0)) {
phase1132drivers/scsi/in2000.cif (cmd->SCp.phase)
phase194drivers/scsi/qlogic.cstatic int  ql_pdma(int phase, char *request, int reqlen)
phase198drivers/scsi/qlogic.cif (phase & 1) {  /* in */
phase345drivers/scsi/qlogic.cunsigned int  phase;      /* recorded scsi phase */
phase378drivers/scsi/qlogic.cif (reqlen && !((phase = inb(qbase + 4)) & 6)) {  /* data phase */
phase387drivers/scsi/qlogic.cql_pdma(phase, cmd->request_buffer, cmd->request_bufflen);
phase396drivers/scsi/qlogic.cif (ql_pdma(phase, sglist->address, sglist->length))
phase357drivers/scsi/scsi.hvolatile int phase;
phase642drivers/scsi/seagate.cint phase=0, newphase;
phase1028drivers/scsi/seagate.cif ((newphase = (status_read & REQ_MASK)) != phase)
phase1030drivers/scsi/seagate.cphase = newphase;
phase1031drivers/scsi/seagate.cswitch (phase)
phase449drivers/scsi/wd33c93.ccmd->SCp.phase = 0;  /* assume no disconnect */
phase465drivers/scsi/wd33c93.cprev->SCp.phase = 1;
phase472drivers/scsi/wd33c93.ccmd->SCp.phase = 1;
phase479drivers/scsi/wd33c93.cwrite_wd33c93(regp, WD_SOURCE_ID, ((cmd->SCp.phase)?SRCID_ER:0));
phase553drivers/scsi/wd33c93.cif (cmd->SCp.phase == 0) {
phase577drivers/scsi/wd33c93.cDB(DB_EXECUTE,printk("%s%ld)EX-2 ",(cmd->SCp.phase)?"d:":"",cmd->pid))
phase663drivers/scsi/wd33c93.cif ((hostdata->level2 >= L2_DATA) || (cmd->SCp.phase == 0)) {
phase770drivers/scsi/wd33c93.cif (cmd->SCp.phase)
phase393drivers/scsi/wd7000.cvolatile unchar phase;        /* used by interrupt handler */
phase403drivers/scsi/wd7000.cvolatile unchar phase;        /* used by interrupt handler */
phase413drivers/scsi/wd7000.cvolatile unchar phase;        /* used by interrupt handler */
phase424drivers/scsi/wd7000.cvolatile unchar phase;        /* used by interrupt handler */
phase435drivers/scsi/wd7000.cvolatile unchar phase;        /* used by interrupt handler */
phase452drivers/scsi/wd7000.cvolatile unchar phase;        /* used by interrupt handler */
phase460drivers/scsi/wd7000.cvolatile unchar phase;        /* used by interrupt handler */
phase805drivers/scsi/wd7000.cSCpnt->SCp.phase = 0;
phase875drivers/scsi/wd7000.cif (--(SCpnt->SCp.phase) <= 0)  {  /* all scbs are done */
phase888drivers/scsi/wd7000.cicb->phase  = 0;
phase910drivers/scsi/wd7000.cSCpnt->SCp.phase = 1;
phase955drivers/scsi/wd7000.cwhile (SCpnt->SCp.phase > 0) barrier();  /* phase counts scbs down to 0 */
phase970drivers/scsi/wd7000.cicb.phase = 1;
phase978drivers/scsi/wd7000.cwhile (icb.phase && jiffies < timeout)
phase981drivers/scsi/wd7000.cif (icb.phase)  {
phase1081drivers/scsi/wd7000.cicb.phase = 1;
phase1089drivers/scsi/wd7000.cwhile (icb.phase)
phase539drivers/sound/gus_wave.cunsigned        vol, prev_vol, phase;
phase563drivers/sound/gus_wave.cphase = ++voices[voice].env_phase;
phase565drivers/sound/gus_wave.cvol = voices[voice].initial_volume * voices[voice].env_offset[phase] / 255;
phase566drivers/sound/gus_wave.crate = voices[voice].env_rate[phase];