taglinefilesource code
hostdata410drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata411drivers/scsi/53c7,8xx.chost->hostdata;
hostdata415drivers/scsi/53c7,8xx.cswitch (hostdata->chip) {
hostdata420drivers/scsi/53c7,8xx.chostdata->dstat_sir_intr = NCR53c8x0_dstat_sir_intr;
hostdata421drivers/scsi/53c7,8xx.chostdata->init_save_regs = NULL;
hostdata422drivers/scsi/53c7,8xx.chostdata->dsa_fixup = NCR53c8xx_dsa_fixup;
hostdata423drivers/scsi/53c7,8xx.chostdata->init_fixup = NCR53c8x0_init_fixup;
hostdata424drivers/scsi/53c7,8xx.chostdata->soft_reset = NCR53c8x0_soft_reset;
hostdata425drivers/scsi/53c7,8xx.chostdata->run_tests = NCR53c8xx_run_tests;
hostdata427drivers/scsi/53c7,8xx.chostdata->scsi_clock = 40000000;
hostdata431drivers/scsi/53c7,8xx.chost->host_no, hostdata->chip);
hostdata437drivers/scsi/53c7,8xx.chostdata->NCR53c7xx_zero = 0;      
hostdata438drivers/scsi/53c7,8xx.chostdata->NCR53c7xx_msg_reject = MESSAGE_REJECT;
hostdata439drivers/scsi/53c7,8xx.chostdata->NCR53c7xx_msg_abort = ABORT;
hostdata440drivers/scsi/53c7,8xx.chostdata->NCR53c7xx_msg_nop = NOP;
hostdata463drivers/scsi/53c7,8xx.c(hostdata->options & OPTION_MEMORY_MAPPED) ? "memory" : 
hostdata466drivers/scsi/53c7,8xx.chostdata->dmode = (hostdata->chip == 700 || hostdata->chip == 70066) ? 
hostdata468drivers/scsi/53c7,8xx.chostdata->istat = ((hostdata->chip / 100) == 8) ? 
hostdata484drivers/scsi/53c7,8xx.ctmp = hostdata->this_id_mask = NCR53c7x0_read8(SCID_REG);
hostdata488drivers/scsi/53c7,8xx.chostdata->this_id_mask = 1 << host->this_id;
hostdata498drivers/scsi/53c7,8xx.cif ((hostdata->chip / 100) == 8) {
hostdata502drivers/scsi/53c7,8xx.chostdata->saved_ctest4 = NCR53c7x0_read8(CTEST4_REG_800) & 
hostdata509drivers/scsi/53c7,8xx.chostdata->saved_ctest7 = NCR53c7x0_read8(CTEST7_REG) & CTEST7_SAVE;
hostdata516drivers/scsi/53c7,8xx.chostdata->saved_dcntl = NCR53c7x0_read8(DCNTL_REG);
hostdata518drivers/scsi/53c7,8xx.cif ((hostdata->chip / 100) == 8)
hostdata520drivers/scsi/53c7,8xx.c(hostdata->saved_dcntl & DCNTL_800_IRQM) ? "edge triggered" :
hostdata527drivers/scsi/53c7,8xx.chostdata->saved_dmode = NCR53c7x0_read8(hostdata->dmode);
hostdata534drivers/scsi/53c7,8xx.cif ((hostdata->chip / 100) == 8) {
hostdata535drivers/scsi/53c7,8xx.cif (hostdata->saved_ctest4 & CTEST4_800_BDIS) {
hostdata538drivers/scsi/53c7,8xx.cswitch (hostdata->saved_dmode & DMODE_BL_MASK) {
hostdata553drivers/scsi/53c7,8xx.cif (hostdata->chip / 100 == 8)  {
hostdata554drivers/scsi/53c7,8xx.chostdata->saved_scntl3 = NCR53c7x0_read8(SCNTL3_REG_800);
hostdata555drivers/scsi/53c7,8xx.cccf = hostdata->saved_scntl3 & SCNTL3_800_CCF_MASK;
hostdata566drivers/scsi/53c7,8xx.cif (!hostdata->scsi_clock) 
hostdata568drivers/scsi/53c7,8xx.ccase 1: hostdata->scsi_clock = 25000000; break;  /* Divide by 1.0 */
hostdata569drivers/scsi/53c7,8xx.ccase 2: hostdata->scsi_clock = 37500000; break; /* Divide by 1.5 */
hostdata570drivers/scsi/53c7,8xx.ccase 3: hostdata->scsi_clock = 50000000; break; /* Divide by 2.0 */
hostdata572drivers/scsi/53c7,8xx.ccase 4:  hostdata->scsi_clock = 66000000; break; 
hostdata577drivers/scsi/53c7,8xx.chostdata->options &= ~OPTION_SYNCHRONOUS;
hostdata578drivers/scsi/53c7,8xx.chostdata->scsi_clock = 0; 
hostdata582drivers/scsi/53c7,8xx.chostdata->scsi_clock / 1000000);
hostdata589drivers/scsi/53c7,8xx.chostdata->cmd_allocated[i] = 0;
hostdata591drivers/scsi/53c7,8xx.chostdata->busy[i][j] = 0;
hostdata597drivers/scsi/53c7,8xx.cif (hostdata->chip != 700 && hostdata->chip != 70066) {
hostdata598drivers/scsi/53c7,8xx.chostdata->sync[i].select_indirect |= (i << 16); 
hostdata600drivers/scsi/53c7,8xx.chostdata->sync[i].script[0] = (DCMD_TYPE_TCI|DCMD_TCI_OP_RETURN) << 24 | 
hostdata602drivers/scsi/53c7,8xx.cswitch (hostdata->chip) {
hostdata609drivers/scsi/53c7,8xx.chostdata->sync[i].select_indirect |= (hostdata->saved_scntl3) << 24;
hostdata616drivers/scsi/53c7,8xx.chostdata->issue_queue = hostdata->running_list = 
hostdata617drivers/scsi/53c7,8xx.chostdata->finished_queue = NULL;
hostdata618drivers/scsi/53c7,8xx.chostdata->issue_dsa_head = 0;
hostdata619drivers/scsi/53c7,8xx.chostdata->issue_dsa_tail = NULL;
hostdata621drivers/scsi/53c7,8xx.cif (hostdata->init_save_regs)
hostdata622drivers/scsi/53c7,8xx.chostdata->init_save_regs (host);
hostdata623drivers/scsi/53c7,8xx.cif (hostdata->init_fixup)
hostdata624drivers/scsi/53c7,8xx.chostdata->init_fixup (host);
hostdata631drivers/scsi/53c7,8xx.chostdata->idle = 1;
hostdata643drivers/scsi/53c7,8xx.chostdata->soft_reset (host);
hostdata645drivers/scsi/53c7,8xx.chostdata->debug_count_limit = -1;
hostdata646drivers/scsi/53c7,8xx.chostdata->intrs = -1;
hostdata647drivers/scsi/53c7,8xx.chostdata->expecting_iid = 0;
hostdata648drivers/scsi/53c7,8xx.chostdata->expecting_sto = 0;
hostdata650drivers/scsi/53c7,8xx.cif ((hostdata->run_tests && hostdata->run_tests(host) == -1) ||
hostdata651drivers/scsi/53c7,8xx.c(hostdata->options & OPTION_DEBUG_TESTS_ONLY)) {
hostdata684drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata;
hostdata769drivers/scsi/53c7,8xx.chostdata = (struct NCR53c7x0_hostdata *) 
hostdata770drivers/scsi/53c7,8xx.cinstance->hostdata;
hostdata771drivers/scsi/53c7,8xx.chostdata->size = size;
hostdata772drivers/scsi/53c7,8xx.chostdata->script_count = script_len / sizeof(u32);
hostdata773drivers/scsi/53c7,8xx.chostdata = (struct NCR53c7x0_hostdata *) instance->hostdata;
hostdata774drivers/scsi/53c7,8xx.chostdata->board = board;
hostdata775drivers/scsi/53c7,8xx.chostdata->chip = chip;
hostdata776drivers/scsi/53c7,8xx.cif ((hostdata->pci_valid = pci_valid)) {
hostdata777drivers/scsi/53c7,8xx.chostdata->pci_bus = pci_bus;
hostdata778drivers/scsi/53c7,8xx.chostdata->pci_device_fn = pci_device_fn;
hostdata823drivers/scsi/53c7,8xx.chostdata->options = options;
hostdata824drivers/scsi/53c7,8xx.chostdata->dsa_size = dsa_len;
hostdata825drivers/scsi/53c7,8xx.chostdata->max_cmd_size = max_cmd_size;
hostdata826drivers/scsi/53c7,8xx.chostdata->num_cmds = 1;
hostdata828drivers/scsi/53c7,8xx.chostdata->free = (struct NCR53c7x0_cmd *) 
hostdata829drivers/scsi/53c7,8xx.c(hostdata->script + hostdata->script_count);
hostdata830drivers/scsi/53c7,8xx.chostdata->free->real = (void *) hostdata->free;
hostdata831drivers/scsi/53c7,8xx.chostdata->free->size = max_cmd_size;
hostdata832drivers/scsi/53c7,8xx.chostdata->free->free = NULL;
hostdata833drivers/scsi/53c7,8xx.chostdata->free->next = NULL;
hostdata1050drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata1051drivers/scsi/53c7,8xx.chost->hostdata;
hostdata1061drivers/scsi/53c7,8xx.cmemcpy ((void *) hostdata->script, (void *) SCRIPT, 
hostdata1065drivers/scsi/53c7,8xx.chostdata->script[LABELPATCHES[i]] +=
hostdata1066drivers/scsi/53c7,8xx.cvirt_to_bus(hostdata->script);
hostdata1069drivers/scsi/53c7,8xx.cpatch_abs_32 (hostdata->script, 0, NCR53c7xx_msg_abort, 
hostdata1070drivers/scsi/53c7,8xx.cvirt_to_bus(&hostdata->NCR53c7xx_msg_abort));
hostdata1071drivers/scsi/53c7,8xx.cpatch_abs_32 (hostdata->script, 0, NCR53c7xx_msg_reject, 
hostdata1072drivers/scsi/53c7,8xx.cvirt_to_bus(&hostdata->NCR53c7xx_msg_reject));
hostdata1073drivers/scsi/53c7,8xx.cpatch_abs_32 (hostdata->script, 0, NCR53c7xx_zero, 
hostdata1074drivers/scsi/53c7,8xx.cvirt_to_bus(&hostdata->NCR53c7xx_zero));
hostdata1075drivers/scsi/53c7,8xx.cpatch_abs_32 (hostdata->script, 0, NCR53c7xx_sink, 
hostdata1076drivers/scsi/53c7,8xx.cvirt_to_bus(&hostdata->NCR53c7xx_sink));
hostdata1080drivers/scsi/53c7,8xx.chostdata->script[EXTERNAL_PATCHES[i].offset] +=
hostdata1101drivers/scsi/53c7,8xx.cif (!(hostdata->options & OPTION_MEMORY_MAPPED)) {
hostdata1111drivers/scsi/53c7,8xx.cpatch_abs_32 (hostdata->script, 0, addr_scratch, base + SCRATCHA_REG_800);
hostdata1112drivers/scsi/53c7,8xx.cpatch_abs_32 (hostdata->script, 0, addr_sfbr, base + SFBR_REG);
hostdata1113drivers/scsi/53c7,8xx.cpatch_abs_32 (hostdata->script, 0, addr_temp, base + TEMP_REG);
hostdata1124drivers/scsi/53c7,8xx.cpatch_abs_rwri_data (hostdata->script, 0, dmode_memory_to_memory, tmp);
hostdata1125drivers/scsi/53c7,8xx.cpatch_abs_rwri_data (hostdata->script, 0, dmode_memory_to_ncr, memory_to_ncr);
hostdata1126drivers/scsi/53c7,8xx.cpatch_abs_rwri_data (hostdata->script, 0, dmode_ncr_to_memory, ncr_to_memory);
hostdata1127drivers/scsi/53c7,8xx.cpatch_abs_rwri_data (hostdata->script, 0, dmode_ncr_to_ncr, ncr_to_ncr);
hostdata1129drivers/scsi/53c7,8xx.cpatch_abs_32 (hostdata->script, 0, issue_dsa_head,
hostdata1130drivers/scsi/53c7,8xx.cvirt_to_bus((void*)&hostdata->issue_dsa_head));
hostdata1131drivers/scsi/53c7,8xx.cpatch_abs_32 (hostdata->script, 0, msg_buf,
hostdata1132drivers/scsi/53c7,8xx.cvirt_to_bus((void*)&hostdata->msg_buf));
hostdata1133drivers/scsi/53c7,8xx.cpatch_abs_32 (hostdata->script, 0, reconnect_dsa_head,
hostdata1134drivers/scsi/53c7,8xx.cvirt_to_bus((void*)&hostdata->reconnect_dsa_head));
hostdata1135drivers/scsi/53c7,8xx.cpatch_abs_32 (hostdata->script, 0, reselected_identify,
hostdata1136drivers/scsi/53c7,8xx.cvirt_to_bus((void*)&hostdata->reselected_identify));
hostdata1137drivers/scsi/53c7,8xx.cpatch_abs_32 (hostdata->script, 0, reselected_tag,
hostdata1138drivers/scsi/53c7,8xx.cvirt_to_bus((void*)&hostdata->reselected_tag));
hostdata1140drivers/scsi/53c7,8xx.cpatch_abs_32 (hostdata->script, 0, test_dest,
hostdata1141drivers/scsi/53c7,8xx.cvirt_to_bus((void*)&hostdata->test_dest));
hostdata1142drivers/scsi/53c7,8xx.cpatch_abs_32 (hostdata->script, 0, test_src, virt_to_bus(&hostdata->test_source));
hostdata1154drivers/scsi/53c7,8xx.chostdata->E_accept_message = Ent_accept_message;
hostdata1155drivers/scsi/53c7,8xx.chostdata->E_command_complete = Ent_command_complete;    
hostdata1156drivers/scsi/53c7,8xx.chostdata->E_debug_break = Ent_debug_break;  
hostdata1157drivers/scsi/53c7,8xx.chostdata->E_dsa_code_template = Ent_dsa_code_template;
hostdata1158drivers/scsi/53c7,8xx.chostdata->E_dsa_code_template_end = Ent_dsa_code_template_end;
hostdata1159drivers/scsi/53c7,8xx.chostdata->E_initiator_abort = Ent_initiator_abort;
hostdata1160drivers/scsi/53c7,8xx.chostdata->E_msg_in = Ent_msg_in;
hostdata1161drivers/scsi/53c7,8xx.chostdata->E_other_transfer = Ent_other_transfer;
hostdata1162drivers/scsi/53c7,8xx.chostdata->E_reject_message = Ent_reject_message;
hostdata1163drivers/scsi/53c7,8xx.chostdata->E_respond_message = Ent_respond_message;
hostdata1164drivers/scsi/53c7,8xx.chostdata->E_schedule = Ent_schedule;      
hostdata1165drivers/scsi/53c7,8xx.chostdata->E_select = Ent_select;
hostdata1166drivers/scsi/53c7,8xx.chostdata->E_select_msgout = Ent_select_msgout;
hostdata1167drivers/scsi/53c7,8xx.chostdata->E_target_abort = Ent_target_abort;
hostdata1169drivers/scsi/53c7,8xx.chostdata->E_test_0 = Ent_test_0;
hostdata1171drivers/scsi/53c7,8xx.chostdata->E_test_1 = Ent_test_1;
hostdata1172drivers/scsi/53c7,8xx.chostdata->E_test_2 = Ent_test_2;
hostdata1174drivers/scsi/53c7,8xx.chostdata->E_test_3 = Ent_test_3;
hostdata1177drivers/scsi/53c7,8xx.chostdata->dsa_cmdout = A_dsa_cmdout;
hostdata1178drivers/scsi/53c7,8xx.chostdata->dsa_cmnd = A_dsa_cmnd;
hostdata1179drivers/scsi/53c7,8xx.chostdata->dsa_datain = A_dsa_datain;
hostdata1180drivers/scsi/53c7,8xx.chostdata->dsa_dataout = A_dsa_dataout;
hostdata1181drivers/scsi/53c7,8xx.chostdata->dsa_end = A_dsa_end;      
hostdata1182drivers/scsi/53c7,8xx.chostdata->dsa_msgin = A_dsa_msgin;
hostdata1183drivers/scsi/53c7,8xx.chostdata->dsa_msgout = A_dsa_msgout;
hostdata1184drivers/scsi/53c7,8xx.chostdata->dsa_msgout_other = A_dsa_msgout_other;
hostdata1185drivers/scsi/53c7,8xx.chostdata->dsa_next = A_dsa_next;
hostdata1186drivers/scsi/53c7,8xx.chostdata->dsa_select = A_dsa_select;
hostdata1187drivers/scsi/53c7,8xx.chostdata->dsa_start = Ent_dsa_code_template - Ent_dsa_zero;
hostdata1188drivers/scsi/53c7,8xx.chostdata->dsa_status = A_dsa_status;
hostdata1198drivers/scsi/53c7,8xx.chostdata->script);
hostdata1218drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata1219drivers/scsi/53c7,8xx.chost->hostdata;
hostdata1230drivers/scsi/53c7,8xx.cif (!hostdata->idle) {
hostdata1241drivers/scsi/53c7,8xx.cif (hostdata->issue_dsa_head) {
hostdata1244drivers/scsi/53c7,8xx.chostdata->issue_dsa_head = 0;
hostdata1247drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_TEST1) {
hostdata1248drivers/scsi/53c7,8xx.chostdata->idle = 0;
hostdata1249drivers/scsi/53c7,8xx.chostdata->test_running = 1;
hostdata1250drivers/scsi/53c7,8xx.chostdata->test_completed = -1;
hostdata1251drivers/scsi/53c7,8xx.chostdata->test_dest = 0;
hostdata1252drivers/scsi/53c7,8xx.chostdata->test_source = 0xdeadbeef;
hostdata1253drivers/scsi/53c7,8xx.cstart = virt_to_bus(hostdata->script) + hostdata->E_test_1;
hostdata1254drivers/scsi/53c7,8xx.chostdata->state = STATE_RUNNING;
hostdata1262drivers/scsi/53c7,8xx.cwhile ((hostdata->test_completed == -1) && jiffies < timeout)
hostdata1266drivers/scsi/53c7,8xx.cif (hostdata->test_completed == -1)
hostdata1268drivers/scsi/53c7,8xx.c(hostdata->test_dest == 0xdeadbeef) ? 
hostdata1277drivers/scsi/53c7,8xx.celse if (hostdata->test_completed != 1) 
hostdata1279drivers/scsi/53c7,8xx.chostdata->test_completed);
hostdata1281drivers/scsi/53c7,8xx.cfailed = (hostdata->test_dest != 0xdeadbeef);
hostdata1283drivers/scsi/53c7,8xx.cif (hostdata->test_dest != 0xdeadbeef) {
hostdata1287drivers/scsi/53c7,8xx.chost->host_no, hostdata->test_dest);
hostdata1293drivers/scsi/53c7,8xx.chostdata->script, start);
hostdata1299drivers/scsi/53c7,8xx.chostdata->test_running = 0;
hostdata1302drivers/scsi/53c7,8xx.cif (hostdata->issue_dsa_head) {
hostdata1305drivers/scsi/53c7,8xx.chostdata->issue_dsa_head = 0;
hostdata1308drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_TEST2) {
hostdata1333drivers/scsi/53c7,8xx.cif (!hostdata->idle) {
hostdata1341drivers/scsi/53c7,8xx.chostdata->idle = 0;
hostdata1342drivers/scsi/53c7,8xx.chostdata->test_running = 2;
hostdata1343drivers/scsi/53c7,8xx.chostdata->test_completed = -1;
hostdata1344drivers/scsi/53c7,8xx.cstart = virt_to_bus(hostdata->script) + hostdata->E_test_2;
hostdata1345drivers/scsi/53c7,8xx.chostdata->state = STATE_RUNNING;
hostdata1352drivers/scsi/53c7,8xx.cwhile ((hostdata->test_completed == -1) && jiffies < timeout)
hostdata1357drivers/scsi/53c7,8xx.cif (hostdata->test_completed == 2) {
hostdata1366drivers/scsi/53c7,8xx.c} else if (hostdata->test_completed == 3) {
hostdata1369drivers/scsi/53c7,8xx.cif (!hostdata->idle) {
hostdata1374drivers/scsi/53c7,8xx.c} else if (hostdata->test_completed == -1) {
hostdata1379drivers/scsi/53c7,8xx.chostdata->test_running = 0;
hostdata1380drivers/scsi/53c7,8xx.cif (hostdata->issue_dsa_head) {
hostdata1383drivers/scsi/53c7,8xx.chostdata->issue_dsa_head = 0;
hostdata1405drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata1406drivers/scsi/53c7,8xx.chost->hostdata;
hostdata1409drivers/scsi/53c7,8xx.cmemcpy (cmd->dsa, hostdata->script + (hostdata->E_dsa_code_template / 4),
hostdata1410drivers/scsi/53c7,8xx.chostdata->E_dsa_code_template_end - hostdata->E_dsa_code_template);
hostdata1420drivers/scsi/53c7,8xx.cdsa_temp_sync, hostdata->sync[c->target].select_indirect);
hostdata1443drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata1444drivers/scsi/53c7,8xx.chost->hostdata;
hostdata1452drivers/scsi/53c7,8xx.cfor (search = (i ? hostdata->issue_dsa_head :
hostdata1453drivers/scsi/53c7,8xx.chostdata->reconnect_dsa_head), prev = (i ? 
hostdata1454drivers/scsi/53c7,8xx.c&hostdata->issue_dsa_head : &hostdata->reconnect_dsa_head);
hostdata1455drivers/scsi/53c7,8xx.csearch && ((char*)bus_to_virt(search) + hostdata->dsa_start) != (char *) cmd->dsa;
hostdata1456drivers/scsi/53c7,8xx.cprev = (u32*) ((char*)bus_to_virt(search) + hostdata->dsa_next),
hostdata1460drivers/scsi/53c7,8xx.c*prev = *(u32*) ((char*)bus_to_virt(search) + hostdata->dsa_next);
hostdata1469drivers/scsi/53c7,8xx.cif (hostdata->running_list == cmd)
hostdata1470drivers/scsi/53c7,8xx.chostdata->running_list = cmd->next;
hostdata1472drivers/scsi/53c7,8xx.ccmd->next = hostdata->free;
hostdata1473drivers/scsi/53c7,8xx.chostdata->free = cmd;
hostdata1502drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata1503drivers/scsi/53c7,8xx.chost->hostdata;    
hostdata1516drivers/scsi/53c7,8xx.cfor (bp = hostdata->breakpoints; bp && bp->address != dsp; 
hostdata1528drivers/scsi/53c7,8xx.cNCR53c7x0_write8 (hostdata->dmode, 
hostdata1529drivers/scsi/53c7,8xx.cNCR53c7x0_read8(hostdata->dmode)|DMODE_MAN);
hostdata1553drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata1554drivers/scsi/53c7,8xx.chost->hostdata;
hostdata1557drivers/scsi/53c7,8xx.cif ((hostdata->chip / 100) == 8) {
hostdata1558drivers/scsi/53c7,8xx.chostdata->sync[target].select_indirect = (hostdata->saved_scntl3 << 24)
hostdata1561drivers/scsi/53c7,8xx.c} else if ((hostdata->chip != 700) && (hostdata->chip != 70066)) {
hostdata1562drivers/scsi/53c7,8xx.chostdata->sync[target].select_indirect = (1 << (target & 7)) << 16;
hostdata1570drivers/scsi/53c7,8xx.cif (hostdata->state == STATE_HALTED) {
hostdata1571drivers/scsi/53c7,8xx.cif ((hostdata->chip / 100) == 8) {
hostdata1572drivers/scsi/53c7,8xx.cNCR53c7x0_write8 (SCNTL3_REG_800, hostdata->saved_scntl3);
hostdata1621drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata1622drivers/scsi/53c7,8xx.chost->hostdata;
hostdata1629drivers/scsi/53c7,8xx.cdivisor = desire / (hostdata->scsi_clock / 10);
hostdata1645drivers/scsi/53c7,8xx.cscntl3 = (hostdata->chip / 100 == 8) ? ((hostdata->saved_scntl3 & 
hostdata1649drivers/scsi/53c7,8xx.cif ((hostdata->chip != 700) && (hostdata->chip != 70066)) {
hostdata1650drivers/scsi/53c7,8xx.chostdata->sync[target].select_indirect = (scntl3 << 24) | (target << 16) | 
hostdata1653drivers/scsi/53c7,8xx.cscript = (u32*) hostdata->sync[target].script;
hostdata1656drivers/scsi/53c7,8xx.cif ((hostdata->chip / 100) == 8) {
hostdata1693drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata1694drivers/scsi/53c7,8xx.chost->hostdata;    
hostdata1700drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_INTR) 
hostdata1708drivers/scsi/53c7,8xx.cprint_msg ((unsigned char *) hostdata->msg_buf);
hostdata1710drivers/scsi/53c7,8xx.cswitch (hostdata->msg_buf[0]) {
hostdata1716drivers/scsi/53c7,8xx.chostdata->dsp = hostdata->script + hostdata->E_accept_message /
hostdata1718drivers/scsi/53c7,8xx.chostdata->dsp_changed = 1;
hostdata1723drivers/scsi/53c7,8xx.chostdata->dsp = hostdata->script + hostdata->E_reject_message /
hostdata1725drivers/scsi/53c7,8xx.chostdata->dsp_changed = 1;
hostdata1732drivers/scsi/53c7,8xx.c"requesting", hostdata->msg_buf[3] * 4, hostdata->msg_buf[4]);
hostdata1744drivers/scsi/53c7,8xx.chostdata->msg_buf);
hostdata1745drivers/scsi/53c7,8xx.chostdata->dsp = hostdata->script + hostdata->E_accept_message /
hostdata1747drivers/scsi/53c7,8xx.chostdata->dsp_changed = 1;
hostdata1750drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_SYNCHRONOUS)  {
hostdata1753drivers/scsi/53c7,8xx.chostdata->msg_buf);
hostdata1755drivers/scsi/53c7,8xx.chostdata->msg_buf[4] = 0;    /* 0 offset = async */
hostdata1760drivers/scsi/53c7,8xx.cvirt_to_bus((void*)hostdata->msg_buf));
hostdata1761drivers/scsi/53c7,8xx.chostdata->dsp = hostdata->script + 
hostdata1762drivers/scsi/53c7,8xx.chostdata->E_respond_message / sizeof(u32);
hostdata1763drivers/scsi/53c7,8xx.chostdata->dsp_changed = 1;
hostdata1766drivers/scsi/53c7,8xx.cif (hostdata->msg_buf[4]) {
hostdata1767drivers/scsi/53c7,8xx.cint Hz = 1000000000 / (hostdata->msg_buf[3] * 4);
hostdata1771drivers/scsi/53c7,8xx.c((hostdata->msg_buf[3] < 200) ? "FAST " : 
hostdata1773drivers/scsi/53c7,8xx.c((hostdata->msg_buf[3] < 200) ? "-II" : ""),
hostdata1774drivers/scsi/53c7,8xx.c(int) hostdata->msg_buf[3] * 4, (int) 
hostdata1775drivers/scsi/53c7,8xx.chostdata->msg_buf[4]);
hostdata1784drivers/scsi/53c7,8xx.chostdata->dsp = hostdata->script + hostdata->E_reject_message /
hostdata1786drivers/scsi/53c7,8xx.chostdata->dsp_changed = 1;
hostdata1789drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_INTR) 
hostdata1795drivers/scsi/53c7,8xx.chostdata->dsp = hostdata->script + hostdata->E_target_abort / 
hostdata1797drivers/scsi/53c7,8xx.chostdata->dsp_changed = 1;
hostdata1802drivers/scsi/53c7,8xx.chostdata->dsp = hostdata->script + hostdata->E_initiator_abort /
hostdata1804drivers/scsi/53c7,8xx.chostdata->dsp_changed = 1;
hostdata1817drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_INTR) 
hostdata1865drivers/scsi/53c7,8xx.cpatch_dsa_32 (cmd->dsa, dsa_dataout, 0, hostdata->E_other_transfer);
hostdata1873drivers/scsi/53c7,8xx.ccmd->data_transfer_start[3] = hostdata->E_other_transfer;
hostdata1887drivers/scsi/53c7,8xx.chostdata->dsp = hostdata->script + hostdata->E_select /
hostdata1889drivers/scsi/53c7,8xx.chostdata->dsp_changed = 1;
hostdata1894drivers/scsi/53c7,8xx.chostdata->dsp = hostdata->script + hostdata->E_schedule / 
hostdata1896drivers/scsi/53c7,8xx.chostdata->dsp_changed = 1;
hostdata1902drivers/scsi/53c7,8xx.chostdata->idle = 1;
hostdata1903drivers/scsi/53c7,8xx.chostdata->test_completed = (dsps - A_int_test_1) / 0x00010000 + 1;
hostdata1904drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_INTR)
hostdata1906drivers/scsi/53c7,8xx.chostdata->test_completed);
hostdata1910drivers/scsi/53c7,8xx.cif (hostdata->options & (OPTION_DEBUG_SCRIPT|OPTION_DEBUG_INTR)) {
hostdata1918drivers/scsi/53c7,8xx.cif (hostdata->options & (OPTION_DEBUG_SCRIPT|OPTION_DEBUG_INTR)) {
hostdata1925drivers/scsi/53c7,8xx.cif (hostdata->options & (OPTION_DEBUG_SCRIPT|OPTION_DEBUG_INTR)) {
hostdata1932drivers/scsi/53c7,8xx.cif (hostdata->options & (OPTION_DEBUG_SCRIPT|OPTION_DEBUG_INTR)) {
hostdata1940drivers/scsi/53c7,8xx.cif (hostdata->options & (OPTION_DEBUG_SCRIPT|OPTION_DEBUG_INTR)) {
hostdata1943drivers/scsi/53c7,8xx.c(int) hostdata->reselected_identify & 7);
hostdata1949drivers/scsi/53c7,8xx.cif (hostdata->options & (OPTION_DEBUG_SCRIPT|OPTION_DEBUG_INTR)) {
hostdata1951drivers/scsi/53c7,8xx.chost->host_no, hostdata->issue_dsa_head);
hostdata2025drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata2026drivers/scsi/53c7,8xx.cinstance->hostdata;
hostdata2057drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata2058drivers/scsi/53c7,8xx.chost->hostdata;
hostdata2095drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata2096drivers/scsi/53c7,8xx.chost->hostdata;
hostdata2105drivers/scsi/53c7,8xx.cif (hostdata->state != STATE_HALTED) {
hostdata2123drivers/scsi/53c7,8xx.cbp->next = hostdata->breakpoints;
hostdata2124drivers/scsi/53c7,8xx.chostdata->breakpoints = bp->next;
hostdata2125drivers/scsi/53c7,8xx.cmemcpy ((void *) bp->address, (void *) hostdata->E_debug_break, 8);
hostdata2157drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostadata *hostdata;  
hostdata2166drivers/scsi/53c7,8xx.chostdata = (struct NCR53c7x0_hostdata *) host->hostdata;
hostdata2214drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata2215drivers/scsi/53c7,8xx.chost->hostdata;
hostdata2222drivers/scsi/53c7,8xx.cleft = (hostdata->debug_buf + hostdata->debug_size - 1) -
hostdata2223drivers/scsi/53c7,8xx.chostdata->debug_write;
hostdata2225drivers/scsi/53c7,8xx.cmemcpy (hostdata->debug_write, buf, copy);
hostdata2228drivers/scsi/53c7,8xx.chostdata->debug_count += copy;
hostdata2229drivers/scsi/53c7,8xx.cif ((hostdata->debug_write += copy) == 
hostdata2230drivers/scsi/53c7,8xx.c(hostdata->debug_buf + hostdata->debug_size))
hostdata2231drivers/scsi/53c7,8xx.chosdata->debug_write = hostdata->debug_buf;
hostdata2253drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata2254drivers/scsi/53c7,8xx.chost->hostdata;
hostdata2272drivers/scsi/53c7,8xx.cNCR53c7x0_write8(hostdata->dmode, hostdata->saved_dmode & ~DMODE_MAN);
hostdata2288drivers/scsi/53c7,8xx.cNCR53c7x0_write8(RESPID_REG_800, hostdata->this_id_mask);
hostdata2320drivers/scsi/53c7,8xx.cNCR53c7x0_write8(SIEN0_REG_800, ((hostdata->options & OPTION_PARITY) ?
hostdata2329drivers/scsi/53c7,8xx.cNCR53c7x0_write8(DCNTL_REG, hostdata->saved_dcntl);
hostdata2330drivers/scsi/53c7,8xx.cNCR53c7x0_write8(CTEST4_REG_800, hostdata->saved_ctest4);
hostdata2359drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata2360drivers/scsi/53c7,8xx.chost->hostdata;  
hostdata2387drivers/scsi/53c7,8xx.cif (hostdata->num_commands < host->can_queue &&
hostdata2389drivers/scsi/53c7,8xx.c!(hostdata->cmd_allocated[cmd->target] & (1 << cmd->lun))) {
hostdata2394drivers/scsi/53c7,8xx.csize = (hostdata->max_cmd_size + 511) / 512 * 512;
hostdata2402drivers/scsi/53c7,8xx.csize = hostdata->max_cmd_size + sizeof(void*);
hostdata2413drivers/scsi/53c7,8xx.ctmp->next = hostdata->free;
hostdata2414drivers/scsi/53c7,8xx.chostdata->free = tmp;
hostdata2422drivers/scsi/53c7,8xx.ctmp = (struct NCR53c7x0_cmd *) hostdata->free;
hostdata2424drivers/scsi/53c7,8xx.chostdata->free = tmp->next;
hostdata2463drivers/scsi/53c7,8xx.chostdata->options |= OPTION_DEBUG_INTR;
hostdata2511drivers/scsi/53c7,8xx.ctmp->data_transfer_start = tmp->dsa + (hostdata->dsa_end - 
hostdata2512drivers/scsi/53c7,8xx.chostdata->dsa_start) / sizeof(u32);
hostdata2528drivers/scsi/53c7,8xx.cif (hostdata->dsa_fixup)
hostdata2529drivers/scsi/53c7,8xx.chostdata->dsa_fixup(tmp);
hostdata2533drivers/scsi/53c7,8xx.cpatch_dsa_32(tmp->dsa, dsa_select, 0, hostdata->sync[cmd->target].
hostdata2549drivers/scsi/53c7,8xx.cvirt_to_bus(cmd_dataout) : virt_to_bus(hostdata->script) + hostdata->E_other_transfer);
hostdata2551drivers/scsi/53c7,8xx.cvirt_to_bus(cmd_datain) : virt_to_bus(hostdata->script) + hostdata->E_other_transfer);
hostdata2562drivers/scsi/53c7,8xx.cvirt_to_bus(&hostdata->NCR53c7xx_msg_nop));
hostdata2616drivers/scsi/53c7,8xx.ccmd_datain[3] = virt_to_bus(hostdata->script) +
hostdata2617drivers/scsi/53c7,8xx.chostdata->E_msg_in;
hostdata2630drivers/scsi/53c7,8xx.ccmd_dataout[3] = virt_to_bus(hostdata->script) +
hostdata2631drivers/scsi/53c7,8xx.chostdata->E_msg_in;
hostdata2648drivers/scsi/53c7,8xx.ccmd_datain[1] = virt_to_bus(hostdata->script) +
hostdata2649drivers/scsi/53c7,8xx.chostdata->E_other_transfer;
hostdata2667drivers/scsi/53c7,8xx.ccmd_dataout[1] = virt_to_bus(hostdata->script) +
hostdata2668drivers/scsi/53c7,8xx.chostdata->E_other_transfer;
hostdata2701drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata2702drivers/scsi/53c7,8xx.chost->hostdata;
hostdata2707drivers/scsi/53c7,8xx.cif (((hostdata->options & (OPTION_DEBUG_INIT_ONLY|OPTION_DEBUG_PROBE_ONLY)) ||
hostdata2708drivers/scsi/53c7,8xx.c((hostdata->options & OPTION_DEBUG_TARGET_LIMIT) &&
hostdata2709drivers/scsi/53c7,8xx.c!(hostdata->debug_lun_limit[cmd->target] & (1 << cmd->lun)))) ||
hostdata2718drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_NCOMMANDS_LIMIT) {
hostdata2719drivers/scsi/53c7,8xx.cif (hostdata->debug_count_limit == 0) {
hostdata2724drivers/scsi/53c7,8xx.c} else if (hostdata->debug_count_limit != -1) 
hostdata2725drivers/scsi/53c7,8xx.c--hostdata->debug_count_limit;
hostdata2728drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_READ_ONLY) {
hostdata2781drivers/scsi/53c7,8xx.ctarget_was_busy = hostdata->busy[cmd->target][cmd->lun]
hostdata2787drivers/scsi/53c7,8xx.cif (!(hostdata->options & OPTION_700)  &&
hostdata2790drivers/scsi/53c7,8xx.c- hostdata->dsa_start;  
hostdata2796drivers/scsi/53c7,8xx.cif (hostdata->running_list)
hostdata2797drivers/scsi/53c7,8xx.chostdata->running_list->prev = tmp;
hostdata2799drivers/scsi/53c7,8xx.ctmp->next = (struct NCR53c7x0_cmd*) hostdata->running_list;
hostdata2801drivers/scsi/53c7,8xx.cif (!hostdata->running_list)
hostdata2802drivers/scsi/53c7,8xx.chostdata->running_list = (struct NCR53c7x0_cmd*) tmp;
hostdata2805drivers/scsi/53c7,8xx.cif (hostdata->idle) {
hostdata2806drivers/scsi/53c7,8xx.chostdata->idle = 0;
hostdata2807drivers/scsi/53c7,8xx.chostdata->state = STATE_RUNNING;
hostdata2808drivers/scsi/53c7,8xx.cNCR53c7x0_write32 (DSP_REG,  virt_to_bus(hostdata->script) +
hostdata2809drivers/scsi/53c7,8xx.chostdata->E_schedule);
hostdata2821drivers/scsi/53c7,8xx.cif (!hostdata->issue_dsa_head) {
hostdata2825drivers/scsi/53c7,8xx.chostdata->issue_dsa_tail = (u32 *) dsa;
hostdata2826drivers/scsi/53c7,8xx.chostdata->issue_dsa_head = virt_to_bus(dsa);
hostdata2827drivers/scsi/53c7,8xx.cNCR53c7x0_write8(hostdata->istat, 
hostdata2828drivers/scsi/53c7,8xx.cNCR53c7x0_read8(hostdata->istat) | ISTAT_10_SIGP);
hostdata2840drivers/scsi/53c7,8xx.chostdata->issue_dsa_tail[hostdata->dsa_next/sizeof(u32)]
hostdata2842drivers/scsi/53c7,8xx.chostdata->issue_dsa_tail = (u32 *) dsa;
hostdata2854drivers/scsi/53c7,8xx.cif (hostdata->issue_dsa_head)
hostdata2864drivers/scsi/53c7,8xx.cfor (tmp = (struct NCR53c7x0_cmd *) hostdata->issue_queue; 
hostdata2890drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = 
hostdata2891drivers/scsi/53c7,8xx.c(struct NCR53c7x0_hostdata *) host->hostdata;
hostdata2900drivers/scsi/53c7,8xx.cis_8xx_chip = ((unsigned) (hostdata->chip - 800)) < 100;
hostdata2910drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_INTR) 
hostdata2918drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_INTR) {
hostdata2937drivers/scsi/53c7,8xx.chostdata->idle = 1;
hostdata2938drivers/scsi/53c7,8xx.chostdata->expecting_sto = 0;
hostdata2940drivers/scsi/53c7,8xx.cif (hostdata->test_running) {
hostdata2941drivers/scsi/53c7,8xx.chostdata->test_running = 0;
hostdata2942drivers/scsi/53c7,8xx.chostdata->test_completed = 3;
hostdata2947drivers/scsi/53c7,8xx.chostdata->intrs = 0;
hostdata2959drivers/scsi/53c7,8xx.chostdata->dsp = hostdata->script + hostdata->E_schedule / 
hostdata2961drivers/scsi/53c7,8xx.chostdata->dsp_changed = 1;
hostdata2976drivers/scsi/53c7,8xx.chostdata->dsp = hostdata->script + hostdata->E_initiator_abort /
hostdata2978drivers/scsi/53c7,8xx.chostdata->dsp_changed = 1; 
hostdata2986drivers/scsi/53c7,8xx.chostdata->dsp = hostdata->script + hostdata->E_initiator_abort /
hostdata2988drivers/scsi/53c7,8xx.chostdata->dsp_changed = 1;
hostdata2994drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_INTR)
hostdata3006drivers/scsi/53c7,8xx.cif (!hostdata->dstat_valid) {
hostdata3007drivers/scsi/53c7,8xx.chostdata->dstat = NCR53c7x0_read8(DSTAT_REG);
hostdata3008drivers/scsi/53c7,8xx.chostdata->dstat_valid = 1;
hostdata3012drivers/scsi/53c7,8xx.cif (!(hostdata->dstat & DSTAT_DFE)) {
hostdata3018drivers/scsi/53c7,8xx.cwhile (!((hostdata->dstat = NCR53c7x0_read8(DSTAT_REG)) &
hostdata3051drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata;  /* host->hostdata */
hostdata3072drivers/scsi/53c7,8xx.cfor (host = first_host; host; host = hostdata->next) {
hostdata3075drivers/scsi/53c7,8xx.chostdata = (struct NCR53c7x0_hostdata *) host->hostdata;
hostdata3076drivers/scsi/53c7,8xx.chostdata->dsp_changed = 0;
hostdata3083drivers/scsi/53c7,8xx.chostdata->dstat_valid = 0;
hostdata3089drivers/scsi/53c7,8xx.cistat = NCR53c7x0_read8(hostdata->istat);
hostdata3098drivers/scsi/53c7,8xx.cis_8xx_chip = ((unsigned) (hostdata->chip - 800)) < 100;
hostdata3099drivers/scsi/53c7,8xx.cif ((hostdata->options & OPTION_INTFLY) && 
hostdata3109drivers/scsi/53c7,8xx.cNCR53c7x0_write8(hostdata->istat, istat|ISTAT_800_INTF);
hostdata3112drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_INTR)
hostdata3127drivers/scsi/53c7,8xx.c&(hostdata->running_list), cmd = 
hostdata3128drivers/scsi/53c7,8xx.c(struct NCR53c7x0_cmd *) hostdata->running_list; cmd ;
hostdata3163drivers/scsi/53c7,8xx.cif (--hostdata->busy[tmp->target][tmp->lun]) {
hostdata3168drivers/scsi/53c7,8xx.ccmd->next = hostdata->free;
hostdata3169drivers/scsi/53c7,8xx.chostdata->free = cmd;
hostdata3173drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_INTR) {
hostdata3181drivers/scsi/53c7,8xx.chostdata->options &= ~OPTION_DEBUG_INTR;
hostdata3198drivers/scsi/53c7,8xx.chostdata->state = STATE_HALTED;
hostdata3209drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_700) {
hostdata3210drivers/scsi/53c7,8xx.ccmd = (struct NCR53c7x0_cmd *) hostdata->current_cmd;
hostdata3214drivers/scsi/53c7,8xx.chostdata->running_list; cmd &&
hostdata3215drivers/scsi/53c7,8xx.c(dsa + (hostdata->dsa_start / sizeof(u32))) != 
hostdata3219drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_INTR) {
hostdata3231drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_INTR) 
hostdata3237drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_INTR) 
hostdata3242drivers/scsi/53c7,8xx.cif (!hostdata->dstat_valid) {
hostdata3243drivers/scsi/53c7,8xx.chostdata->dstat = NCR53c7x0_read8(DSTAT_REG);
hostdata3244drivers/scsi/53c7,8xx.chostdata->dstat_valid = 1;
hostdata3249drivers/scsi/53c7,8xx.cif (!(hostdata->dstat & DSTAT_DFE)) {
hostdata3255drivers/scsi/53c7,8xx.cwhile (!((hostdata->dstat = NCR53c7x0_read8(DSTAT_REG)) &
hostdata3271drivers/scsi/53c7,8xx.cif (hostdata->intrs != -1)
hostdata3272drivers/scsi/53c7,8xx.chostdata->intrs++;
hostdata3274drivers/scsi/53c7,8xx.cif (hostdata->intrs > 4) {
hostdata3276drivers/scsi/53c7,8xx.chostdata->idle = 1;
hostdata3277drivers/scsi/53c7,8xx.chostdata->options |= OPTION_DEBUG_INIT_ONLY;
hostdata3282drivers/scsi/53c7,8xx.cif (!hostdata->idle && hostdata->state == STATE_HALTED) {
hostdata3283drivers/scsi/53c7,8xx.cif (!hostdata->dsp_changed) {
hostdata3284drivers/scsi/53c7,8xx.chostdata->dsp = bus_to_virt(NCR53c7x0_read32(DSP_REG));
hostdata3289drivers/scsi/53c7,8xx.chostdata->dsp);
hostdata3292drivers/scsi/53c7,8xx.chostdata->state = STATE_RUNNING;
hostdata3293drivers/scsi/53c7,8xx.cNCR53c7x0_write32 (DSP_REG, virt_to_bus(hostdata->dsp));
hostdata3315drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata3316drivers/scsi/53c7,8xx.chost->hostdata;
hostdata3318drivers/scsi/53c7,8xx.chostdata->dsp = hostdata->script + hostdata->E_initiator_abort /
hostdata3320drivers/scsi/53c7,8xx.chostdata->dsp_changed = 1;
hostdata3351drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata3352drivers/scsi/53c7,8xx.chost->hostdata;
hostdata3433drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_INTR) 
hostdata3435drivers/scsi/53c7,8xx.chostdata->dsp = hostdata->script + hostdata->E_command_complete /
hostdata3437drivers/scsi/53c7,8xx.chostdata->dsp_changed = 1;
hostdata3447drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_INTR) 
hostdata3456drivers/scsi/53c7,8xx.chostdata->dsp = hostdata->script + hostdata->E_msg_in /
hostdata3458drivers/scsi/53c7,8xx.chostdata->dsp_changed = 1;
hostdata3507drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata3508drivers/scsi/53c7,8xx.chost->hostdata;
hostdata3518drivers/scsi/53c7,8xx.cif (!hostdata->dstat_valid) {
hostdata3519drivers/scsi/53c7,8xx.chostdata->dstat = NCR53c7x0_read8(DSTAT_REG);
hostdata3520drivers/scsi/53c7,8xx.chostdata->dstat_valid = 1;
hostdata3523drivers/scsi/53c7,8xx.cdstat = hostdata->dstat;
hostdata3525drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_INTR)
hostdata3548drivers/scsi/53c7,8xx.cif ((hostdata->options & OPTION_700) && (hostdata->state ==
hostdata3566drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_TRACE) {
hostdata3567drivers/scsi/53c7,8xx.c} else if (hostdata->options & OPTION_DEBUG_SINGLE) {
hostdata3608drivers/scsi/53c7,8xx.cif (((dsp >= (hostdata->script + hostdata->E_select / sizeof(u32))) &&
hostdata3609drivers/scsi/53c7,8xx.c(dsp <= (hostdata->script + hostdata->E_select_msgout / 
hostdata3610drivers/scsi/53c7,8xx.csizeof(u32) + 8))) || (hostdata->test_running == 2)) {
hostdata3611drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_INTR) 
hostdata3614drivers/scsi/53c7,8xx.cif (hostdata->expecting_iid) {
hostdata3615drivers/scsi/53c7,8xx.chostdata->expecting_iid = 0;
hostdata3616drivers/scsi/53c7,8xx.chostdata->idle = 1;
hostdata3617drivers/scsi/53c7,8xx.cif (hostdata->test_running == 2) {
hostdata3618drivers/scsi/53c7,8xx.chostdata->test_running = 0;
hostdata3619drivers/scsi/53c7,8xx.chostdata->test_completed = 3;
hostdata3623drivers/scsi/53c7,8xx.chostdata->expecting_sto = 1;
hostdata3633drivers/scsi/53c7,8xx.cNCR53c7x0_read32(TEMP_REG), NCR53c7x0_read8(hostdata->dmode),
hostdata3649drivers/scsi/53c7,8xx.cNCR53c7x0_read32(TEMP_REG), NCR53c7x0_read8(hostdata->dmode));
hostdata3657drivers/scsi/53c7,8xx.chostdata->idle = 1;
hostdata3658drivers/scsi/53c7,8xx.chostdata->options |= OPTION_DEBUG_INIT_ONLY;
hostdata3672drivers/scsi/53c7,8xx.cif (hostdata->options & OPTION_DEBUG_INTR)
hostdata3674drivers/scsi/53c7,8xx.cswitch ((tmp = hostdata->dstat_sir_intr (host, cmd))) {
hostdata3764drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *) 
hostdata3765drivers/scsi/53c7,8xx.chost->hostdata;
hostdata3781drivers/scsi/53c7,8xx.cfor (curr = (volatile struct NCR53c7x0_cmd *) hostdata->issue_queue, 
hostdata3782drivers/scsi/53c7,8xx.cprev = (volatile struct NCR53c7x0_cmd **) &(hostdata->issue_queue);
hostdata3792drivers/scsi/53c7,8xx.ccurr->next = hostdata->free;
hostdata3793drivers/scsi/53c7,8xx.chostdata->free = curr;
hostdata3806drivers/scsi/53c7,8xx.cfor (curr = (volatile struct NCR53c7x0_cmd *) hostdata->running_list, 
hostdata3807drivers/scsi/53c7,8xx.cprev = (volatile struct NCR53c7x0_cmd **) &(hostdata->running_list);
hostdata3825drivers/scsi/53c7,8xx.ccurr->next = hostdata->free;
hostdata3826drivers/scsi/53c7,8xx.chostdata->free = curr;
hostdata3859drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = host ? 
hostdata3860drivers/scsi/53c7,8xx.c(struct NCR53c7x0_hostdata *) host->hostdata : NULL;
hostdata3870drivers/scsi/53c7,8xx.cfor (c = (struct NCR53c7x0_cmd *) hostdata->running_list, found = 0; c; 
hostdata3873drivers/scsi/53c7,8xx.cc->next = hostdata->free;
hostdata3874drivers/scsi/53c7,8xx.chostdata->free = c;
hostdata3884drivers/scsi/53c7,8xx.cc->next = hostdata->free;
hostdata3885drivers/scsi/53c7,8xx.chostdata->free = c;
hostdata3900drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata3901drivers/scsi/53c7,8xx.chost->hostdata;
hostdata3907drivers/scsi/53c7,8xx.chost->host_no, dsa, hostdata->dsa_msgout,
hostdata3908drivers/scsi/53c7,8xx.cdsa[hostdata->dsa_msgout / sizeof(u32)],
hostdata3909drivers/scsi/53c7,8xx.cdsa[hostdata->dsa_msgout / sizeof(u32) + 1]);
hostdata3911drivers/scsi/53c7,8xx.cfor (i = dsa[hostdata->dsa_msgout / sizeof(u32)],
hostdata3912drivers/scsi/53c7,8xx.cptr = bus_to_virt(dsa[hostdata->dsa_msgout / sizeof(u32) + 1]); i > 0;
hostdata3934drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata3935drivers/scsi/53c7,8xx.chost->hostdata;
hostdata3940drivers/scsi/53c7,8xx.chostdata->soft_reset(host);
hostdata3974drivers/scsi/53c7,8xx.cstruct NCR53c7x0_hostdata *hostdata = (struct NCR53c7x0_hostdata *)
hostdata3975drivers/scsi/53c7,8xx.chost->hostdata;
hostdata3980drivers/scsi/53c7,8xx.cNCR53c7x0_write8(hostdata->istat, ISTAT_ABRT);
hostdata3984drivers/scsi/53c7,8xx.cistat = NCR53c7x0_read8 (hostdata->istat);
hostdata3986drivers/scsi/53c7,8xx.cif ((hostdata->chip / 100) == 8) {
hostdata3994drivers/scsi/53c7,8xx.cNCR53c7x0_write8(hostdata->istat, 0);
hostdata4003drivers/scsi/53c7,8xx.chostdata->state = STATE_HALTED;
hostdata1326drivers/scsi/53c7,8xx.hhost->hostdata)-> options & OPTION_MEMORY_MAPPED 
hostdata1362drivers/scsi/53c7,8xx.hif (hostdata->options & OPTION_DEBUG_FIXUP)     \
hostdata1380drivers/scsi/53c7,8xx.h(dsa)[(hostdata->##symbol - hostdata->dsa_start) / sizeof(u32)  \
hostdata1382drivers/scsi/53c7,8xx.hif (hostdata->options & OPTION_DEBUG_DSA)      \
hostdata1384drivers/scsi/53c7,8xx.h#dsa, #symbol, hostdata->##symbol,       \
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;
hostdata113drivers/scsi/aha1542.c#define HOSTDATA(host) ((struct aha1542_hostdata *) &host->hostdata)
hostdata2123drivers/scsi/aic7xxx.cp = (struct aic7xxx_host *) aic7xxx_boards[irq]->hostdata;
hostdata2137drivers/scsi/aic7xxx.cp = (struct aic7xxx_host *) p->next->hostdata;
hostdata2155drivers/scsi/aic7xxx.cp = (struct aic7xxx_host *) aic7xxx_boards[irq]->hostdata;
hostdata3609drivers/scsi/aic7xxx.cp = (struct aic7xxx_host *) host->hostdata;
hostdata4231drivers/scsi/aic7xxx.cp = (struct aic7xxx_host *) cmd->host->hostdata;
hostdata4527drivers/scsi/aic7xxx.cp = (struct aic7xxx_host *) cmd->host->hostdata;
hostdata4568drivers/scsi/aic7xxx.cp = (struct aic7xxx_host *) disk->device->host->hostdata;
hostdata98drivers/scsi/aic7xxx_proc.cwhile ((HBAptr->hostdata != NULL) &&
hostdata99drivers/scsi/aic7xxx_proc.c((HBAptr = ((struct aic7xxx_host *) HBAptr->hostdata)->next) != NULL))
hostdata128drivers/scsi/aic7xxx_proc.cp = (struct aic7xxx_host *) HBAptr->hostdata;
hostdata188drivers/scsi/buslogic.c#define HOSTDATA(host) ((struct hostdata *)&(host)->hostdata)
hostdata1135drivers/scsi/buslogic.cshpnt = scsi_register(tpnt, sizeof (struct 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;
hostdata351drivers/scsi/eata_dma.chostdata *hd;
hostdata856drivers/scsi/eata_dma.chostdata *hd;
hostdata948drivers/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));
hostdata316drivers/scsi/hosts.hint hostdata[0];  /* Used for storage of host specific stuff */
hostdata167drivers/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;