tag | line | file | source code |
AM53C974_write_8 | 613 | drivers/scsi/AM53C974.c | AM53C974_write_8(CNTLREG1, instance->this_id & CNTLREG1_SID); |
AM53C974_write_8 | 673 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_RDEV); /* reset device */ |
AM53C974_write_8 | 675 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_NOP); |
AM53C974_write_8 | 676 | drivers/scsi/AM53C974.c | AM53C974_write_8(CNTLREG1, CNTLREG1_DISR | instance->this_id); |
AM53C974_write_8 | 677 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_RBUS); /* reset SCSI bus */ |
AM53C974_write_8 | 699 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_CFIFO); |
AM53C974_write_8 | 702 | drivers/scsi/AM53C974.c | AM53C974_write_8(STIMREG, DEF_SCSI_TIMEOUT); |
AM53C974_write_8 | 703 | drivers/scsi/AM53C974.c | AM53C974_write_8(STPREG, DEF_STP & STPREG_STP); |
AM53C974_write_8 | 704 | drivers/scsi/AM53C974.c | AM53C974_write_8(SOFREG, (DEF_SOF_RAD<<6) | (DEF_SOF_RAA<<4)); |
AM53C974_write_8 | 705 | drivers/scsi/AM53C974.c | AM53C974_write_8(CLKFREG, DEF_CLKF & CLKFREG_MASK); |
AM53C974_write_8 | 706 | drivers/scsi/AM53C974.c | AM53C974_write_8(CNTLREG1, (DEF_ETM<<7) | CNTLREG1_DISR | (DEF_PERE<<4) | instance->this_id); |
AM53C974_write_8 | 707 | drivers/scsi/AM53C974.c | AM53C974_write_8(CNTLREG2, (DEF_ENF<<6)); |
AM53C974_write_8 | 708 | drivers/scsi/AM53C974.c | AM53C974_write_8(CNTLREG3, (DEF_ADIDCHK<<7) | (DEF_FASTSCSI<<4) | (DEF_FASTCLK<<3)); |
AM53C974_write_8 | 709 | drivers/scsi/AM53C974.c | AM53C974_write_8(CNTLREG4, (DEF_GLITCH<<6) | (DEF_PWD<<5) | (DEF_RAE<<3) | (DEF_RADE<<2) | CNTLREG4_RES); |
AM53C974_write_8 | 904 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_DSR); |
AM53C974_write_8 | 982 | drivers/scsi/AM53C974.c | AM53C974_write_8(DMACMD, DMACMD_IDLE); |
AM53C974_write_8 | 1146 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_CFIFO); } /* clear FIFO */ |
AM53C974_write_8 | 1182 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_CFIFO); |
AM53C974_write_8 | 1249 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_CFIFO); |
AM53C974_write_8 | 1256 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_ESR); } /* allow reselect */ |
AM53C974_write_8 | 1271 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_ESR); } /* allow reselect */ |
AM53C974_write_8 | 1343 | drivers/scsi/AM53C974.c | AM53C974_write_8(STPREG, hostdata->sync_per[target]); |
AM53C974_write_8 | 1344 | drivers/scsi/AM53C974.c | AM53C974_write_8(SOFREG, (DEF_SOF_RAD<<6) | (DEF_SOF_RAA<<4)); |
AM53C974_write_8 | 1363 | drivers/scsi/AM53C974.c | AM53C974_write_8(STPREG, hostdata->sync_per[target]); |
AM53C974_write_8 | 1364 | drivers/scsi/AM53C974.c | AM53C974_write_8(SOFREG, (SOFREG_SO & hostdata->sync_off[target]) | |
AM53C974_write_8 | 1410 | drivers/scsi/AM53C974.c | AM53C974_write_8(DMACMD, DMACMD_IDLE); |
AM53C974_write_8 | 1411 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_CFIFO); |
AM53C974_write_8 | 1412 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_SATN); |
AM53C974_write_8 | 1437 | drivers/scsi/AM53C974.c | AM53C974_write_8(DMACMD, DMACMD_IDLE); |
AM53C974_write_8 | 1442 | drivers/scsi/AM53C974.c | if (cfifo) { AM53C974_write_8(CMDREG, CMDREG_CFIFO); cfifo = 0; } |
AM53C974_write_8 | 1453 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_IT); |
AM53C974_write_8 | 1465 | drivers/scsi/AM53C974.c | AM53C974_write_8(DMACMD, DMACMD_IDLE); |
AM53C974_write_8 | 1485 | drivers/scsi/AM53C974.c | for (i = 0; i < len; i++) AM53C974_write_8(FFREG, hostdata->msgout[i]); |
AM53C974_write_8 | 1486 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_IT); |
AM53C974_write_8 | 1495 | drivers/scsi/AM53C974.c | for (i = 0; i < cmd->cmd_len; i++) AM53C974_write_8(FFREG, cmd->cmnd[i]); |
AM53C974_write_8 | 1496 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_IT); |
AM53C974_write_8 | 1510 | drivers/scsi/AM53C974.c | AM53C974_write_8(DMACMD, DMACMD_IDLE); |
AM53C974_write_8 | 1515 | drivers/scsi/AM53C974.c | if (cfifo) { AM53C974_write_8(CMDREG, CMDREG_CFIFO); cfifo = 0; } |
AM53C974_write_8 | 1518 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_ICCS); /* command complete */ |
AM53C974_write_8 | 1580 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_SATN); |
AM53C974_write_8 | 1581 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_MA); |
AM53C974_write_8 | 1586 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_SATN); } |
AM53C974_write_8 | 1587 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_MA); |
AM53C974_write_8 | 1625 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_SATN); |
AM53C974_write_8 | 1626 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_MA); |
AM53C974_write_8 | 1649 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_MA); |
AM53C974_write_8 | 1673 | drivers/scsi/AM53C974.c | if (hostdata->aborted) AM53C974_write_8(CMDREG, CMDREG_SATN); |
AM53C974_write_8 | 1674 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_MA); |
AM53C974_write_8 | 1682 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_MA); /* Accept message by clearing ACK */ |
AM53C974_write_8 | 1700 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_SATN); } |
AM53C974_write_8 | 1701 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_MA); |
AM53C974_write_8 | 1717 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_MA); /* ack. msg byte, then wait for SO */ |
AM53C974_write_8 | 1720 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_IT); |
AM53C974_write_8 | 1722 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_MA); /* ack. msg byte, then wait for SO */ |
AM53C974_write_8 | 1728 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_IT); |
AM53C974_write_8 | 1731 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_MA); /* ack. msg byte, then wait for SO */ |
AM53C974_write_8 | 1747 | drivers/scsi/AM53C974.c | if (ret || hostdata->aborted) AM53C974_write_8(CMDREG, CMDREG_SATN); |
AM53C974_write_8 | 1749 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_MA); |
AM53C974_write_8 | 1759 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_SATN); |
AM53C974_write_8 | 1760 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_MA); |
AM53C974_write_8 | 1797 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_CFIFO); /* clear FIFO */ |
AM53C974_write_8 | 1815 | drivers/scsi/AM53C974.c | AM53C974_write_8(FFREG, tmp[0]); |
AM53C974_write_8 | 1816 | drivers/scsi/AM53C974.c | AM53C974_write_8(FFREG, tmp[1]); |
AM53C974_write_8 | 1817 | drivers/scsi/AM53C974.c | AM53C974_write_8(FFREG, tmp[2]); |
AM53C974_write_8 | 1823 | drivers/scsi/AM53C974.c | AM53C974_write_8(FFREG, tmp[0]); |
AM53C974_write_8 | 1838 | drivers/scsi/AM53C974.c | AM53C974_write_8(SDIDREG, SDIREG_MASK & cmd->target); /* setup dest. id */ |
AM53C974_write_8 | 1839 | drivers/scsi/AM53C974.c | AM53C974_write_8(STIMREG, DEF_SCSI_TIMEOUT); /* setup timeout reg */ |
AM53C974_write_8 | 1842 | drivers/scsi/AM53C974.c | for (i = 0; i < cmd_size; i++) AM53C974_write_8(FFREG, cmd->cmnd[i]); |
AM53C974_write_8 | 1843 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_SAS); /* select with ATN, 1 msg byte */ |
AM53C974_write_8 | 1847 | drivers/scsi/AM53C974.c | for (i = 0; i < cmd_size; i++) AM53C974_write_8(FFREG, cmd->cmnd[i]); |
AM53C974_write_8 | 1848 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_SA3S); /* select with ATN, 3 msg bytes */ |
AM53C974_write_8 | 1852 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_SASS); /* select with ATN, stop steps; continue in message out phase */ |
AM53C974_write_8 | 1968 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_SATN); |
AM53C974_write_8 | 1969 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_MA); |
AM53C974_write_8 | 1976 | drivers/scsi/AM53C974.c | AM53C974_write_8(SDIDREG, SDIREG_MASK & target); /* setup dest. id */ |
AM53C974_write_8 | 1977 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_MA); |
AM53C974_write_8 | 2002 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_NOP); |
AM53C974_write_8 | 2003 | drivers/scsi/AM53C974.c | AM53C974_write_8(DMACMD, (dir << 7) | DMACMD_INTE_D); /* idle command */ |
AM53C974_write_8 | 2004 | drivers/scsi/AM53C974.c | AM53C974_write_8(STCLREG, (unsigned char)(length & 0xff)); |
AM53C974_write_8 | 2005 | drivers/scsi/AM53C974.c | AM53C974_write_8(STCMREG, (unsigned char)((length & 0xff00) >> 8)); |
AM53C974_write_8 | 2006 | drivers/scsi/AM53C974.c | AM53C974_write_8(STCHREG, (unsigned char)((length & 0xff0000) >> 16)); |
AM53C974_write_8 | 2009 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_IT | CMDREG_DMA); |
AM53C974_write_8 | 2010 | drivers/scsi/AM53C974.c | AM53C974_write_8(DMACMD, (dir << 7) | DMACMD_INTE_D | DMACMD_START); |
AM53C974_write_8 | 2041 | drivers/scsi/AM53C974.c | if (statreg & STATREG_CTZ) { AM53C974_write_8(DMACMD, DMACMD_IDLE); return; } |
AM53C974_write_8 | 2043 | drivers/scsi/AM53C974.c | if (dmastatus & DMASTATUS_DONE) { AM53C974_write_8(DMACMD, DMACMD_IDLE); return; } |
AM53C974_write_8 | 2045 | drivers/scsi/AM53C974.c | AM53C974_write_8(DMACMD, ((dir << 7) & DMACMD_DIR) | DMACMD_BLAST); |
AM53C974_write_8 | 2047 | drivers/scsi/AM53C974.c | AM53C974_write_8(DMACMD, DMACMD_IDLE); |
AM53C974_write_8 | 2078 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_CFIFO); |
AM53C974_write_8 | 2079 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_NOP); |
AM53C974_write_8 | 2082 | drivers/scsi/AM53C974.c | AM53C974_write_8(CNTLREG1, cntlreg1 | CNTLREG1_DISR); |
AM53C974_write_8 | 2172 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_DSR); |
AM53C974_write_8 | 2214 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_RDEV); |
AM53C974_write_8 | 2215 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_NOP); |
AM53C974_write_8 | 2234 | drivers/scsi/AM53C974.c | AM53C974_write_8(CNTLREG1, CNTLREG1_DISR | instance->this_id); /* disable interrupt upon SCSI RESET */ |
AM53C974_write_8 | 2235 | drivers/scsi/AM53C974.c | AM53C974_write_8(CMDREG, CMDREG_RBUS); /* reset SCSI bus */ |