tag | line | file | source code |
phase | 4611 | drivers/scsi/53c7,8xx.c | int sstat, phase, offset; |
phase | 4635 | 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 | 1170 | drivers/scsi/NCR5380.c | unsigned char tmp[3], phase; |
phase | 1422 | drivers/scsi/NCR5380.c | phase = PHASE_MSGOUT; |
phase | 1423 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, &phase, &len, &data); |
phase | 1466 | drivers/scsi/NCR5380.c | unsigned char *phase, int *count, unsigned char **data) { |
phase | 1468 | drivers/scsi/NCR5380.c | register unsigned char p = *phase, tmp; |
phase | 1574 | drivers/scsi/NCR5380.c | *phase = tmp & PHASE_MASK; |
phase | 1576 | drivers/scsi/NCR5380.c | *phase = PHASE_UNKNOWN; |
phase | 1578 | drivers/scsi/NCR5380.c | if (!c || (*phase == p)) |
phase | 1606 | drivers/scsi/NCR5380.c | unsigned char *phase, int *count, unsigned char **data) { |
phase | 1609 | drivers/scsi/NCR5380.c | register unsigned char p = *phase; |
phase | 1624 | drivers/scsi/NCR5380.c | *phase = tmp; |
phase | 1767 | drivers/scsi/NCR5380.c | *phase = NCR5380_read(STATUS_REG) & PHASE_MASK; |
phase | 1770 | drivers/scsi/NCR5380.c | if (*phase == p && (p & SR_IO) && residue == 0) { |
phase | 1786 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, phase, &cnt, data); |
phase | 1884 | drivers/scsi/NCR5380.c | *phase = (NCR5380_read(STATUS_REG & PHASE_MASK)); |
phase | 1921 | drivers/scsi/NCR5380.c | unsigned char phase, tmp, extended_msg[10], old_phase=0xff; |
phase | 1929 | drivers/scsi/NCR5380.c | phase = (tmp & PHASE_MASK); |
phase | 1930 | drivers/scsi/NCR5380.c | if (phase != old_phase) { |
phase | 1931 | drivers/scsi/NCR5380.c | old_phase = phase; |
phase | 1937 | drivers/scsi/NCR5380.c | if (sink && (phase != PHASE_MSGOUT)) { |
phase | 1949 | drivers/scsi/NCR5380.c | switch (phase) { |
phase | 2004 | drivers/scsi/NCR5380.c | if (NCR5380_transfer_dma(instance, &phase, |
phase | 2022 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, &phase, |
phase | 2029 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, &phase, &len, &data); |
phase | 2233 | drivers/scsi/NCR5380.c | phase = PHASE_MSGIN; |
phase | 2234 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, &phase, &len, &data); |
phase | 2248 | drivers/scsi/NCR5380.c | phase = PHASE_MSGIN; |
phase | 2250 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, &phase, &len, &data); |
phase | 2301 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, &phase, &len, &data); |
phase | 2320 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, &phase, &len, |
phase | 2337 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, &phase, &len, &data); |
phase | 2381 | drivers/scsi/NCR5380.c | unsigned char lun, phase; |
phase | 2428 | drivers/scsi/NCR5380.c | phase = PHASE_MSGIN; |
phase | 2429 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, &phase, &len, &data); |
phase | 2493 | drivers/scsi/NCR5380.c | phase = PHASE_MSGOUT; |
phase | 2495 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio(instance, &phase, &len, &data); |
phase | 2545 | drivers/scsi/NCR5380.c | if (!(hostdata->connected->SCp.phase & SR_CD)) { |
phase | 2579 | drivers/scsi/NCR5380.c | unsigned char msg, phase, *msgptr; |
phase | 2712 | drivers/scsi/NCR5380.c | phase = PHASE_MSGOUT; |
phase | 2714 | drivers/scsi/NCR5380.c | NCR5380_transfer_pio (instance, &phase, &len, &msgptr); |
phase | 205 | drivers/scsi/NCR5380.h | #define PHASE_SR_TO_TCR(phase) ((phase) >> 2) |
phase | 296 | drivers/scsi/NCR5380.h | unsigned char *phase, int *count, unsigned char **data); |
phase | 299 | drivers/scsi/NCR5380.h | unsigned char *phase, int *count, unsigned char **data); |
phase | 652 | drivers/scsi/NCR53c406a.c | current_SC->SCp.phase = idle; |
phase | 695 | drivers/scsi/NCR53c406a.c | current_SC->SCp.phase = command_ph; |
phase | 795 | drivers/scsi/NCR53c406a.c | current_SC->SCp.phase = idle; |
phase | 804 | drivers/scsi/NCR53c406a.c | current_SC->SCp.phase = idle; |
phase | 813 | drivers/scsi/NCR53c406a.c | current_SC->SCp.phase = idle; |
phase | 821 | drivers/scsi/NCR53c406a.c | current_SC->SCp.phase = idle; |
phase | 829 | drivers/scsi/NCR53c406a.c | if(current_SC->SCp.phase != message_in){ /* Unexpected disconnect */ |
phase | 838 | drivers/scsi/NCR53c406a.c | current_SC->SCp.phase = idle; |
phase | 847 | drivers/scsi/NCR53c406a.c | current_SC->SCp.phase = data_out; |
phase | 876 | drivers/scsi/NCR53c406a.c | current_SC->SCp.phase = data_in; |
phase | 903 | drivers/scsi/NCR53c406a.c | current_SC->SCp.phase = command_ph; |
phase | 909 | drivers/scsi/NCR53c406a.c | current_SC->SCp.phase = status_ph; |
phase | 934 | drivers/scsi/NCR53c406a.c | current_SC->SCp.phase = message_out; |
phase | 942 | 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 | 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 | 534 | drivers/sound/gus_wave.c | unsigned vol, prev_vol, phase; |
phase | 558 | drivers/sound/gus_wave.c | phase = ++voices[voice].env_phase; |
phase | 560 | drivers/sound/gus_wave.c | vol = voices[voice].initial_volume * voices[voice].env_offset[phase] / 255; |
phase | 561 | drivers/sound/gus_wave.c | rate = voices[voice].env_rate[phase]; |