Lines Matching refs:u8

89 	/* 0x0 */ u8 cmd;
90 /* 0x1 */ u8 cmdid;
94 /* 0xC */ u8 logdrv;
95 /* 0xD */ u8 numsgelements;
96 /* 0xE */ u8 resvd;
100 /* 0xF */ volatile u8 busy;
101 /* 0x10 */ volatile u8 numstatus;
102 /* 0x11 */ volatile u8 status;
103 /* 0x12 */ volatile u8 completed[MAX_FIRMWARE_STATUS];
104 volatile u8 poll;
105 volatile u8 ack;
126 u8 timeout:3; /* 0=6sec/1=60sec/2=10min/3=3hrs */
127 u8 ars:1;
128 u8 reserved:3;
129 u8 islogical:1;
130 u8 logdrv; /* if islogical == 1 */
131 u8 channel; /* if islogical == 0 */
132 u8 target; /* if islogical == 0 */
133 u8 queuetag; /* unused */
134 u8 queueaction; /* unused */
135 u8 cdb[MAX_CDB_LEN];
136 u8 cdblen;
137 u8 reqsenselen;
138 u8 reqsensearea[MAX_REQ_SENSE_LEN];
139 u8 numsgelements;
140 u8 scsistatus;
150 u8 timeout:3; /* 0=6sec/1=60sec/2=10min/3=3hrs */
151 u8 ars:1;
152 u8 rsvd1:1;
153 u8 cd_rom:1;
154 u8 rsvd2:1;
155 u8 islogical:1;
156 u8 logdrv; /* if islogical == 1 */
157 u8 channel; /* if islogical == 0 */
158 u8 target; /* if islogical == 0 */
159 u8 queuetag; /* unused */
160 u8 queueaction; /* unused */
161 u8 cdblen;
162 u8 rsvd3;
163 u8 cdb[MAX_EXT_CDB_LEN];
164 u8 numsgelements;
165 u8 status;
166 u8 reqsenselen;
167 u8 reqsensearea[MAX_REQ_SENSE_LEN];
168 u8 rsvd4;
189 u8 raw_mbox[66];
230 u8 fw_version[16]; /* printable ASCI string */
231 u8 bios_version[16]; /* printable ASCI string */
232 u8 product_name[80]; /* printable ASCI string */
234 u8 max_commands; /* Max. concurrent commands supported */
235 u8 nchannels; /* Number of SCSI Channels detected */
236 u8 fc_loop_present; /* Number of Fibre Loops detected */
237 u8 mem_type; /* EDO, FPM, SDRAM etc */
244 u8 notify_counters;
245 u8 pad1k[889]; /* 135 + 889 resvd = 1024 total size */
251 u8 param_counter; /* Indicates any params changed */
252 u8 param_id; /* Param modified - defined below */
255 u8 write_config_counter; /* write config occurred */
256 u8 write_config_rsvd[3];
258 u8 ldrv_op_counter; /* Indicates ldrv op started/completed */
259 u8 ldrv_opid; /* ldrv num */
260 u8 ldrv_opcmd; /* ldrv operation - defined below */
261 u8 ldrv_opstatus; /* status of the operation */
263 u8 ldrv_state_counter; /* Indicates change of ldrv state */
264 u8 ldrv_state_id; /* ldrv num */
265 u8 ldrv_state_new; /* New state */
266 u8 ldrv_state_old; /* old state */
268 u8 pdrv_state_counter; /* Indicates change of ldrv state */
269 u8 pdrv_state_id; /* pdrv id */
270 u8 pdrv_state_new; /* New state */
271 u8 pdrv_state_old; /* old state */
273 u8 pdrv_fmt_counter; /* Indicates pdrv format started/over */
274 u8 pdrv_fmt_id; /* pdrv id */
275 u8 pdrv_fmt_val; /* format started/over */
276 u8 pdrv_fmt_rsvd;
278 u8 targ_xfer_counter; /* Indicates SCSI-2 Xfer rate change */
279 u8 targ_xfer_id; /* pdrv Id */
280 u8 targ_xfer_val; /* new Xfer params of last pdrv */
281 u8 targ_xfer_rsvd;
283 u8 fcloop_id_chg_counter; /* Indicates loopid changed */
284 u8 fcloopid_pdrvid; /* pdrv id */
285 u8 fcloop_id0; /* loopid on fc loop 0 */
286 u8 fcloop_id1; /* loopid on fc loop 1 */
288 u8 fcloop_state_counter; /* Indicates loop state changed */
289 u8 fcloop_state0; /* state of fc loop 0 */
290 u8 fcloop_state1; /* state of fc loop 1 */
291 u8 fcloop_state_rsvd;
302 u8 notify_rsvd[MAX_NOTIFY_SIZE - CUR_NOTIFY_SIZE];
304 u8 rebuild_rate; /* Rebuild rate (0% - 100%) */
305 u8 cache_flush_interval; /* In terms of Seconds */
306 u8 sense_alert;
307 u8 drive_insert_count; /* drive insertion count */
309 u8 battery_status;
310 u8 num_ldrv; /* No. of Log Drives configured */
311 u8 recon_state[MAX_LOGICAL_DRIVES_40LD / 8]; /* State of
317 u8 ldrv_prop[MAX_LOGICAL_DRIVES_40LD];
318 u8 ldrv_state[MAX_LOGICAL_DRIVES_40LD];/* State of log drives */
319 u8 pdrv_state[FC_MAX_PHYSICAL_DEVICES];/* State of phys drvs. */
322 u8 targ_xfer[80]; /* phys device transfer rate */
323 u8 pad1k[263]; /* 761 + 263reserved = 1024 bytes total size */
329 u8 max_commands; /* Max concurrent commands supported */
330 u8 rebuild_rate; /* Rebuild rate - 0% thru 100% */
331 u8 max_targ_per_chan; /* Max targ per channel */
332 u8 nchannels; /* Number of channels on HBA */
333 u8 fw_version[4]; /* Firmware version */
335 u8 chip_set_value; /* Contents of 0xC0000832 */
336 u8 dram_size; /* In MB */
337 u8 cache_flush_interval; /* in seconds */
338 u8 bios_version[4];
339 u8 board_type;
340 u8 sense_alert;
341 u8 write_config_count; /* Increase with every configuration
343 u8 drive_inserted_count; /* Increase with every drive inserted
345 u8 inserted_drive; /* Channel:Id of inserted drive */
346 u8 battery_status; /*
359 u8 dec_fault_bus_info;
364 u8 num_ldrv; /* Number of logical drives configured */
365 u8 rsvd[3];
367 u8 ldrv_prop[MAX_LOGICAL_DRIVES_8LD];
368 u8 ldrv_state[MAX_LOGICAL_DRIVES_8LD];
372 u8 pdrv_state[MAX_PHYSICAL_DRIVES];
373 u8 rsvd;
388 u8 stack_attn;
389 u8 modem_status;
390 u8 rsvd[2];
395 u8 channel;
396 u8 target;
412 u8 span_depth; /* Total # of spans */
413 u8 level; /* RAID level */
414 u8 read_ahead; /* read ahead, no read ahead, adaptive read
416 u8 stripe_sz; /* Encoded stripe size */
417 u8 status; /* Status of the logical drive */
418 u8 write_mode; /* write mode, write_through/write_back */
419 u8 direct_io; /* direct io or through cache */
420 u8 row_size; /* Number of stripes in a row */
434 u8 type; /* Type of the device */
435 u8 cur_status; /* current status of the device */
436 u8 tag_depth; /* Level of tagging */
437 u8 sync_neg; /* sync negotiation - ENABLE or DISABLE */
443 u8 nlog_drives; /* number of logical drives */
444 u8 resvd[3];
450 u8 nlog_drives; /* number of logical drives */
451 u8 resvd[3];
472 u8 fca[16];
474 u8 opcode;
475 u8 subopcode;
478 u8 *buffer;
479 u8 pad[4];
482 u8 *buffer;
487 u8 mbox[18]; /* 16 bytes + 2 status bytes */
509 u8 irq;
510 u8 numldrv;
511 u8 pcibus;
513 u8 pcifun;
516 u8 pcislot;
524 u8 cmd;
525 u8 cmdid;
526 u8 opcode;
527 u8 subopcode;
530 u8 logdrv;
531 u8 rsvd[3];
532 u8 numstatus;
533 u8 status;
589 u8 __raw_mbox[18];
632 u8 geometry:4; /*
639 u8 unused:4; /* bits 4-7 are unused */
640 u8 boot_drv; /*
645 u8 rsvd[12];
789 u8 *mega_buffer;
794 u8 max_cmds;
810 u8 numldrv;
811 u8 fw_version[7];
812 u8 bios_version[7];
850 u8 logdrv_chan[MAX_CHANNELS+NVIRT_CHAN]; /* logical drive are on
854 u8 sglen; /* f/w supported scatter-gather list length */
975 static void mega_cmd_done(adapter_t *, u8 [], int, int);
992 static int mega_internal_dev_inquiry(adapter_t *, u8, u8, dma_addr_t);