Lines Matching refs:SETPORT

729 	SETPORT(DMACNTRL0, INTEN);  in swintr()
769 SETPORT(SCSIID, setup->scsiid << 4); in aha152x_probe_one()
777 SETPORT(SCSISEQ, SCSIRSTO); in aha152x_probe_one()
779 SETPORT(SCSISEQ, 0); in aha152x_probe_one()
807 SETPORT(SIMODE0, 0); in aha152x_probe_one()
808 SETPORT(SIMODE1, 0); in aha152x_probe_one()
820 SETPORT(DMACNTRL0, SWINT|INTEN); in aha152x_probe_one()
831 SETPORT(DMACNTRL0, INTEN); in aha152x_probe_one()
841 SETPORT(SSTAT0, 0x7f); in aha152x_probe_one()
842 SETPORT(SSTAT1, 0xef); in aha152x_probe_one()
903 SETPORT(SSTAT1, SELTO); in setup_expected_interrupts()
904 SETPORT(SIMODE0, ENSELDO | (DISCONNECTED_SC ? ENSELDI : 0)); in setup_expected_interrupts()
905 SETPORT(SIMODE1, ENSELTIMO); in setup_expected_interrupts()
907 SETPORT(SIMODE0, (acp->phase & spiordy) ? ENSPIORDY : 0); in setup_expected_interrupts()
908 SETPORT(SIMODE1, ENPHASEMIS | ENSCSIRST | ENSCSIPERR | ENBUSFREE); in setup_expected_interrupts()
911 SETPORT(SIMODE0, 0); in setup_expected_interrupts()
912 SETPORT(SIMODE1, ENPHASEMIS | ENSCSIRST | ENSCSIPERR | ENBUSFREE); in setup_expected_interrupts()
914 SETPORT(SIMODE0, DISCONNECTED_SC ? ENSELDI : 0); in setup_expected_interrupts()
915 SETPORT(SIMODE1, ENSCSIRST | ( (ISSUE_SC||DONE_SC) ? ENBUSFREE : 0)); in setup_expected_interrupts()
983 SETPORT(PORTA, 1); in aha152x_internal_queue()
1044 SETPORT(PORTA, 0); in aha152x_abort()
1110 SETPORT(PORTA, 0); in aha152x_device_reset()
1174 SETPORT(SCSISEQ, SCSIRSTO); in aha152x_bus_reset_host()
1176 SETPORT(SCSISEQ, 0); in aha152x_bus_reset_host()
1181 SETPORT(PORTA, 0); in aha152x_bus_reset_host()
1206 SETPORT(DMACNTRL0, RSTFIFO); in reset_ports()
1208 SETPORT(SCSISEQ, 0); in reset_ports()
1210 SETPORT(SXFRCTL1, 0); in reset_ports()
1211 SETPORT(SCSISIG, 0); in reset_ports()
1215 SETPORT(SSTAT0, 0x7f); in reset_ports()
1216 SETPORT(SSTAT1, 0xef); in reset_ports()
1218 SETPORT(SSTAT4, SYNCERR | FWERR | FRERR); in reset_ports()
1220 SETPORT(DMACNTRL0, 0); in reset_ports()
1221 SETPORT(DMACNTRL1, 0); in reset_ports()
1223 SETPORT(BRSTCNTRL, 0xf1); in reset_ports()
1226 SETPORT(SXFRCTL0, CH1|CLRCH1|CLRSTCNT); in reset_ports()
1227 SETPORT(SXFRCTL0, CH1); in reset_ports()
1395 SETPORT(SXFRCTL0, CH1|CLRCH1|CLRSTCNT); in busfree_run()
1396 SETPORT(SXFRCTL0, CH1); in busfree_run()
1398 SETPORT(SSTAT1, CLRBUSFREE); in busfree_run()
1453 SETPORT(PORTA, 0); /* turn led off */ in busfree_run()
1482 SETPORT(PORTA, 0); /* turn led off */ in busfree_run()
1515 SETPORT(SSTAT1, SELTO); in busfree_run()
1517 SETPORT(SCSIID, (shpnt->this_id << OID_) | CURRENT_SC->device->id); in busfree_run()
1518 SETPORT(SXFRCTL1, (PARITY ? ENSPCHK : 0 ) | ENSTIMER); in busfree_run()
1519 SETPORT(SCSISEQ, ENSELO | ENAUTOATNO | (DISCONNECTED_SC ? ENRESELI : 0)); in busfree_run()
1524 SETPORT(SCSISEQ, DISCONNECTED_SC ? ENRESELI : 0); in busfree_run()
1542 SETPORT(SCSISIG, 0); in seldo_run()
1543 SETPORT(SSTAT1, CLRBUSFREE); in seldo_run()
1544 SETPORT(SSTAT1, CLRPHASECHG); in seldo_run()
1548 SETPORT(SCSISEQ, 0); in seldo_run()
1557 SETPORT(SSTAT0, CLRSELDO); in seldo_run()
1583 SETPORT(SCSISEQ, 0); in selto_run()
1584 SETPORT(SSTAT1, CLRSELTIMO); in selto_run()
1614 SETPORT(SCSISIG, 0); in seldi_run()
1615 SETPORT(SSTAT0, CLRSELDI); in seldi_run()
1616 SETPORT(SSTAT1, CLRBUSFREE); in seldi_run()
1617 SETPORT(SSTAT1, CLRPHASECHG); in seldi_run()
1655 SETPORT(SCSIID, (shpnt->this_id << OID_) | target); in seldi_run()
1656 SETPORT(SCSISEQ, 0); in seldi_run()
1861 SETPORT(SCSISIG, P_MSGI | SIG_ATNO); in msgi_end()
1897 SETPORT(SSTAT1, CLRATNO); in msgo_run()
1910 SETPORT(SCSIDAT, MSGO(MSGO_I++)); in msgo_run()
1957 SETPORT(SCSIDAT, CURRENT_SC->cmnd[CMD_I++]); in cmd_run()
1990 SETPORT(DMACNTRL0, RSTFIFO); in datai_init()
1991 SETPORT(DMACNTRL0, RSTFIFO|ENDMA); in datai_init()
1993 SETPORT(SXFRCTL0, CH1|CLRSTCNT); in datai_init()
1994 SETPORT(SXFRCTL0, CH1|SCSIEN|DMAEN); in datai_init()
1996 SETPORT(SIMODE0, 0); in datai_init()
1997 SETPORT(SIMODE1, ENSCSIPERR | ENSCSIRST | ENPHASEMIS | ENBUSFREE); in datai_init()
2050 SETPORT(DMACNTRL0, ENDMA|_8BIT); in datai_run()
2054 SETPORT(DMACNTRL0, ENDMA); in datai_run()
2078 SETPORT(DMACNTRL0, ENDMA|_8BIT); in datai_run()
2084 SETPORT(DMACNTRL0, ENDMA|_8BIT); in datai_run()
2114 SETPORT(SXFRCTL0, CH1|CLRSTCNT); in datai_end()
2115 SETPORT(DMACNTRL0, 0); in datai_end()
2124 SETPORT(DMACNTRL0, WRITE_READ | RSTFIFO); in datao_init()
2125 SETPORT(DMACNTRL0, WRITE_READ | ENDMA); in datao_init()
2127 SETPORT(SXFRCTL0, CH1|CLRSTCNT); in datao_init()
2128 SETPORT(SXFRCTL0, CH1|SCSIEN|DMAEN); in datao_init()
2130 SETPORT(SIMODE0, 0); in datao_init()
2131 SETPORT(SIMODE1, ENSCSIPERR | ENSCSIRST | ENPHASEMIS | ENBUSFREE ); in datao_init()
2156 SETPORT(DMACNTRL0,WRITE_READ|ENDMA|_8BIT); in datao_run()
2157 SETPORT(DATAPORT, *acp->ptr++); in datao_run()
2160 SETPORT(DMACNTRL0,WRITE_READ|ENDMA); in datao_run()
2215 SETPORT(SXFRCTL0, CH1|CLRCH1|CLRSTCNT); in datao_end()
2216 SETPORT(SXFRCTL0, CH1); in datao_end()
2218 SETPORT(DMACNTRL0, 0); in datao_end()
2236 SETPORT(SCSISEQ,0); in update_state()
2237 SETPORT(SSTAT1,SCSIRSTI); in update_state()
2247 SETPORT(SSTAT1,BUSFREE); in update_state()
2250 SETPORT(SSTAT1,SCSIPERR); in update_state()
2370 SETPORT(SXFRCTL0, CH1); in is_complete()
2371 SETPORT(DMACNTRL0, 0); in is_complete()
2381 SETPORT(SSTAT0, REQINIT); in is_complete()
2382 SETPORT(SCSISIG, GETPORT(SCSISIG) & P_MASK); in is_complete()
2383 SETPORT(SSTAT1, PHASECHG); in is_complete()
2392 SETPORT(DMACNTRL0, 0); in is_complete()
2393 SETPORT(SXFRCTL0, CH1|SPIOEN); in is_complete()
3034 SETPORT(io_port + O_DMACNTRL1, 0); /* reset stack pointer */ in aha152x_porttest()
3036 SETPORT(io_port + O_STACK, i); in aha152x_porttest()
3038 SETPORT(io_port + O_DMACNTRL1, 0); /* reset stack pointer */ in aha152x_porttest()
3049 SETPORT(io_port + O_TC_DMACNTRL1, 0); /* reset stack pointer */ in tc1550_porttest()
3051 SETPORT(io_port + O_STACK, i); in tc1550_porttest()
3053 SETPORT(io_port + O_TC_DMACNTRL1, 0); /* reset stack pointer */ in tc1550_porttest()