taglinefilesource code
uchar72drivers/net/at1700.cuchar tx_queue;        /* Number of packet on the Tx queue. */
uchar76drivers/net/fmv18x.cuchar tx_queue;        /* Number of packet on the Tx queue. */
uchar510drivers/scsi/advansys.c#define ruchar   REG uchar
uchar520drivers/scsi/advansys.c#define UB_ERR   (uchar)(0xFF)
uchar726drivers/scsi/advansys.c#define ASC_SCSI_TIX_TYPE     uchar
uchar747drivers/scsi/advansys.c#define ASC_SCSI_BIT_ID_TYPE  uchar
uchar843drivers/scsi/advansys.c#define ASC_SRB_HOST( x )  ( ( uchar )( ( uchar )( x ) >> 4 ) )
uchar844drivers/scsi/advansys.c#define ASC_SRB_TID( x )   ( ( uchar )( ( uchar )( x ) & ( uchar )0x0F ) )
uchar846drivers/scsi/advansys.c#define ASC_SRB_LUN( x )   ( ( uchar )( ( uint )( x ) >> 13 ) )
uchar848drivers/scsi/advansys.c#define PUT_CDB1( x )   ( ( uchar )( ( uint )( x ) >> 8 ) )
uchar890drivers/scsi/advansys.cuchar               peri_dvc_type:5;
uchar891drivers/scsi/advansys.cuchar               peri_qualifier:3;
uchar895drivers/scsi/advansys.cuchar               dvc_type_modifier:7;
uchar896drivers/scsi/advansys.cuchar               rmb:1;
uchar900drivers/scsi/advansys.cuchar               ansi_apr_ver:3;
uchar901drivers/scsi/advansys.cuchar               ecma_ver:3;
uchar902drivers/scsi/advansys.cuchar               iso_ver:2;
uchar906drivers/scsi/advansys.cuchar               rsp_data_fmt:4;
uchar908drivers/scsi/advansys.cuchar               res:2;
uchar909drivers/scsi/advansys.cuchar               TemIOP:1;
uchar910drivers/scsi/advansys.cuchar               aenc:1;
uchar914drivers/scsi/advansys.cuchar               StfRe:1;
uchar915drivers/scsi/advansys.cuchar               CmdQue:1;
uchar916drivers/scsi/advansys.cuchar               Reserved:1;
uchar917drivers/scsi/advansys.cuchar               Linked:1;
uchar918drivers/scsi/advansys.cuchar               Sync:1;
uchar919drivers/scsi/advansys.cuchar               WBus16:1;
uchar920drivers/scsi/advansys.cuchar               WBus32:1;
uchar921drivers/scsi/advansys.cuchar               RelAdr:1;
uchar929drivers/scsi/advansys.cuchar               add_len;
uchar930drivers/scsi/advansys.cuchar               res1;
uchar931drivers/scsi/advansys.cuchar               res2;
uchar933drivers/scsi/advansys.cuchar               vendor_id[8];
uchar934drivers/scsi/advansys.cuchar               product_id[16];
uchar935drivers/scsi/advansys.cuchar               product_rev_level[4];
uchar939drivers/scsi/advansys.cuchar               err_code:7;
uchar940drivers/scsi/advansys.cuchar               info_valid:1;
uchar941drivers/scsi/advansys.cuchar               segment_no;
uchar942drivers/scsi/advansys.cuchar               sense_key:4;
uchar943drivers/scsi/advansys.cuchar               reserved_bit:1;
uchar944drivers/scsi/advansys.cuchar               sense_ILI:1;
uchar945drivers/scsi/advansys.cuchar               sense_EOM:1;
uchar946drivers/scsi/advansys.cuchar               file_mark:1;
uchar947drivers/scsi/advansys.cuchar               info1[4];
uchar948drivers/scsi/advansys.cuchar               add_sense_len;
uchar949drivers/scsi/advansys.cuchar               cmd_sp_info[4];
uchar950drivers/scsi/advansys.cuchar               asc;
uchar951drivers/scsi/advansys.cuchar               ascq;
uchar953drivers/scsi/advansys.cuchar               fruc;
uchar954drivers/scsi/advansys.cuchar               sks_byte0:7;
uchar955drivers/scsi/advansys.cuchar               sks_valid:1;
uchar956drivers/scsi/advansys.cuchar               sks_bytes[2];
uchar957drivers/scsi/advansys.cuchar               notused[2];
uchar958drivers/scsi/advansys.cuchar               ex_sense_code;
uchar959drivers/scsi/advansys.cuchar               info2[4];
uchar1103drivers/scsi/advansys.cuchar               status;
uchar1104drivers/scsi/advansys.cuchar               q_no;
uchar1105drivers/scsi/advansys.cuchar               cntl;
uchar1106drivers/scsi/advansys.cuchar               sg_queue_cnt;
uchar1108drivers/scsi/advansys.cuchar               target_id;
uchar1109drivers/scsi/advansys.cuchar               target_lun;
uchar1114drivers/scsi/advansys.cuchar               sense_len;
uchar1115drivers/scsi/advansys.cuchar               user_def;
uchar1120drivers/scsi/advansys.cuchar               target_ix;
uchar1122drivers/scsi/advansys.cuchar               flag;
uchar1123drivers/scsi/advansys.cuchar               cdb_len;
uchar1124drivers/scsi/advansys.cuchar               tag_code;
uchar1130drivers/scsi/advansys.cuchar               done_stat;
uchar1131drivers/scsi/advansys.cuchar               host_stat;
uchar1132drivers/scsi/advansys.cuchar               scsi_stat;
uchar1133drivers/scsi/advansys.cuchar               scsi_msg;
uchar1137drivers/scsi/advansys.cuchar               cdb[ASC_MAX_CDB_LEN];
uchar1138drivers/scsi/advansys.cuchar               y_first_sg_list_qp;
uchar1139drivers/scsi/advansys.cuchar               y_working_sg_qp;
uchar1140drivers/scsi/advansys.cuchar               y_working_sg_ix;
uchar1141drivers/scsi/advansys.cuchar               y_cntl;
uchar1151drivers/scsi/advansys.cuchar               q_status;
uchar1152drivers/scsi/advansys.cuchar               q_no;
uchar1153drivers/scsi/advansys.cuchar               cntl;
uchar1154drivers/scsi/advansys.cuchar               sense_len;
uchar1155drivers/scsi/advansys.cuchar               user_def;
uchar1156drivers/scsi/advansys.cuchar               res;
uchar1166drivers/scsi/advansys.cuchar               entry_cnt;
uchar1168drivers/scsi/advansys.cuchar               queue_cnt;
uchar1170drivers/scsi/advansys.cuchar               entry_to_copy;
uchar1171drivers/scsi/advansys.cuchar               res;
uchar1178drivers/scsi/advansys.cuchar               entry_cnt;
uchar1180drivers/scsi/advansys.cuchar               queue_cnt;
uchar1182drivers/scsi/advansys.cuchar               entry_to_copy;
uchar1183drivers/scsi/advansys.cuchar               res;
uchar1198drivers/scsi/advansys.cuchar               q_required;
uchar1199drivers/scsi/advansys.cuchar               res;
uchar1207drivers/scsi/advansys.cuchar dosfar       *cdbptr;
uchar1220drivers/scsi/advansys.cuchar dosfar       *cdbptr;
uchar1227drivers/scsi/advansys.cuchar dosfar       *sense_ptr;
uchar1230drivers/scsi/advansys.cuchar               cdb[ASC_MAX_CDB_LEN];
uchar1231drivers/scsi/advansys.cuchar               sense[ASC_MIN_SENSE_LEN];
uchar1235drivers/scsi/advansys.cuchar               fwd;
uchar1236drivers/scsi/advansys.cuchar               bwd;
uchar1245drivers/scsi/advansys.cuchar               seq_no;
uchar1246drivers/scsi/advansys.cuchar               q_no;
uchar1247drivers/scsi/advansys.cuchar               cntl;
uchar1248drivers/scsi/advansys.cuchar               sg_head_qp;
uchar1249drivers/scsi/advansys.cuchar               sg_list_cnt;
uchar1250drivers/scsi/advansys.cuchar               sg_cur_list_cnt;
uchar1255drivers/scsi/advansys.cuchar               fwd;
uchar1256drivers/scsi/advansys.cuchar               bwd;
uchar1353drivers/scsi/advansys.cuchar               res;
uchar1354drivers/scsi/advansys.cuchar               chip_scsi_id:4;
uchar1356drivers/scsi/advansys.cuchar               isa_dma_speed:4;
uchar1358drivers/scsi/advansys.cuchar               isa_dma_channel;
uchar1359drivers/scsi/advansys.cuchar               chip_version;
uchar1365drivers/scsi/advansys.cuchar               sdtr_data[ASC_MAX_TID + 1];
uchar1366drivers/scsi/advansys.cuchar               max_tag_qng[ASC_MAX_TID + 1];
uchar1367drivers/scsi/advansys.cuchar dosfar       *overrun_buf;
uchar1415drivers/scsi/advansys.cuchar               scsi_reset_wait;
uchar1416drivers/scsi/advansys.cuchar               chip_no;
uchar1419drivers/scsi/advansys.cuchar               max_total_qng;
uchar1421drivers/scsi/advansys.cuchar               cur_total_qng;
uchar1423drivers/scsi/advansys.cuchar               in_critical_cnt;
uchar1425drivers/scsi/advansys.cuchar               irq_no;
uchar1426drivers/scsi/advansys.cuchar               last_q_shortage;
uchar1429drivers/scsi/advansys.cuchar               cur_dvc_qng[ASC_MAX_TID + 1];
uchar1430drivers/scsi/advansys.cuchar               max_dvc_qng[ASC_MAX_TID + 1];
uchar1452drivers/scsi/advansys.cuchar               type[ASC_MAX_TID + 1][ASC_MAX_LUN + 1];
uchar1500drivers/scsi/advansys.cuchar               msg_type;
uchar1501drivers/scsi/advansys.cuchar               msg_len;
uchar1502drivers/scsi/advansys.cuchar               msg_req;
uchar1503drivers/scsi/advansys.cuchar               xfer_period;
uchar1504drivers/scsi/advansys.cuchar               req_ack_offset;
uchar1505drivers/scsi/advansys.cuchar               res;
uchar1550drivers/scsi/advansys.cuchar               init_sdtr;
uchar1551drivers/scsi/advansys.cuchar               disc_enable;
uchar1553drivers/scsi/advansys.cuchar               use_cmd_qng;
uchar1555drivers/scsi/advansys.cuchar               start_motor;
uchar1556drivers/scsi/advansys.cuchar               max_total_qng;
uchar1557drivers/scsi/advansys.cuchar               max_tag_qng;
uchar1558drivers/scsi/advansys.cuchar               bios_scan;
uchar1560drivers/scsi/advansys.cuchar               power_up_wait;
uchar1562drivers/scsi/advansys.cuchar               no_scam;
uchar1563drivers/scsi/advansys.cuchar               chip_scsi_id:4;
uchar1565drivers/scsi/advansys.cuchar               isa_dma_speed:4;
uchar1567drivers/scsi/advansys.cuchar               sdtr_data[ASC_MAX_TID + 1];
uchar1569drivers/scsi/advansys.cuchar               adapter_info[6];
uchar1726drivers/scsi/advansys.c#define AscGetChipDmaSpeed( port )         ( uchar )inp( (port)+IOP_DMA_SPEED )
uchar1728drivers/scsi/advansys.c#define AscGetChipQP( port )               ( uchar )inp( (port)+IOP_REG_QP )
uchar1731drivers/scsi/advansys.c#define AscGetChipVerNo( port )            ( uchar )inp( (port)+IOP_VERSION )
uchar1733drivers/scsi/advansys.c#define AscGetChipEEPCmd( port )           ( uchar )inp( (port)+IOP_EEP_CMD )
uchar1738drivers/scsi/advansys.c#define AscGetChipControl( port )          ( uchar )inp( (port)+IOP_CTRL )
uchar1823drivers/scsi/advansys.c#define CC_CHIP_RESET   ( uchar )0x80
uchar1824drivers/scsi/advansys.c#define CC_SCSI_RESET   ( uchar )0x40
uchar1825drivers/scsi/advansys.c#define CC_HALT         ( uchar )0x20
uchar1826drivers/scsi/advansys.c#define CC_SINGLE_STEP  ( uchar )0x10
uchar1827drivers/scsi/advansys.c#define CC_DMA_ABLE     ( uchar )0x08
uchar1828drivers/scsi/advansys.c#define CC_TEST         ( uchar )0x04
uchar1829drivers/scsi/advansys.c#define CC_BANK_ONE     ( uchar )0x02
uchar1830drivers/scsi/advansys.c#define CC_DIAG         ( uchar )0x01
uchar1862drivers/scsi/advansys.cint                 AscWriteEEPCmdReg(PortAddr iop_base, uchar cmd_reg);
uchar1866drivers/scsi/advansys.cushort              AscReadEEPWord(PortAddr, uchar);
uchar1867drivers/scsi/advansys.cushort              AscWriteEEPWord(PortAddr, uchar, ushort);
uchar1871drivers/scsi/advansys.cushort              AscEEPSum(PortAddr, uchar, uchar);
uchar1876drivers/scsi/advansys.cint                 AscSetRunChipSynRegAtID(PortAddr, uchar, uchar);
uchar1886drivers/scsi/advansys.cvoid                AscSetBank(PortAddr, uchar);
uchar1887drivers/scsi/advansys.cuchar               AscGetBank(PortAddr);
uchar1891drivers/scsi/advansys.cuchar               AscSetIsaDmaSpeed(PortAddr, uchar);
uchar1892drivers/scsi/advansys.cuchar               AscGetIsaDmaSpeed(PortAddr);
uchar1894drivers/scsi/advansys.cuchar               AscReadLramByte(PortAddr, ushort);
uchar1899drivers/scsi/advansys.cvoid                AscWriteLramByte(PortAddr, ushort, uchar);
uchar1902drivers/scsi/advansys.cint                 AscVerWriteLramByte(PortAddr, ushort, uchar);
uchar1923drivers/scsi/advansys.cuchar               AscMsgOutSDTR(PortAddr, uchar, uchar);
uchar1925drivers/scsi/advansys.cuchar               AscCalSDTRData(uchar, uchar);
uchar1926drivers/scsi/advansys.cvoid                AscSetChipSDTR(PortAddr, uchar, uchar);
uchar1927drivers/scsi/advansys.cint                 AscInitChipAllSynReg(ASC_DVC_VAR asc_ptr_type *, uchar);
uchar1928drivers/scsi/advansys.cuchar               AscGetSynPeriodIndex(uchar);
uchar1929drivers/scsi/advansys.cuchar               AscSynIndexToPeriod(uchar);
uchar1930drivers/scsi/advansys.cuchar               AscAllocFreeQueue(PortAddr, uchar);
uchar1931drivers/scsi/advansys.cuchar               AscAllocMultipleFreeQueue(PortAddr, uchar, uchar);
uchar1933drivers/scsi/advansys.cint                 AscRiscHaltedAbortTIX(ASC_DVC_VAR asc_ptr_type *, uchar);
uchar1941drivers/scsi/advansys.cASC_QDONE_INFO dosfar *, uchar);
uchar1944drivers/scsi/advansys.cint                 AscWaitTixISRDone(ASC_DVC_VAR asc_ptr_type *, uchar);
uchar1946drivers/scsi/advansys.culong               AscGetOnePhyAddr(ASC_DVC_VAR asc_ptr_type *, uchar dosfar *, ulong);
uchar1950drivers/scsi/advansys.cuchar n_q_required);
uchar1951drivers/scsi/advansys.cint                 AscPutReadyQueue(ASC_DVC_VAR asc_ptr_type *, ASC_SCSI_Q dosfar *, uchar);
uchar1953drivers/scsi/advansys.cASC_SCSI_Q dosfar *, uchar);
uchar1956drivers/scsi/advansys.cint                 AscSetChipSynRegAtID(PortAddr, uchar, uchar);
uchar1957drivers/scsi/advansys.cint                 AscSetRunChipSynRegAtID(PortAddr, uchar, uchar);
uchar1968drivers/scsi/advansys.cuchar               _AscCopyLramScsiDoneQ(PortAddr, ushort,
uchar1971drivers/scsi/advansys.cushort              AscIsrExeBusyQueue(ASC_DVC_VAR asc_ptr_type *, uchar);
uchar1973drivers/scsi/advansys.cuchar dosfar *, ulong);
uchar1976drivers/scsi/advansys.cuchar dosfar *, int);
uchar1979drivers/scsi/advansys.cASC_SCSI_REQ_Q dosfar *, uchar);
uchar1982drivers/scsi/advansys.cuchar dosfar *);
uchar1984drivers/scsi/advansys.culong dosfar       *swapfarbuf4(uchar dosfar *);
uchar1992drivers/scsi/advansys.cuchar dosfar *, int);
uchar1999drivers/scsi/advansys.cvoid                AscDispInquiry(uchar, uchar, ASC_SCSI_INQUIRY dosfar *);
uchar2013drivers/scsi/advansys.cuchar               AscSetChipScsiID(PortAddr, uchar);
uchar2016drivers/scsi/advansys.cuchar               AscGetChipVersion(PortAddr, ushort);
uchar2026drivers/scsi/advansys.cshort               itos(ushort, uchar dosfar *, short, short);
uchar2027drivers/scsi/advansys.cint                 insnchar(uchar dosfar *, short, short, ruchar, short);
uchar2029drivers/scsi/advansys.cvoid                btoh(uchar, ruchar dosfar *);
uchar2031drivers/scsi/advansys.cuchar dosfar       *todstr(ushort, uchar dosfar *);
uchar2032drivers/scsi/advansys.cuchar dosfar       *tohstr(ushort, uchar dosfar *);
uchar2033drivers/scsi/advansys.cuchar dosfar       *tobhstr(uchar, uchar dosfar *);
uchar2034drivers/scsi/advansys.cuchar dosfar       *tolhstr(ulong, uchar dosfar *);
uchar2037drivers/scsi/advansys.cuchar               AscGetChipIRQ(PortAddr, ushort);
uchar2038drivers/scsi/advansys.cuchar               AscSetChipIRQ(PortAddr, uchar, ushort);
uchar2039drivers/scsi/advansys.cuchar               AscGetChipScsiCtrl(PortAddr);
uchar2072drivers/scsi/advansys.cextern void         DvcDisplayString(uchar dosfar *);
uchar2073drivers/scsi/advansys.cextern ulong        DvcGetPhyAddr(uchar dosfar * buf_addr, ulong buf_len);
uchar2074drivers/scsi/advansys.cextern ulong        DvcGetSGList(ASC_DVC_VAR asc_ptr_type *, uchar dosfar *, ulong,
uchar2090drivers/scsi/advansys.cuchar dosfar *,
uchar2105drivers/scsi/advansys.cuchar dosfar *);
uchar2113drivers/scsi/advansys.cuint                AscGetNumOfFreeQueue(ASC_DVC_VAR asc_ptr_type *, uchar, uchar);
uchar2116drivers/scsi/advansys.cint                 AscSetDvcErrorCode(ASC_DVC_VAR asc_ptr_type *, uchar);
uchar2119drivers/scsi/advansys.cint                 AscResetDevice(ASC_DVC_VAR asc_ptr_type *, uchar);
uchar2122drivers/scsi/advansys.cvoid                AscEnableIsaDma(uchar);
uchar2123drivers/scsi/advansys.cvoid                AscDisableIsaDma(uchar);
uchar2369drivers/scsi/advansys.cASC_DBG_PRT_HEX((lvl), "CDB", (uchar *) (cdb), (len));
uchar2372drivers/scsi/advansys.cASC_DBG_PRT_HEX((lvl), "SENSE", (uchar *) (sense), (len));
uchar2375drivers/scsi/advansys.cASC_DBG_PRT_HEX((lvl), "INQUIRY", (uchar *) (inq), (len));
uchar2402drivers/scsi/advansys.cuchar         overrun_buf[ASC_OVERRUN_BSIZE];
uchar2418drivers/scsi/advansys.cuchar  type;
uchar2419drivers/scsi/advansys.cuchar  bus;
uchar2420drivers/scsi/advansys.cuchar  slot;
uchar2421drivers/scsi/advansys.cuchar  func;
uchar2422drivers/scsi/advansys.cuchar  offset;
uchar2431drivers/scsi/advansys.cuchar  busNumber;
uchar2432drivers/scsi/advansys.cuchar  maxBusNumber;
uchar2433drivers/scsi/advansys.cuchar  devFunc;
uchar2436drivers/scsi/advansys.cuchar  bridge;
uchar2437drivers/scsi/advansys.cuchar  type;
uchar2446drivers/scsi/advansys.cuchar  revision;
uchar2447drivers/scsi/advansys.cuchar  classCode[3];
uchar2448drivers/scsi/advansys.cuchar  cacheSize;
uchar2449drivers/scsi/advansys.cuchar  latencyTimer;
uchar2450drivers/scsi/advansys.cuchar  headerType;
uchar2451drivers/scsi/advansys.cuchar  bist;
uchar2456drivers/scsi/advansys.cuchar  irqLine;
uchar2457drivers/scsi/advansys.cuchar  irqPin;
uchar2458drivers/scsi/advansys.cuchar  minGnt;
uchar2459drivers/scsi/advansys.cuchar  maxLatency;
uchar2561drivers/scsi/advansys.cSTATIC uchar     asc_scan_method(PCI_DEVICE *);
uchar2565drivers/scsi/advansys.cSTATIC uchar     asc_get_cfg_byte(PCI_DATA *);
uchar2584drivers/scsi/advansys.cSTATIC void   asc_prt_hex(char *f, uchar *, int);
uchar4126drivers/scsi/advansys.cSTATIC uchar
uchar4131drivers/scsi/advansys.cuchar type;
uchar4132drivers/scsi/advansys.cuchar slot;
uchar4161drivers/scsi/advansys.cuchar classcode, subclass;
uchar4162drivers/scsi/advansys.cuchar lslot;
uchar4208drivers/scsi/advansys.cuchar counter;
uchar4209drivers/scsi/advansys.cuchar *localConfig;
uchar4218drivers/scsi/advansys.clocalConfig = (uchar *) pciConfig;
uchar4242drivers/scsi/advansys.cuchar t2CFA, t2CF8;
uchar4308drivers/scsi/advansys.cSTATIC uchar
uchar4311drivers/scsi/advansys.cuchar tmp;
uchar4314drivers/scsi/advansys.cuchar t2CFA, t2CF8;
uchar4373drivers/scsi/advansys.ctmp = (uchar) ((inl(0xCFC) >> ((pciData->offset & 3) * 8)) & 0xFF);
uchar4489drivers/scsi/advansys.cDvcDisplayString(uchar *s)
uchar4517drivers/scsi/advansys.cDvcGetPhyAddr(uchar *buf_addr, ulong buf_len)
uchar4526drivers/scsi/advansys.cDvcGetSGList(ASC_DVC_VAR *asc_dvc_sg, uchar *buf_addr, ulong buf_len,
uchar4553drivers/scsi/advansys.cASC_DBG_PRT_HEX(2, "DvcPutScsiQ", (uchar *) outbuf, 2 * words);
uchar4585drivers/scsi/advansys.cASC_DBG_PRT_HEX(2, "DvcGetQinfo", (uchar *) inbuf, 2 * words);
uchar4924drivers/scsi/advansys.casc_prt_hex(char *f, uchar *s, int l)
uchar5011drivers/scsi/advansys.cuchar
uchar5014drivers/scsi/advansys.cuchar new_host_id
uchar5050drivers/scsi/advansys.cuchar
uchar5059drivers/scsi/advansys.cuchar               revision;
uchar5064drivers/scsi/advansys.creturn ((uchar) ((ASC_CHIP_MIN_VER_EISA - 1) + revision));
uchar5100drivers/scsi/advansys.cuchar dma_channel
uchar5139drivers/scsi/advansys.cuchar               _hextbl_[16] =
uchar5143drivers/scsi/advansys.cuchar               _isa_pnp_inited = 0;
uchar5216drivers/scsi/advansys.cif ((inp((PortAddr) (iop_base + 1)) & 0xFF) == (uchar) ASC_1000_ID1B) {
uchar5250drivers/scsi/advansys.cuchar
uchar5257drivers/scsi/advansys.cuchar               chip_irq;
uchar5262drivers/scsi/advansys.cchip_irq = (uchar) (((cfg_lsw >> 8) & 0x07) + 10);
uchar5274drivers/scsi/advansys.cchip_irq = (uchar) (((cfg_lsw >> 2) & 0x07));
uchar5280drivers/scsi/advansys.creturn ((uchar) (chip_irq + (ASC_MIN_IRQ_NO - 1)));
uchar5282drivers/scsi/advansys.cchip_irq = (uchar) (((cfg_lsw >> 2) & 0x03));
uchar5284drivers/scsi/advansys.cchip_irq += (uchar) 2;
uchar5285drivers/scsi/advansys.creturn ((uchar) (chip_irq + ASC_MIN_IRQ_NO));
uchar5289drivers/scsi/advansys.cuchar
uchar5292drivers/scsi/advansys.cuchar irq_no,
uchar5304drivers/scsi/advansys.cirq_no -= (uchar) ((ASC_MIN_IRQ_NO - 1));
uchar5322drivers/scsi/advansys.cirq_no -= (uchar) 2;
uchar5323drivers/scsi/advansys.cirq_no -= (uchar) ASC_MIN_IRQ_NO;
uchar5334drivers/scsi/advansys.cuchar
uchar5339drivers/scsi/advansys.cuchar               sc;
uchar5347drivers/scsi/advansys.cextern uchar        _sdtr_period_tbl_[];
uchar5362drivers/scsi/advansys.cuchar               tag_code;
uchar5363drivers/scsi/advansys.cuchar               q_status;
uchar5364drivers/scsi/advansys.cuchar               halt_qp;
uchar5365drivers/scsi/advansys.cuchar               sdtr_data;
uchar5366drivers/scsi/advansys.cuchar               target_ix;
uchar5367drivers/scsi/advansys.cuchar               q_cntl, tid_no;
uchar5368drivers/scsi/advansys.cuchar               cur_dvc_qng;
uchar5369drivers/scsi/advansys.cuchar               asyn_sdtr;
uchar5370drivers/scsi/advansys.cuchar               scsi_status;
uchar5382drivers/scsi/advansys.ctarget_id = (uchar) ASC_TID_TO_TARGET_ID(tid_no);
uchar5456drivers/scsi/advansys.c_sdtr_period_tbl_[(sdtr_data >> 4) & (uchar) (ASC_SYN_XFER_NO - 1)],
uchar5457drivers/scsi/advansys.c(uchar) (sdtr_data & (uchar) ASC_SYN_MAX_OFFSET));
uchar5543drivers/scsi/advansys.cuchar
uchar5552drivers/scsi/advansys.cuchar               sg_queue_cnt;
uchar5565drivers/scsi/advansys.cscsiq->q_status = (uchar) _val;
uchar5566drivers/scsi/advansys.cscsiq->q_no = (uchar) (_val >> 8);
uchar5570drivers/scsi/advansys.cscsiq->cntl = (uchar) _val;
uchar5571drivers/scsi/advansys.csg_queue_cnt = (uchar) (_val >> 8);
uchar5575drivers/scsi/advansys.cscsiq->sense_len = (uchar) _val;
uchar5576drivers/scsi/advansys.cscsiq->user_def = (uchar) (_val >> 8);
uchar5590drivers/scsi/advansys.cuchar               next_qp;
uchar5591drivers/scsi/advansys.cuchar               i;
uchar5592drivers/scsi/advansys.cuchar               n_q_used;
uchar5593drivers/scsi/advansys.cuchar               sg_list_qp;
uchar5594drivers/scsi/advansys.cuchar               sg_queue_cnt;
uchar5595drivers/scsi/advansys.cuchar               done_q_tail;
uchar5597drivers/scsi/advansys.cuchar               tid_no;
uchar5603drivers/scsi/advansys.cuchar               cur_target_qng;
uchar5609drivers/scsi/advansys.cuchar               tag_code;
uchar5621drivers/scsi/advansys.cdone_q_tail = (uchar) AscGetVarDoneQTail(iop_base);
uchar5634drivers/scsi/advansys.c(uchar) (scsiq->q_status & (uchar) ~ (QS_READY | QS_ABORTED)));
uchar5777drivers/scsi/advansys.cuchar               ctrl_reg;
uchar5778drivers/scsi/advansys.cuchar               saved_ctrl_reg;
uchar5781drivers/scsi/advansys.cuchar               host_flag;
uchar5813drivers/scsi/advansys.c(uchar) (host_flag | (uchar) ASC_HOST_FLAG_IN_ISR));
uchar5857drivers/scsi/advansys.cuchar dosfar * buf_addr,
uchar5867drivers/scsi/advansys.cscsiq->cdbptr = (uchar dosfar *) scsiq->cdb;
uchar5875drivers/scsi/advansys.cscsiq->r2.tag_code = (uchar) M2_QTAG_MSG_SIMPLE;
uchar5876drivers/scsi/advansys.cscsiq->r2.flag = (uchar) ASC_FLAG_SCSIQ_REQ;
uchar5878drivers/scsi/advansys.cscsiq->r1.status = (uchar) QS_READY;
uchar5883drivers/scsi/advansys.c(uchar dosfar *) buf_addr, scsiq->r1.data_cnt)) == 0L) {
uchar5891drivers/scsi/advansys.cuchar               _mcode_buf[] =
uchar6039drivers/scsi/advansys.cextern uchar        _sdtr_period_tbl_[];
uchar6051drivers/scsi/advansys.cuchar               sg_entry_cnt;
uchar6052drivers/scsi/advansys.cuchar               target_ix;
uchar6054drivers/scsi/advansys.cuchar               sg_entry_cnt_minus_one;
uchar6055drivers/scsi/advansys.cuchar               tid_no;
uchar6056drivers/scsi/advansys.cuchar               sdtr_data;
uchar6092drivers/scsi/advansys.c_sdtr_period_tbl_[(sdtr_data >> 4) & (uchar) (ASC_SYN_XFER_NO - 1)],
uchar6093drivers/scsi/advansys.c(uchar) (sdtr_data & (uchar) ASC_SYN_MAX_OFFSET));
uchar6290drivers/scsi/advansys.cuchar n_q_required
uchar6294drivers/scsi/advansys.cuchar               free_q_head;
uchar6295drivers/scsi/advansys.cuchar               next_qp;
uchar6296drivers/scsi/advansys.cuchar               tid_no;
uchar6297drivers/scsi/advansys.cuchar               target_ix;
uchar6304drivers/scsi/advansys.cfree_q_head = (uchar) AscGetVarFreeQHead(iop_base);
uchar6307drivers/scsi/advansys.cfree_q_head, (uchar) (n_q_required)))
uchar6308drivers/scsi/advansys.c!= (uchar) ASC_QLINK_END) {
uchar6321drivers/scsi/advansys.casc_dvc->cur_total_qng += (uchar) (n_q_required);
uchar6365drivers/scsi/advansys.cuchar target_ix, uchar n_qs
uchar6371drivers/scsi/advansys.cuchar               tid_no;
uchar6408drivers/scsi/advansys.cuchar q_no
uchar6412drivers/scsi/advansys.cuchar               tid_no;
uchar6413drivers/scsi/advansys.cuchar               sdtr_data;
uchar6414drivers/scsi/advansys.cuchar               syn_period_ix;
uchar6415drivers/scsi/advansys.cuchar               syn_offset;
uchar6503drivers/scsi/advansys.cuchar q_no
uchar6506drivers/scsi/advansys.cuchar               sg_list_dwords;
uchar6507drivers/scsi/advansys.cuchar               sg_index, i;
uchar6508drivers/scsi/advansys.cuchar               sg_entry_cnt;
uchar6509drivers/scsi/advansys.cuchar               next_qp;
uchar6537drivers/scsi/advansys.csg_list_dwords = (uchar) (ASC_SG_LIST_PER_Q * 2);
uchar6620drivers/scsi/advansys.cuchar target_ix
uchar6625drivers/scsi/advansys.cuchar               tid_no;
uchar6630drivers/scsi/advansys.cuchar dosfar       *buf;
uchar6650drivers/scsi/advansys.cbuf = (uchar dosfar *) & scsiq_buf;
uchar6655drivers/scsi/advansys.cscsiq->r1.status = (uchar) QS_READY;
uchar6661drivers/scsi/advansys.cscsiq->cdbptr = (uchar dosfar *) scsiq->cdb;
uchar6755drivers/scsi/advansys.cuchar tid_no,
uchar6756drivers/scsi/advansys.cuchar sdtr_data
uchar6773drivers/scsi/advansys.cuchar id,
uchar6774drivers/scsi/advansys.cuchar sdtr_data
uchar6804drivers/scsi/advansys.cuchar               i;
uchar6820drivers/scsi/advansys.c(uchar) (i + 1));
uchar6822drivers/scsi/advansys.c(uchar) (asc_dvc->max_total_qng));
uchar6824drivers/scsi/advansys.c(uchar) i);
uchar6829drivers/scsi/advansys.c(uchar) (i + 1));
uchar6831drivers/scsi/advansys.c(uchar) (i - 1));
uchar6833drivers/scsi/advansys.c(uchar) i);
uchar6837drivers/scsi/advansys.c(uchar) ASC_QLINK_END);
uchar6839drivers/scsi/advansys.c(uchar) (asc_dvc->max_total_qng - 1));
uchar6841drivers/scsi/advansys.c(uchar) asc_dvc->max_total_qng);
uchar6845drivers/scsi/advansys.cfor (; i <= (uchar) (asc_dvc->max_total_qng + 3);
uchar6876drivers/scsi/advansys.c(uchar) ((int) asc_dvc->max_total_qng + 1));
uchar6878drivers/scsi/advansys.c(uchar) ((int) asc_dvc->max_total_qng + 2));
uchar6921drivers/scsi/advansys.cuchar               q_status;
uchar6937drivers/scsi/advansys.cuchar               _sdtr_period_tbl_[ASC_SYN_XFER_NO] =
uchar6948drivers/scsi/advansys.cuchar
uchar6951drivers/scsi/advansys.cuchar sdtr_period,
uchar6952drivers/scsi/advansys.cuchar sdtr_offset
uchar6956drivers/scsi/advansys.cuchar               sdtr_period_index;
uchar6975drivers/scsi/advansys.cuchar
uchar6977drivers/scsi/advansys.cuchar sdtr_period,
uchar6978drivers/scsi/advansys.cuchar syn_offset
uchar6981drivers/scsi/advansys.cuchar               byte;
uchar6982drivers/scsi/advansys.cuchar               sdtr_period_ix;
uchar6996drivers/scsi/advansys.cuchar sdtr_data,
uchar6997drivers/scsi/advansys.cuchar tid_no
uchar7008drivers/scsi/advansys.cuchar
uchar7010drivers/scsi/advansys.cuchar syn_time
uchar7048drivers/scsi/advansys.cuchar
uchar7051drivers/scsi/advansys.cuchar free_q_head
uchar7055drivers/scsi/advansys.cuchar               next_qp;
uchar7056drivers/scsi/advansys.cuchar               q_status;
uchar7059drivers/scsi/advansys.cq_status = (uchar) AscReadLramByte(iop_base,
uchar7070drivers/scsi/advansys.cuchar
uchar7073drivers/scsi/advansys.cuchar free_q_head,
uchar7074drivers/scsi/advansys.cuchar n_free_q
uchar7077drivers/scsi/advansys.cuchar               i;
uchar7096drivers/scsi/advansys.cuchar               q_no;
uchar7142drivers/scsi/advansys.cuchar target_ix
uchar7147drivers/scsi/advansys.cuchar               q_no;
uchar7154drivers/scsi/advansys.cuchar               tid_no;
uchar7207drivers/scsi/advansys.cuchar               saved_stop_code;
uchar7267drivers/scsi/advansys.cuchar               stop_code;
uchar7289drivers/scsi/advansys.cuchar               stop_code;
uchar7308drivers/scsi/advansys.cuchar target_ix
uchar7311drivers/scsi/advansys.cuchar               cur_req;
uchar7312drivers/scsi/advansys.cuchar               tid_no;
uchar7343drivers/scsi/advansys.cuchar dosfar * buf_addr,
uchar7350drivers/scsi/advansys.cif (DvcGetSGList(asc_dvc, (uchar dosfar *) buf_addr,
uchar7433drivers/scsi/advansys.cuchar               cc_val;
uchar7436drivers/scsi/advansys.cAscSetChipControl(iop_base, (uchar) (cc_val | CC_HALT));
uchar7477drivers/scsi/advansys.cuchar               host_flag;
uchar7478drivers/scsi/advansys.cuchar               risc_flag;
uchar7491drivers/scsi/advansys.c(uchar) (host_flag | ASC_HOST_FLAG_ACK_INT));
uchar7534drivers/scsi/advansys.cuchar bank
uchar7537drivers/scsi/advansys.cuchar               val;
uchar7592drivers/scsi/advansys.cuchar               value;
uchar7608drivers/scsi/advansys.cuchar
uchar7611drivers/scsi/advansys.cuchar speed_value
uchar7621drivers/scsi/advansys.cuchar
uchar7626drivers/scsi/advansys.cuchar               speed_value;
uchar7702drivers/scsi/advansys.cextern uchar        _mcode_buf[];
uchar7799drivers/scsi/advansys.casc_dvc->cfg->isa_dma_channel = (uchar) AscGetIsaDmaChannel(iop_base);
uchar7812drivers/scsi/advansys.c(uchar) (ASC_DEF_SDTR_OFFSET | (ASC_DEF_SDTR_INDEX << 4));
uchar7878drivers/scsi/advansys.cuchar               i;
uchar8037drivers/scsi/advansys.c(uchar dosfar *) asc_dvc->cfg->overrun_buf,
uchar8072drivers/scsi/advansys.cuchar               cp_sen_len;
uchar8073drivers/scsi/advansys.cuchar               i;
uchar8085drivers/scsi/advansys.ccp_sen_len = (uchar) ASC_MIN_SENSE_LEN;
uchar8087drivers/scsi/advansys.ccp_sen_len = (uchar) scsiq_req->r1.sense_len;
uchar8133drivers/scsi/advansys.cuchar cmd_reg
uchar8136drivers/scsi/advansys.cuchar               read_back;
uchar8197drivers/scsi/advansys.cuchar addr
uchar8201drivers/scsi/advansys.cuchar               cmd_reg;
uchar8216drivers/scsi/advansys.cuchar addr,
uchar8231drivers/scsi/advansys.c(uchar) ((uchar) ASC_EEP_CMD_WRITE | addr));
uchar8260drivers/scsi/advansys.cwval = AscReadEEPWord(iop_base, (uchar) s_addr);
uchar8275drivers/scsi/advansys.cwval = AscReadEEPWord(iop_base, (uchar) s_addr);
uchar8279drivers/scsi/advansys.c*wbuf = AscReadEEPWord(iop_base, (uchar) s_addr);
uchar8301drivers/scsi/advansys.cif (*wbuf != AscWriteEEPWord(iop_base, (uchar) s_addr, *wbuf)) {
uchar8315drivers/scsi/advansys.cif (*wbuf != AscWriteEEPWord(iop_base, (uchar) s_addr, *wbuf)) {
uchar8320drivers/scsi/advansys.cif (sum != AscWriteEEPWord(iop_base, (uchar) s_addr, sum)) {
uchar8325drivers/scsi/advansys.cif (*wbuf != AscReadEEPWord(iop_base, (uchar) s_addr)) {
uchar8331drivers/scsi/advansys.cif (*wbuf != AscReadEEPWord(iop_base, (uchar) s_addr)) {
uchar8370drivers/scsi/advansys.cDvcDisplayString((uchar dosfar *) "\r\n");
uchar8411drivers/scsi/advansys.cDvcDisplayString((uchar dosfar *) "\r\n");
uchar8428drivers/scsi/advansys.cuchar               tid_no, lun;
uchar8429drivers/scsi/advansys.cuchar               dvc_type;
uchar8442drivers/scsi/advansys.c(uchar dosfar *) scsiq->sense_ptr,
uchar8454drivers/scsi/advansys.cif (PollScsiInquiry(asc_dvc, scsiq, (uchar dosfar *) inq,
uchar8609drivers/scsi/advansys.cuchar dosfar * buf,
uchar8630drivers/scsi/advansys.c(uchar dosfar *) & scsi_cap_info) == ERR) {
uchar8636drivers/scsi/advansys.ccap_info->lba = (ulong) * swapfarbuf4((uchar dosfar *) & scsi_cap_info.lba);
uchar8637drivers/scsi/advansys.ccap_info->blk_size = (ulong) * swapfarbuf4((uchar dosfar *) & scsi_cap_info.blk_size);
uchar8649drivers/scsi/advansys.cuchar dosfar * buf
uchar8652drivers/scsi/advansys.cuchar               tmp;
uchar8802drivers/scsi/advansys.cuchar
uchar8808drivers/scsi/advansys.cuchar               byte_data;
uchar8816drivers/scsi/advansys.cbyte_data = (uchar) ((word_data >> 8) & 0xFF);
uchar8818drivers/scsi/advansys.cbyte_data = (uchar) (word_data & 0xFF);
uchar8826drivers/scsi/advansys.cbyte_data = (uchar) (word_data & 0xFF);
uchar8828drivers/scsi/advansys.cbyte_data = (uchar) ((word_data >> 8) & 0xFF);
uchar8913drivers/scsi/advansys.cuchar byte_val
uchar9028drivers/scsi/advansys.cuchar dosfar * buf, int buf_len
uchar9035drivers/scsi/advansys.cscsiq->cdb[0] = (uchar) SCSICMD_Inquiry;
uchar9049drivers/scsi/advansys.cuchar dosfar * info
uchar9055drivers/scsi/advansys.cscsiq->cdb[0] = (uchar) SCSICMD_ReadCapacity;
uchar9079drivers/scsi/advansys.cscsiq->r1.cntl = (uchar) ASC_SCSIDIR_NODATA;
uchar9080drivers/scsi/advansys.cscsiq->cdb[0] = (uchar) SCSICMD_TestUnitReady;
uchar9094drivers/scsi/advansys.cuchar op_mode
uchar9100drivers/scsi/advansys.cscsiq->r1.cntl = (uchar) ASC_SCSIDIR_NODATA;
uchar9101drivers/scsi/advansys.cscsiq->cdb[0] = (uchar) SCSICMD_StartStopUnit;