Lines Matching refs:u_char

1225 /*2*/	u_char	sval;
1226 /*3*/ u_char minsync;
1227 /*0*/ u_char wval;
1228 /*1*/ u_char widedone;
1229 /*2*/ u_char quirks;
1230 /*3*/ u_char maxoffs;
1232 /*0*/ u_char minsync;
1233 /*1*/ u_char sval;
1235 /*0*/ u_char maxoffs;
1236 /*1*/ u_char quirks;
1237 /*2*/ u_char widedone;
1238 /*3*/ u_char wval;
1242 u_char usrsync;
1243 u_char usrwide;
1244 u_char usrtags;
1245 u_char usrflag;
1294 u_char actccbs; /* Number of allocated CCBs */
1295 u_char busyccbs; /* CCBs busy for this lun */
1296 u_char queuedccbs; /* CCBs queued to the controller*/
1297 u_char queuedepth; /* Queue depth for this lun */
1298 u_char scdev_depth; /* SCSI device queue depth */
1299 u_char maxnxs; /* Max possible nexuses */
1307 u_char ia_tag; /* Allocation index */
1308 u_char if_tag; /* Freeing index */
1309 u_char cb_tags[MAX_TAGS]; /* Circular tags buffer */
1310 u_char usetags; /* Command queuing is active */
1311 u_char maxtags; /* Max nr of tags asked by user */
1312 u_char numtags; /* Current number of tags */
1398 u_char scr_st[4]; /* script status */
1399 u_char status[4]; /* host status. must be the */
1553 u_char cdb_buf[16]; /* Copy of CDB */
1554 u_char sense_buf[64];
1567 u_char scsi_smsg [8];
1568 u_char scsi_smsg2[8];
1575 u_char sensecmd[6]; /* Sense command */
1576 u_char tag; /* Tag for this transfer */
1578 u_char target;
1579 u_char lun;
1580 u_char queued;
1581 u_char auto_sense;
1630 u_char sv_scntl0, sv_scntl3, sv_dmode, sv_dcntl, sv_ctest0, sv_ctest3,
1639 u_char rv_scntl0, rv_scntl3, rv_dmode, rv_dcntl, rv_ctest0, rv_ctest3,
1683 u_char revision_id; /* PCI device revision id */
1686 u_char myaddr; /* SCSI id of the adapter */
1687 u_char maxburst; /* log base 2 of dwords burst */
1688 u_char maxwide; /* Maximum transfer width */
1689 u_char minsync; /* Minimum sync period factor */
1690 u_char maxsync; /* Maximum sync period factor */
1691 u_char maxoffs; /* Max scsi offset */
1692 u_char multiplier; /* Clock multiplier (1,2,4) */
1693 u_char clock_divn; /* Number of clock divisors */
1728 u_char msgout[8]; /* Buffer for MESSAGE OUT */
1729 u_char msgin [8]; /* Buffer for MESSAGE IN */
1731 u_char scratch; /* Scratch for SCSI receive */
1737 u_char disc; /* Diconnection allowed */
1738 u_char scsi_mode; /* Current SCSI BUS mode */
1739 u_char order; /* Tag order to use */
1740 u_char verbose; /* Verbosity for this controller*/
1758 volatile u_char release_stage; /* Synchronisation stage on release */
1919 static void ncr_alloc_ccb (struct ncb *np, u_char tn, u_char ln);
1924 static void ncr_init_tcb (struct ncb *np, u_char tn);
1925 static struct lcb * ncr_alloc_lcb (struct ncb *np, u_char tn, u_char ln);
1928 static void ncr_selectclock (struct ncb *np, u_char scntl3);
1938 static int ncr_prepare_nego(struct ncb *np, struct ccb *cp, u_char *msgptr);
1944 static void ncr_getsync (struct ncb *np, u_char sfac, u_char *fakp, u_char *scntl3p);
1945 static void ncr_setsync (struct ncb *np, struct ccb *cp, u_char scntl3, u_char sxfer);
1947 static void ncr_setwide (struct ncb *np, struct ccb *cp, u_char wide, u_char ack);
3679 static void ncr_print_msg(struct ccb *cp, char *label, u_char *msg) in ncr_print_msg()
3728 static inline void ncr_init_burst(struct ncb *np, u_char bc) in ncr_init_burst()
3730 u_char *be = &np->rv_ctest0; in ncr_init_burst()
3746 u_char burst_max; in ncr_prepare_setting()
4060 static int ncr_prepare_nego(struct ncb *np, struct ccb *cp, u_char *msgptr) in ncr_prepare_nego()
4127 u_char idmsg, *msgptr; in ncr_queue_command()
4970 u_char *p = cmd->sense_buffer; in ncr_complete()
5030 u_char * p; in ncr_complete()
5033 p = (u_char*) &cmd->cmnd[0]; in ncr_complete()
5043 p = (u_char*) &cmd->sense_buffer; in ncr_complete()
5426 static void ncr_getsync(struct ncb *np, u_char sfac, u_char *fakp, u_char *scntl3p) in ncr_getsync()
5495 static void ncr_set_sync_wide_status (struct ncb *np, u_char target) in ncr_set_sync_wide_status()
5530 static void ncr_setsync (struct ncb *np, struct ccb *cp, u_char scntl3, u_char sxfer) in ncr_setsync()
5534 u_char target = INB (nc_sdid) & 0x0f; in ncr_setsync()
5535 u_char idiv; in ncr_setsync()
5587 static void ncr_setwide (struct ncb *np, struct ccb *cp, u_char wide, u_char ack) in ncr_setwide()
5592 u_char scntl3; in ncr_setwide()
5593 u_char sxfer; in ncr_setwide()
5637 u_char reqtags, maxdepth; in ncr_setup_tags()
5823 static void ncr_log_hard_error(struct ncb *np, u16 sist, u_char dstat) in ncr_log_hard_error()
5829 u_char *script_base; in ncr_log_hard_error()
5837 script_base = (u_char *) np->script0; in ncr_log_hard_error()
5844 script_base = (u_char *) np->scripth0; in ncr_log_hard_error()
5905 u_char istat, dstat; in ncr_exception()
6133 u_char scsi_mode = INB (nc_stest4) & SMODE; in ncr_int_sbmc()
6165 u_char hsts = INB (HS_PRT); in ncr_int_par()
6167 u_char sstat1 = INB (nc_sstat1); in ncr_int_par()
6255 u_char cmd, sbcl; in ncr_int_ma()
6271 u_char ctest5, ss0, ss2; in ncr_int_ma()
6551 u_char s_status = INB (SS_PRT); in ncr_sir_to_redo()
6694 u_char scntl3; in ncr_int_sir()
6695 u_char chg, ofs, per, fak, wide; in ncr_int_sir()
6696 u_char num = INB (nc_dsps); in ncr_int_sir()
6699 u_char target = INB (nc_sdid) & 0x0f; in ncr_int_sir()
7145 u_char tn = cmd->device->id; in ncr_get_ccb()
7146 u_char ln = cmd->device->lun; in ncr_get_ccb()
7149 u_char tag = NO_TAG; in ncr_get_ccb()
7355 static void ncr_alloc_ccb(struct ncb *np, u_char tn, u_char ln) in ncr_alloc_ccb()
7404 static void ncr_init_tcb (struct ncb *np, u_char tn) in ncr_init_tcb()
7491 static struct lcb *ncr_alloc_lcb (struct ncb *np, u_char tn, u_char ln) in ncr_alloc_lcb()
7820 static void ncr_selectclock(struct ncb *np, u_char scntl3)