• Home
  • Raw
  • Download

Lines Matching refs:u8

90 	/* 0x0 */ u8 cmd;
91 /* 0x1 */ u8 cmdid;
95 /* 0xC */ u8 logdrv;
96 /* 0xD */ u8 numsgelements;
97 /* 0xE */ u8 resvd;
101 /* 0xF */ volatile u8 busy;
102 /* 0x10 */ volatile u8 numstatus;
103 /* 0x11 */ volatile u8 status;
104 /* 0x12 */ volatile u8 completed[MAX_FIRMWARE_STATUS];
105 volatile u8 poll;
106 volatile u8 ack;
127 u8 timeout:3; /* 0=6sec/1=60sec/2=10min/3=3hrs */
128 u8 ars:1;
129 u8 reserved:3;
130 u8 islogical:1;
131 u8 logdrv; /* if islogical == 1 */
132 u8 channel; /* if islogical == 0 */
133 u8 target; /* if islogical == 0 */
134 u8 queuetag; /* unused */
135 u8 queueaction; /* unused */
136 u8 cdb[MAX_CDB_LEN];
137 u8 cdblen;
138 u8 reqsenselen;
139 u8 reqsensearea[MAX_REQ_SENSE_LEN];
140 u8 numsgelements;
141 u8 scsistatus;
151 u8 timeout:3; /* 0=6sec/1=60sec/2=10min/3=3hrs */
152 u8 ars:1;
153 u8 rsvd1:1;
154 u8 cd_rom:1;
155 u8 rsvd2:1;
156 u8 islogical:1;
157 u8 logdrv; /* if islogical == 1 */
158 u8 channel; /* if islogical == 0 */
159 u8 target; /* if islogical == 0 */
160 u8 queuetag; /* unused */
161 u8 queueaction; /* unused */
162 u8 cdblen;
163 u8 rsvd3;
164 u8 cdb[MAX_EXT_CDB_LEN];
165 u8 numsgelements;
166 u8 status;
167 u8 reqsenselen;
168 u8 reqsensearea[MAX_REQ_SENSE_LEN];
169 u8 rsvd4;
190 u8 raw_mbox[66];
231 u8 fw_version[16]; /* printable ASCI string */
232 u8 bios_version[16]; /* printable ASCI string */
233 u8 product_name[80]; /* printable ASCI string */
235 u8 max_commands; /* Max. concurrent commands supported */
236 u8 nchannels; /* Number of SCSI Channels detected */
237 u8 fc_loop_present; /* Number of Fibre Loops detected */
238 u8 mem_type; /* EDO, FPM, SDRAM etc */
245 u8 notify_counters;
246 u8 pad1k[889]; /* 135 + 889 resvd = 1024 total size */
252 u8 param_counter; /* Indicates any params changed */
253 u8 param_id; /* Param modified - defined below */
256 u8 write_config_counter; /* write config occurred */
257 u8 write_config_rsvd[3];
259 u8 ldrv_op_counter; /* Indicates ldrv op started/completed */
260 u8 ldrv_opid; /* ldrv num */
261 u8 ldrv_opcmd; /* ldrv operation - defined below */
262 u8 ldrv_opstatus; /* status of the operation */
264 u8 ldrv_state_counter; /* Indicates change of ldrv state */
265 u8 ldrv_state_id; /* ldrv num */
266 u8 ldrv_state_new; /* New state */
267 u8 ldrv_state_old; /* old state */
269 u8 pdrv_state_counter; /* Indicates change of ldrv state */
270 u8 pdrv_state_id; /* pdrv id */
271 u8 pdrv_state_new; /* New state */
272 u8 pdrv_state_old; /* old state */
274 u8 pdrv_fmt_counter; /* Indicates pdrv format started/over */
275 u8 pdrv_fmt_id; /* pdrv id */
276 u8 pdrv_fmt_val; /* format started/over */
277 u8 pdrv_fmt_rsvd;
279 u8 targ_xfer_counter; /* Indicates SCSI-2 Xfer rate change */
280 u8 targ_xfer_id; /* pdrv Id */
281 u8 targ_xfer_val; /* new Xfer params of last pdrv */
282 u8 targ_xfer_rsvd;
284 u8 fcloop_id_chg_counter; /* Indicates loopid changed */
285 u8 fcloopid_pdrvid; /* pdrv id */
286 u8 fcloop_id0; /* loopid on fc loop 0 */
287 u8 fcloop_id1; /* loopid on fc loop 1 */
289 u8 fcloop_state_counter; /* Indicates loop state changed */
290 u8 fcloop_state0; /* state of fc loop 0 */
291 u8 fcloop_state1; /* state of fc loop 1 */
292 u8 fcloop_state_rsvd;
303 u8 notify_rsvd[MAX_NOTIFY_SIZE - CUR_NOTIFY_SIZE];
305 u8 rebuild_rate; /* Rebuild rate (0% - 100%) */
306 u8 cache_flush_interval; /* In terms of Seconds */
307 u8 sense_alert;
308 u8 drive_insert_count; /* drive insertion count */
310 u8 battery_status;
311 u8 num_ldrv; /* No. of Log Drives configured */
312 u8 recon_state[MAX_LOGICAL_DRIVES_40LD / 8]; /* State of
318 u8 ldrv_prop[MAX_LOGICAL_DRIVES_40LD];
319 u8 ldrv_state[MAX_LOGICAL_DRIVES_40LD];/* State of log drives */
320 u8 pdrv_state[FC_MAX_PHYSICAL_DEVICES];/* State of phys drvs. */
323 u8 targ_xfer[80]; /* phys device transfer rate */
324 u8 pad1k[263]; /* 761 + 263reserved = 1024 bytes total size */
330 u8 max_commands; /* Max concurrent commands supported */
331 u8 rebuild_rate; /* Rebuild rate - 0% thru 100% */
332 u8 max_targ_per_chan; /* Max targ per channel */
333 u8 nchannels; /* Number of channels on HBA */
334 u8 fw_version[4]; /* Firmware version */
336 u8 chip_set_value; /* Contents of 0xC0000832 */
337 u8 dram_size; /* In MB */
338 u8 cache_flush_interval; /* in seconds */
339 u8 bios_version[4];
340 u8 board_type;
341 u8 sense_alert;
342 u8 write_config_count; /* Increase with every configuration
344 u8 drive_inserted_count; /* Increase with every drive inserted
346 u8 inserted_drive; /* Channel:Id of inserted drive */
347 u8 battery_status; /*
360 u8 dec_fault_bus_info;
365 u8 num_ldrv; /* Number of logical drives configured */
366 u8 rsvd[3];
368 u8 ldrv_prop[MAX_LOGICAL_DRIVES_8LD];
369 u8 ldrv_state[MAX_LOGICAL_DRIVES_8LD];
373 u8 pdrv_state[MAX_PHYSICAL_DRIVES];
374 u8 rsvd;
389 u8 stack_attn;
390 u8 modem_status;
391 u8 rsvd[2];
396 u8 channel;
397 u8 target;
413 u8 span_depth; /* Total # of spans */
414 u8 level; /* RAID level */
415 u8 read_ahead; /* read ahead, no read ahead, adaptive read
417 u8 stripe_sz; /* Encoded stripe size */
418 u8 status; /* Status of the logical drive */
419 u8 write_mode; /* write mode, write_through/write_back */
420 u8 direct_io; /* direct io or through cache */
421 u8 row_size; /* Number of stripes in a row */
435 u8 type; /* Type of the device */
436 u8 cur_status; /* current status of the device */
437 u8 tag_depth; /* Level of tagging */
438 u8 sync_neg; /* sync negotiation - ENABLE or DISABLE */
444 u8 nlog_drives; /* number of logical drives */
445 u8 resvd[3];
451 u8 nlog_drives; /* number of logical drives */
452 u8 resvd[3];
473 u8 fca[16];
475 u8 opcode;
476 u8 subopcode;
479 u8 *buffer;
480 u8 pad[4];
483 u8 *buffer;
488 u8 mbox[18]; /* 16 bytes + 2 status bytes */
510 u8 irq;
511 u8 numldrv;
512 u8 pcibus;
514 u8 pcifun;
517 u8 pcislot;
525 u8 cmd;
526 u8 cmdid;
527 u8 opcode;
528 u8 subopcode;
531 u8 logdrv;
532 u8 rsvd[3];
533 u8 numstatus;
534 u8 status;
590 u8 __raw_mbox[18];
633 u8 geometry:4; /*
640 u8 unused:4; /* bits 4-7 are unused */
641 u8 boot_drv; /*
646 u8 rsvd[12];
790 u8 *mega_buffer;
795 u8 max_cmds;
811 u8 numldrv;
812 u8 fw_version[7];
813 u8 bios_version[7];
851 u8 logdrv_chan[MAX_CHANNELS+NVIRT_CHAN]; /* logical drive are on
855 u8 sglen; /* f/w supported scatter-gather list length */
976 static void mega_cmd_done(adapter_t *, u8 [], int, int);
993 static int mega_internal_dev_inquiry(adapter_t *, u8, u8, dma_addr_t);