Lines Matching refs:outb

281 	outb(SE2CS | SE2DO, base + TUL_NVRAM);		/* cs+start bit */  in initio_se2_instr()
283 outb(SE2CS | SE2CLK | SE2DO, base + TUL_NVRAM); /* +CLK */ in initio_se2_instr()
291 outb(b, base + TUL_NVRAM); in initio_se2_instr()
293 outb(b | SE2CLK, base + TUL_NVRAM); /* +CLK */ in initio_se2_instr()
297 outb(SE2CS, base + TUL_NVRAM); /* -CLK */ in initio_se2_instr()
311 outb(0, base + TUL_NVRAM); /* -CS */ in initio_se2_ew_en()
325 outb(0, base + TUL_NVRAM); /* -CS */ in initio_se2_ew_ds()
347 outb(SE2CS | SE2CLK, base + TUL_NVRAM); /* +CLK */ in initio_se2_rd()
349 outb(SE2CS, base + TUL_NVRAM); /* -CLK */ in initio_se2_rd()
358 outb(0, base + TUL_NVRAM); /* no chip select */ in initio_se2_rd()
382 outb(SE2CS | SE2DO, base + TUL_NVRAM); /* -CLK+dataBit 1 */ in initio_se2_wr()
384 outb(SE2CS, base + TUL_NVRAM); /* -CLK+dataBit 0 */ in initio_se2_wr()
386 outb(SE2CS | SE2CLK, base + TUL_NVRAM); /* +CLK */ in initio_se2_wr()
390 outb(SE2CS, base + TUL_NVRAM); /* -CLK */ in initio_se2_wr()
392 outb(0, base + TUL_NVRAM); /* -CS */ in initio_se2_wr()
395 outb(SE2CS, base + TUL_NVRAM); /* +CS */ in initio_se2_wr()
399 outb(SE2CS | SE2CLK, base + TUL_NVRAM); /* +CLK */ in initio_se2_wr()
401 outb(SE2CS, base + TUL_NVRAM); /* -CLK */ in initio_se2_wr()
406 outb(0, base + TUL_NVRAM); /* -CS */ in initio_se2_wr()
490 outb(gctrl | TUL_GCTRL_EEPROM_BIT, base + TUL_GCTRL); in initio_read_eeprom()
497 outb(gctrl & ~TUL_GCTRL_EEPROM_BIT, base + TUL_GCTRL); in initio_read_eeprom()
511 outb(TAX_X_ABT | TAX_X_CLR_FIFO, host->addr + TUL_XCmd); in initio_stop_bm()
516 outb(TSC_FLUSH_FIFO, host->addr + TUL_SCtrl0); in initio_stop_bm()
529 outb(TSC_RST_BUS, host->addr + TUL_SCtrl0); in initio_reset_scsi()
535 outb(0, host->addr + TUL_SSignal); in initio_reset_scsi()
578 outb(inb(host->addr + TUL_PCMD) | 0x40, host->addr + TUL_PCMD); in initio_init()
582 outb(0x1F, host->addr + TUL_Mask); in initio_init()
586 outb(TSC_RST_CHIP, host->addr + TUL_SCtrl0); in initio_init()
589 outb(host->scsi_id << 4, host->addr + TUL_SScsiId); in initio_init()
597 outb(host->sconf1, host->addr + TUL_SConfig); in initio_init()
600 outb(TSC_HW_RESELECT, host->addr + TUL_SCtrl1); in initio_init()
602 outb(0, host->addr + TUL_SPeriod); in initio_init()
605 outb(153, host->addr + TUL_STimeOut); in initio_init()
608 outb((host->config & (HCC_ACT_TERM1 | HCC_ACT_TERM2)), in initio_init()
610 outb(((host->config & HCC_AUTO_TERM) >> 4) | in initio_init()
644 outb(0x17, host->addr + TUL_SCFG1); in initio_init()
645 outb(0xE9, host->addr + TUL_SIntEnable); in initio_init()
927 outb(0x1F, host->addr + TUL_Mask); in initio_abort_srb()
933 outb(0x0F, host->addr + TUL_Mask); in initio_abort_srb()
1036 outb(0x1F, host->addr + TUL_Mask); in initio_exec_scb()
1044 outb(0x0F, host->addr + TUL_Mask); in initio_exec_scb()
1055 outb(0x1F, host->addr + TUL_Mask); in initio_isr()
1062 outb(0x0F, host->addr + TUL_Mask); in initio_isr()
1181 outb((host->scsi_id << 4) | (scb->target & 0x0F), in tulip_scsi()
1191 outb(active_tc->js_period, host->addr + TUL_SPeriod); in tulip_scsi()
1304 outb(active_tc->sconfig0, host->addr + TUL_SConfig ); in initio_state_1()
1307 outb(TSC_EN_BUS_IN | TSC_HW_RESELECT, host->addr + TUL_SCtrl1); in initio_state_1()
1308 outb(scb->ident, host->addr + TUL_SFifo); in initio_state_1()
1311 outb(scb->tagmsg, host->addr + TUL_SFifo); in initio_state_1()
1312 outb(scb->tagid, host->addr + TUL_SFifo); in initio_state_1()
1316 outb(EXTENDED_MESSAGE, host->addr + TUL_SFifo); in initio_state_1()
1317 outb(2, host->addr + TUL_SFifo); /* Extended msg length */ in initio_state_1()
1318 outb(EXTENDED_SDTR, host->addr + TUL_SFifo); /* Sync request */ in initio_state_1()
1319 outb(1, host->addr + TUL_SFifo); /* Start from 16 bits */ in initio_state_1()
1322 outb(EXTENDED_MESSAGE, host->addr + TUL_SFifo); in initio_state_1()
1323 outb(3, host->addr + TUL_SFifo); /* extended msg length */ in initio_state_1()
1324 outb(EXTENDED_SDTR, host->addr + TUL_SFifo); /* sync request */ in initio_state_1()
1325 outb(initio_rate_tbl[active_tc->flags & TCF_SCSI_RATE], host->addr + TUL_SFifo); in initio_state_1()
1326 outb(MAX_OFFSET, host->addr + TUL_SFifo); /* REQ/ACK offset */ in initio_state_1()
1328 outb(TSC_XF_FIFO_OUT, host->addr + TUL_SCmd); in initio_state_1()
1332 outb(TSC_FLUSH_FIFO, host->addr + TUL_SCtrl0); in initio_state_1()
1333 outb((inb(host->addr + TUL_SSignal) & (TSC_SET_ACK | 7)), host->addr + TUL_SSignal); in initio_state_1()
1358 outb(active_tc->sconfig0, host->addr + TUL_SConfig); in initio_state_2()
1363 outb(TSC_FLUSH_FIFO, host->addr + TUL_SCtrl0); in initio_state_2()
1364 outb((inb(host->addr + TUL_SSignal) & (TSC_SET_ACK | 7)), host->addr + TUL_SSignal); in initio_state_2()
1389 outb(scb->cdb[i], host->addr + TUL_SFifo); in initio_state_3()
1390 outb(TSC_XF_FIFO_OUT, host->addr + TUL_SCmd); in initio_state_3()
1410 outb(NOP, host->addr + TUL_SFifo); /* msg nop */ in initio_state_3()
1411 outb(TSC_XF_FIFO_OUT, host->addr + TUL_SCmd); in initio_state_3()
1417 outb(EXTENDED_MESSAGE, host->addr + TUL_SFifo); in initio_state_3()
1418 outb(3, host->addr + TUL_SFifo); /* ext. msg len */ in initio_state_3()
1419 outb(EXTENDED_SDTR, host->addr + TUL_SFifo); /* sync request */ in initio_state_3()
1420 outb(initio_rate_tbl[active_tc->flags & TCF_SCSI_RATE], host->addr + TUL_SFifo); in initio_state_3()
1421 outb(MAX_OFFSET, host->addr + TUL_SFifo); /* REQ/ACK offset */ in initio_state_3()
1422 outb(TSC_XF_FIFO_OUT, host->addr + TUL_SCmd); in initio_state_3()
1425 outb(TSC_FLUSH_FIFO, host->addr + TUL_SCtrl0); in initio_state_3()
1426 outb(inb(host->addr + TUL_SSignal) & (TSC_SET_ACK | 7), host->addr + TUL_SSignal); in initio_state_3()
1480 outb(NOP, host->addr + TUL_SFifo); /* msg nop */ in initio_state_4()
1481 outb(TSC_XF_FIFO_OUT, host->addr + TUL_SCmd); in initio_state_4()
1525 outb(inb(host->addr + TUL_XCtrl) | 0x80, host->addr + TUL_XCtrl); in initio_state_5()
1539 outb(TAX_X_ABT, host->addr + TUL_XCmd); in initio_state_5()
1545 outb(TSC_XF_FIFO_OUT, host->addr + TUL_SCmd); in initio_state_5()
1551 outb(TSC_FLUSH_FIFO, host->addr + TUL_SCtrl0); in initio_state_5()
1617 outb(NOP, host->addr + TUL_SFifo); /* msg nop */ in initio_state_6()
1618 outb(TSC_XF_FIFO_OUT, host->addr + TUL_SCmd); in initio_state_6()
1679 outb(TSC_XF_DMA_IN, host->addr + TUL_SCmd); /* 7/25/95 */ in initio_xfer_data_in()
1684 outb(TAX_SG_IN, host->addr + TUL_XCmd); in initio_xfer_data_in()
1688 outb(TAX_X_IN, host->addr + TUL_XCmd); in initio_xfer_data_in()
1711 outb(TSC_XF_DMA_OUT, host->addr + TUL_SCmd); in initio_xfer_data_out()
1716 outb(TAX_SG_OUT, host->addr + TUL_XCmd); in initio_xfer_data_out()
1720 outb(TAX_X_OUT, host->addr + TUL_XCmd); in initio_xfer_data_out()
1740 outb(TSC_XF_FIFO_IN, host->addr + TUL_SCmd); in initio_xpad_in()
1744 outb(TSC_FLUSH_FIFO, host->addr + TUL_SCtrl0); in initio_xpad_in()
1764 outb(0, host->addr + TUL_SFifo); in initio_xpad_out()
1765 outb(TSC_XF_FIFO_OUT, host->addr + TUL_SCmd); in initio_xpad_out()
1769 outb(TSC_HW_RESELECT, host->addr + TUL_SCtrl1); in initio_xpad_out()
1770 outb(TSC_FLUSH_FIFO, host->addr + TUL_SCtrl0); in initio_xpad_out()
1781 outb(TSC_CMD_COMP, host->addr + TUL_SCmd); in initio_status_msg()
1790 outb(MSG_PARITY_ERROR, host->addr + TUL_SFifo); in initio_status_msg()
1792 outb(NOP, host->addr + TUL_SFifo); in initio_status_msg()
1793 outb(TSC_XF_FIFO_OUT, host->addr + TUL_SCmd); in initio_status_msg()
1803 outb(MSG_PARITY_ERROR, host->addr + TUL_SFifo); in initio_status_msg()
1804 outb(TSC_XF_FIFO_OUT, host->addr + TUL_SCmd); in initio_status_msg()
1811 outb(TSC_FLUSH_FIFO, host->addr + TUL_SCtrl0); in initio_status_msg()
1812 outb(TSC_MSG_ACCEPT, host->addr + TUL_SCmd); in initio_status_msg()
1844 outb(TSC_FLUSH_FIFO, host->addr + TUL_SCtrl0); /* Flush SCSI FIFO */ in int_initio_busfree()
1845 outb(TSC_INITDEFAULT, host->addr + TUL_SConfig); in int_initio_busfree()
1846 outb(TSC_HW_RESELECT, host->addr + TUL_SCtrl1); /* Enable HW reselect */ in int_initio_busfree()
1868 outb(TAX_X_ABT | TAX_X_CLR_FIFO, host->addr + TUL_XCmd); in int_initio_scsi_rst()
1872 outb(TSC_FLUSH_FIFO, host->addr + TUL_SCtrl0); in int_initio_scsi_rst()
1917 outb(active_tc->sconfig0, host->addr + TUL_SConfig); in int_initio_resel()
1918 outb(active_tc->js_period, host->addr + TUL_SPeriod); in int_initio_resel()
1927 outb(TSC_XF_FIFO_IN, host->addr + TUL_SCmd); in int_initio_resel()
1943 outb(TSC_XF_FIFO_IN, host->addr + TUL_SCmd); in int_initio_resel()
2007outb(((inb(host->addr + TUL_SSignal) & (TSC_SET_ACK | 7)) | TSC_SET_ATN), host->addr + TUL_SSignal… in initio_msgout_abort_targ()
2013 outb(ABORT_TASK_SET, host->addr + TUL_SFifo); in initio_msgout_abort_targ()
2014 outb(TSC_XF_FIFO_OUT, host->addr + TUL_SCmd); in initio_msgout_abort_targ()
2030outb(((inb(host->addr + TUL_SSignal) & (TSC_SET_ACK | 7)) | TSC_SET_ATN), host->addr + TUL_SSignal… in initio_msgout_abort_tag()
2036 outb(ABORT_TASK, host->addr + TUL_SFifo); in initio_msgout_abort_tag()
2037 outb(TSC_XF_FIFO_OUT, host->addr + TUL_SCmd); in initio_msgout_abort_tag()
2054 outb(TSC_FLUSH_FIFO, host->addr + TUL_SCtrl0); in initio_msgin()
2057 outb(TSC_XF_FIFO_IN, host->addr + TUL_SCmd); in initio_msgin()
2063 outb(TSC_MSG_ACCEPT, host->addr + TUL_SCmd); in initio_msgin()
2071 outb((inb(host->addr + TUL_SSignal) & (TSC_SET_ACK | 7)), in initio_msgin()
2075 outb(((inb(host->addr + TUL_SSignal) & (TSC_SET_ACK | 7)) | TSC_SET_ATN), in initio_msgin()
2086 outb(TSC_FLUSH_FIFO, host->addr + TUL_SCtrl0); in initio_msgin()
2087 outb(TSC_MSG_ACCEPT, host->addr + TUL_SCmd); in initio_msgin()
2101outb(((inb(host->addr + TUL_SSignal) & (TSC_SET_ACK | 7)) | TSC_SET_ATN), host->addr + TUL_SSignal… in initio_msgout_reject()
2107 outb(MESSAGE_REJECT, host->addr + TUL_SFifo); /* Msg reject */ in initio_msgout_reject()
2108 outb(TSC_XF_FIFO_OUT, host->addr + TUL_SCmd); in initio_msgout_reject()
2116 outb(INITIATOR_ERROR, host->addr + TUL_SFifo); /* Initiator Detected Error */ in initio_msgout_ide()
2117 outb(TSC_XF_FIFO_OUT, host->addr + TUL_SCmd); in initio_msgout_ide()
2130 outb(TSC_XF_FIFO_IN, host->addr + TUL_SCmd); in initio_msgin_extend()
2141 outb(TSC_XF_FIFO_IN, host->addr + TUL_SCmd); in initio_msgin_extend()
2161 outb((r & (TSC_SET_ACK | 7)) | TSC_SET_ATN, in initio_msgin_extend()
2166 outb(TSC_FLUSH_FIFO, host->addr + TUL_SCtrl0); in initio_msgin_extend()
2170 outb(EXTENDED_MESSAGE, host->addr + TUL_SFifo); in initio_msgin_extend()
2171 outb(3, host->addr + TUL_SFifo); in initio_msgin_extend()
2172 outb(EXTENDED_SDTR, host->addr + TUL_SFifo); in initio_msgin_extend()
2173 outb(host->msg[2], host->addr + TUL_SFifo); in initio_msgin_extend()
2174 outb(host->msg[3], host->addr + TUL_SFifo); in initio_msgin_extend()
2175 outb(TSC_XF_FIFO_OUT, host->addr + TUL_SCmd); in initio_msgin_extend()
2192outb(((inb(host->addr + TUL_SSignal) & (TSC_SET_ACK | 7)) | TSC_SET_ATN), host->addr + TUL_SSignal… in initio_msgin_extend()
2197outb(((inb(host->addr + TUL_SSignal) & (TSC_SET_ACK | 7)) | TSC_SET_ATN), host->addr + TUL_SSignal… in initio_msgin_extend()
2202 outb(EXTENDED_MESSAGE, host->addr + TUL_SFifo); in initio_msgin_extend()
2203 outb(2, host->addr + TUL_SFifo); in initio_msgin_extend()
2204 outb(EXTENDED_WDTR, host->addr + TUL_SFifo); in initio_msgin_extend()
2205 outb(host->msg[2], host->addr + TUL_SFifo); in initio_msgin_extend()
2206 outb(TSC_XF_FIFO_OUT, host->addr + TUL_SCmd); in initio_msgin_extend()
2249 outb(host->active_tc->sconfig0, host->addr + TUL_SConfig); in wdtr_done()
2250 outb(host->active_tc->js_period, host->addr + TUL_SPeriod); in wdtr_done()
2270 outb(host->active_tc->sconfig0, host->addr + TUL_SConfig); in initio_sync_done()
2271 outb(host->active_tc->js_period, host->addr + TUL_SPeriod); in initio_sync_done()
2311 outb(TSC_SELATNSTOP, host->addr + TUL_SCmd); in initio_select_atn_stop()
2322 outb(scb->ident, host->addr + TUL_SFifo); in initio_select_atn()
2324 outb(scb->cdb[i], host->addr + TUL_SFifo); in initio_select_atn()
2327 outb(TSC_SEL_ATN, host->addr + TUL_SCmd); in initio_select_atn()
2337 outb(scb->ident, host->addr + TUL_SFifo); in initio_select_atn3()
2338 outb(scb->tagmsg, host->addr + TUL_SFifo); in initio_select_atn3()
2339 outb(scb->tagid, host->addr + TUL_SFifo); in initio_select_atn3()
2341 outb(scb->cdb[i], host->addr + TUL_SFifo); in initio_select_atn3()
2344 outb(TSC_SEL_ATN3, host->addr + TUL_SCmd); in initio_select_atn3()
2394 outb(TARGET_RESET, host->addr + TUL_SFifo); in initio_bus_device_reset()
2395 outb(TSC_XF_FIFO_OUT, host->addr + TUL_SCmd); in initio_bus_device_reset()
2402 outb(TSC_MSG_ACCEPT, host->addr + TUL_SCmd); in initio_msgin_accept()
2426 outb(TSC_FLUSH_FIFO, host->addr + TUL_SCtrl0); /* Flush SCSI FIFO */ in wait_tulip()
2433 outb(TSC_INITDEFAULT, host->addr + TUL_SConfig); in wait_tulip()
2434 outb(TSC_HW_RESELECT, host->addr + TUL_SCtrl1); /* Enable HW reselect */ in wait_tulip()
2438 outb(TSC_FLUSH_FIFO, host->addr + TUL_SCtrl0); /* Flush SCSI FIFO */ in wait_tulip()
2442 outb(TSC_INITDEFAULT, host->addr + TUL_SConfig); in wait_tulip()
2443 outb(TSC_HW_RESELECT, host->addr + TUL_SCtrl1); /* Enable HW reselect */ in wait_tulip()
2464 outb(TSC_FLUSH_FIFO, host->addr + TUL_SCtrl0); /* Flush SCSI FIFO */ in initio_wait_disc()
2465 outb(TSC_INITDEFAULT, host->addr + TUL_SConfig); in initio_wait_disc()
2466 outb(TSC_HW_RESELECT, host->addr + TUL_SCtrl1); /* Enable HW reselect */ in initio_wait_disc()
2484 outb(TSC_FLUSH_FIFO, host->addr + TUL_SCtrl0); /* Flush SCSI FIFO */ in initio_wait_done_disc()
2485 outb(TSC_INITDEFAULT, host->addr + TUL_SConfig); in initio_wait_done_disc()
2486 outb(TSC_HW_RESELECT, host->addr + TUL_SCtrl1); /* Enable HW reselect */ in initio_wait_done_disc()