tag | line | file | source code |
unchar | 1133 | drivers/net/slip.c | if ((sl->keepalive = (unchar) tmp) != 0) { |
unchar | 1158 | drivers/net/slip.c | if ((sl->outfill = (unchar) tmp) != 0){ |
unchar | 159 | drivers/scsi/aha1542.c | static int aha1542_out(unsigned int base, unchar *cmdp, int len) |
unchar | 191 | drivers/scsi/aha1542.c | static int aha1542_in(unsigned int base, unchar *cmdp, int len) |
unchar | 213 | drivers/scsi/aha1542.c | static int aha1542_in1(unsigned int base, unchar *cmdp, int len) |
unchar | 290 | drivers/scsi/aha1542.c | unchar inquiry_cmd[] = {CMD_INQUIRY }; |
unchar | 291 | drivers/scsi/aha1542.c | unchar inquiry_result[4]; |
unchar | 292 | drivers/scsi/aha1542.c | unchar *cmdp; |
unchar | 512 | drivers/scsi/aha1542.c | unchar ahacmd = CMD_START_SCSI; |
unchar | 513 | drivers/scsi/aha1542.c | unchar direction; |
unchar | 514 | drivers/scsi/aha1542.c | unchar *cmd = (unchar *) SCpnt->cmnd; |
unchar | 515 | drivers/scsi/aha1542.c | unchar target = SCpnt->target; |
unchar | 516 | drivers/scsi/aha1542.c | unchar lun = SCpnt->lun; |
unchar | 657 | drivers/scsi/aha1542.c | printk("%02x ", ((unchar *)&ccb[mbo])[i]); |
unchar | 700 | drivers/scsi/aha1542.c | unchar cmd[5] = {CMD_MBINIT, AHA1542_MAILBOXES, 0, 0, 0}; |
unchar | 722 | drivers/scsi/aha1542.c | unchar inquiry_cmd[] = {CMD_RETCONF }; |
unchar | 723 | drivers/scsi/aha1542.c | unchar inquiry_result[3]; |
unchar | 791 | drivers/scsi/aha1542.c | static unchar mbenable_cmd[3]; |
unchar | 792 | drivers/scsi/aha1542.c | static unchar mbenable_result[2]; |
unchar | 823 | drivers/scsi/aha1542.c | unchar inquiry_cmd[] = {CMD_INQUIRY }; |
unchar | 824 | drivers/scsi/aha1542.c | unchar inquiry_result[4]; |
unchar | 957 | drivers/scsi/aha1542.c | unchar oncmd[] = {CMD_BUSON_TIME, 7}; |
unchar | 958 | drivers/scsi/aha1542.c | unchar offcmd[] = {CMD_BUSOFF_TIME, 5}; |
unchar | 974 | drivers/scsi/aha1542.c | unchar dmacmd[] = {CMD_DMASPEED, 0}; |
unchar | 1038 | drivers/scsi/aha1542.c | unchar buf[8]; |
unchar | 1039 | drivers/scsi/aha1542.c | static unchar cmd[] = { READ_CAPACITY, 0, 0, 0, 0, 0, 0, 0, 0, 0}; |
unchar | 1084 | drivers/scsi/aha1542.c | unchar ahacmd = CMD_START_SCSI; |
unchar | 1112 | drivers/scsi/aha1542.c | unchar ahacmd = CMD_START_SCSI; |
unchar | 1184 | drivers/scsi/aha1542.c | unchar ahacmd = CMD_START_SCSI; |
unchar | 84 | drivers/scsi/aha1542.h | unchar status; /* Command/Status */ |
unchar | 85 | drivers/scsi/aha1542.h | unchar ccbptr[3]; /* msb, .., lsb */ |
unchar | 90 | drivers/scsi/aha1542.h | unchar datalen[3]; /* Size of this part of chain */ |
unchar | 91 | drivers/scsi/aha1542.h | unchar dataptr[3]; /* Location of data */ |
unchar | 115 | drivers/scsi/aha1542.h | unchar op; /* Command Control Block Operation Code */ |
unchar | 116 | drivers/scsi/aha1542.h | unchar idlun; /* op=0,2:Target Id, op=1:Initiator Id */ |
unchar | 120 | drivers/scsi/aha1542.h | unchar cdblen; /* SCSI Command Length */ |
unchar | 121 | drivers/scsi/aha1542.h | unchar rsalen; /* Request Sense Allocation Length/Disable */ |
unchar | 122 | drivers/scsi/aha1542.h | unchar datalen[3]; /* Data Length (msb, .., lsb) */ |
unchar | 123 | drivers/scsi/aha1542.h | unchar dataptr[3]; /* Data Pointer */ |
unchar | 124 | drivers/scsi/aha1542.h | unchar linkptr[3]; /* Link Pointer */ |
unchar | 125 | drivers/scsi/aha1542.h | unchar commlinkid; /* Command Linking Identifier */ |
unchar | 126 | drivers/scsi/aha1542.h | unchar hastat; /* Host Adapter Status (HASTAT) */ |
unchar | 127 | drivers/scsi/aha1542.h | unchar tarstat; /* Target Device Status */ |
unchar | 128 | drivers/scsi/aha1542.h | unchar reserved[2]; |
unchar | 129 | drivers/scsi/aha1542.h | unchar cdb[MAX_CDB+MAX_SENSE];/* SCSI Command Descriptor Block */ |
unchar | 69 | drivers/scsi/aha1740.c | int aha1740_makecode(unchar *sense, unchar *status) |
unchar | 254 | drivers/scsi/aha1740.c | unchar direction; |
unchar | 255 | drivers/scsi/aha1740.c | unchar *cmd = (unchar *) SCpnt->cmnd; |
unchar | 256 | drivers/scsi/aha1740.c | unchar target = SCpnt->target; |
unchar | 370 | drivers/scsi/aha1740.c | printk("%02x ", ((unchar *)&ecb[ecbno])[i]); |
unchar | 210 | drivers/scsi/eata.c | unchar :4, /* unused low nibble */ |
unchar | 212 | drivers/scsi/eata.c | unchar ocsena:1, /* Overlap Command Support Enabled */ |
unchar | 220 | drivers/scsi/eata.c | unchar host_addr[3]; /* Host Adapter SCSI ID for channels 2, 1, 0 */ |
unchar | 221 | drivers/scsi/eata.c | unchar reserved; |
unchar | 227 | drivers/scsi/eata.c | unchar irq:4, /* Interrupt Request assigned to this controller */ |
unchar | 231 | drivers/scsi/eata.c | unchar sync; /* 1 if scsi target id 7...0 is running sync scsi */ |
unchar | 234 | drivers/scsi/eata.c | unchar isaena:1, /* ISA i/o addressing is disabled/enabled */ |
unchar | 237 | drivers/scsi/eata.c | unchar max_id:5, /* Max number of SCSI target IDs */ |
unchar | 246 | drivers/scsi/eata.c | unchar edis:1, /* Disable EATA interface after config command */ |
unchar | 251 | drivers/scsi/eata.c | unchar cpad[511]; |
unchar | 256 | drivers/scsi/eata.c | unchar adapter_status:7, /* State related to current command */ |
unchar | 258 | drivers/scsi/eata.c | unchar target_status; /* SCSI status received after data transfer */ |
unchar | 259 | drivers/scsi/eata.c | unchar unused[2]; |
unchar | 267 | drivers/scsi/eata.c | unchar sreset:1, /* SCSI Bus Reset Signal should be asserted */ |
unchar | 275 | drivers/scsi/eata.c | unchar sense_len; /* Request Sense Length */ |
unchar | 276 | drivers/scsi/eata.c | unchar unused[4]; |
unchar | 277 | drivers/scsi/eata.c | unchar phsunit:1, /* Send to Target Physical Unit (bypass RAID) */ |
unchar | 279 | drivers/scsi/eata.c | unchar target; /* SCSI Target ID */ |
unchar | 280 | drivers/scsi/eata.c | unchar lun:3, /* LUN */ |
unchar | 285 | drivers/scsi/eata.c | unchar mess[3]; /* Massage to/from Target */ |
unchar | 286 | drivers/scsi/eata.c | unchar cdb[12]; /* Command Descriptor Block */ |
unchar | 328 | drivers/scsi/eata.c | static inline unchar wait_on_busy(ushort iobase) { |
unchar | 337 | drivers/scsi/eata.c | static inline unchar do_dma (ushort iobase, unsigned int addr, unchar cmd) { |
unchar | 352 | drivers/scsi/eata.c | static inline unchar read_pio (ushort iobase, ushort *start, ushort *end) { |
unchar | 88 | drivers/scsi/eata_dma.c | static unchar EISAbases[] = |
unchar | 93 | drivers/scsi/eata_dma.c | static unchar reg_IRQ[] = |
unchar | 95 | drivers/scsi/eata_dma.c | static unchar reg_IRQL[] = |
unchar | 582 | drivers/scsi/eata_dma.c | unchar success = FALSE; |
unchar | 850 | drivers/scsi/eata_dma.c | unchar dma_channel = 0; |
unchar | 852 | drivers/scsi/eata_dma.c | unchar bugs = 0; |
unchar | 69 | drivers/scsi/eata_pio.c | static unchar EISAbases[] = |
unchar | 74 | drivers/scsi/eata_pio.c | static unchar reg_IRQ[] = |
unchar | 76 | drivers/scsi/eata_pio.c | static unchar reg_IRQL[] = |
unchar | 138 | drivers/scsi/eata_pio.c | unchar stat,odd; |
unchar | 267 | drivers/scsi/eata_pio.c | inline uint eata_pio_send_command(uint base, unchar command) |
unchar | 453 | drivers/scsi/eata_pio.c | unchar success = FALSE; |
unchar | 651 | drivers/scsi/eata_pio.c | unchar buffer[512]; |
unchar | 420 | drivers/scsi/in2000.c | unchar direction; |
unchar | 421 | drivers/scsi/in2000.c | unchar *cmd = (unchar *) SCpnt->cmnd; |
unchar | 422 | drivers/scsi/in2000.c | unchar target = SCpnt->target; |
unchar | 387 | drivers/scsi/scsi.c | static void scan_scsis (struct Scsi_Host *shpnt, unchar hardcoded, |
unchar | 388 | drivers/scsi/scsi.c | unchar hchannel, unchar hid, unchar hlun) |
unchar | 175 | drivers/scsi/scsi_debug.c | unchar *cmd = (unchar *) SCpnt->cmnd; |
unchar | 293 | drivers/scsi/u14-34f.c | static inline unchar wait_on_busy(ushort iobase) { |
unchar | 160 | drivers/scsi/wd7000.c | unchar status; |
unchar | 161 | drivers/scsi/wd7000.c | unchar scbptr[3]; /* SCSI-style - MSB first (big endian) */ |
unchar | 179 | drivers/scsi/wd7000.c | unchar control; /* shadows CONTROL port value */ |
unchar | 180 | drivers/scsi/wd7000.c | unchar rev1, rev2; /* filled in by wd7000_revision */ |
unchar | 264 | drivers/scsi/wd7000.c | unchar op; /* command opcode (= 1) */ |
unchar | 265 | drivers/scsi/wd7000.c | unchar ID; /* Adapter's SCSI ID */ |
unchar | 266 | drivers/scsi/wd7000.c | unchar bus_on; /* Bus on time, x 125ns (see below) */ |
unchar | 267 | drivers/scsi/wd7000.c | unchar bus_off; /* Bus off time, "" "" */ |
unchar | 268 | drivers/scsi/wd7000.c | unchar rsvd; /* Reserved */ |
unchar | 269 | drivers/scsi/wd7000.c | unchar mailboxes[3]; /* Address of Mailboxes, MSB first */ |
unchar | 270 | drivers/scsi/wd7000.c | unchar ogmbs; /* Number of outgoing MBs, max 64, 0,1 = 1 */ |
unchar | 271 | drivers/scsi/wd7000.c | unchar icmbs; /* Number of incoming MBs, "" "" */ |
unchar | 332 | drivers/scsi/wd7000.c | unchar len[3]; |
unchar | 333 | drivers/scsi/wd7000.c | unchar ptr[3]; /* Also SCSI-style - MSB first */ |
unchar | 337 | drivers/scsi/wd7000.c | unchar op; /* Command Control Block Operation Code */ |
unchar | 338 | drivers/scsi/wd7000.c | unchar idlun; /* op=0,2:Target Id, op=1:Initiator Id */ |
unchar | 342 | drivers/scsi/wd7000.c | unchar cdb[12]; /* SCSI Command Block */ |
unchar | 343 | drivers/scsi/wd7000.c | volatile unchar status; /* SCSI Return Status */ |
unchar | 344 | drivers/scsi/wd7000.c | volatile unchar vue; /* Vendor Unique Error Code */ |
unchar | 345 | drivers/scsi/wd7000.c | unchar maxlen[3]; /* Maximum Data Transfer Length */ |
unchar | 346 | drivers/scsi/wd7000.c | unchar dataptr[3]; /* SCSI Data Block Pointer */ |
unchar | 347 | drivers/scsi/wd7000.c | unchar linkptr[3]; /* Next Command Link Pointer */ |
unchar | 348 | drivers/scsi/wd7000.c | unchar direc; /* Transfer Direction */ |
unchar | 349 | drivers/scsi/wd7000.c | unchar reserved2[6]; /* SCSI Command Descriptor Block */ |
unchar | 386 | drivers/scsi/wd7000.c | unchar op; |
unchar | 387 | drivers/scsi/wd7000.c | unchar IDlun; /* Initiator SCSI ID/lun */ |
unchar | 388 | drivers/scsi/wd7000.c | unchar len[3]; /* command buffer length */ |
unchar | 389 | drivers/scsi/wd7000.c | unchar ptr[3]; /* command buffer address */ |
unchar | 390 | drivers/scsi/wd7000.c | unchar rsvd[7]; /* reserved */ |
unchar | 391 | drivers/scsi/wd7000.c | volatile unchar vue; /* vendor-unique error code */ |
unchar | 392 | drivers/scsi/wd7000.c | volatile unchar status; /* returned (icmb) status */ |
unchar | 393 | drivers/scsi/wd7000.c | volatile unchar phase; /* used by interrupt handler */ |
unchar | 397 | drivers/scsi/wd7000.c | unchar op; |
unchar | 398 | drivers/scsi/wd7000.c | unchar IDlun; /* Target SCSI ID/lun */ |
unchar | 399 | drivers/scsi/wd7000.c | unchar stat; /* (outgoing) completion status byte 1 */ |
unchar | 400 | drivers/scsi/wd7000.c | unchar rsvd[12]; /* reserved */ |
unchar | 401 | drivers/scsi/wd7000.c | volatile unchar vue; /* vendor-unique error code */ |
unchar | 402 | drivers/scsi/wd7000.c | volatile unchar status; /* returned (icmb) status */ |
unchar | 403 | drivers/scsi/wd7000.c | volatile unchar phase; /* used by interrupt handler */ |
unchar | 407 | drivers/scsi/wd7000.c | unchar op; |
unchar | 408 | drivers/scsi/wd7000.c | volatile unchar primary; /* primary revision level (returned) */ |
unchar | 409 | drivers/scsi/wd7000.c | volatile unchar secondary; /* secondary revision level (returned) */ |
unchar | 410 | drivers/scsi/wd7000.c | unchar rsvd[12]; /* reserved */ |
unchar | 411 | drivers/scsi/wd7000.c | volatile unchar vue; /* vendor-unique error code */ |
unchar | 412 | drivers/scsi/wd7000.c | volatile unchar status; /* returned (icmb) status */ |
unchar | 413 | drivers/scsi/wd7000.c | volatile unchar phase; /* used by interrupt handler */ |
unchar | 417 | drivers/scsi/wd7000.c | unchar op; |
unchar | 418 | drivers/scsi/wd7000.c | volatile unchar mask[14]; /* mask bits */ |
unchar | 420 | drivers/scsi/wd7000.c | unchar rsvd[12]; /* reserved */ |
unchar | 422 | drivers/scsi/wd7000.c | volatile unchar vue; /* vendor-unique error code */ |
unchar | 423 | drivers/scsi/wd7000.c | volatile unchar status; /* returned (icmb) status */ |
unchar | 424 | drivers/scsi/wd7000.c | volatile unchar phase; /* used by interrupt handler */ |
unchar | 428 | drivers/scsi/wd7000.c | unchar op; |
unchar | 429 | drivers/scsi/wd7000.c | unchar type; /* diagnostics type code (0-3) */ |
unchar | 430 | drivers/scsi/wd7000.c | unchar len[3]; /* buffer length */ |
unchar | 431 | drivers/scsi/wd7000.c | unchar ptr[3]; /* buffer address */ |
unchar | 432 | drivers/scsi/wd7000.c | unchar rsvd[7]; /* reserved */ |
unchar | 433 | drivers/scsi/wd7000.c | volatile unchar vue; /* vendor-unique error code */ |
unchar | 434 | drivers/scsi/wd7000.c | volatile unchar status; /* returned (icmb) status */ |
unchar | 435 | drivers/scsi/wd7000.c | volatile unchar phase; /* used by interrupt handler */ |
unchar | 444 | drivers/scsi/wd7000.c | unchar op; |
unchar | 445 | drivers/scsi/wd7000.c | unchar rsvd1; /* reserved */ |
unchar | 446 | drivers/scsi/wd7000.c | unchar len[3]; /* parms buffer length */ |
unchar | 447 | drivers/scsi/wd7000.c | unchar ptr[3]; /* parms buffer address */ |
unchar | 448 | drivers/scsi/wd7000.c | unchar idx[2]; /* index (MSB-LSB) */ |
unchar | 449 | drivers/scsi/wd7000.c | unchar rsvd2[5]; /* reserved */ |
unchar | 450 | drivers/scsi/wd7000.c | volatile unchar vue; /* vendor-unique error code */ |
unchar | 451 | drivers/scsi/wd7000.c | volatile unchar status; /* returned (icmb) status */ |
unchar | 452 | drivers/scsi/wd7000.c | volatile unchar phase; /* used by interrupt handler */ |
unchar | 456 | drivers/scsi/wd7000.c | unchar op; |
unchar | 457 | drivers/scsi/wd7000.c | unchar data[14]; /* format-specific data */ |
unchar | 458 | drivers/scsi/wd7000.c | volatile unchar vue; /* vendor-unique error code */ |
unchar | 459 | drivers/scsi/wd7000.c | volatile unchar status; /* returned (icmb) status */ |
unchar | 460 | drivers/scsi/wd7000.c | volatile unchar phase; /* used by interrupt handler */ |
unchar | 464 | drivers/scsi/wd7000.c | unchar op; /* ICB opcode */ |
unchar | 471 | drivers/scsi/wd7000.c | unchar data[18]; |
unchar | 502 | drivers/scsi/wd7000.c | unchar u[sizeof(int)]; /* the sizeof(int) makes it more portable */ |
unchar | 506 | drivers/scsi/wd7000.c | static inline void any2scsi( unchar *scsi, int any ) |
unchar | 514 | drivers/scsi/wd7000.c | static inline int scsi2int( unchar *scsi ) |
unchar | 578 | drivers/scsi/wd7000.c | static inline int command_out(Adapter *host, unchar *cmd, int len) |
unchar | 698 | drivers/scsi/wd7000.c | unchar start_ogmb; |
unchar | 714 | drivers/scsi/wd7000.c | any2scsi((unchar *) ogmbs[ogmb].scbptr, (int) scbptr); |
unchar | 871 | drivers/scsi/wd7000.c | scb = (struct scb *) scsi2int((unchar *)icmbs[icmb].scbptr); |
unchar | 902 | drivers/scsi/wd7000.c | register unchar *cdb = (unchar *) SCpnt->cmnd; |
unchar | 903 | drivers/scsi/wd7000.c | register unchar idlun; |
unchar | 917 | drivers/scsi/wd7000.c | SCpnt->host_scribble = (unchar *) scb; |
unchar | 964 | drivers/scsi/wd7000.c | static unchar buf[256]; |
unchar | 1044 | drivers/scsi/wd7000.c | any2scsi((unchar *) &(init_cmd.mailboxes), (int) &(host->mb)); |
unchar | 1045 | drivers/scsi/wd7000.c | if (!command_out(host, (unchar *) &init_cmd, sizeof(init_cmd))) { |