tag | line | file | source code |
unchar | 154 | drivers/scsi/aha1542.c | static int aha1542_out(unsigned int base, unchar *cmdp, int len) |
unchar | 186 | drivers/scsi/aha1542.c | static int aha1542_in(unsigned int base, unchar *cmdp, int len) |
unchar | 208 | drivers/scsi/aha1542.c | static int aha1542_in1(unsigned int base, unchar *cmdp, int len) |
unchar | 285 | drivers/scsi/aha1542.c | unchar inquiry_cmd[] = {CMD_INQUIRY }; |
unchar | 286 | drivers/scsi/aha1542.c | unchar inquiry_result[4]; |
unchar | 287 | drivers/scsi/aha1542.c | unchar *cmdp; |
unchar | 507 | drivers/scsi/aha1542.c | unchar ahacmd = CMD_START_SCSI; |
unchar | 508 | drivers/scsi/aha1542.c | unchar direction; |
unchar | 509 | drivers/scsi/aha1542.c | unchar *cmd = (unchar *) SCpnt->cmnd; |
unchar | 510 | drivers/scsi/aha1542.c | unchar target = SCpnt->target; |
unchar | 511 | drivers/scsi/aha1542.c | unchar lun = SCpnt->lun; |
unchar | 652 | drivers/scsi/aha1542.c | printk("%02x ", ((unchar *)&ccb[mbo])[i]); |
unchar | 695 | drivers/scsi/aha1542.c | unchar cmd[5] = {CMD_MBINIT, AHA1542_MAILBOXES, 0, 0, 0}; |
unchar | 717 | drivers/scsi/aha1542.c | unchar inquiry_cmd[] = {CMD_RETCONF }; |
unchar | 718 | drivers/scsi/aha1542.c | unchar inquiry_result[3]; |
unchar | 786 | drivers/scsi/aha1542.c | static unchar mbenable_cmd[3]; |
unchar | 787 | drivers/scsi/aha1542.c | static unchar mbenable_result[2]; |
unchar | 818 | drivers/scsi/aha1542.c | unchar inquiry_cmd[] = {CMD_INQUIRY }; |
unchar | 819 | drivers/scsi/aha1542.c | unchar inquiry_result[4]; |
unchar | 950 | drivers/scsi/aha1542.c | unchar oncmd[] = {CMD_BUSON_TIME, 7}; |
unchar | 951 | drivers/scsi/aha1542.c | unchar offcmd[] = {CMD_BUSOFF_TIME, 5}; |
unchar | 967 | drivers/scsi/aha1542.c | unchar dmacmd[] = {CMD_DMASPEED, 0}; |
unchar | 1031 | drivers/scsi/aha1542.c | unchar buf[8]; |
unchar | 1032 | drivers/scsi/aha1542.c | static unchar cmd[] = { READ_CAPACITY, 0, 0, 0, 0, 0, 0, 0, 0, 0}; |
unchar | 1076 | drivers/scsi/aha1542.c | unchar ahacmd = CMD_START_SCSI; |
unchar | 1104 | drivers/scsi/aha1542.c | unchar ahacmd = CMD_START_SCSI; |
unchar | 1174 | drivers/scsi/aha1542.c | unchar ahacmd = CMD_START_SCSI; |
unchar | 83 | drivers/scsi/aha1542.h | unchar status; /* Command/Status */ |
unchar | 84 | drivers/scsi/aha1542.h | unchar ccbptr[3]; /* msb, .., lsb */ |
unchar | 89 | drivers/scsi/aha1542.h | unchar datalen[3]; /* Size of this part of chain */ |
unchar | 90 | drivers/scsi/aha1542.h | unchar dataptr[3]; /* Location of data */ |
unchar | 114 | drivers/scsi/aha1542.h | unchar op; /* Command Control Block Operation Code */ |
unchar | 115 | drivers/scsi/aha1542.h | unchar idlun; /* op=0,2:Target Id, op=1:Initiator Id */ |
unchar | 119 | drivers/scsi/aha1542.h | unchar cdblen; /* SCSI Command Length */ |
unchar | 120 | drivers/scsi/aha1542.h | unchar rsalen; /* Request Sense Allocation Length/Disable */ |
unchar | 121 | drivers/scsi/aha1542.h | unchar datalen[3]; /* Data Length (msb, .., lsb) */ |
unchar | 122 | drivers/scsi/aha1542.h | unchar dataptr[3]; /* Data Pointer */ |
unchar | 123 | drivers/scsi/aha1542.h | unchar linkptr[3]; /* Link Pointer */ |
unchar | 124 | drivers/scsi/aha1542.h | unchar commlinkid; /* Command Linking Identifier */ |
unchar | 125 | drivers/scsi/aha1542.h | unchar hastat; /* Host Adapter Status (HASTAT) */ |
unchar | 126 | drivers/scsi/aha1542.h | unchar tarstat; /* Target Device Status */ |
unchar | 127 | drivers/scsi/aha1542.h | unchar reserved[2]; |
unchar | 128 | drivers/scsi/aha1542.h | unchar cdb[MAX_CDB+MAX_SENSE];/* SCSI Command Descriptor Block */ |
unchar | 63 | drivers/scsi/aha1740.c | int aha1740_makecode(unchar *sense, unchar *status) |
unchar | 248 | drivers/scsi/aha1740.c | unchar direction; |
unchar | 249 | drivers/scsi/aha1740.c | unchar *cmd = (unchar *) SCpnt->cmnd; |
unchar | 250 | drivers/scsi/aha1740.c | unchar target = SCpnt->target; |
unchar | 364 | drivers/scsi/aha1740.c | printk("%02x ", ((unchar *)&ecb[ecbno])[i]); |
unchar | 204 | drivers/scsi/eata.c | unchar :4, /* unused low nibble */ |
unchar | 206 | drivers/scsi/eata.c | unchar ocsena:1, /* Overlap Command Support Enabled */ |
unchar | 214 | drivers/scsi/eata.c | unchar host_addr[3]; /* Host Adapter SCSI ID for channels 2, 1, 0 */ |
unchar | 215 | drivers/scsi/eata.c | unchar reserved; |
unchar | 221 | drivers/scsi/eata.c | unchar irq:4, /* Interrupt Request assigned to this controller */ |
unchar | 225 | drivers/scsi/eata.c | unchar sync; /* 1 if scsi target id 7...0 is running sync scsi */ |
unchar | 228 | drivers/scsi/eata.c | unchar isaena:1, /* ISA i/o addressing is disabled/enabled */ |
unchar | 231 | drivers/scsi/eata.c | unchar max_id:5, /* Max number of SCSI target IDs */ |
unchar | 240 | drivers/scsi/eata.c | unchar edis:1, /* Disable EATA interface after config command */ |
unchar | 245 | drivers/scsi/eata.c | unchar cpad[511]; |
unchar | 250 | drivers/scsi/eata.c | unchar adapter_status:7, /* State related to current command */ |
unchar | 252 | drivers/scsi/eata.c | unchar target_status; /* SCSI status received after data transfer */ |
unchar | 253 | drivers/scsi/eata.c | unchar unused[2]; |
unchar | 261 | drivers/scsi/eata.c | unchar sreset:1, /* SCSI Bus Reset Signal should be asserted */ |
unchar | 269 | drivers/scsi/eata.c | unchar sense_len; /* Request Sense Length */ |
unchar | 270 | drivers/scsi/eata.c | unchar unused[4]; |
unchar | 271 | drivers/scsi/eata.c | unchar phsunit:1, /* Send to Target Physical Unit (bypass RAID) */ |
unchar | 273 | drivers/scsi/eata.c | unchar target; /* SCSI Target ID */ |
unchar | 274 | drivers/scsi/eata.c | unchar lun:3, /* LUN */ |
unchar | 279 | drivers/scsi/eata.c | unchar mess[3]; /* Massage to/from Target */ |
unchar | 280 | drivers/scsi/eata.c | unchar cdb[12]; /* Command Descriptor Block */ |
unchar | 322 | drivers/scsi/eata.c | static inline unchar wait_on_busy(ushort iobase) { |
unchar | 331 | drivers/scsi/eata.c | static inline unchar do_dma (ushort iobase, unsigned int addr, unchar cmd) { |
unchar | 346 | drivers/scsi/eata.c | static inline unchar read_pio (ushort iobase, ushort *start, ushort *end) { |
unchar | 85 | drivers/scsi/eata_dma.c | static unchar EISAbases[] = |
unchar | 90 | drivers/scsi/eata_dma.c | static unchar reg_IRQ[] = |
unchar | 92 | drivers/scsi/eata_dma.c | static unchar reg_IRQL[] = |
unchar | 554 | drivers/scsi/eata_dma.c | unchar success = FALSE; |
unchar | 823 | drivers/scsi/eata_dma.c | unchar dma_channel = 0; |
unchar | 825 | drivers/scsi/eata_dma.c | unchar bugs = 0; |
unchar | 64 | drivers/scsi/eata_pio.c | static unchar EISAbases[] = |
unchar | 69 | drivers/scsi/eata_pio.c | static unchar reg_IRQ[] = |
unchar | 71 | drivers/scsi/eata_pio.c | static unchar reg_IRQL[] = |
unchar | 133 | drivers/scsi/eata_pio.c | unchar stat,odd; |
unchar | 262 | drivers/scsi/eata_pio.c | inline uint eata_pio_send_command(uint base, unchar command) |
unchar | 447 | drivers/scsi/eata_pio.c | unchar success = FALSE; |
unchar | 645 | drivers/scsi/eata_pio.c | unchar buffer[512]; |
unchar | 340 | drivers/scsi/hosts.h | void scan_scsis (struct Scsi_Host * shpnt, unchar hardcoded, |
unchar | 341 | drivers/scsi/hosts.h | unchar hchannel, unchar hid, unchar hlun); |
unchar | 414 | drivers/scsi/in2000.c | unchar direction; |
unchar | 415 | drivers/scsi/in2000.c | unchar *cmd = (unchar *) SCpnt->cmnd; |
unchar | 416 | drivers/scsi/in2000.c | unchar target = SCpnt->target; |
unchar | 363 | drivers/scsi/scsi.c | void scan_scsis (struct Scsi_Host * shpnt, unchar hardcoded, |
unchar | 364 | drivers/scsi/scsi.c | unchar hchannel, unchar hid, unchar hlun) |
unchar | 178 | drivers/scsi/scsi_debug.c | unchar *cmd = (unchar *) SCpnt->cmnd; |
unchar | 287 | drivers/scsi/u14-34f.c | static inline unchar wait_on_busy(ushort iobase) { |
unchar | 153 | drivers/scsi/wd7000.c | unchar status; |
unchar | 154 | drivers/scsi/wd7000.c | unchar scbptr[3]; /* SCSI-style - MSB first (big endian) */ |
unchar | 172 | drivers/scsi/wd7000.c | unchar control; /* shadows CONTROL port value */ |
unchar | 173 | drivers/scsi/wd7000.c | unchar rev1, rev2; /* filled in by wd7000_revision */ |
unchar | 257 | drivers/scsi/wd7000.c | unchar op; /* command opcode (= 1) */ |
unchar | 258 | drivers/scsi/wd7000.c | unchar ID; /* Adapter's SCSI ID */ |
unchar | 259 | drivers/scsi/wd7000.c | unchar bus_on; /* Bus on time, x 125ns (see below) */ |
unchar | 260 | drivers/scsi/wd7000.c | unchar bus_off; /* Bus off time, "" "" */ |
unchar | 261 | drivers/scsi/wd7000.c | unchar rsvd; /* Reserved */ |
unchar | 262 | drivers/scsi/wd7000.c | unchar mailboxes[3]; /* Address of Mailboxes, MSB first */ |
unchar | 263 | drivers/scsi/wd7000.c | unchar ogmbs; /* Number of outgoing MBs, max 64, 0,1 = 1 */ |
unchar | 264 | drivers/scsi/wd7000.c | unchar icmbs; /* Number of incoming MBs, "" "" */ |
unchar | 325 | drivers/scsi/wd7000.c | unchar len[3]; |
unchar | 326 | drivers/scsi/wd7000.c | unchar ptr[3]; /* Also SCSI-style - MSB first */ |
unchar | 330 | drivers/scsi/wd7000.c | unchar op; /* Command Control Block Operation Code */ |
unchar | 331 | drivers/scsi/wd7000.c | unchar idlun; /* op=0,2:Target Id, op=1:Initiator Id */ |
unchar | 335 | drivers/scsi/wd7000.c | unchar cdb[12]; /* SCSI Command Block */ |
unchar | 336 | drivers/scsi/wd7000.c | volatile unchar status; /* SCSI Return Status */ |
unchar | 337 | drivers/scsi/wd7000.c | volatile unchar vue; /* Vendor Unique Error Code */ |
unchar | 338 | drivers/scsi/wd7000.c | unchar maxlen[3]; /* Maximum Data Transfer Length */ |
unchar | 339 | drivers/scsi/wd7000.c | unchar dataptr[3]; /* SCSI Data Block Pointer */ |
unchar | 340 | drivers/scsi/wd7000.c | unchar linkptr[3]; /* Next Command Link Pointer */ |
unchar | 341 | drivers/scsi/wd7000.c | unchar direc; /* Transfer Direction */ |
unchar | 342 | drivers/scsi/wd7000.c | unchar reserved2[6]; /* SCSI Command Descriptor Block */ |
unchar | 379 | drivers/scsi/wd7000.c | unchar op; |
unchar | 380 | drivers/scsi/wd7000.c | unchar IDlun; /* Initiator SCSI ID/lun */ |
unchar | 381 | drivers/scsi/wd7000.c | unchar len[3]; /* command buffer length */ |
unchar | 382 | drivers/scsi/wd7000.c | unchar ptr[3]; /* command buffer address */ |
unchar | 383 | drivers/scsi/wd7000.c | unchar rsvd[7]; /* reserved */ |
unchar | 384 | drivers/scsi/wd7000.c | volatile unchar vue; /* vendor-unique error code */ |
unchar | 385 | drivers/scsi/wd7000.c | volatile unchar status; /* returned (icmb) status */ |
unchar | 386 | drivers/scsi/wd7000.c | volatile unchar phase; /* used by interrupt handler */ |
unchar | 390 | drivers/scsi/wd7000.c | unchar op; |
unchar | 391 | drivers/scsi/wd7000.c | unchar IDlun; /* Target SCSI ID/lun */ |
unchar | 392 | drivers/scsi/wd7000.c | unchar stat; /* (outgoing) completion status byte 1 */ |
unchar | 393 | drivers/scsi/wd7000.c | unchar rsvd[12]; /* reserved */ |
unchar | 394 | drivers/scsi/wd7000.c | volatile unchar vue; /* vendor-unique error code */ |
unchar | 395 | drivers/scsi/wd7000.c | volatile unchar status; /* returned (icmb) status */ |
unchar | 396 | drivers/scsi/wd7000.c | volatile unchar phase; /* used by interrupt handler */ |
unchar | 400 | drivers/scsi/wd7000.c | unchar op; |
unchar | 401 | drivers/scsi/wd7000.c | volatile unchar primary; /* primary revision level (returned) */ |
unchar | 402 | drivers/scsi/wd7000.c | volatile unchar secondary; /* secondary revision level (returned) */ |
unchar | 403 | drivers/scsi/wd7000.c | unchar rsvd[12]; /* reserved */ |
unchar | 404 | drivers/scsi/wd7000.c | volatile unchar vue; /* vendor-unique error code */ |
unchar | 405 | drivers/scsi/wd7000.c | volatile unchar status; /* returned (icmb) status */ |
unchar | 406 | drivers/scsi/wd7000.c | volatile unchar phase; /* used by interrupt handler */ |
unchar | 410 | drivers/scsi/wd7000.c | unchar op; |
unchar | 411 | drivers/scsi/wd7000.c | volatile unchar mask[14]; /* mask bits */ |
unchar | 413 | drivers/scsi/wd7000.c | unchar rsvd[12]; /* reserved */ |
unchar | 415 | drivers/scsi/wd7000.c | volatile unchar vue; /* vendor-unique error code */ |
unchar | 416 | drivers/scsi/wd7000.c | volatile unchar status; /* returned (icmb) status */ |
unchar | 417 | drivers/scsi/wd7000.c | volatile unchar phase; /* used by interrupt handler */ |
unchar | 421 | drivers/scsi/wd7000.c | unchar op; |
unchar | 422 | drivers/scsi/wd7000.c | unchar type; /* diagnostics type code (0-3) */ |
unchar | 423 | drivers/scsi/wd7000.c | unchar len[3]; /* buffer length */ |
unchar | 424 | drivers/scsi/wd7000.c | unchar ptr[3]; /* buffer address */ |
unchar | 425 | drivers/scsi/wd7000.c | unchar rsvd[7]; /* reserved */ |
unchar | 426 | drivers/scsi/wd7000.c | volatile unchar vue; /* vendor-unique error code */ |
unchar | 427 | drivers/scsi/wd7000.c | volatile unchar status; /* returned (icmb) status */ |
unchar | 428 | drivers/scsi/wd7000.c | volatile unchar phase; /* used by interrupt handler */ |
unchar | 437 | drivers/scsi/wd7000.c | unchar op; |
unchar | 438 | drivers/scsi/wd7000.c | unchar rsvd1; /* reserved */ |
unchar | 439 | drivers/scsi/wd7000.c | unchar len[3]; /* parms buffer length */ |
unchar | 440 | drivers/scsi/wd7000.c | unchar ptr[3]; /* parms buffer address */ |
unchar | 441 | drivers/scsi/wd7000.c | unchar idx[2]; /* index (MSB-LSB) */ |
unchar | 442 | drivers/scsi/wd7000.c | unchar rsvd2[5]; /* reserved */ |
unchar | 443 | drivers/scsi/wd7000.c | volatile unchar vue; /* vendor-unique error code */ |
unchar | 444 | drivers/scsi/wd7000.c | volatile unchar status; /* returned (icmb) status */ |
unchar | 445 | drivers/scsi/wd7000.c | volatile unchar phase; /* used by interrupt handler */ |
unchar | 449 | drivers/scsi/wd7000.c | unchar op; |
unchar | 450 | drivers/scsi/wd7000.c | unchar data[14]; /* format-specific data */ |
unchar | 451 | drivers/scsi/wd7000.c | volatile unchar vue; /* vendor-unique error code */ |
unchar | 452 | drivers/scsi/wd7000.c | volatile unchar status; /* returned (icmb) status */ |
unchar | 453 | drivers/scsi/wd7000.c | volatile unchar phase; /* used by interrupt handler */ |
unchar | 457 | drivers/scsi/wd7000.c | unchar op; /* ICB opcode */ |
unchar | 464 | drivers/scsi/wd7000.c | unchar data[18]; |
unchar | 495 | drivers/scsi/wd7000.c | unchar u[sizeof(int)]; /* the sizeof(int) makes it more portable */ |
unchar | 499 | drivers/scsi/wd7000.c | static inline void any2scsi( unchar *scsi, int any ) |
unchar | 507 | drivers/scsi/wd7000.c | static inline int scsi2int( unchar *scsi ) |
unchar | 571 | drivers/scsi/wd7000.c | static inline int command_out(Adapter *host, unchar *cmd, int len) |
unchar | 691 | drivers/scsi/wd7000.c | unchar start_ogmb; |
unchar | 707 | drivers/scsi/wd7000.c | any2scsi((unchar *) ogmbs[ogmb].scbptr, (int) scbptr); |
unchar | 864 | drivers/scsi/wd7000.c | scb = (struct scb *) scsi2int((unchar *)icmbs[icmb].scbptr); |
unchar | 895 | drivers/scsi/wd7000.c | register unchar *cdb = (unchar *) SCpnt->cmnd; |
unchar | 896 | drivers/scsi/wd7000.c | register unchar idlun; |
unchar | 910 | drivers/scsi/wd7000.c | SCpnt->host_scribble = (unchar *) scb; |
unchar | 957 | drivers/scsi/wd7000.c | static unchar buf[256]; |
unchar | 1037 | drivers/scsi/wd7000.c | any2scsi((unchar *) &(init_cmd.mailboxes), (int) &(host->mb)); |
unchar | 1038 | drivers/scsi/wd7000.c | if (!command_out(host, (unchar *) &init_cmd, sizeof(init_cmd))) { |