Lines Matching refs:SETPORT

710 	SETPORT(DMACNTRL0, INTEN);  in swintr()
749 SETPORT(SCSIID, setup->scsiid << 4); in aha152x_probe_one()
757 SETPORT(SCSISEQ, SCSIRSTO); in aha152x_probe_one()
759 SETPORT(SCSISEQ, 0); in aha152x_probe_one()
787 SETPORT(SIMODE0, 0); in aha152x_probe_one()
788 SETPORT(SIMODE1, 0); in aha152x_probe_one()
800 SETPORT(DMACNTRL0, SWINT|INTEN); in aha152x_probe_one()
811 SETPORT(DMACNTRL0, INTEN); in aha152x_probe_one()
821 SETPORT(SSTAT0, 0x7f); in aha152x_probe_one()
822 SETPORT(SSTAT1, 0xef); in aha152x_probe_one()
881 SETPORT(SSTAT1, SELTO); in setup_expected_interrupts()
882 SETPORT(SIMODE0, ENSELDO | (DISCONNECTED_SC ? ENSELDI : 0)); in setup_expected_interrupts()
883 SETPORT(SIMODE1, ENSELTIMO); in setup_expected_interrupts()
885 SETPORT(SIMODE0, (CURRENT_SC->SCp.phase & spiordy) ? ENSPIORDY : 0); in setup_expected_interrupts()
886 SETPORT(SIMODE1, ENPHASEMIS | ENSCSIRST | ENSCSIPERR | ENBUSFREE); in setup_expected_interrupts()
889 SETPORT(SIMODE0, 0); in setup_expected_interrupts()
890 SETPORT(SIMODE1, ENPHASEMIS | ENSCSIRST | ENSCSIPERR | ENBUSFREE); in setup_expected_interrupts()
892 SETPORT(SIMODE0, DISCONNECTED_SC ? ENSELDI : 0); in setup_expected_interrupts()
893 SETPORT(SIMODE1, ENSCSIRST | ( (ISSUE_SC||DONE_SC) ? ENBUSFREE : 0)); in setup_expected_interrupts()
963 SETPORT(PORTA, 1); in aha152x_internal_queue()
1017 SETPORT(PORTA, 0); in aha152x_abort()
1083 SETPORT(PORTA, 0); in aha152x_device_reset()
1147 SETPORT(SCSISEQ, SCSIRSTO); in aha152x_bus_reset_host()
1149 SETPORT(SCSISEQ, 0); in aha152x_bus_reset_host()
1154 SETPORT(PORTA, 0); in aha152x_bus_reset_host()
1179 SETPORT(DMACNTRL0, RSTFIFO); in reset_ports()
1181 SETPORT(SCSISEQ, 0); in reset_ports()
1183 SETPORT(SXFRCTL1, 0); in reset_ports()
1184 SETPORT(SCSISIG, 0); in reset_ports()
1188 SETPORT(SSTAT0, 0x7f); in reset_ports()
1189 SETPORT(SSTAT1, 0xef); in reset_ports()
1191 SETPORT(SSTAT4, SYNCERR | FWERR | FRERR); in reset_ports()
1193 SETPORT(DMACNTRL0, 0); in reset_ports()
1194 SETPORT(DMACNTRL1, 0); in reset_ports()
1196 SETPORT(BRSTCNTRL, 0xf1); in reset_ports()
1199 SETPORT(SXFRCTL0, CH1|CLRCH1|CLRSTCNT); in reset_ports()
1200 SETPORT(SXFRCTL0, CH1); in reset_ports()
1366 SETPORT(SXFRCTL0, CH1|CLRCH1|CLRSTCNT); in busfree_run()
1367 SETPORT(SXFRCTL0, CH1); in busfree_run()
1369 SETPORT(SSTAT1, CLRBUSFREE); in busfree_run()
1422 SETPORT(PORTA, 0); /* turn led off */ in busfree_run()
1451 SETPORT(PORTA, 0); /* turn led off */ in busfree_run()
1482 SETPORT(SSTAT1, SELTO); in busfree_run()
1484 SETPORT(SCSIID, (shpnt->this_id << OID_) | CURRENT_SC->device->id); in busfree_run()
1485 SETPORT(SXFRCTL1, (PARITY ? ENSPCHK : 0 ) | ENSTIMER); in busfree_run()
1486 SETPORT(SCSISEQ, ENSELO | ENAUTOATNO | (DISCONNECTED_SC ? ENRESELI : 0)); in busfree_run()
1491 SETPORT(SCSISEQ, DISCONNECTED_SC ? ENRESELI : 0); in busfree_run()
1507 SETPORT(SCSISIG, 0); in seldo_run()
1508 SETPORT(SSTAT1, CLRBUSFREE); in seldo_run()
1509 SETPORT(SSTAT1, CLRPHASECHG); in seldo_run()
1513 SETPORT(SCSISEQ, 0); in seldo_run()
1522 SETPORT(SSTAT0, CLRSELDO); in seldo_run()
1546 SETPORT(SCSISEQ, 0); in selto_run()
1547 SETPORT(SSTAT1, CLRSELTIMO); in selto_run()
1576 SETPORT(SCSISIG, 0); in seldi_run()
1577 SETPORT(SSTAT0, CLRSELDI); in seldi_run()
1578 SETPORT(SSTAT1, CLRBUSFREE); in seldi_run()
1579 SETPORT(SSTAT1, CLRPHASECHG); in seldi_run()
1615 SETPORT(SCSIID, (shpnt->this_id << OID_) | target); in seldi_run()
1616 SETPORT(SCSISEQ, 0); in seldi_run()
1818 SETPORT(SCSISIG, P_MSGI | SIG_ATNO); in msgi_end()
1851 SETPORT(SSTAT1, CLRATNO); in msgo_run()
1864 SETPORT(SCSIDAT, MSGO(MSGO_I++)); in msgo_run()
1911 SETPORT(SCSIDAT, CURRENT_SC->cmnd[CMD_I++]); in cmd_run()
1944 SETPORT(DMACNTRL0, RSTFIFO); in datai_init()
1945 SETPORT(DMACNTRL0, RSTFIFO|ENDMA); in datai_init()
1947 SETPORT(SXFRCTL0, CH1|CLRSTCNT); in datai_init()
1948 SETPORT(SXFRCTL0, CH1|SCSIEN|DMAEN); in datai_init()
1950 SETPORT(SIMODE0, 0); in datai_init()
1951 SETPORT(SIMODE1, ENSCSIPERR | ENSCSIRST | ENPHASEMIS | ENBUSFREE); in datai_init()
2003 SETPORT(DMACNTRL0, ENDMA|_8BIT); in datai_run()
2007 SETPORT(DMACNTRL0, ENDMA); in datai_run()
2031 SETPORT(DMACNTRL0, ENDMA|_8BIT); in datai_run()
2038 SETPORT(DMACNTRL0, ENDMA|_8BIT); in datai_run()
2068 SETPORT(SXFRCTL0, CH1|CLRSTCNT); in datai_end()
2069 SETPORT(DMACNTRL0, 0); in datai_end()
2078 SETPORT(DMACNTRL0, WRITE_READ | RSTFIFO); in datao_init()
2079 SETPORT(DMACNTRL0, WRITE_READ | ENDMA); in datao_init()
2081 SETPORT(SXFRCTL0, CH1|CLRSTCNT); in datao_init()
2082 SETPORT(SXFRCTL0, CH1|SCSIEN|DMAEN); in datao_init()
2084 SETPORT(SIMODE0, 0); in datao_init()
2085 SETPORT(SIMODE1, ENSCSIPERR | ENSCSIRST | ENPHASEMIS | ENBUSFREE ); in datao_init()
2109 SETPORT(DMACNTRL0,WRITE_READ|ENDMA|_8BIT); in datao_run()
2110 SETPORT(DATAPORT, *CURRENT_SC->SCp.ptr++); in datao_run()
2113 SETPORT(DMACNTRL0,WRITE_READ|ENDMA); in datao_run()
2168 SETPORT(SXFRCTL0, CH1|CLRCH1|CLRSTCNT); in datao_end()
2169 SETPORT(SXFRCTL0, CH1); in datao_end()
2171 SETPORT(DMACNTRL0, 0); in datao_end()
2189 SETPORT(SCSISEQ,0); in update_state()
2190 SETPORT(SSTAT1,SCSIRSTI); in update_state()
2199 SETPORT(SSTAT1,BUSFREE); in update_state()
2202 SETPORT(SSTAT1,SCSIPERR); in update_state()
2322 SETPORT(SXFRCTL0, CH1); in is_complete()
2323 SETPORT(DMACNTRL0, 0); in is_complete()
2333 SETPORT(SSTAT0, REQINIT); in is_complete()
2334 SETPORT(SCSISIG, GETPORT(SCSISIG) & P_MASK); in is_complete()
2335 SETPORT(SSTAT1, PHASECHG); in is_complete()
2344 SETPORT(DMACNTRL0, 0); in is_complete()
2345 SETPORT(SXFRCTL0, CH1|SPIOEN); in is_complete()
2988 SETPORT(io_port + O_DMACNTRL1, 0); /* reset stack pointer */ in aha152x_porttest()
2990 SETPORT(io_port + O_STACK, i); in aha152x_porttest()
2992 SETPORT(io_port + O_DMACNTRL1, 0); /* reset stack pointer */ in aha152x_porttest()
3003 SETPORT(io_port + O_TC_DMACNTRL1, 0); /* reset stack pointer */ in tc1550_porttest()
3005 SETPORT(io_port + O_STACK, i); in tc1550_porttest()
3007 SETPORT(io_port + O_TC_DMACNTRL1, 0); /* reset stack pointer */ in tc1550_porttest()