tag | line | file | source code |
phase | 4613 | drivers/scsi/53c7,8xx.c | int sstat, phase, offset; |
phase | 4637 | drivers/scsi/53c7,8xx.c | phase = sstat & SSTAT2_PHASE_MASK; |
phase | 1125 | drivers/scsi/AM53C974.c | hostdata->connected->SCp.phase = PHASE_CMDOUT; |
phase | 1224 | drivers/scsi/AM53C974.c | instance->host_no, cmd->SCp.phase, cmd->target, cmd->SCp.this_residual, cmd->SCp.buffers_residual, |
phase | 1401 | drivers/scsi/AM53C974.c | cmd->SCp.phase = PHASE_DATAOUT; |
phase | 1407 | drivers/scsi/AM53C974.c | cmd->SCp.phase = PHASE_DATAIN; |
phase | 1434 | drivers/scsi/AM53C974.c | if (cmd->SCp.phase == PHASE_DATAIN) |
phase | 1436 | drivers/scsi/AM53C974.c | if ((cmd->SCp.phase == PHASE_DATAOUT) && (AM53C974_read_8(DMACMD) & DMACMD_START)) { |
phase | 1444 | drivers/scsi/AM53C974.c | if (cmd->SCp.phase == PHASE_STATIN) { |
phase | 1459 | drivers/scsi/AM53C974.c | cmd->SCp.phase = PHASE_MSGIN; |
phase | 1487 | drivers/scsi/AM53C974.c | cmd->SCp.phase = PHASE_MSGOUT; |
phase | 1497 | drivers/scsi/AM53C974.c | cmd->SCp.phase = PHASE_CMDOUT; |
phase | 1503 | drivers/scsi/AM53C974.c | if (cmd->SCp.phase == PHASE_DATAIN) |
phase | 1506 | drivers/scsi/AM53C974.c | if (cmd->SCp.phase == PHASE_DATAOUT) { |
phase | 1517 | drivers/scsi/AM53C974.c | cmd->SCp.phase = PHASE_STATIN; |
phase | 1979 | drivers/scsi/AM53C974.c | hostdata->connected->SCp.phase = PHASE_CMDOUT; |
phase | 1263 | drivers/scsi/NCR5380.c | unsigned char tmp[3], phase; |
phase | 1546 | drivers/scsi/NCR5380.c | phase = PHASE_MSGOUT; |
phase | 1547 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, &phase, &len, &data); |
phase | 1590 | drivers/scsi/NCR5380.c | unsigned char *phase, int *count, unsigned char **data) { |
phase | 1592 | drivers/scsi/NCR5380.c | register unsigned char p = *phase, tmp; |
phase | 1705 | drivers/scsi/NCR5380.c | *phase = tmp & PHASE_MASK; |
phase | 1707 | drivers/scsi/NCR5380.c | *phase = PHASE_UNKNOWN; |
phase | 1709 | drivers/scsi/NCR5380.c | if (!c || (*phase == p)) |
phase | 1739 | drivers/scsi/NCR5380.c | unsigned char tmp, *msgptr, phase; |
phase | 1771 | drivers/scsi/NCR5380.c | phase = PHASE_MSGOUT; |
phase | 1772 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio (host, &phase, &len, &msgptr); |
phase | 1804 | drivers/scsi/NCR5380.c | unsigned char *phase, int *count, unsigned char **data) { |
phase | 1807 | drivers/scsi/NCR5380.c | register unsigned char p = *phase; |
phase | 1822 | drivers/scsi/NCR5380.c | *phase = tmp; |
phase | 1971 | drivers/scsi/NCR5380.c | *phase = NCR5380_read(STATUS_REG) & PHASE_MASK; |
phase | 1974 | drivers/scsi/NCR5380.c | if (*phase == p && (p & SR_IO) && residue == 0) { |
phase | 1990 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, phase, &cnt, data); |
phase | 2119 | drivers/scsi/NCR5380.c | *phase = (NCR5380_read(STATUS_REG & PHASE_MASK)); |
phase | 2159 | drivers/scsi/NCR5380.c | unsigned char phase, tmp, extended_msg[10], old_phase=0xff; |
phase | 2167 | drivers/scsi/NCR5380.c | phase = (tmp & PHASE_MASK); |
phase | 2168 | drivers/scsi/NCR5380.c | if (phase != old_phase) { |
phase | 2169 | drivers/scsi/NCR5380.c | old_phase = phase; |
phase | 2175 | drivers/scsi/NCR5380.c | if (sink && (phase != PHASE_MSGOUT)) { |
phase | 2187 | drivers/scsi/NCR5380.c | switch (phase) { |
phase | 2252 | drivers/scsi/NCR5380.c | if (NCR5380_transfer_dma(instance, &phase, |
phase | 2272 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, &phase, |
phase | 2279 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, &phase, &len, &data); |
phase | 2487 | drivers/scsi/NCR5380.c | phase = PHASE_MSGIN; |
phase | 2488 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, &phase, &len, &data); |
phase | 2502 | drivers/scsi/NCR5380.c | phase = PHASE_MSGIN; |
phase | 2504 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, &phase, &len, &data); |
phase | 2555 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, &phase, &len, &data); |
phase | 2574 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, &phase, &len, |
phase | 2591 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, &phase, &len, &data); |
phase | 2635 | drivers/scsi/NCR5380.c | unsigned char lun, phase; |
phase | 2682 | drivers/scsi/NCR5380.c | phase = PHASE_MSGIN; |
phase | 2683 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, &phase, &len, &data); |
phase | 2797 | drivers/scsi/NCR5380.c | if (!(hostdata->connected->SCp.phase & SR_CD)) { |
phase | 207 | drivers/scsi/NCR5380.h | #define PHASE_SR_TO_TCR(phase) ((phase) >> 2) |
phase | 301 | drivers/scsi/NCR5380.h | unsigned char *phase, int *count, unsigned char **data); |
phase | 304 | drivers/scsi/NCR5380.h | unsigned char *phase, int *count, unsigned char **data); |
phase | 662 | drivers/scsi/NCR53c406a.c | current_SC->SCp.phase = idle; |
phase | 705 | drivers/scsi/NCR53c406a.c | current_SC->SCp.phase = command_ph; |
phase | 805 | drivers/scsi/NCR53c406a.c | current_SC->SCp.phase = idle; |
phase | 814 | drivers/scsi/NCR53c406a.c | current_SC->SCp.phase = idle; |
phase | 823 | drivers/scsi/NCR53c406a.c | current_SC->SCp.phase = idle; |
phase | 831 | drivers/scsi/NCR53c406a.c | current_SC->SCp.phase = idle; |
phase | 839 | drivers/scsi/NCR53c406a.c | if(current_SC->SCp.phase != message_in){ /* Unexpected disconnect */ |
phase | 848 | drivers/scsi/NCR53c406a.c | current_SC->SCp.phase = idle; |
phase | 857 | drivers/scsi/NCR53c406a.c | current_SC->SCp.phase = data_out; |
phase | 886 | drivers/scsi/NCR53c406a.c | current_SC->SCp.phase = data_in; |
phase | 913 | drivers/scsi/NCR53c406a.c | current_SC->SCp.phase = command_ph; |
phase | 919 | drivers/scsi/NCR53c406a.c | current_SC->SCp.phase = status_ph; |
phase | 932 | drivers/scsi/NCR53c406a.c | current_SC->SCp.phase = message_out; |
phase | 940 | drivers/scsi/NCR53c406a.c | current_SC->SCp.phase = message_in; |
phase | 532 | drivers/scsi/aha152x.c | int phase, sstat1; |
phase | 552 | drivers/scsi/aha152x.c | phase = GETPORT(SCSISIG) & P_MASK ; |
phase | 556 | drivers/scsi/aha152x.c | if((phase & (CDO|MSGO))==0) /* DATA phase */ |
phase | 562 | drivers/scsi/aha152x.c | return phase; |
phase | 902 | drivers/scsi/aha152x.c | SCpnt->SCp.phase = not_issued; |
phase | 1046 | drivers/scsi/aha152x.c | ptr->SCp.phase = in_selection|aborted; |
phase | 1314 | drivers/scsi/aha152x.c | int done=0, phase; |
phase | 1338 | drivers/scsi/aha152x.c | (!CURRENT_SC || (CURRENT_SC->SCp.phase & in_selection)) ) |
phase | 1431 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.phase &= ~disconnected; |
phase | 1465 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.phase = in_selection; |
phase | 1510 | drivers/scsi/aha152x.c | if(CURRENT_SC->SCp.phase & in_selection) |
phase | 1535 | drivers/scsi/aha152x.c | if(CURRENT_SC->SCp.phase & aborted) |
phase | 1553 | drivers/scsi/aha152x.c | if((HOSTDATA(shpnt)->debug & debug_abort) && (CURRENT_SC->SCp.phase & aborted)) |
phase | 1557 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.phase &= ~in_selection; |
phase | 1558 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.phase |= in_other; |
phase | 1574 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.phase |= in_sync; |
phase | 1610 | drivers/scsi/aha152x.c | if(CURRENT_SC->SCp.phase & aborted) |
phase | 1632 | drivers/scsi/aha152x.c | phase = getphase(shpnt); |
phase | 1633 | drivers/scsi/aha152x.c | if(!(phase & ~P_MASK)) /* "real" phase */ |
phase | 1634 | drivers/scsi/aha152x.c | SETPORT(SCSISIG, phase); |
phase | 1636 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.phase = |
phase | 1637 | drivers/scsi/aha152x.c | (CURRENT_SC->SCp.phase & ~((P_MASK|1)<<16)) | (phase << 16); |
phase | 1640 | drivers/scsi/aha152x.c | switch(phase) |
phase | 1709 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.phase |= sent_ident; |
phase | 1717 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.phase &= ~(P_MASK<<16); |
phase | 1778 | drivers/scsi/aha152x.c | while(phase == P_MSGI) |
phase | 1789 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.phase |= disconnected; |
phase | 1803 | drivers/scsi/aha152x.c | if(CURRENT_SC->SCp.phase & in_sync) |
phase | 1805 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.phase &= ~in_sync; |
phase | 1865 | drivers/scsi/aha152x.c | if(CURRENT_SC->SCp.phase & in_sync) |
phase | 1894 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.phase |= in_sync; |
phase | 1929 | drivers/scsi/aha152x.c | phase=getphase(shpnt); |
phase | 1933 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.phase |= in_sync; |
phase | 1935 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.phase &= ~in_sync; |
phase | 1941 | drivers/scsi/aha152x.c | if(phase==P_BUSFREE) |
phase | 1944 | drivers/scsi/aha152x.c | if(CURRENT_SC->SCp.phase & disconnected) |
phase | 1953 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.phase |= 1<<16; |
phase | 2329 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.phase &= ~(P_MASK<<16); |
phase | 2341 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.phase &= ~(P_MASK<<16); |
phase | 2382 | drivers/scsi/aha152x.c | CURRENT_SC->SCp.phase |= 1<<16 ; |
phase | 2678 | drivers/scsi/aha152x.c | if(ptr->SCp.phase & not_issued ) printk("not issued|"); |
phase | 2679 | drivers/scsi/aha152x.c | if(ptr->SCp.phase & in_selection) printk("in selection|"); |
phase | 2680 | drivers/scsi/aha152x.c | if(ptr->SCp.phase & disconnected) printk("disconnected|"); |
phase | 2681 | drivers/scsi/aha152x.c | if(ptr->SCp.phase & aborted ) printk("aborted|"); |
phase | 2682 | drivers/scsi/aha152x.c | if(ptr->SCp.phase & sent_ident ) printk("send_ident|"); |
phase | 2683 | drivers/scsi/aha152x.c | if(ptr->SCp.phase & in_other) |
phase | 2686 | drivers/scsi/aha152x.c | switch((ptr->SCp.phase >> 16) & P_MASK) |
phase | 2711 | drivers/scsi/aha152x.c | if(ptr->SCp.phase & (1<<16)) |
phase | 2768 | drivers/scsi/aha152x.c | if(ptr->SCp.phase & not_issued ) SPRINTF("not issued|"); |
phase | 2769 | drivers/scsi/aha152x.c | if(ptr->SCp.phase & in_selection) SPRINTF("in selection|"); |
phase | 2770 | drivers/scsi/aha152x.c | if(ptr->SCp.phase & disconnected) SPRINTF("disconnected|"); |
phase | 2771 | drivers/scsi/aha152x.c | if(ptr->SCp.phase & aborted ) SPRINTF("aborted|"); |
phase | 2772 | drivers/scsi/aha152x.c | if(ptr->SCp.phase & sent_ident ) SPRINTF("send_ident|"); |
phase | 2773 | drivers/scsi/aha152x.c | if(ptr->SCp.phase & in_other) |
phase | 2776 | drivers/scsi/aha152x.c | switch((ptr->SCp.phase >> 16) & P_MASK) |
phase | 2801 | drivers/scsi/aha152x.c | if(ptr->SCp.phase & (1<<16)) |
phase | 2276 | drivers/scsi/aic7xxx.c | char *phase; |
phase | 2284 | drivers/scsi/aic7xxx.c | phase = "Data-Out"; |
phase | 2287 | drivers/scsi/aic7xxx.c | phase = "Data-In"; |
phase | 2291 | drivers/scsi/aic7xxx.c | phase = "Command"; |
phase | 2294 | drivers/scsi/aic7xxx.c | phase = "Message-Out"; |
phase | 2297 | drivers/scsi/aic7xxx.c | phase = "Status"; |
phase | 2301 | drivers/scsi/aic7xxx.c | phase = "Message-In"; |
phase | 2305 | drivers/scsi/aic7xxx.c | phase = "unknown"; |
phase | 2314 | drivers/scsi/aic7xxx.c | "channel %d, lun %d.\n", phase, |
phase | 1240 | drivers/scsi/fdomain.c | if (current_SC->SCp.phase & aborted) { |
phase | 1252 | drivers/scsi/fdomain.c | if (current_SC->SCp.phase & in_arbitration) { |
phase | 1261 | drivers/scsi/fdomain.c | current_SC->SCp.phase = in_selection; |
phase | 1274 | drivers/scsi/fdomain.c | } else if (current_SC->SCp.phase & in_selection) { |
phase | 1292 | drivers/scsi/fdomain.c | current_SC->SCp.phase = in_other; |
phase | 1631 | drivers/scsi/fdomain.c | if (current_SC->SCp.phase & disconnect) { |
phase | 1682 | drivers/scsi/fdomain.c | current_SC->SCp.phase = in_arbitration; |
phase | 1732 | drivers/scsi/fdomain.c | switch (SCpnt->SCp.phase) { |
phase | 1740 | drivers/scsi/fdomain.c | SCpnt->SCp.phase, |
phase | 1812 | drivers/scsi/fdomain.c | current_SC->SCp.phase |= aborted; |
phase | 194 | drivers/scsi/qlogic.c | static int ql_pdma(int phase, char *request, int reqlen) |
phase | 198 | drivers/scsi/qlogic.c | if (phase & 1) { /* in */ |
phase | 345 | drivers/scsi/qlogic.c | unsigned int phase; /* recorded scsi phase */ |
phase | 378 | drivers/scsi/qlogic.c | if (reqlen && !((phase = inb(qbase + 4)) & 6)) { /* data phase */ |
phase | 387 | drivers/scsi/qlogic.c | ql_pdma(phase, cmd->request_buffer, cmd->request_bufflen); |
phase | 396 | drivers/scsi/qlogic.c | if (ql_pdma(phase, sglist->address, sglist->length)) |
phase | 341 | drivers/scsi/scsi.h | volatile int phase; |
phase | 642 | drivers/scsi/seagate.c | int phase=0, newphase; |
phase | 1028 | drivers/scsi/seagate.c | if ((newphase = (status_read & REQ_MASK)) != phase) |
phase | 1030 | drivers/scsi/seagate.c | phase = newphase; |
phase | 1031 | drivers/scsi/seagate.c | switch (phase) |
phase | 393 | drivers/scsi/wd7000.c | volatile unchar phase; /* used by interrupt handler */ |
phase | 403 | drivers/scsi/wd7000.c | volatile unchar phase; /* used by interrupt handler */ |
phase | 413 | drivers/scsi/wd7000.c | volatile unchar phase; /* used by interrupt handler */ |
phase | 424 | drivers/scsi/wd7000.c | volatile unchar phase; /* used by interrupt handler */ |
phase | 435 | drivers/scsi/wd7000.c | volatile unchar phase; /* used by interrupt handler */ |
phase | 452 | drivers/scsi/wd7000.c | volatile unchar phase; /* used by interrupt handler */ |
phase | 460 | drivers/scsi/wd7000.c | volatile unchar phase; /* used by interrupt handler */ |
phase | 805 | drivers/scsi/wd7000.c | SCpnt->SCp.phase = 0; |
phase | 875 | drivers/scsi/wd7000.c | if (--(SCpnt->SCp.phase) <= 0) { /* all scbs are done */ |
phase | 888 | drivers/scsi/wd7000.c | icb->phase = 0; |
phase | 910 | drivers/scsi/wd7000.c | SCpnt->SCp.phase = 1; |
phase | 955 | drivers/scsi/wd7000.c | while (SCpnt->SCp.phase > 0) barrier(); /* phase counts scbs down to 0 */ |
phase | 970 | drivers/scsi/wd7000.c | icb.phase = 1; |
phase | 978 | drivers/scsi/wd7000.c | while (icb.phase && jiffies < timeout) |
phase | 981 | drivers/scsi/wd7000.c | if (icb.phase) { |
phase | 1081 | drivers/scsi/wd7000.c | icb.phase = 1; |
phase | 1089 | drivers/scsi/wd7000.c | while (icb.phase) |
phase | 538 | drivers/sound/gus_wave.c | unsigned vol, prev_vol, phase; |
phase | 562 | drivers/sound/gus_wave.c | phase = ++voices[voice].env_phase; |
phase | 564 | drivers/sound/gus_wave.c | vol = voices[voice].initial_volume * voices[voice].env_offset[phase] / 255; |
phase | 565 | drivers/sound/gus_wave.c | rate = voices[voice].env_rate[phase]; |