taglinefilesource code
hostdata534drivers/scsi/53c7,8xx.cissue_to_cmd (struct Scsi_Host *host, struct NCR53c7x0_hostdata *hostdata,
hostdata537drivers/scsi/53c7,8xx.creturn (issue[0] != hostdata->NOP_insn) ? 
hostdata551drivers/scsi/53c7,8xx.c(hostdata->E_dsa_code_begin - hostdata->E_dsa_code_template) -
hostdata695drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata;
hostdata714drivers/scsi/53c7,8xx.chostdata = (struct NCR53c7x0_hostdata *)h->hostdata;
hostdata718drivers/scsi/53c7,8xx.cif (hostdata->initiate_sdtr & (1 << target)) {
hostdata723drivers/scsi/53c7,8xx.chostdata->initiate_sdtr |= (1 << target);
hostdata743drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata;
hostdata746drivers/scsi/53c7,8xx.chostdata = (struct NCR53c7x0_hostdata *) h->hostdata;
hostdata748drivers/scsi/53c7,8xx.chostdata->options |= OPTION_DISCONNECT;
hostdata750drivers/scsi/53c7,8xx.chostdata->options &= ~OPTION_DISCONNECT;
hostdata765drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata766drivers/scsi/53c7,8xx.chost->hostdata;
hostdata770drivers/scsi/53c7,8xx.chostdata->request_sense[i] = 0;
hostdata772drivers/scsi/53c7,8xx.chostdata->busy[i][j] = 0;
hostdata773drivers/scsi/53c7,8xx.cset_synchronous (host, i, /* sxfer */ 0, hostdata->saved_scntl3, 0);
hostdata775drivers/scsi/53c7,8xx.chostdata->issue_queue = NULL;
hostdata776drivers/scsi/53c7,8xx.chostdata->running_list = hostdata->finished_queue = 
hostdata777drivers/scsi/53c7,8xx.chostdata->current = NULL;
hostdata778drivers/scsi/53c7,8xx.cfor (i = 0, current = (u32 *) hostdata->schedule; 
hostdata780drivers/scsi/53c7,8xx.ccurrent[0] = hostdata->NOP_insn;
hostdata784drivers/scsi/53c7,8xx.ccurrent[1] = (u32) virt_to_bus (hostdata->script) +
hostdata785drivers/scsi/53c7,8xx.chostdata->E_wait_reselect;
hostdata786drivers/scsi/53c7,8xx.chostdata->reconnect_dsa_head = 0;
hostdata787drivers/scsi/53c7,8xx.chostdata->addr_reconnect_dsa_head = (u32) 
hostdata788drivers/scsi/53c7,8xx.cvirt_to_bus((void *) &(hostdata->reconnect_dsa_head));
hostdata789drivers/scsi/53c7,8xx.chostdata->expecting_iid = 0;
hostdata790drivers/scsi/53c7,8xx.chostdata->expecting_sto = 0;
hostdata791drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_ALWAYS_SYNCHRONOUS) 
hostdata792drivers/scsi/53c7,8xx.chostdata->initiate_sdtr = 0xffff; 
hostdata794drivers/scsi/53c7,8xx.chostdata->initiate_sdtr = 0;
hostdata795drivers/scsi/53c7,8xx.chostdata->talked_to = 0;
hostdata796drivers/scsi/53c7,8xx.chostdata->idle = 1;
hostdata867drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata868drivers/scsi/53c7,8xx.chost->hostdata;
hostdata887drivers/scsi/53c7,8xx.cswitch (hostdata->chip) {
hostdata896drivers/scsi/53c7,8xx.chostdata->dstat_sir_intr = NCR53c8x0_dstat_sir_intr;
hostdata897drivers/scsi/53c7,8xx.chostdata->init_save_regs = NULL;
hostdata898drivers/scsi/53c7,8xx.chostdata->dsa_fixup = NCR53c8xx_dsa_fixup;
hostdata899drivers/scsi/53c7,8xx.chostdata->init_fixup = NCR53c8x0_init_fixup;
hostdata900drivers/scsi/53c7,8xx.chostdata->soft_reset = NCR53c8x0_soft_reset;
hostdata901drivers/scsi/53c7,8xx.chostdata->run_tests = NCR53c8xx_run_tests;
hostdata903drivers/scsi/53c7,8xx.cexpected_clock = hostdata->scsi_clock = 40000000;
hostdata908drivers/scsi/53c7,8xx.chost->host_no, hostdata->chip);
hostdata914drivers/scsi/53c7,8xx.chostdata->NCR53c7xx_zero = 0;      
hostdata915drivers/scsi/53c7,8xx.chostdata->NCR53c7xx_msg_reject = MESSAGE_REJECT;
hostdata916drivers/scsi/53c7,8xx.chostdata->NCR53c7xx_msg_abort = ABORT;
hostdata917drivers/scsi/53c7,8xx.chostdata->NCR53c7xx_msg_nop = NOP;
hostdata918drivers/scsi/53c7,8xx.chostdata->NOP_insn = (DCMD_TYPE_TCI|DCMD_TCI_OP_JUMP) << 24;
hostdata921drivers/scsi/53c7,8xx.c(hostdata->options & (OPTION_MEMORY_MAPPED)) != 
hostdata924drivers/scsi/53c7,8xx.c(hostdata->options & OPTION_MEMORY_MAPPED) ? "memory" : 
hostdata927drivers/scsi/53c7,8xx.chostdata->dmode = (hostdata->chip == 700 || hostdata->chip == 70066) ? 
hostdata929drivers/scsi/53c7,8xx.chostdata->istat = ((hostdata->chip / 100) == 8) ? 
hostdata945drivers/scsi/53c7,8xx.ctmp = hostdata->this_id_mask = NCR53c7x0_read8(SCID_REG);
hostdata949drivers/scsi/53c7,8xx.chostdata->this_id_mask = 1 << host->this_id;
hostdata961drivers/scsi/53c7,8xx.chostdata->this_id_mask = 1 << 7;
hostdata973drivers/scsi/53c7,8xx.cif ((hostdata->chip / 100) == 8) {
hostdata977drivers/scsi/53c7,8xx.chostdata->saved_ctest4 = NCR53c7x0_read8(CTEST4_REG_800) & 
hostdata984drivers/scsi/53c7,8xx.chostdata->saved_ctest7 = NCR53c7x0_read8(CTEST7_REG) & CTEST7_SAVE;
hostdata992drivers/scsi/53c7,8xx.chostdata->saved_dcntl = NCR53c7x0_read8(DCNTL_REG);
hostdata1000drivers/scsi/53c7,8xx.cif ((hostdata->chip / 100) == 8)
hostdata1001drivers/scsi/53c7,8xx.chostdata->saved_dcntl &= ~DCNTL_800_IRQM;
hostdata1007drivers/scsi/53c7,8xx.chostdata->saved_dmode = NCR53c7x0_read8(hostdata->dmode);
hostdata1014drivers/scsi/53c7,8xx.cif ((hostdata->chip / 100) == 8) {
hostdata1015drivers/scsi/53c7,8xx.cif (hostdata->saved_ctest4 & CTEST4_800_BDIS) {
hostdata1018drivers/scsi/53c7,8xx.cswitch (hostdata->saved_dmode & DMODE_BL_MASK) {
hostdata1033drivers/scsi/53c7,8xx.cif (hostdata->chip / 100 == 8)  {
hostdata1035drivers/scsi/53c7,8xx.chostdata->saved_scntl3 = NCR53c7x0_read8(SCNTL3_REG_800);
hostdata1036drivers/scsi/53c7,8xx.cccf = hostdata->saved_scntl3 & SCNTL3_800_CCF_MASK;
hostdata1038drivers/scsi/53c7,8xx.chostdata->saved_scntl3 = (hostdata->saved_scntl3 &
hostdata1056drivers/scsi/53c7,8xx.cif ((!hostdata->scsi_clock) && (hostdata->scsi_clock = ccf_to_clock (ccf)) 
hostdata1061drivers/scsi/53c7,8xx.chostdata->options &= ~OPTION_SYNCHRONOUS;
hostdata1062drivers/scsi/53c7,8xx.chostdata->scsi_clock = 0; 
hostdata1065drivers/scsi/53c7,8xx.cif (expected_clock == -1 || hostdata->scsi_clock != expected_clock)
hostdata1067drivers/scsi/53c7,8xx.chostdata->scsi_clock / 1000000);
hostdata1070drivers/scsi/53c7,8xx.chostdata->cmd_allocated[i] = 0;
hostdata1072drivers/scsi/53c7,8xx.cif (hostdata->init_save_regs)
hostdata1073drivers/scsi/53c7,8xx.chostdata->init_save_regs (host);
hostdata1074drivers/scsi/53c7,8xx.cif (hostdata->init_fixup)
hostdata1075drivers/scsi/53c7,8xx.chostdata->init_fixup (host);
hostdata1092drivers/scsi/53c7,8xx.chostdata->soft_reset (host);
hostdata1095drivers/scsi/53c7,8xx.chostdata->debug_count_limit = -1;
hostdata1097drivers/scsi/53c7,8xx.chostdata->debug_count_limit = 1;
hostdata1099drivers/scsi/53c7,8xx.chostdata->intrs = -1;
hostdata1100drivers/scsi/53c7,8xx.chostdata->resets = -1;
hostdata1101drivers/scsi/53c7,8xx.cmemcpy ((void *) hostdata->synchronous_want, (void *) sdtr_message, 
hostdata1102drivers/scsi/53c7,8xx.csizeof (hostdata->synchronous_want));
hostdata1131drivers/scsi/53c7,8xx.cif ((hostdata->run_tests && hostdata->run_tests(host) == -1) ||
hostdata1132drivers/scsi/53c7,8xx.c(hostdata->options & OPTION_DEBUG_TESTS_ONLY)) {
hostdata1176drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata;
hostdata1265drivers/scsi/53c7,8xx.chostdata = (struct NCR53c7x0_hostdata *) 
hostdata1266drivers/scsi/53c7,8xx.cinstance->hostdata;
hostdata1267drivers/scsi/53c7,8xx.chostdata->size = size;
hostdata1268drivers/scsi/53c7,8xx.chostdata->script_count = script_len / sizeof(u32);
hostdata1269drivers/scsi/53c7,8xx.chostdata = (struct NCR53c7x0_hostdata *) instance->hostdata;
hostdata1270drivers/scsi/53c7,8xx.chostdata->board = board;
hostdata1271drivers/scsi/53c7,8xx.chostdata->chip = chip;
hostdata1272drivers/scsi/53c7,8xx.cif ((hostdata->pci_valid = pci_valid)) {
hostdata1273drivers/scsi/53c7,8xx.chostdata->pci_bus = pci_bus;
hostdata1274drivers/scsi/53c7,8xx.chostdata->pci_device_fn = pci_device_fn;
hostdata1319drivers/scsi/53c7,8xx.chostdata->options = options;
hostdata1320drivers/scsi/53c7,8xx.chostdata->dsa_len = dsa_len;
hostdata1321drivers/scsi/53c7,8xx.chostdata->max_cmd_size = max_cmd_size;
hostdata1322drivers/scsi/53c7,8xx.chostdata->num_cmds = 1;
hostdata1324drivers/scsi/53c7,8xx.ctmp = (hostdata->script + hostdata->script_count);
hostdata1325drivers/scsi/53c7,8xx.chostdata->free = ROUNDUP(tmp, void *);
hostdata1326drivers/scsi/53c7,8xx.chostdata->free->real = tmp;
hostdata1327drivers/scsi/53c7,8xx.chostdata->free->size = max_cmd_size;
hostdata1328drivers/scsi/53c7,8xx.chostdata->free->free = NULL;
hostdata1329drivers/scsi/53c7,8xx.chostdata->free->next = NULL;
hostdata1330drivers/scsi/53c7,8xx.chostdata->extra_allocate = 0;
hostdata1333drivers/scsi/53c7,8xx.chostdata->schedule = (chip == 700 || chip == 70066) ?
hostdata1334drivers/scsi/53c7,8xx.cNULL : (u32 *) ((char *)hostdata->free + max_cmd_size);
hostdata1346drivers/scsi/53c7,8xx.chostdata->events = (struct NCR53c7x0_event *) (track_events ? 
hostdata1349drivers/scsi/53c7,8xx.chostdata->events = NULL;
hostdata1351drivers/scsi/53c7,8xx.cif (hostdata->events) {
hostdata1352drivers/scsi/53c7,8xx.cmemset ((void *) hostdata->events, 0, sizeof(struct NCR53c7x0_event) *
hostdata1354drivers/scsi/53c7,8xx.chostdata->event_size = track_events;
hostdata1355drivers/scsi/53c7,8xx.chostdata->event_index = 0;
hostdata1357drivers/scsi/53c7,8xx.chostdata->event_size = 0;
hostdata1592drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata1593drivers/scsi/53c7,8xx.chost->hostdata;
hostdata1602drivers/scsi/53c7,8xx.cmemcpy ((void *) hostdata->script, (void *) SCRIPT, 
hostdata1606drivers/scsi/53c7,8xx.chostdata->script[LABELPATCHES[i]] += 
hostdata1607drivers/scsi/53c7,8xx.cvirt_to_bus(hostdata->script);
hostdata1610drivers/scsi/53c7,8xx.cpatch_abs_32 (hostdata->script, 0, NCR53c7xx_msg_abort, 
hostdata1611drivers/scsi/53c7,8xx.cvirt_to_bus(&(hostdata->NCR53c7xx_msg_abort)));
hostdata1612drivers/scsi/53c7,8xx.cpatch_abs_32 (hostdata->script, 0, NCR53c7xx_msg_reject, 
hostdata1613drivers/scsi/53c7,8xx.cvirt_to_bus(&(hostdata->NCR53c7xx_msg_reject)));
hostdata1614drivers/scsi/53c7,8xx.cpatch_abs_32 (hostdata->script, 0, NCR53c7xx_zero, 
hostdata1615drivers/scsi/53c7,8xx.cvirt_to_bus(&(hostdata->NCR53c7xx_zero)));
hostdata1616drivers/scsi/53c7,8xx.cpatch_abs_32 (hostdata->script, 0, NCR53c7xx_sink, 
hostdata1617drivers/scsi/53c7,8xx.cvirt_to_bus(&(hostdata->NCR53c7xx_sink)));
hostdata1618drivers/scsi/53c7,8xx.cpatch_abs_32 (hostdata->script, 0, NOP_insn,
hostdata1619drivers/scsi/53c7,8xx.cvirt_to_bus(&(hostdata->NOP_insn)));
hostdata1620drivers/scsi/53c7,8xx.cpatch_abs_32 (hostdata->script, 0, schedule,
hostdata1621drivers/scsi/53c7,8xx.cvirt_to_bus((void *) hostdata->schedule));
hostdata1625drivers/scsi/53c7,8xx.chostdata->script[EXTERNAL_PATCHES[i].offset] +=
hostdata1637drivers/scsi/53c7,8xx.cpatch_abs_rwri_data (hostdata->script, 0, dsa_save_data_pointer, 
hostdata1639drivers/scsi/53c7,8xx.cpatch_abs_rwri_data (hostdata->script, 0, dsa_restore_pointers,
hostdata1641drivers/scsi/53c7,8xx.cpatch_abs_rwri_data (hostdata->script, 0, dsa_check_reselect,
hostdata1653drivers/scsi/53c7,8xx.cif (!(hostdata->options & OPTION_MEMORY_MAPPED)) {
hostdata1662drivers/scsi/53c7,8xx.cpatch_abs_32 (hostdata->script, 0, addr_scratch, base + SCRATCHA_REG_800);
hostdata1663drivers/scsi/53c7,8xx.cpatch_abs_32 (hostdata->script, 0, addr_temp, base + TEMP_REG);
hostdata1674drivers/scsi/53c7,8xx.cpatch_abs_rwri_data (hostdata->script, 0, dmode_memory_to_memory, tmp);
hostdata1675drivers/scsi/53c7,8xx.cpatch_abs_rwri_data (hostdata->script, 0, dmode_memory_to_ncr, memory_to_ncr);
hostdata1676drivers/scsi/53c7,8xx.cpatch_abs_rwri_data (hostdata->script, 0, dmode_ncr_to_memory, ncr_to_memory);
hostdata1678drivers/scsi/53c7,8xx.cpatch_abs_32 (hostdata->script, 0, msg_buf, 
hostdata1679drivers/scsi/53c7,8xx.cvirt_to_bus((void *)&(hostdata->msg_buf)));
hostdata1680drivers/scsi/53c7,8xx.cpatch_abs_32 (hostdata->script, 0, reconnect_dsa_head, 
hostdata1681drivers/scsi/53c7,8xx.cvirt_to_bus((void *)&(hostdata->reconnect_dsa_head)));
hostdata1682drivers/scsi/53c7,8xx.cpatch_abs_32 (hostdata->script, 0, addr_reconnect_dsa_head, 
hostdata1683drivers/scsi/53c7,8xx.cvirt_to_bus((void *)&(hostdata->addr_reconnect_dsa_head)));
hostdata1684drivers/scsi/53c7,8xx.cpatch_abs_32 (hostdata->script, 0, reselected_identify, 
hostdata1685drivers/scsi/53c7,8xx.cvirt_to_bus((void *)&(hostdata->reselected_identify)));
hostdata1688drivers/scsi/53c7,8xx.cpatch_abs_32 (hostdata->script, 0, reselected_tag, 
hostdata1689drivers/scsi/53c7,8xx.cvirt_to_bus((void *)&(hostdata->reselected_tag)));
hostdata1692drivers/scsi/53c7,8xx.cpatch_abs_32 (hostdata->script, 0, test_dest, 
hostdata1693drivers/scsi/53c7,8xx.cvirt_to_bus((void*)&hostdata->test_dest));
hostdata1694drivers/scsi/53c7,8xx.cpatch_abs_32 (hostdata->script, 0, test_src, 
hostdata1695drivers/scsi/53c7,8xx.cvirt_to_bus(&hostdata->test_source));
hostdata1697drivers/scsi/53c7,8xx.cpatch_abs_rwri_data (hostdata->script, 0, dsa_check_reselect, 
hostdata1703drivers/scsi/53c7,8xx.cpatch_abs_32 (hostdata->script, 0, int_EVENT_SELECT, (u32) EVENT_SELECT);
hostdata1706drivers/scsi/53c7,8xx.cpatch_abs_32 (hostdata->script, 0, int_EVENT_DISCONNECT, (u32) EVENT_DISCONNECT);
hostdata1709drivers/scsi/53c7,8xx.cpatch_abs_32 (hostdata->script, 0, int_EVENT_RESELECT, (u32) EVENT_RESELECT);
hostdata1712drivers/scsi/53c7,8xx.cpatch_abs_32 (hostdata->script, 0, int_EVENT_COMPLETE, (u32) EVENT_COMPLETE);
hostdata1715drivers/scsi/53c7,8xx.cpatch_abs_32 (hostdata->script, 0, int_EVENT_IDLE, (u32) EVENT_IDLE);
hostdata1718drivers/scsi/53c7,8xx.cpatch_abs_32 (hostdata->script, 0, int_EVENT_SELECT_FAILED, 
hostdata1722drivers/scsi/53c7,8xx.cpatch_abs_32 (hostdata->script, 0, int_EVENT_BEFORE_SELECT,
hostdata1726drivers/scsi/53c7,8xx.cpatch_abs_32 (hostdata->script, 0, int_EVENT_RESELECT_FAILED, 
hostdata1735drivers/scsi/53c7,8xx.chostdata->E_accept_message = Ent_accept_message;
hostdata1736drivers/scsi/53c7,8xx.chostdata->E_command_complete = Ent_command_complete;    
hostdata1737drivers/scsi/53c7,8xx.chostdata->E_cmdout_cmdout = Ent_cmdout_cmdout;
hostdata1738drivers/scsi/53c7,8xx.chostdata->E_data_transfer = Ent_data_transfer;
hostdata1739drivers/scsi/53c7,8xx.chostdata->E_debug_break = Ent_debug_break;  
hostdata1740drivers/scsi/53c7,8xx.chostdata->E_dsa_code_template = Ent_dsa_code_template;
hostdata1741drivers/scsi/53c7,8xx.chostdata->E_dsa_code_template_end = Ent_dsa_code_template_end;
hostdata1742drivers/scsi/53c7,8xx.chostdata->E_end_data_transfer = Ent_end_data_transfer;
hostdata1743drivers/scsi/53c7,8xx.chostdata->E_initiator_abort = Ent_initiator_abort;
hostdata1744drivers/scsi/53c7,8xx.chostdata->E_msg_in = Ent_msg_in;
hostdata1745drivers/scsi/53c7,8xx.chostdata->E_other_transfer = Ent_other_transfer;
hostdata1746drivers/scsi/53c7,8xx.chostdata->E_other_in = Ent_other_in;
hostdata1747drivers/scsi/53c7,8xx.chostdata->E_other_out = Ent_other_out;
hostdata1748drivers/scsi/53c7,8xx.chostdata->E_reject_message = Ent_reject_message;
hostdata1749drivers/scsi/53c7,8xx.chostdata->E_respond_message = Ent_respond_message;
hostdata1750drivers/scsi/53c7,8xx.chostdata->E_select = Ent_select;
hostdata1751drivers/scsi/53c7,8xx.chostdata->E_select_msgout = Ent_select_msgout;
hostdata1752drivers/scsi/53c7,8xx.chostdata->E_target_abort = Ent_target_abort;
hostdata1754drivers/scsi/53c7,8xx.chostdata->E_test_0 = Ent_test_0;
hostdata1756drivers/scsi/53c7,8xx.chostdata->E_test_1 = Ent_test_1;
hostdata1757drivers/scsi/53c7,8xx.chostdata->E_test_2 = Ent_test_2;
hostdata1759drivers/scsi/53c7,8xx.chostdata->E_test_3 = Ent_test_3;
hostdata1761drivers/scsi/53c7,8xx.chostdata->E_wait_reselect = Ent_wait_reselect;
hostdata1762drivers/scsi/53c7,8xx.chostdata->E_dsa_code_begin = Ent_dsa_code_begin;
hostdata1764drivers/scsi/53c7,8xx.chostdata->dsa_cmdout = A_dsa_cmdout;
hostdata1765drivers/scsi/53c7,8xx.chostdata->dsa_cmnd = A_dsa_cmnd;
hostdata1766drivers/scsi/53c7,8xx.chostdata->dsa_datain = A_dsa_datain;
hostdata1767drivers/scsi/53c7,8xx.chostdata->dsa_dataout = A_dsa_dataout;
hostdata1768drivers/scsi/53c7,8xx.chostdata->dsa_end = A_dsa_end;      
hostdata1769drivers/scsi/53c7,8xx.chostdata->dsa_msgin = A_dsa_msgin;
hostdata1770drivers/scsi/53c7,8xx.chostdata->dsa_msgout = A_dsa_msgout;
hostdata1771drivers/scsi/53c7,8xx.chostdata->dsa_msgout_other = A_dsa_msgout_other;
hostdata1772drivers/scsi/53c7,8xx.chostdata->dsa_next = A_dsa_next;
hostdata1773drivers/scsi/53c7,8xx.chostdata->dsa_select = A_dsa_select;
hostdata1774drivers/scsi/53c7,8xx.chostdata->dsa_start = Ent_dsa_code_template - Ent_dsa_zero;
hostdata1775drivers/scsi/53c7,8xx.chostdata->dsa_status = A_dsa_status;
hostdata1776drivers/scsi/53c7,8xx.chostdata->dsa_jump_dest = Ent_dsa_code_fix_jump - Ent_dsa_zero + 
hostdata1787drivers/scsi/53c7,8xx.cvirt_to_bus(hostdata->script), hostdata->script);
hostdata1808drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata1809drivers/scsi/53c7,8xx.chost->hostdata;
hostdata1820drivers/scsi/53c7,8xx.cif (!hostdata->idle) {
hostdata1831drivers/scsi/53c7,8xx.cif ((hostdata->options & OPTION_DEBUG_TEST1) && 
hostdata1832drivers/scsi/53c7,8xx.chostdata->state != STATE_DISABLED) {
hostdata1833drivers/scsi/53c7,8xx.chostdata->idle = 0;
hostdata1834drivers/scsi/53c7,8xx.chostdata->test_running = 1;
hostdata1835drivers/scsi/53c7,8xx.chostdata->test_completed = -1;
hostdata1836drivers/scsi/53c7,8xx.chostdata->test_dest = 0;
hostdata1837drivers/scsi/53c7,8xx.chostdata->test_source = 0xdeadbeef;
hostdata1838drivers/scsi/53c7,8xx.cstart = virt_to_bus (hostdata->script) + hostdata->E_test_1;
hostdata1839drivers/scsi/53c7,8xx.chostdata->state = STATE_RUNNING;
hostdata1853drivers/scsi/53c7,8xx.cwhile ((hostdata->test_completed == -1) && jiffies < timeout)
hostdata1857drivers/scsi/53c7,8xx.cif (hostdata->test_completed == -1)
hostdata1859drivers/scsi/53c7,8xx.c(hostdata->test_dest == 0xdeadbeef) ? 
hostdata1868drivers/scsi/53c7,8xx.celse if (hostdata->test_completed != 1) 
hostdata1870drivers/scsi/53c7,8xx.chost->host_no, hostdata->test_completed);
hostdata1872drivers/scsi/53c7,8xx.cfailed = (hostdata->test_dest != 0xdeadbeef);
hostdata1874drivers/scsi/53c7,8xx.cif (hostdata->test_dest != 0xdeadbeef) {
hostdata1878drivers/scsi/53c7,8xx.chost->host_no, hostdata->test_dest);
hostdata1884drivers/scsi/53c7,8xx.chostdata->script, start);
hostdata1890drivers/scsi/53c7,8xx.chostdata->test_running = 0;
hostdata1893drivers/scsi/53c7,8xx.cif ((hostdata->options & OPTION_DEBUG_TEST2) && 
hostdata1894drivers/scsi/53c7,8xx.chostdata->state != STATE_DISABLED) {
hostdata1919drivers/scsi/53c7,8xx.cif (!hostdata->idle) {
hostdata1927drivers/scsi/53c7,8xx.chostdata->idle = 0;
hostdata1928drivers/scsi/53c7,8xx.chostdata->test_running = 2;
hostdata1929drivers/scsi/53c7,8xx.chostdata->test_completed = -1;
hostdata1930drivers/scsi/53c7,8xx.cstart = virt_to_bus(hostdata->script) + hostdata->E_test_2;
hostdata1931drivers/scsi/53c7,8xx.chostdata->state = STATE_RUNNING;
hostdata1937drivers/scsi/53c7,8xx.cwhile ((hostdata->test_completed == -1) && jiffies < timeout)
hostdata1941drivers/scsi/53c7,8xx.cif (hostdata->test_completed == 2) {
hostdata1950drivers/scsi/53c7,8xx.c} else if (hostdata->test_completed == 3) {
hostdata1953drivers/scsi/53c7,8xx.cif (!hostdata->idle) {
hostdata1958drivers/scsi/53c7,8xx.c} else if (hostdata->test_completed == -1) {
hostdata1963drivers/scsi/53c7,8xx.chostdata->test_running = 0;
hostdata1985drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata1986drivers/scsi/53c7,8xx.chost->hostdata;
hostdata1989drivers/scsi/53c7,8xx.cmemcpy (cmd->dsa, hostdata->script + (hostdata->E_dsa_code_template / 4),
hostdata1990drivers/scsi/53c7,8xx.chostdata->E_dsa_code_template_end - hostdata->E_dsa_code_template);
hostdata2016drivers/scsi/53c7,8xx.cdsa_temp_sync, virt_to_bus((void *)hostdata->sync[c->target].script));
hostdata2081drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata2082drivers/scsi/53c7,8xx.chost->hostdata;
hostdata2103drivers/scsi/53c7,8xx.cfor (found = 0, left = host->can_queue, current = hostdata->schedule; 
hostdata2106drivers/scsi/53c7,8xx.cif (issue_to_cmd (host, hostdata, (u32 *) current) == cmd) 
hostdata2108drivers/scsi/53c7,8xx.ccurrent[0] = hostdata->NOP_insn;
hostdata2124drivers/scsi/53c7,8xx.cncr_search = hostdata->reconnect_dsa_head, 
hostdata2125drivers/scsi/53c7,8xx.cncr_prev = &hostdata->reconnect_dsa_head;
hostdata2127drivers/scsi/53c7,8xx.c((char*)bus_to_virt(ncr_search) + hostdata->dsa_start) 
hostdata2130drivers/scsi/53c7,8xx.chostdata->dsa_next), ncr_search = *ncr_prev, --left);
hostdata2141drivers/scsi/53c7,8xx.c((char *)bus_to_virt(ncr_search) + hostdata->dsa_next);
hostdata2153drivers/scsi/53c7,8xx.cfor (left = host->can_queue, linux_search = hostdata->running_list, 
hostdata2154drivers/scsi/53c7,8xx.clinux_prev = &hostdata->running_list;
hostdata2164drivers/scsi/53c7,8xx.c--hostdata->busy[c->target][c->lun];
hostdata2168drivers/scsi/53c7,8xx.ccmd->next = hostdata->free;
hostdata2169drivers/scsi/53c7,8xx.chostdata->free = cmd;
hostdata2201drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata2202drivers/scsi/53c7,8xx.chost->hostdata;    
hostdata2214drivers/scsi/53c7,8xx.cfor (bp = hostdata->breakpoints; bp && bp->address != dsp; 
hostdata2226drivers/scsi/53c7,8xx.cNCR53c7x0_write8 (hostdata->dmode, 
hostdata2227drivers/scsi/53c7,8xx.cNCR53c7x0_read8(hostdata->dmode)|DMODE_MAN);
hostdata2278drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *) 
hostdata2279drivers/scsi/53c7,8xx.chost->hostdata;
hostdata2287drivers/scsi/53c7,8xx.chostdata->sync[target].sxfer_sanity = sxfer;
hostdata2288drivers/scsi/53c7,8xx.chostdata->sync[target].scntl3_sanity = scntl3;
hostdata2295drivers/scsi/53c7,8xx.cif ((hostdata->chip != 700) && (hostdata->chip != 70066)) {
hostdata2296drivers/scsi/53c7,8xx.chostdata->sync[target].select_indirect = (scntl3 << 24) | 
hostdata2299drivers/scsi/53c7,8xx.cscript = (u32 *) hostdata->sync[target].script;
hostdata2302drivers/scsi/53c7,8xx.cif ((hostdata->chip / 100) == 8) {
hostdata2317drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_DISCONNECT) {
hostdata2329drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_SYNCHRONOUS) 
hostdata2334drivers/scsi/53c7,8xx.cif ((hostdata->chip / 100) == 8) 
hostdata2355drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata2356drivers/scsi/53c7,8xx.chost->hostdata;
hostdata2358drivers/scsi/53c7,8xx.cset_synchronous (host, target, /* no offset */ 0, hostdata->saved_scntl3,
hostdata2405drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata2406drivers/scsi/53c7,8xx.chost->hostdata;
hostdata2415drivers/scsi/53c7,8xx.cdivisor = (hostdata->scsi_clock * 10) / desire;
hostdata2421drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_SDTR)
hostdata2428drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_SDTR)
hostdata2432drivers/scsi/53c7,8xx.cmsg[3] = ((1000000000L / hostdata->scsi_clock) * syncs[i].div / 10 / 4);
hostdata2434drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_SDTR)
hostdata2438drivers/scsi/53c7,8xx.cscntl3 = (hostdata->chip / 100 == 8) ? ((hostdata->saved_scntl3 & 
hostdata2441drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_SDTR)
hostdata2468drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata2469drivers/scsi/53c7,8xx.chost->hostdata;    
hostdata2475drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_INTR) 
hostdata2481drivers/scsi/53c7,8xx.cswitch (hostdata->msg_buf[0]) {
hostdata2487drivers/scsi/53c7,8xx.chostdata->dsp = hostdata->script + hostdata->E_accept_message /
hostdata2489drivers/scsi/53c7,8xx.chostdata->dsp_changed = 1;
hostdata2502drivers/scsi/53c7,8xx.chostdata->dsp = hostdata->script + hostdata->E_reject_message /
hostdata2504drivers/scsi/53c7,8xx.chostdata->dsp_changed = 1;
hostdata2509drivers/scsi/53c7,8xx.chostdata->dsp = hostdata->script + hostdata->E_reject_message /
hostdata2511drivers/scsi/53c7,8xx.chostdata->dsp_changed = 1;
hostdata2517drivers/scsi/53c7,8xx.cprint_msg ((unsigned char *) hostdata->msg_buf);
hostdata2538drivers/scsi/53c7,8xx.cprint_synchronous (buf, (unsigned char *) hostdata->msg_buf);
hostdata2550drivers/scsi/53c7,8xx.cif (hostdata->msg_buf[4]) 
hostdata2552drivers/scsi/53c7,8xx.chostdata->msg_buf);
hostdata2555drivers/scsi/53c7,8xx.chostdata->dsp = hostdata->script + hostdata->E_accept_message /
hostdata2557drivers/scsi/53c7,8xx.chostdata->dsp_changed = 1;
hostdata2560drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_SYNCHRONOUS)  {
hostdata2563drivers/scsi/53c7,8xx.chostdata->msg_buf);
hostdata2565drivers/scsi/53c7,8xx.chostdata->msg_buf[4] = 0;    /* 0 offset = async */
hostdata2570drivers/scsi/53c7,8xx.cvirt_to_bus ((void *)&hostdata->msg_buf));
hostdata2571drivers/scsi/53c7,8xx.chostdata->dsp = hostdata->script + 
hostdata2572drivers/scsi/53c7,8xx.chostdata->E_respond_message / sizeof(u32);
hostdata2573drivers/scsi/53c7,8xx.chostdata->dsp_changed = 1;
hostdata2580drivers/scsi/53c7,8xx.chostdata->dsp = hostdata->script + hostdata->E_reject_message /
hostdata2582drivers/scsi/53c7,8xx.chostdata->dsp_changed = 1;
hostdata2585drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_INTR) 
hostdata2591drivers/scsi/53c7,8xx.chostdata->dsp = hostdata->script + hostdata->E_target_abort / 
hostdata2593drivers/scsi/53c7,8xx.chostdata->dsp_changed = 1;
hostdata2598drivers/scsi/53c7,8xx.chostdata->reselected_identify & 7);
hostdata2599drivers/scsi/53c7,8xx.chostdata->dsp = hostdata->script + hostdata->E_initiator_abort /
hostdata2601drivers/scsi/53c7,8xx.chostdata->dsp_changed = 1;
hostdata2614drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_INTR) 
hostdata2656drivers/scsi/53c7,8xx.cvirt_to_bus(hostdata->script) + hostdata->E_other_transfer);
hostdata2665drivers/scsi/53c7,8xx.ccmd->data_transfer_start[3] = (u32) virt_to_bus(hostdata->script) + 
hostdata2666drivers/scsi/53c7,8xx.chostdata->E_other_transfer;
hostdata2680drivers/scsi/53c7,8xx.chostdata->dsp = (u32 *) hostdata->script + hostdata->E_select /
hostdata2682drivers/scsi/53c7,8xx.chostdata->dsp_changed = 1;
hostdata2687drivers/scsi/53c7,8xx.chostdata->dsp = (u32 *) hostdata->schedule;
hostdata2688drivers/scsi/53c7,8xx.chostdata->dsp_changed = 1;
hostdata2694drivers/scsi/53c7,8xx.chostdata->idle = 1;
hostdata2695drivers/scsi/53c7,8xx.chostdata->test_completed = (dsps - A_int_test_1) / 0x00010000 + 1;
hostdata2696drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_INTR)
hostdata2698drivers/scsi/53c7,8xx.chostdata->test_completed);
hostdata2702drivers/scsi/53c7,8xx.cif (hostdata->options & (OPTION_DEBUG_SCRIPT|OPTION_DEBUG_INTR|
hostdata2717drivers/scsi/53c7,8xx.cprint_insn (host, hostdata->script + Ent_reselected_ok / 
hostdata2724drivers/scsi/53c7,8xx.chostdata->sync[c->target].script, "", 1);
hostdata2726drivers/scsi/53c7,8xx.chostdata->sync[c->target].script + 2, "", 1);
hostdata2733drivers/scsi/53c7,8xx.cif (hostdata->options & (OPTION_DEBUG_SCRIPT|OPTION_DEBUG_INTR)) {
hostdata2757drivers/scsi/53c7,8xx.cprint_insn (host, hostdata->script + Ent_reselected_ok / 
hostdata2764drivers/scsi/53c7,8xx.cif (hostdata->options & (OPTION_DEBUG_SCRIPT|OPTION_DEBUG_INTR)) {
hostdata2786drivers/scsi/53c7,8xx.cif (hostdata->options & (OPTION_DEBUG_SCRIPT|OPTION_DEBUG_INTR)) {
hostdata2795drivers/scsi/53c7,8xx.cif (hostdata->options & (OPTION_DEBUG_SCRIPT|OPTION_DEBUG_INTR)) {
hostdata2802drivers/scsi/53c7,8xx.cif (hostdata->options & (OPTION_DEBUG_SCRIPT|OPTION_DEBUG_INTR)) {
hostdata2809drivers/scsi/53c7,8xx.cif (hostdata->options & (OPTION_DEBUG_SCRIPT|OPTION_DEBUG_INTR)) {
hostdata2818drivers/scsi/53c7,8xx.cif (hostdata->options & (OPTION_DEBUG_SCRIPT|OPTION_DEBUG_INTR|
hostdata2822drivers/scsi/53c7,8xx.c(int) hostdata->reselected_identify & 7);
hostdata2829drivers/scsi/53c7,8xx.cif (hostdata->options & (OPTION_DEBUG_SCRIPT|OPTION_DEBUG_INTR)) {
hostdata2841drivers/scsi/53c7,8xx.cif (hostdata->options & (OPTION_DEBUG_SCRIPT|OPTION_DEBUG_INTR|
hostdata2853drivers/scsi/53c7,8xx.chostdata->sync[c->target].script, "", 1);
hostdata2855drivers/scsi/53c7,8xx.chostdata->sync[c->target].script + 2, "", 1);
hostdata2868drivers/scsi/53c7,8xx.cif (hostdata->options & (OPTION_DEBUG_SCRIPT|OPTION_DEBUG_INTR|
hostdata2879drivers/scsi/53c7,8xx.cif (hostdata->options & (OPTION_DEBUG_SCRIPT|OPTION_DEBUG_INTR|
hostdata2901drivers/scsi/53c7,8xx.cif (hostdata->options & (OPTION_DEBUG_SCRIPT|OPTION_DEBUG_INTR|
hostdata2906drivers/scsi/53c7,8xx.cif (sxfer != hostdata->sync[c->target].sxfer_sanity ||
hostdata2907drivers/scsi/53c7,8xx.cscntl3 != hostdata->sync[c->target].scntl3_sanity) {
hostdata2921drivers/scsi/53c7,8xx.cif (hostdata->options & (OPTION_DEBUG_SCRIPT|OPTION_DEBUG_INTR|
hostdata2945drivers/scsi/53c7,8xx.c(DCMD_REG)) == hostdata->script + 
hostdata2964drivers/scsi/53c7,8xx.cif (hostdata->events) {
hostdata2966drivers/scsi/53c7,8xx.c++hostdata->event_index;
hostdata2967drivers/scsi/53c7,8xx.cif (hostdata->event_index >= hostdata->event_size)
hostdata2968drivers/scsi/53c7,8xx.chostdata->event_index = 0;
hostdata2969drivers/scsi/53c7,8xx.cevent = (struct NCR53c7x0_event *) hostdata->events + 
hostdata2970drivers/scsi/53c7,8xx.chostdata->event_index;
hostdata2980drivers/scsi/53c7,8xx.cevent->lun = hostdata->reselected_identify & 0xf;
hostdata3060drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata3061drivers/scsi/53c7,8xx.cinstance->hostdata;
hostdata3093drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata3094drivers/scsi/53c7,8xx.chost->hostdata;
hostdata3132drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata3133drivers/scsi/53c7,8xx.chost->hostdata;
hostdata3141drivers/scsi/53c7,8xx.cif (hostdata->state != STATE_HALTED) {
hostdata3159drivers/scsi/53c7,8xx.cbp->next = hostdata->breakpoints;
hostdata3160drivers/scsi/53c7,8xx.chostdata->breakpoints = bp->next;
hostdata3161drivers/scsi/53c7,8xx.cmemcpy ((void *) bp->address, (void *) hostdata->E_debug_break, 8);
hostdata3194drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostadata *hostdata;  
hostdata3203drivers/scsi/53c7,8xx.chostdata = (struct NCR53c7x0_hostdata *) host->hostdata;
hostdata3253drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata3254drivers/scsi/53c7,8xx.chost->hostdata;
hostdata3260drivers/scsi/53c7,8xx.cleft = (hostdata->debug_buf + hostdata->debug_size - 1) -
hostdata3261drivers/scsi/53c7,8xx.chostdata->debug_write;
hostdata3263drivers/scsi/53c7,8xx.cmemcpy (hostdata->debug_write, buf, copy);
hostdata3266drivers/scsi/53c7,8xx.chostdata->debug_count += copy;
hostdata3267drivers/scsi/53c7,8xx.cif ((hostdata->debug_write += copy) == 
hostdata3268drivers/scsi/53c7,8xx.c(hostdata->debug_buf + hostdata->debug_size))
hostdata3269drivers/scsi/53c7,8xx.chosdata->debug_write = hostdata->debug_buf;
hostdata3291drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata3292drivers/scsi/53c7,8xx.chost->hostdata;
hostdata3308drivers/scsi/53c7,8xx.cNCR53c7x0_write8(hostdata->dmode, hostdata->saved_dmode & ~DMODE_MAN);
hostdata3324drivers/scsi/53c7,8xx.cNCR53c7x0_write8(RESPID_REG_800, hostdata->this_id_mask);
hostdata3361drivers/scsi/53c7,8xx.cNCR53c7x0_write8(SIEN0_REG_800, ((hostdata->options & OPTION_PARITY) ?
hostdata3370drivers/scsi/53c7,8xx.cNCR53c7x0_write8(DCNTL_REG, hostdata->saved_dcntl);
hostdata3371drivers/scsi/53c7,8xx.cNCR53c7x0_write8(CTEST4_REG_800, hostdata->saved_ctest4);
hostdata3397drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = 
hostdata3398drivers/scsi/53c7,8xx.c(struct NCR53c7x0_hostdata *) host->hostdata;
hostdata3404drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_ALLOCATION)
hostdata3407drivers/scsi/53c7,8xx.chost->host_no, hostdata->num_cmds, host->can_queue,
hostdata3408drivers/scsi/53c7,8xx.ccmd->target, cmd->lun, (hostdata->cmd_allocated[cmd->target] &
hostdata3417drivers/scsi/53c7,8xx.cif (!(hostdata->cmd_allocated[cmd->target] & (1 << cmd->lun)) &&
hostdata3424drivers/scsi/53c7,8xx.cif ((hostdata->extra_allocate + hostdata->num_cmds) < host->can_queue) 
hostdata3425drivers/scsi/53c7,8xx.chostdata->extra_allocate += host->cmd_per_lun;
hostdata3426drivers/scsi/53c7,8xx.chostdata->cmd_allocated[cmd->target] |= (1 << cmd->lun);
hostdata3429drivers/scsi/53c7,8xx.cfor (; hostdata->extra_allocate > 0 ; --hostdata->extra_allocate, 
hostdata3430drivers/scsi/53c7,8xx.c++hostdata->num_cmds) {
hostdata3433drivers/scsi/53c7,8xx.csize = hostdata->max_cmd_size + sizeof (void *);
hostdata3437drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_ALLOCATION)
hostdata3452drivers/scsi/53c7,8xx.ctmp->next = hostdata->free;
hostdata3453drivers/scsi/53c7,8xx.chostdata->free = tmp;
hostdata3458drivers/scsi/53c7,8xx.ctmp = (struct NCR53c7x0_cmd *) hostdata->free;
hostdata3460drivers/scsi/53c7,8xx.chostdata->free = tmp->next;
hostdata3487drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata3488drivers/scsi/53c7,8xx.chost->hostdata;  
hostdata3538drivers/scsi/53c7,8xx.chostdata->options |= OPTION_DEBUG_INTR;
hostdata3596drivers/scsi/53c7,8xx.ctmp->saved_data_pointer = virt_to_bus (hostdata->script) + 
hostdata3597drivers/scsi/53c7,8xx.chostdata->E_data_transfer;
hostdata3606drivers/scsi/53c7,8xx.ctmp->dsa_next_addr = virt_to_bus(tmp->dsa) + hostdata->dsa_next - 
hostdata3607drivers/scsi/53c7,8xx.chostdata->dsa_start;
hostdata3608drivers/scsi/53c7,8xx.ctmp->dsa_addr = virt_to_bus(tmp->dsa) - hostdata->dsa_start;
hostdata3614drivers/scsi/53c7,8xx.ctmp->data_transfer_start = tmp->dsa + (hostdata->dsa_end - 
hostdata3615drivers/scsi/53c7,8xx.chostdata->dsa_start) / sizeof(u32);
hostdata3631drivers/scsi/53c7,8xx.cif (hostdata->dsa_fixup)
hostdata3632drivers/scsi/53c7,8xx.chostdata->dsa_fixup(tmp);
hostdata3637drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_SYNCHRONOUS) 
hostdata3638drivers/scsi/53c7,8xx.cif (hostdata->sync[cmd->target].select_indirect != 
hostdata3639drivers/scsi/53c7,8xx.c((hostdata->sync[cmd->target].scntl3_sanity << 24) | 
hostdata3641drivers/scsi/53c7,8xx.c(hostdata->sync[cmd->target].sxfer_sanity << 8))) {
hostdata3643drivers/scsi/53c7,8xx.chost->host_no, hostdata->sync[cmd->target].select_indirect);
hostdata3648drivers/scsi/53c7,8xx.cpatch_dsa_32(tmp->dsa, dsa_select, 0, hostdata->sync[cmd->target].
hostdata3655drivers/scsi/53c7,8xx.cif (hostdata->initiate_wdtr & (1 << cmd->target)) {
hostdata3661drivers/scsi/53c7,8xx.chostdata->initiate_wdtr &= ~(1 << cmd->target);
hostdata3663drivers/scsi/53c7,8xx.c} else if (hostdata->initiate_sdtr & (1 << cmd->target)) {
hostdata3670drivers/scsi/53c7,8xx.chostdata->initiate_sdtr &= ~(1 << cmd->target);
hostdata3675drivers/scsi/53c7,8xx.celse if (!(hostdata->talked_to & (1 << cmd->target)) && 
hostdata3676drivers/scsi/53c7,8xx.c!(hostdata->options & OPTION_NO_ASYNC)) {
hostdata3685drivers/scsi/53c7,8xx.chostdata->talked_to |= (1 << cmd->target);
hostdata3686drivers/scsi/53c7,8xx.ctmp->select[0] = (hostdata->options & OPTION_DISCONNECT) ? 
hostdata3693drivers/scsi/53c7,8xx.c: virt_to_bus (hostdata->script) + hostdata->E_other_transfer);
hostdata3696drivers/scsi/53c7,8xx.c: virt_to_bus (hostdata->script) + hostdata->E_other_transfer);
hostdata3712drivers/scsi/53c7,8xx.cvirt_to_bus(&(hostdata->NCR53c7xx_msg_nop)));
hostdata3766drivers/scsi/53c7,8xx.ccmd_datain[1] = virt_to_bus (hostdata->script) + 
hostdata3767drivers/scsi/53c7,8xx.chostdata->E_other_in;
hostdata3781drivers/scsi/53c7,8xx.ccmd_dataout[1] = virt_to_bus(hostdata->script) + 
hostdata3782drivers/scsi/53c7,8xx.chostdata->E_other_out;
hostdata3803drivers/scsi/53c7,8xx.ccmd_datain[1] = virt_to_bus(hostdata->script) + 
hostdata3804drivers/scsi/53c7,8xx.chostdata->E_other_transfer;
hostdata3820drivers/scsi/53c7,8xx.ccmd_dataout[1] = virt_to_bus(hostdata->script) + 
hostdata3821drivers/scsi/53c7,8xx.chostdata->E_other_transfer;
hostdata3854drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = 
hostdata3855drivers/scsi/53c7,8xx.c(struct NCR53c7x0_hostdata *) host->hostdata;
hostdata3866drivers/scsi/53c7,8xx.cif ((hostdata->options & (OPTION_DEBUG_INIT_ONLY|OPTION_DEBUG_PROBE_ONLY)) 
hostdata3867drivers/scsi/53c7,8xx.c|| ((hostdata->options & OPTION_DEBUG_TARGET_LIMIT) &&
hostdata3868drivers/scsi/53c7,8xx.c!(hostdata->debug_lun_limit[cmd->target] & (1 << cmd->lun))) 
hostdata3875drivers/scsi/53c7,8xx.c|| hostdata->state == STATE_DISABLED) {
hostdata3879drivers/scsi/53c7,8xx.c} else if ((hostdata->options & OPTION_DEBUG_NCOMMANDS_LIMIT) &&
hostdata3880drivers/scsi/53c7,8xx.c(hostdata->debug_count_limit == 0)) {
hostdata3884drivers/scsi/53c7,8xx.c} else if (hostdata->options & OPTION_DEBUG_READ_ONLY) {
hostdata3893drivers/scsi/53c7,8xx.cif ((hostdata->options & OPTION_DEBUG_TARGET_LIMIT) &&
hostdata3894drivers/scsi/53c7,8xx.chostdata->debug_count_limit != -1) 
hostdata3895drivers/scsi/53c7,8xx.c--hostdata->debug_count_limit;
hostdata3908drivers/scsi/53c7,8xx.cif (!(hostdata->issue_queue) || (cmd->cmnd[0] == REQUEST_SENSE)) {
hostdata3909drivers/scsi/53c7,8xx.ccmd->SCp.ptr = (unsigned char *) hostdata->issue_queue;
hostdata3910drivers/scsi/53c7,8xx.chostdata->issue_queue = cmd;
hostdata3912drivers/scsi/53c7,8xx.cfor (tmp = (Scsi_Cmnd *) hostdata->issue_queue; tmp->SCp.ptr; 
hostdata3941drivers/scsi/53c7,8xx.cto_schedule_list (struct Scsi_Host *host, struct NCR53c7x0_hostdata *hostdata,
hostdata3964drivers/scsi/53c7,8xx.cif (hostdata->state == STATE_DISABLED) {
hostdata3967drivers/scsi/53c7,8xx.ccmd->next = (struct NCR53c7x0_cmd *) hostdata->free;
hostdata3968drivers/scsi/53c7,8xx.chostdata->free = cmd;
hostdata3974drivers/scsi/53c7,8xx.cfor (i = host->can_queue, current = hostdata->schedule; 
hostdata3975drivers/scsi/53c7,8xx.ci > 0  && current[0] != hostdata->NOP_insn;
hostdata3979drivers/scsi/53c7,8xx.c++hostdata->busy[tmp->target][tmp->lun];
hostdata3980drivers/scsi/53c7,8xx.ccmd->next = hostdata->running_list;
hostdata3981drivers/scsi/53c7,8xx.chostdata->running_list = cmd;
hostdata3984drivers/scsi/53c7,8xx.ccmd->dsa [(hostdata->dsa_jump_dest - hostdata->dsa_start) / 
hostdata3988drivers/scsi/53c7,8xx.cvirt_to_bus ((void *) cmd->dsa) + hostdata->E_dsa_code_begin -
hostdata3989drivers/scsi/53c7,8xx.chostdata->E_dsa_code_template;
hostdata3997drivers/scsi/53c7,8xx.ccmd->next = (struct NCR53c7x0_cmd *) hostdata->free;
hostdata3998drivers/scsi/53c7,8xx.chostdata->free = cmd;
hostdata4009drivers/scsi/53c7,8xx.cif (hostdata->idle) {
hostdata4010drivers/scsi/53c7,8xx.chostdata->idle = 0;
hostdata4011drivers/scsi/53c7,8xx.chostdata->state = STATE_RUNNING;
hostdata4012drivers/scsi/53c7,8xx.cNCR53c7x0_write32 (DSP_REG,  virt_to_bus ((void *)hostdata->schedule));
hostdata4014drivers/scsi/53c7,8xx.cNCR53c7x0_write8(hostdata->istat, ISTAT_10_SIGP);
hostdata4031drivers/scsi/53c7,8xx.cbusyp (struct Scsi_Host *host, struct NCR53c7x0_hostdata *hostdata, 
hostdata4036drivers/scsi/53c7,8xx.creturn hostdata->busy[cmd->target][cmd->lun];
hostdata4060drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata;
hostdata4079drivers/scsi/53c7,8xx.chostdata = (struct NCR53c7x0_hostdata *) host->hostdata;
hostdata4081drivers/scsi/53c7,8xx.cif (hostdata->issue_queue) {
hostdata4082drivers/scsi/53c7,8xx.cif (hostdata->state == STATE_DISABLED) {
hostdata4083drivers/scsi/53c7,8xx.ctmp = (Scsi_Cmnd *) hostdata->issue_queue;
hostdata4084drivers/scsi/53c7,8xx.chostdata->issue_queue = (Scsi_Cmnd *) tmp->SCp.ptr;
hostdata4088drivers/scsi/53c7,8xx.chostdata->free;
hostdata4089drivers/scsi/53c7,8xx.chostdata->free = 
hostdata4096drivers/scsi/53c7,8xx.cfor (tmp = (Scsi_Cmnd *) hostdata->issue_queue, 
hostdata4100drivers/scsi/53c7,8xx.c!busyp (host, hostdata, tmp)) {
hostdata4104drivers/scsi/53c7,8xx.chostdata->issue_queue = (Scsi_Cmnd *) 
hostdata4108drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_QUEUES) 
hostdata4113drivers/scsi/53c7,8xx.cto_schedule_list (host, hostdata, 
hostdata4150drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = 
hostdata4151drivers/scsi/53c7,8xx.c(struct NCR53c7x0_hostdata *) host->hostdata;
hostdata4161drivers/scsi/53c7,8xx.cis_8xx_chip = ((unsigned) (hostdata->chip - 800)) < 100;
hostdata4171drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_INTR) 
hostdata4179drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_INTR) {
hostdata4199drivers/scsi/53c7,8xx.chostdata->idle = 1;
hostdata4200drivers/scsi/53c7,8xx.chostdata->expecting_sto = 0;
hostdata4202drivers/scsi/53c7,8xx.cif (hostdata->test_running) {
hostdata4203drivers/scsi/53c7,8xx.chostdata->test_running = 0;
hostdata4204drivers/scsi/53c7,8xx.chostdata->test_completed = 3;
hostdata4209drivers/scsi/53c7,8xx.chostdata->intrs = 0;
hostdata4228drivers/scsi/53c7,8xx.chostdata->dsp = (u32 *) hostdata->schedule;
hostdata4229drivers/scsi/53c7,8xx.chostdata->dsp_changed = 1;
hostdata4244drivers/scsi/53c7,8xx.chostdata->dsp = hostdata->script + hostdata->E_initiator_abort /
hostdata4246drivers/scsi/53c7,8xx.chostdata->dsp_changed = 1; 
hostdata4254drivers/scsi/53c7,8xx.cif ((hostdata->chip / 100) == 8) {
hostdata4274drivers/scsi/53c7,8xx.chostdata->dsp = hostdata->script + hostdata->E_initiator_abort /
hostdata4276drivers/scsi/53c7,8xx.chostdata->dsp_changed = 1;
hostdata4282drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_INTR)
hostdata4298drivers/scsi/53c7,8xx.cif (!hostdata->dstat_valid) {
hostdata4299drivers/scsi/53c7,8xx.chostdata->dstat = NCR53c7x0_read8(DSTAT_REG);
hostdata4300drivers/scsi/53c7,8xx.chostdata->dstat_valid = 1;
hostdata4304drivers/scsi/53c7,8xx.cif (!(hostdata->dstat & DSTAT_DFE)) {
hostdata4310drivers/scsi/53c7,8xx.cwhile (!((hostdata->dstat = NCR53c7x0_read8(DSTAT_REG)) &
hostdata4316drivers/scsi/53c7,8xx.chostdata->dstat |= DSTAT_DFE;
hostdata4337drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata;  /* host->hostdata */
hostdata4361drivers/scsi/53c7,8xx.chostdata = (struct NCR53c7x0_hostdata *) host->hostdata;
hostdata4362drivers/scsi/53c7,8xx.chostdata->dsp_changed = 0;
hostdata4369drivers/scsi/53c7,8xx.chostdata->dstat_valid = 0;
hostdata4375drivers/scsi/53c7,8xx.cistat = NCR53c7x0_read8(hostdata->istat);
hostdata4385drivers/scsi/53c7,8xx.cis_8xx_chip = ((unsigned) (hostdata->chip - 800)) < 100;
hostdata4386drivers/scsi/53c7,8xx.cif ((hostdata->options & OPTION_INTFLY) && 
hostdata4396drivers/scsi/53c7,8xx.cNCR53c7x0_write8(hostdata->istat, istat|ISTAT_800_INTF);
hostdata4398drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_INTR)
hostdata4413drivers/scsi/53c7,8xx.c&(hostdata->running_list), cmd = 
hostdata4414drivers/scsi/53c7,8xx.c(struct NCR53c7x0_cmd *) hostdata->running_list; cmd ;
hostdata4444drivers/scsi/53c7,8xx.c--hostdata->busy[tmp->target][tmp->lun];
hostdata4445drivers/scsi/53c7,8xx.ccmd->next = hostdata->free;
hostdata4446drivers/scsi/53c7,8xx.chostdata->free = cmd;
hostdata4450drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_INTR) {
hostdata4457drivers/scsi/53c7,8xx.chostdata->options &= ~OPTION_DEBUG_INTR;
hostdata4484drivers/scsi/53c7,8xx.chostdata->state = STATE_HALTED;
hostdata4486drivers/scsi/53c7,8xx.cif (NCR53c7x0_read8 ((hostdata->chip / 100) == 8 ?
hostdata4501drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_700) {
hostdata4502drivers/scsi/53c7,8xx.ccmd = (struct NCR53c7x0_cmd *) hostdata->current;
hostdata4506drivers/scsi/53c7,8xx.chostdata->running_list; cmd &&
hostdata4507drivers/scsi/53c7,8xx.c(dsa + (hostdata->dsa_start / sizeof(u32))) != 
hostdata4511drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_INTR) {
hostdata4523drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_INTR) 
hostdata4529drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_INTR) 
hostdata4534drivers/scsi/53c7,8xx.cif (!hostdata->dstat_valid) {
hostdata4535drivers/scsi/53c7,8xx.chostdata->dstat = NCR53c7x0_read8(DSTAT_REG);
hostdata4536drivers/scsi/53c7,8xx.chostdata->dstat_valid = 1;
hostdata4540drivers/scsi/53c7,8xx.cif (!(hostdata->dstat & DSTAT_DFE)) {
hostdata4546drivers/scsi/53c7,8xx.cwhile (!((hostdata->dstat = NCR53c7x0_read8(DSTAT_REG)) &
hostdata4553drivers/scsi/53c7,8xx.chostdata->dstat |= DSTAT_DFE;
hostdata4560drivers/scsi/53c7,8xx.cif (hostdata->intrs != -1)
hostdata4561drivers/scsi/53c7,8xx.chostdata->intrs++;
hostdata4563drivers/scsi/53c7,8xx.cif (hostdata->intrs > 40) {
hostdata4569drivers/scsi/53c7,8xx.cif (!hostdata->idle && hostdata->state == STATE_HALTED) {
hostdata4570drivers/scsi/53c7,8xx.cif (!hostdata->dsp_changed) {
hostdata4571drivers/scsi/53c7,8xx.chostdata->dsp = (u32 *) 
hostdata4577drivers/scsi/53c7,8xx.chost->host_no,  virt_to_bus(hostdata->dsp), hostdata->dsp);
hostdata4580drivers/scsi/53c7,8xx.chostdata->state = STATE_RUNNING;
hostdata4581drivers/scsi/53c7,8xx.cNCR53c7x0_write32 (DSP_REG, virt_to_bus(hostdata->dsp));
hostdata4605drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata4606drivers/scsi/53c7,8xx.chost->hostdata;
hostdata4644drivers/scsi/53c7,8xx.cscript = hostdata->abort_script = kmalloc (
hostdata4653drivers/scsi/53c7,8xx.chostdata->dsp = hostdata->script + hostdata->E_initiator_abort /
hostdata4656drivers/scsi/53c7,8xx.chostdata->dsp_changed = 1;
hostdata4675drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata4676drivers/scsi/53c7,8xx.chost->hostdata;
hostdata4687drivers/scsi/53c7,8xx.ccount += (NCR53c7x0_read8 ((hostdata->chip / 100) == 8 ? 
hostdata4690drivers/scsi/53c7,8xx.cif (NCR53c7x0_read8 ((hostdata->chip / 100) == 8 ? 
hostdata4695drivers/scsi/53c7,8xx.csstat = ((hostdata->chip / 100) == 8) ?  NCR53c7x0_read8 (SSTAT0_REG) :
hostdata4783drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata4784drivers/scsi/53c7,8xx.chost->hostdata;
hostdata4845drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_DISCONNECT)
hostdata4859drivers/scsi/53c7,8xx.ccmd->residual[1] = virt_to_bus(hostdata->script)
hostdata4861drivers/scsi/53c7,8xx.c? hostdata->E_other_in : hostdata->E_other_out);
hostdata4886drivers/scsi/53c7,8xx.chostdata->dsp = cmd->residual;
hostdata4887drivers/scsi/53c7,8xx.chostdata->dsp_changed = 1;
hostdata4893drivers/scsi/53c7,8xx.c} else if (dsp == (hostdata->script + hostdata->E_select_msgout / 4)) {
hostdata4904drivers/scsi/53c7,8xx.chostdata->dsp = dsp + 2 /* two _words_ */;
hostdata4905drivers/scsi/53c7,8xx.chostdata->dsp_changed = 1;
hostdata4912drivers/scsi/53c7,8xx.chostdata->dsp = hostdata->script + hostdata->E_msg_in / 
hostdata4914drivers/scsi/53c7,8xx.chostdata->dsp_changed = 1;
hostdata4926drivers/scsi/53c7,8xx.c} else if (dsp == hostdata->script + hostdata->E_cmdout_cmdout / sizeof 
hostdata4928drivers/scsi/53c7,8xx.chostdata->dsp = hostdata->script + hostdata->E_data_transfer /
hostdata4930drivers/scsi/53c7,8xx.chostdata->dsp_changed = 1;
hostdata4934drivers/scsi/53c7,8xx.c} else if (dsp == hostdata->script + hostdata->E_reply_message) {
hostdata4944drivers/scsi/53c7,8xx.cif (!hostdata->dstat_valid) {
hostdata4945drivers/scsi/53c7,8xx.chostdata->dstat = NCR53c7x0_read8(DSTAT_REG);
hostdata4946drivers/scsi/53c7,8xx.chostdata->dstat_valid = 1;
hostdata4948drivers/scsi/53c7,8xx.cif (!(hostdata->dstat & DSTAT_DFE)) {
hostdata4954drivers/scsi/53c7,8xx.cwhile (!((hostdata->dstat = NCR53c7x0_read8(DSTAT_REG)) &
hostdata4960drivers/scsi/53c7,8xx.chostdata->dstat |= DSTAT_DFE;
hostdata4978drivers/scsi/53c7,8xx.cif (hostdata->dsp_changed) {
hostdata4979drivers/scsi/53c7,8xx.cprintk("scsi%d: new dsp 0x%p\n", host->host_no, hostdata->dsp);
hostdata4980drivers/scsi/53c7,8xx.cprint_insn (host, hostdata->dsp, "", 1);
hostdata4999drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata5000drivers/scsi/53c7,8xx.chost->hostdata;
hostdata5034drivers/scsi/53c7,8xx.cif ((hostdata->chip / 100) == 8) {
hostdata5037drivers/scsi/53c7,8xx.ctmp = pcibios_read_config_word (hostdata->pci_bus, 
hostdata5038drivers/scsi/53c7,8xx.chostdata->pci_device_fn, PCI_STATUS, &pci_status);
hostdata5100drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata5101drivers/scsi/53c7,8xx.chost->hostdata;
hostdata5111drivers/scsi/53c7,8xx.cif (!hostdata->dstat_valid) {
hostdata5112drivers/scsi/53c7,8xx.chostdata->dstat = NCR53c7x0_read8(DSTAT_REG);
hostdata5113drivers/scsi/53c7,8xx.chostdata->dstat_valid = 1;
hostdata5116drivers/scsi/53c7,8xx.cdstat = hostdata->dstat;
hostdata5118drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_INTR)
hostdata5141drivers/scsi/53c7,8xx.cif ((hostdata->options & OPTION_700) && (hostdata->state ==
hostdata5159drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_TRACE) {
hostdata5160drivers/scsi/53c7,8xx.c} else if (hostdata->options & OPTION_DEBUG_SINGLE) {
hostdata5201drivers/scsi/53c7,8xx.cif (((dsp >= (hostdata->script + hostdata->E_select / sizeof(u32))) &&
hostdata5202drivers/scsi/53c7,8xx.c(dsp <= (hostdata->script + hostdata->E_select_msgout / 
hostdata5203drivers/scsi/53c7,8xx.csizeof(u32) + 8))) || (hostdata->test_running == 2)) {
hostdata5204drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_INTR) 
hostdata5207drivers/scsi/53c7,8xx.cif (hostdata->expecting_iid) {
hostdata5208drivers/scsi/53c7,8xx.chostdata->expecting_iid = 0;
hostdata5209drivers/scsi/53c7,8xx.chostdata->idle = 1;
hostdata5210drivers/scsi/53c7,8xx.cif (hostdata->test_running == 2) {
hostdata5211drivers/scsi/53c7,8xx.chostdata->test_running = 0;
hostdata5212drivers/scsi/53c7,8xx.chostdata->test_completed = 3;
hostdata5216drivers/scsi/53c7,8xx.chostdata->expecting_sto = 1;
hostdata5235drivers/scsi/53c7,8xx.cif (!(hostdata->options & OPTION_NO_PRINT_RACE))
hostdata5239drivers/scsi/53c7,8xx.chostdata->options |= OPTION_NO_PRINT_RACE;
hostdata5268drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_INTR)
hostdata5270drivers/scsi/53c7,8xx.cswitch ((tmp = hostdata->dstat_sir_intr (host, cmd))) {
hostdata5295drivers/scsi/53c7,8xx.cif ((hostdata->chip / 100) == 8 && (dstat & DSTAT_800_MDPE)) {
hostdata5421drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = host ? (struct NCR53c7x0_hostdata *) 
hostdata5422drivers/scsi/53c7,8xx.chost->hostdata : NULL;
hostdata5435drivers/scsi/53c7,8xx.c} else if (!hostdata) {
hostdata5454drivers/scsi/53c7,8xx.cif (NCR53c7x0_read8(hostdata->istat) & 
hostdata5456drivers/scsi/53c7,8xx.c(hostdata->chip / 100 == 8 ? ISTAT_800_INTF : 0))) {
hostdata5483drivers/scsi/53c7,8xx.cfor (me = (Scsi_Cmnd *) hostdata->issue_queue, 
hostdata5484drivers/scsi/53c7,8xx.clast = (Scsi_Cmnd **) &(hostdata->issue_queue);
hostdata5491drivers/scsi/53c7,8xx.c((struct NCR53c7x0_cmd *)me->host_scribble)->next = hostdata->free;
hostdata5492drivers/scsi/53c7,8xx.chostdata->free = (struct NCR53c7x0_cmd *) me->host_scribble;
hostdata5509drivers/scsi/53c7,8xx.cfor (curr = (struct NCR53c7x0_cmd *) hostdata->running_list, 
hostdata5510drivers/scsi/53c7,8xx.cprev = (struct NCR53c7x0_cmd **) &(hostdata->running_list);
hostdata5518drivers/scsi/53c7,8xx.ccurr->next = (struct NCR53c7x0_cmd *) hostdata->free;
hostdata5520drivers/scsi/53c7,8xx.chostdata->free = curr;
hostdata5541drivers/scsi/53c7,8xx.ccurr->next = hostdata->free;
hostdata5542drivers/scsi/53c7,8xx.chostdata->free = curr;
hostdata5558drivers/scsi/53c7,8xx.c--hostdata->busy[cmd->target][cmd->lun];
hostdata5604drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = 
hostdata5605drivers/scsi/53c7,8xx.c(struct NCR53c7x0_hostdata *) host->hostdata;
hostdata5629drivers/scsi/53c7,8xx.cc->next = hostdata->free;
hostdata5630drivers/scsi/53c7,8xx.chostdata->free = c;
hostdata5638drivers/scsi/53c7,8xx.chostdata->soft_reset (host);
hostdata5639drivers/scsi/53c7,8xx.cif (hostdata->resets == 0) 
hostdata5641drivers/scsi/53c7,8xx.celse if (hostdata->resets != -1)
hostdata5642drivers/scsi/53c7,8xx.c--hostdata->resets;
hostdata5673drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = 
hostdata5674drivers/scsi/53c7,8xx.c(struct NCR53c7x0_hostdata *) cmd->host->hostdata;
hostdata5713drivers/scsi/53c7,8xx.c} else if ((insn >= hostdata->script + 
hostdata5714drivers/scsi/53c7,8xx.chostdata->E_data_transfer / sizeof(u32)) &&
hostdata5715drivers/scsi/53c7,8xx.c(insn <= hostdata->script +
hostdata5716drivers/scsi/53c7,8xx.chostdata->E_end_data_transfer / sizeof(u32))) {
hostdata5779drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata5780drivers/scsi/53c7,8xx.chost->hostdata;
hostdata5785drivers/scsi/53c7,8xx.cif (check_address ((unsigned long) dsa, hostdata->dsa_end - 
hostdata5786drivers/scsi/53c7,8xx.chostdata->dsa_start) == -1) {
hostdata5793drivers/scsi/53c7,8xx.chost->host_no,  virt_to_bus (dsa), dsa, hostdata->dsa_msgout,
hostdata5794drivers/scsi/53c7,8xx.cdsa[hostdata->dsa_msgout / sizeof(u32)],
hostdata5795drivers/scsi/53c7,8xx.cdsa[hostdata->dsa_msgout / sizeof(u32) + 1],
hostdata5796drivers/scsi/53c7,8xx.cbus_to_virt (dsa[hostdata->dsa_msgout / sizeof(u32) + 1]));
hostdata5804drivers/scsi/53c7,8xx.cif (dsa[hostdata->dsa_msgout / sizeof(u32)] < 
hostdata5805drivers/scsi/53c7,8xx.csizeof (hostdata->free->select)) 
hostdata5806drivers/scsi/53c7,8xx.cfor (i = dsa[hostdata->dsa_msgout / sizeof(u32)],
hostdata5807drivers/scsi/53c7,8xx.cptr = bus_to_virt (dsa[hostdata->dsa_msgout / sizeof(u32) + 1]); 
hostdata5818drivers/scsi/53c7,8xx.chostdata->dsa_select, dsa[hostdata->dsa_select / sizeof(u32)]);
hostdata5819drivers/scsi/53c7,8xx.ccmd = (Scsi_Cmnd *) bus_to_virt(dsa[hostdata->dsa_cmnd / sizeof(u32)]);
hostdata5820drivers/scsi/53c7,8xx.cprintk("        + %d : dsa_cmnd = 0x%x ", hostdata->dsa_cmnd,
hostdata5828drivers/scsi/53c7,8xx.cprintk("        + %d : dsa_next = 0x%x\n", hostdata->dsa_next,
hostdata5829drivers/scsi/53c7,8xx.cdsa[hostdata->dsa_next / sizeof(u32)]);
hostdata5834drivers/scsi/53c7,8xx.chostdata->sync[cmd->target].sxfer_sanity,
hostdata5835drivers/scsi/53c7,8xx.chostdata->sync[cmd->target].scntl3_sanity);
hostdata5836drivers/scsi/53c7,8xx.cfor (i = 0; i < (sizeof(hostdata->sync[cmd->target].script) / 4); ++i)
hostdata5837drivers/scsi/53c7,8xx.cprintk ("0x%x ", hostdata->sync[cmd->target].script[i]);
hostdata5853drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata5854drivers/scsi/53c7,8xx.chost->hostdata;
hostdata5863drivers/scsi/53c7,8xx.cfor (left = host->can_queue, cmd = (Scsi_Cmnd *) hostdata->issue_queue; 
hostdata5898drivers/scsi/53c7,8xx.cfor (left = host->can_queue, current = hostdata->schedule;
hostdata5900drivers/scsi/53c7,8xx.cif (current[0] != hostdata->NOP_insn) 
hostdata5903drivers/scsi/53c7,8xx.c(hostdata->E_dsa_code_begin - 
hostdata5904drivers/scsi/53c7,8xx.chostdata->E_dsa_code_template)), "");
hostdata5910drivers/scsi/53c7,8xx.cdsa = bus_to_virt (hostdata->reconnect_dsa_head);
hostdata5922drivers/scsi/53c7,8xx.cnext_dsa = bus_to_virt(dsa[hostdata->dsa_next / sizeof(u32)]);
hostdata5936drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = 
hostdata5937drivers/scsi/53c7,8xx.c(struct NCR53c7x0_hostdata *) host->hostdata;
hostdata5962drivers/scsi/53c7,8xx.c(int) NCR53c7x0_read8(hostdata->dmode),
hostdata5968drivers/scsi/53c7,8xx.csstat2_to_phase(NCR53c7x0_read8 (((hostdata->chip / 100) == 8) ?
hostdata5970drivers/scsi/53c7,8xx.c(NCR53c7x0_read8 ((hostdata->chip / 100) == 8 ? 
hostdata6002drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata6003drivers/scsi/53c7,8xx.chost->hostdata;
hostdata6010drivers/scsi/53c7,8xx.chostdata->soft_reset(host);
hostdata6026drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata6027drivers/scsi/53c7,8xx.chost->hostdata;
hostdata6033drivers/scsi/53c7,8xx.cif ((hostdata->chip / 100) == 8) {
hostdata6040drivers/scsi/53c7,8xx.cif ((hostdata->chip / 100) == 8) {
hostdata6053drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata6054drivers/scsi/53c7,8xx.chost->hostdata;
hostdata6060drivers/scsi/53c7,8xx.cif (hostdata->soft_reset)
hostdata6061drivers/scsi/53c7,8xx.chostdata->soft_reset (host);
hostdata6088drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata6089drivers/scsi/53c7,8xx.chost->hostdata;
hostdata6094drivers/scsi/53c7,8xx.cfor (c = (struct NCR53c7x0_cmd *) hostdata->running_list; c; 
hostdata6107drivers/scsi/53c7,8xx.cc->next = hostdata->free;
hostdata6108drivers/scsi/53c7,8xx.chostdata->free = c;
hostdata6113drivers/scsi/53c7,8xx.cfor (i = 0, current = (u32 *) hostdata->schedule; 
hostdata6115drivers/scsi/53c7,8xx.ccurrent[0] = hostdata->NOP_insn;
hostdata6118drivers/scsi/53c7,8xx.chostdata->current = NULL;
hostdata6122drivers/scsi/53c7,8xx.cfor (tmp = (Scsi_Cmnd *) hostdata->issue_queue; tmp; tmp = tmp->next) {
hostdata6132drivers/scsi/53c7,8xx.chostdata->issue_queue = NULL;
hostdata6154drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata6155drivers/scsi/53c7,8xx.chost->hostdata;
hostdata6160drivers/scsi/53c7,8xx.cif (hostdata->state != STATE_HALTED)
hostdata6164drivers/scsi/53c7,8xx.chostdata->state = STATE_DISABLED;
hostdata6193drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata6194drivers/scsi/53c7,8xx.chost->hostdata;
hostdata6207drivers/scsi/53c7,8xx.cNCR53c7x0_write8(hostdata->istat, ISTAT_ABRT);
hostdata6210drivers/scsi/53c7,8xx.cistat = NCR53c7x0_read8 (hostdata->istat);
hostdata6212drivers/scsi/53c7,8xx.cif ((hostdata->chip / 100) == 8) {
hostdata6223drivers/scsi/53c7,8xx.cNCR53c7x0_write8(hostdata->istat, 0);
hostdata6238drivers/scsi/53c7,8xx.chostdata->state = STATE_HALTED;
hostdata6277drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata6278drivers/scsi/53c7,8xx.chost->hostdata;
hostdata6282drivers/scsi/53c7,8xx.cif (hostdata->events) {
hostdata6283drivers/scsi/53c7,8xx.cif (count > hostdata->event_size)
hostdata6284drivers/scsi/53c7,8xx.ccount = hostdata->event_size;
hostdata6285drivers/scsi/53c7,8xx.cfor (i = hostdata->event_index; count > 0; 
hostdata6286drivers/scsi/53c7,8xx.ci = (i ? i - 1 : hostdata->event_size -1), --count) {
hostdata6296drivers/scsi/53c7,8xx.cevent = hostdata->events[i];
hostdata6298drivers/scsi/53c7,8xx.cmemcpy ((void *) &event, (void *) &(hostdata->events[i]),
hostdata6341drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = 
hostdata6342drivers/scsi/53c7,8xx.c(struct NCR53c7x0_hostdata *) host->hostdata;
hostdata6360drivers/scsi/53c7,8xx.cfor (cmd = (struct NCR53c7x0_cmd *) hostdata->free; cmd; cmd = tmp, 
hostdata6361drivers/scsi/53c7,8xx.c--hostdata->num_cmds) {
hostdata6371drivers/scsi/53c7,8xx.cif (hostdata->num_cmds)
hostdata6373drivers/scsi/53c7,8xx.chost->host_no, hostdata->num_cmds);
hostdata6374drivers/scsi/53c7,8xx.cif (hostdata->events) 
hostdata6375drivers/scsi/53c7,8xx.cvfree ((void *)hostdata->events);
hostdata1505drivers/scsi/53c7,8xx.hhost->hostdata)-> options & OPTION_MEMORY_MAPPED 
hostdata1542drivers/scsi/53c7,8xx.hif (hostdata->options & OPTION_DEBUG_FIXUP)     \
hostdata1572drivers/scsi/53c7,8xx.h(dsa)[(hostdata->##symbol - hostdata->dsa_start) / sizeof(u32)  \
hostdata1574drivers/scsi/53c7,8xx.hif (hostdata->options & OPTION_DEBUG_DSA)      \
hostdata1576drivers/scsi/53c7,8xx.h#dsa, #symbol, hostdata->##symbol,       \
hostdata164drivers/scsi/BusLogic.c(BusLogic_HostAdapter_T *) Host->hostdata;
hostdata1617drivers/scsi/BusLogic.cHostAdapter = (BusLogic_HostAdapter_T *) Host->hostdata;
hostdata1684drivers/scsi/BusLogic.c(BusLogic_HostAdapter_T *) Host->hostdata;
hostdata2027drivers/scsi/BusLogic.c(BusLogic_HostAdapter_T *) Command->host->hostdata;
hostdata2194drivers/scsi/BusLogic.c(BusLogic_HostAdapter_T *) Command->host->hostdata;
hostdata2430drivers/scsi/BusLogic.c(BusLogic_HostAdapter_T *) Command->host->hostdata;
hostdata2477drivers/scsi/BusLogic.c(BusLogic_HostAdapter_T *) Disk->device->host->hostdata;
hostdata609drivers/scsi/NCR5380.cstruct NCR5380_hostdata *hostdata = (struct NCR5380_hostdata *)
hostdata610drivers/scsi/NCR5380.cinstance->hostdata;
hostdata634drivers/scsi/NCR5380.cNCR5380_write(SELECT_ENABLE_REG, hostdata->id_mask);
hostdata635drivers/scsi/NCR5380.cNCR5380_write(OUTPUT_DATA_REG, hostdata->id_mask);
hostdata697drivers/scsi/NCR5380.cif (hostdata->flags & FLAG_NCR53C400) {
hostdata713drivers/scsi/NCR5380.cstruct NCR5380_hostdata *hostdata = (struct NCR5380_hostdata *) 
hostdata714drivers/scsi/NCR5380.cinstance->hostdata;
hostdata727drivers/scsi/NCR5380.cif (!hostdata->connected) {
hostdata731drivers/scsi/NCR5380.cprint_Scsi_Cmnd ((Scsi_Cmnd *) hostdata->connected);
hostdata736drivers/scsi/NCR5380.cfor (ptr = (Scsi_Cmnd *) hostdata->issue_queue; ptr; 
hostdata742drivers/scsi/NCR5380.cfor (ptr = (Scsi_Cmnd *) hostdata->disconnected_queue; ptr; 
hostdata766drivers/scsi/NCR5380.cstruct NCR5380_hostdata *hostdata = (struct NCR5380_hostdata *) 
hostdata767drivers/scsi/NCR5380.cinstance->hostdata;
hostdata781drivers/scsi/NCR5380.chostdata->aborted = 0;
hostdata782drivers/scsi/NCR5380.chostdata->id_mask = 1 << instance->this_id;
hostdata783drivers/scsi/NCR5380.cfor (i = hostdata->id_mask; i <= 0x80; i <<= 1)
hostdata784drivers/scsi/NCR5380.cif (i > hostdata->id_mask)
hostdata785drivers/scsi/NCR5380.chostdata->id_higher_mask |= i;
hostdata787drivers/scsi/NCR5380.chostdata->busy[i] = 0;
hostdata789drivers/scsi/NCR5380.chostdata->dmalen = 0;
hostdata791drivers/scsi/NCR5380.chostdata->targets_present = 0;
hostdata792drivers/scsi/NCR5380.chostdata->connected = NULL;
hostdata793drivers/scsi/NCR5380.chostdata->issue_queue = NULL;
hostdata794drivers/scsi/NCR5380.chostdata->disconnected_queue = NULL;
hostdata795drivers/scsi/NCR5380.chostdata->flags = FLAG_CHECK_LAST_BYTE_SENT | flags;
hostdata804drivers/scsi/NCR5380.chostdata->time_expires = 0;
hostdata805drivers/scsi/NCR5380.chostdata->next_timer = NULL;
hostdata820drivers/scsi/NCR5380.cif (hostdata->flags & FLAG_NCR53C400) {
hostdata849drivers/scsi/NCR5380.cstruct NCR5380_hostdata *hostdata = (struct NCR5380_hostdata *)
hostdata850drivers/scsi/NCR5380.ccmd->host->hostdata;
hostdata885drivers/scsi/NCR5380.cif (!(hostdata->issue_queue) || (cmd->cmnd[0] == REQUEST_SENSE)) {
hostdata886drivers/scsi/NCR5380.ccmd->host_scribble = (unsigned char *) hostdata->issue_queue;
hostdata887drivers/scsi/NCR5380.chostdata->issue_queue = cmd;
hostdata889drivers/scsi/NCR5380.cfor (tmp = (Scsi_Cmnd *) hostdata->issue_queue; tmp->host_scribble; 
hostdata918drivers/scsi/NCR5380.cstruct NCR5380_hostdata *hostdata;
hostdata938drivers/scsi/NCR5380.chostdata = (struct NCR5380_hostdata *) instance->hostdata;
hostdata940drivers/scsi/NCR5380.cif (!hostdata->connected) {
hostdata948drivers/scsi/NCR5380.cfor (tmp = (Scsi_Cmnd *) hostdata->issue_queue, 
hostdata953drivers/scsi/NCR5380.cif (!(hostdata->busy[tmp->target] & (1 << tmp->lun))) {
hostdata957drivers/scsi/NCR5380.chostdata->issue_queue = (Scsi_Cmnd *) tmp->host_scribble;
hostdata987drivers/scsi/NCR5380.chostdata->issue_queue;
hostdata988drivers/scsi/NCR5380.chostdata->issue_queue = tmp;
hostdata998drivers/scsi/NCR5380.cif (hostdata->connected 
hostdata1000drivers/scsi/NCR5380.c&& !hostdata->dmalen
hostdata1003drivers/scsi/NCR5380.c&& (!hostdata->time_expires || hostdata->time_expires >= jiffies)
hostdata1093drivers/scsi/NCR5380.cif (!hostdata->connected) 
hostdata1097drivers/scsi/NCR5380.ctransfered = (hostdata->dmalen - NCR5380_dma_residual(instance));
hostdata1098drivers/scsi/NCR5380.chostdata->connected->SCp.this_residual -= transferred;
hostdata1099drivers/scsi/NCR5380.chostdata->connected->SCp.ptr += transferred;
hostdata1100drivers/scsi/NCR5380.chostdata->dmalen = 0;
hostdata1168drivers/scsi/NCR5380.cstruct NCR5380_hostdata *hostdata = (struct NCR5380_hostdata*) 
hostdata1169drivers/scsi/NCR5380.cinstance->hostdata;
hostdata1176drivers/scsi/NCR5380.chostdata->restart_select = 0;
hostdata1196drivers/scsi/NCR5380.cNCR5380_write(OUTPUT_DATA_REG, hostdata->id_mask);
hostdata1213drivers/scsi/NCR5380.cNCR5380_write(SELECT_ENABLE_REG, hostdata->id_mask);
hostdata1238drivers/scsi/NCR5380.c(NCR5380_read(CURRENT_SCSI_DATA_REG) & hostdata->id_higher_mask) ||
hostdata1279drivers/scsi/NCR5380.cNCR5380_write(OUTPUT_DATA_REG, (hostdata->id_mask | (1 << cmd->target)));
hostdata1343drivers/scsi/NCR5380.cNCR5380_write(SELECT_ENABLE_REG, hostdata->id_mask);
hostdata1351drivers/scsi/NCR5380.cif (hostdata->targets_present & (1 << cmd->target)) {
hostdata1353drivers/scsi/NCR5380.cif (hostdata->restart_select)
hostdata1358drivers/scsi/NCR5380.cNCR5380_write(SELECT_ENABLE_REG, hostdata->id_mask);
hostdata1363drivers/scsi/NCR5380.cNCR5380_write(SELECT_ENABLE_REG, hostdata->id_mask);
hostdata1368drivers/scsi/NCR5380.cNCR5380_write(SELECT_ENABLE_REG, hostdata->id_mask);
hostdata1372drivers/scsi/NCR5380.chostdata->targets_present |= (1 << cmd->target);
hostdata1411drivers/scsi/NCR5380.chostdata->last_message = SIMPLE_QUEUE_TAG;
hostdata1428drivers/scsi/NCR5380.chostdata->connected = cmd;
hostdata1432drivers/scsi/NCR5380.chostdata->busy[cmd->target] |= (1 << cmd->lun);
hostdata1618drivers/scsi/NCR5380.cstruct NCR5380_hostdata *hostdata = (struct NCR5380_hostdata *) 
hostdata1619drivers/scsi/NCR5380.cinstance->hostdata;
hostdata1638drivers/scsi/NCR5380.chostdata->dma_len = (p & SR_IO) ?
hostdata1836drivers/scsi/NCR5380.cif (!(hostdata->flags & FLAG_HAS_LAST_BYTE_SENT)) {
hostdata1861drivers/scsi/NCR5380.cif (hostdata->flags & FLAG_CHECK_LAST_BYTE_SENT) {
hostdata1862drivers/scsi/NCR5380.chostdata->flags &= ~FLAG_CHECK_LAST_BYTE_SENT;
hostdata1864drivers/scsi/NCR5380.chostdata->flags |= FLAG_HAS_LAST_BYTE_SENT;
hostdata1912drivers/scsi/NCR5380.cstruct NCR5380_hostdata *hostdata = (struct NCR5380_hostdata *) 
hostdata1913drivers/scsi/NCR5380.cinstance->hostdata;
hostdata1922drivers/scsi/NCR5380.cScsi_Cmnd *cmd = (Scsi_Cmnd *) hostdata->connected;
hostdata2078drivers/scsi/NCR5380.ccmd = hostdata->connected;
hostdata2085drivers/scsi/NCR5380.chostdata->connected = NULL;
hostdata2090drivers/scsi/NCR5380.chostdata->busy[cmd->target] &= ~(1 << cmd->lun);
hostdata2134drivers/scsi/NCR5380.chostdata->issue_queue;
hostdata2135drivers/scsi/NCR5380.chostdata->issue_queue = (Scsi_Cmnd *) cmd;
hostdata2144drivers/scsi/NCR5380.cNCR5380_write(SELECT_ENABLE_REG, hostdata->id_mask);
hostdata2151drivers/scsi/NCR5380.cwhile ((NCR5380_read(STATUS_REG) & SR_BSY) && !hostdata->connected)
hostdata2157drivers/scsi/NCR5380.cswitch (hostdata->last_message) {
hostdata2162drivers/scsi/NCR5380.chostdata->busy[cmd->target] |= (1 << cmd->lun);
hostdata2173drivers/scsi/NCR5380.chostdata->disconnected_queue;
hostdata2174drivers/scsi/NCR5380.chostdata->connected = NULL;
hostdata2175drivers/scsi/NCR5380.chostdata->disconnected_queue = cmd;
hostdata2189drivers/scsi/NCR5380.cNCR5380_write(SELECT_ENABLE_REG, hostdata->id_mask);
hostdata2191drivers/scsi/NCR5380.cwhile ((NCR5380_read(STATUS_REG) & SR_BSY) && !hostdata->connected)
hostdata2300drivers/scsi/NCR5380.chostdata->last_message = msgout;
hostdata2303drivers/scsi/NCR5380.chostdata->busy[cmd->target] &= ~(1 << cmd->lun);
hostdata2304drivers/scsi/NCR5380.chostdata->connected = NULL;
hostdata2307drivers/scsi/NCR5380.cNCR5380_write(SELECT_ENABLE_REG, hostdata->id_mask);
hostdata2324drivers/scsi/NCR5380.chostdata->time_expires = jiffies + USLEEP_SLEEP;
hostdata2327drivers/scsi/NCR5380.chostdata->time_expires);
hostdata2349drivers/scsi/NCR5380.cif (!disconnect && hostdata->time_expires && jiffies > 
hostdata2350drivers/scsi/NCR5380.chostdata->time_expires) {
hostdata2351drivers/scsi/NCR5380.chostdata->time_expires = jiffies + USLEEP_SLEEP;
hostdata2354drivers/scsi/NCR5380.chostdata->time_expires);
hostdata2378drivers/scsi/NCR5380.cstruct NCR5380_hostdata *hostdata = (struct NCR5380_hostdata *)
hostdata2379drivers/scsi/NCR5380.cinstance->hostdata;
hostdata2398drivers/scsi/NCR5380.chostdata->restart_select = 1;
hostdata2400drivers/scsi/NCR5380.ctarget_mask = NCR5380_read(CURRENT_SCSI_DATA_REG) & ~(hostdata->id_mask);
hostdata2458drivers/scsi/NCR5380.cfor (tmp = (Scsi_Cmnd *) hostdata->disconnected_queue, prev = NULL; 
hostdata2468drivers/scsi/NCR5380.chostdata->disconnected_queue = (Scsi_Cmnd *) tmp->host_scribble;
hostdata2497drivers/scsi/NCR5380.chostdata->connected = tmp;
hostdata2520drivers/scsi/NCR5380.cstruct NCR5380_hostdata *hostdata = (struct NCR5380_hostdata *
hostdata2521drivers/scsi/NCR5380.cinstance->hostdata);
hostdata2545drivers/scsi/NCR5380.cif (!(hostdata->connected->SCp.phase & SR_CD)) {
hostdata2547drivers/scsi/NCR5380.chostdata->connected->SCp.this_residual -= transferred;
hostdata2548drivers/scsi/NCR5380.chostdata->connected->SCp.ptr += transferred;
hostdata2576drivers/scsi/NCR5380.cstruct NCR5380_hostdata *hostdata = (struct NCR5380_hostdata *)
hostdata2577drivers/scsi/NCR5380.cinstance->hostdata;
hostdata2603drivers/scsi/NCR5380.cif (hostdata->connected == cmd) {
hostdata2607drivers/scsi/NCR5380.chostdata->aborted = 1;
hostdata2633drivers/scsi/NCR5380.cfor (prev = (Scsi_Cmnd **) &(hostdata->issue_queue), 
hostdata2634drivers/scsi/NCR5380.ctmp = (Scsi_Cmnd *) hostdata->issue_queue;
hostdata2661drivers/scsi/NCR5380.cif (hostdata->connected) {
hostdata2694drivers/scsi/NCR5380.cfor (tmp = (Scsi_Cmnd *) hostdata->disconnected_queue; tmp; 
hostdata2717drivers/scsi/NCR5380.cfor (prev = (Scsi_Cmnd **) &(hostdata->disconnected_queue), 
hostdata2718drivers/scsi/NCR5380.ctmp = (Scsi_Cmnd *) hostdata->disconnected_queue;
hostdata340drivers/scsi/aha152x.c#define HOSTDATA(shpnt)   ((struct aha152x_hostdata *) &shpnt->hostdata)
hostdata113drivers/scsi/aha1542.c#define HOSTDATA(host) ((struct aha1542_hostdata *) &host->hostdata)
hostdata2197drivers/scsi/aic7xxx.cp = (struct aic7xxx_host *) aic7xxx_boards[irq]->hostdata;
hostdata2211drivers/scsi/aic7xxx.cp = (struct aic7xxx_host *) p->next->hostdata;
hostdata2229drivers/scsi/aic7xxx.cp = (struct aic7xxx_host *) aic7xxx_boards[irq]->hostdata;
hostdata3868drivers/scsi/aic7xxx.cp = (struct aic7xxx_host *) host->hostdata;
hostdata4557drivers/scsi/aic7xxx.cp = (struct aic7xxx_host *) cmd->host->hostdata;
hostdata4881drivers/scsi/aic7xxx.cp = (struct aic7xxx_host *) cmd->host->hostdata;
hostdata5011drivers/scsi/aic7xxx.cp = (struct aic7xxx_host *) disk->device->host->hostdata;
hostdata97drivers/scsi/aic7xxx_proc.cwhile ((HBAptr->hostdata != NULL) &&
hostdata98drivers/scsi/aic7xxx_proc.c((HBAptr = ((struct aic7xxx_host *) HBAptr->hostdata)->next) != NULL))
hostdata127drivers/scsi/aic7xxx_proc.cp = (struct aic7xxx_host *) HBAptr->hostdata;
hostdata322drivers/scsi/eata.c#define HD(board) ((struct hostdata *) &sh[board]->hostdata)
hostdata479drivers/scsi/eata.csh[j] = scsi_register(tpnt, sizeof(struct hostdata));
hostdata503drivers/scsi/eata.cmemset(HD(j), 0, sizeof(struct hostdata));
hostdata619drivers/scsi/eata.cj = ((struct hostdata *) SCpnt->host->hostdata)->board_number;
hostdata721drivers/scsi/eata.cj = ((struct hostdata *) SCarg->host->hostdata)->board_number;
hostdata782drivers/scsi/eata.cj = ((struct hostdata *) SCarg->host->hostdata)->board_number;
hostdata350drivers/scsi/eata_dma.chostdata *hd;
hostdata854drivers/scsi/eata_dma.chostdata *hd;
hostdata946drivers/scsi/eata_dma.csize = sizeof(hostdata) + ((sizeof(struct eata_ccb) + sizeof(long)) 
hostdata92drivers/scsi/eata_generic.h#define HD(cmd)   ((hostdata *)&(cmd->host->hostdata))
hostdata94drivers/scsi/eata_generic.h#define SD(host) ((hostdata *)&(host->hostdata))
hostdata131drivers/scsi/eata_pio.chostdata *hd;
hostdata285drivers/scsi/eata_pio.chostdata *hd;
hostdata683drivers/scsi/eata_pio.chostdata *hd;
hostdata729drivers/scsi/eata_pio.csize = sizeof(hostdata) + (sizeof(struct eata_ccb) * ntohs(gc->queuesiz));
hostdata308drivers/scsi/hosts.hunsigned long hostdata[0];  /* Used for storage of host specific stuff */
hostdata166drivers/scsi/scsi.hvoid *hostdata;                 /* available to low-level driver */
hostdata287drivers/scsi/u14-34f.c#define HD(board) ((struct hostdata *) &sh[board]->hostdata)
hostdata422drivers/scsi/u14-34f.csh[j] = scsi_register(tpnt, sizeof(struct hostdata));
hostdata459drivers/scsi/u14-34f.cmemset(HD(j), 0, sizeof(struct hostdata));
hostdata573drivers/scsi/u14-34f.cj = ((struct hostdata *) SCpnt->host->hostdata)->board_number;
hostdata664drivers/scsi/u14-34f.cj = ((struct hostdata *) SCarg->host->hostdata)->board_number;
hostdata725drivers/scsi/u14-34f.cj = ((struct hostdata *) SCarg->host->hostdata)->board_number;
hostdata905drivers/scsi/wd7000.cAdapter *host = (Adapter *) SCpnt->host->hostdata;
hostdata1146drivers/scsi/wd7000.chost = (Adapter *) sh->hostdata;
hostdata1196drivers/scsi/wd7000.cAdapter *host = (Adapter *) SCpnt->host->hostdata;