Lines Matching refs:AM53C974_write_8

327 #define AM53C974_write_8(addr,x)        outb((x), io_port + (addr))  macro
693 AM53C974_write_8(CNTLREG1, instance->this_id & CNTLREG1_SID); in AM53C974_init()
756 AM53C974_write_8(CMDREG, CMDREG_RDEV); /* reset device */ in AM53C974_init()
758 AM53C974_write_8(CMDREG, CMDREG_NOP); in AM53C974_init()
759 AM53C974_write_8(CNTLREG1, CNTLREG1_DISR | instance->this_id); in AM53C974_init()
760 AM53C974_write_8(CMDREG, CMDREG_RBUS); /* reset SCSI bus */ in AM53C974_init()
782 AM53C974_write_8(CMDREG, CMDREG_CFIFO); in AM53C974_config_after_reset()
785 AM53C974_write_8(STIMREG, DEF_SCSI_TIMEOUT); in AM53C974_config_after_reset()
786 AM53C974_write_8(STPREG, DEF_STP & STPREG_STP); in AM53C974_config_after_reset()
787 AM53C974_write_8(SOFREG, (DEF_SOF_RAD << 6) | (DEF_SOF_RAA << 4)); in AM53C974_config_after_reset()
788 AM53C974_write_8(CLKFREG, DEF_CLKF & CLKFREG_MASK); in AM53C974_config_after_reset()
789 AM53C974_write_8(CNTLREG1, (DEF_ETM << 7) | CNTLREG1_DISR | (DEF_PERE << 4) | instance->this_id); in AM53C974_config_after_reset()
790 AM53C974_write_8(CNTLREG2, (DEF_ENF << 6)); in AM53C974_config_after_reset()
791 AM53C974_write_8(CNTLREG3, (DEF_ADIDCHK << 7) | (DEF_FASTSCSI << 4) | (DEF_FASTCLK << 3)); in AM53C974_config_after_reset()
792AM53C974_write_8(CNTLREG4, (DEF_GLITCH << 6) | (DEF_PWD << 5) | (DEF_RAE << 3) | (DEF_RADE << 2) |… in AM53C974_config_after_reset()
996 AM53C974_write_8(CMDREG, CMDREG_DSR); in AM53C974_main()
1046 AM53C974_write_8(STPREG, hostdata->sync_per[target]); in AM53C974_set_async()
1047 AM53C974_write_8(SOFREG, (DEF_SOF_RAD << 6) | (DEF_SOF_RAA << 4)); in AM53C974_set_async()
1066 AM53C974_write_8(STPREG, hostdata->sync_per[target]); in AM53C974_set_sync()
1067 AM53C974_write_8(SOFREG, (SOFREG_SO & hostdata->sync_off[target]) | in AM53C974_set_sync()
1091 AM53C974_write_8(CMDREG, CMDREG_NOP); in AM53C974_transfer_dma()
1092 AM53C974_write_8(DMACMD, (dir << 7) | DMACMD_INTE_D); /* idle command */ in AM53C974_transfer_dma()
1093 AM53C974_write_8(STCLREG, (unsigned char) (length & 0xff)); in AM53C974_transfer_dma()
1094 AM53C974_write_8(STCMREG, (unsigned char) ((length & 0xff00) >> 8)); in AM53C974_transfer_dma()
1095 AM53C974_write_8(STCHREG, (unsigned char) ((length & 0xff0000) >> 16)); in AM53C974_transfer_dma()
1098 AM53C974_write_8(CMDREG, CMDREG_IT | CMDREG_DMA); in AM53C974_transfer_dma()
1099 AM53C974_write_8(DMACMD, (dir << 7) | DMACMD_INTE_D | DMACMD_START); in AM53C974_transfer_dma()
1166 AM53C974_write_8(DMACMD, DMACMD_IDLE); in AM53C974_intr()
1350 AM53C974_write_8(CMDREG, CMDREG_CFIFO); in AM53C974_intr()
1386 AM53C974_write_8(CMDREG, CMDREG_CFIFO); in AM53C974_intr_disconnect()
1457 AM53C974_write_8(CMDREG, CMDREG_CFIFO); in AM53C974_intr_disconnect()
1464 AM53C974_write_8(CMDREG, CMDREG_ESR); in AM53C974_intr_disconnect()
1480 AM53C974_write_8(CMDREG, CMDREG_ESR); in AM53C974_intr_disconnect()
1581 AM53C974_write_8(DMACMD, DMACMD_IDLE); in AM53C974_information_transfer()
1582 AM53C974_write_8(CMDREG, CMDREG_CFIFO); in AM53C974_information_transfer()
1583 AM53C974_write_8(CMDREG, CMDREG_SATN); in AM53C974_information_transfer()
1610 AM53C974_write_8(DMACMD, DMACMD_IDLE); in AM53C974_information_transfer()
1616 AM53C974_write_8(CMDREG, CMDREG_CFIFO); in AM53C974_information_transfer()
1629 AM53C974_write_8(CMDREG, CMDREG_IT); in AM53C974_information_transfer()
1641 AM53C974_write_8(DMACMD, DMACMD_IDLE); in AM53C974_information_transfer()
1664 AM53C974_write_8(FFREG, hostdata->msgout[i]); in AM53C974_information_transfer()
1665 AM53C974_write_8(CMDREG, CMDREG_IT); in AM53C974_information_transfer()
1675 AM53C974_write_8(FFREG, cmd->cmnd[i]); in AM53C974_information_transfer()
1676 AM53C974_write_8(CMDREG, CMDREG_IT); in AM53C974_information_transfer()
1690 AM53C974_write_8(DMACMD, DMACMD_IDLE); in AM53C974_information_transfer()
1697 AM53C974_write_8(CMDREG, CMDREG_CFIFO); in AM53C974_information_transfer()
1702 AM53C974_write_8(CMDREG, CMDREG_ICCS); /* command complete */ in AM53C974_information_transfer()
1764 AM53C974_write_8(CMDREG, CMDREG_SATN); in AM53C974_message()
1765 AM53C974_write_8(CMDREG, CMDREG_MA); in AM53C974_message()
1771 AM53C974_write_8(CMDREG, CMDREG_SATN); in AM53C974_message()
1773 AM53C974_write_8(CMDREG, CMDREG_MA); in AM53C974_message()
1811 AM53C974_write_8(CMDREG, CMDREG_SATN); in AM53C974_message()
1812 AM53C974_write_8(CMDREG, CMDREG_MA); in AM53C974_message()
1835 AM53C974_write_8(CMDREG, CMDREG_MA); in AM53C974_message()
1861 AM53C974_write_8(CMDREG, CMDREG_SATN); in AM53C974_message()
1862 AM53C974_write_8(CMDREG, CMDREG_MA); in AM53C974_message()
1870 AM53C974_write_8(CMDREG, CMDREG_MA); /* Accept message by clearing ACK */ in AM53C974_message()
1888 AM53C974_write_8(CMDREG, CMDREG_SATN); in AM53C974_message()
1890 AM53C974_write_8(CMDREG, CMDREG_MA); in AM53C974_message()
1906 AM53C974_write_8(CMDREG, CMDREG_MA); /* ack. msg byte, then wait for SO */ in AM53C974_message()
1909 AM53C974_write_8(CMDREG, CMDREG_IT); in AM53C974_message()
1911 AM53C974_write_8(CMDREG, CMDREG_MA); /* ack. msg byte, then wait for SO */ in AM53C974_message()
1917 AM53C974_write_8(CMDREG, CMDREG_IT); in AM53C974_message()
1920 AM53C974_write_8(CMDREG, CMDREG_MA); /* ack. msg byte, then wait for SO */ in AM53C974_message()
1942 AM53C974_write_8(CMDREG, CMDREG_SATN); in AM53C974_message()
1944 AM53C974_write_8(CMDREG, CMDREG_MA); in AM53C974_message()
1954 AM53C974_write_8(CMDREG, CMDREG_SATN); in AM53C974_message()
1955 AM53C974_write_8(CMDREG, CMDREG_MA); in AM53C974_message()
1992 AM53C974_write_8(CMDREG, CMDREG_CFIFO); /* clear FIFO */ in AM53C974_select()
2014 AM53C974_write_8(FFREG, tmp[0]); in AM53C974_select()
2015 AM53C974_write_8(FFREG, tmp[1]); in AM53C974_select()
2016 AM53C974_write_8(FFREG, tmp[2]); in AM53C974_select()
2021 AM53C974_write_8(FFREG, tmp[0]); in AM53C974_select()
2037 AM53C974_write_8(SDIDREG, SDIREG_MASK & cmd->target); /* setup dest. id */ in AM53C974_select()
2038 AM53C974_write_8(STIMREG, DEF_SCSI_TIMEOUT); /* setup timeout reg */ in AM53C974_select()
2042 AM53C974_write_8(FFREG, cmd->cmnd[i]); in AM53C974_select()
2043 AM53C974_write_8(CMDREG, CMDREG_SAS); /* select with ATN, 1 msg byte */ in AM53C974_select()
2048 AM53C974_write_8(FFREG, cmd->cmnd[i]); in AM53C974_select()
2049 AM53C974_write_8(CMDREG, CMDREG_SA3S); /* select with ATN, 3 msg bytes */ in AM53C974_select()
2053AM53C974_write_8(CMDREG, CMDREG_SASS); /* select with ATN, stop steps; continue in message out pha… in AM53C974_select()
2176 AM53C974_write_8(CMDREG, CMDREG_SATN); in AM53C974_intr_reselect()
2177 AM53C974_write_8(CMDREG, CMDREG_MA); in AM53C974_intr_reselect()
2184 AM53C974_write_8(SDIDREG, SDIREG_MASK & target); /* setup dest. id */ in AM53C974_intr_reselect()
2185 AM53C974_write_8(CMDREG, CMDREG_MA); in AM53C974_intr_reselect()
2219 AM53C974_write_8(DMACMD, DMACMD_IDLE); in AM53C974_dma_blast()
2223 AM53C974_write_8(DMACMD, DMACMD_IDLE); in AM53C974_dma_blast()
2226 AM53C974_write_8(DMACMD, ((dir << 7) & DMACMD_DIR) | DMACMD_BLAST); in AM53C974_dma_blast()
2228 AM53C974_write_8(DMACMD, DMACMD_IDLE); in AM53C974_dma_blast()
2259 AM53C974_write_8(CMDREG, CMDREG_CFIFO); in AM53C974_intr_bus_reset()
2260 AM53C974_write_8(CMDREG, CMDREG_NOP); in AM53C974_intr_bus_reset()
2263 AM53C974_write_8(CNTLREG1, cntlreg1 | CNTLREG1_DISR); in AM53C974_intr_bus_reset()
2356 AM53C974_write_8(CMDREG, CMDREG_DSR); in AM53C974_abort()
2403 AM53C974_write_8(CMDREG, CMDREG_RDEV); in AM53C974_reset()
2404 AM53C974_write_8(CMDREG, CMDREG_NOP); in AM53C974_reset()
2424AM53C974_write_8(CNTLREG1, CNTLREG1_DISR | instance->this_id); /* disable interrupt upon SCSI RESE… in AM53C974_reset()
2425 AM53C974_write_8(CMDREG, CMDREG_RBUS); /* reset SCSI bus */ in AM53C974_reset()