Lines Matching defs:enq
183 struct mlx_enquiry2 enq;
215 mlx_enquiry(&enq);
216 memcpy(&hid, enq.me_hardware_id, sizeof(hid));
217 memcpy(&sid, enq.me_firmware_id, sizeof(sid));
222 enq.me_configured_channels, enq.me_actual_channels);
223 printf(" Max Targets\t\t\t%d\n", enq.me_max_targets);
224 printf(" Max Tags\t\t\t%d\n", enq.me_max_tags);
225 printf(" Max System Drives\t\t%d\n", enq.me_max_sys_drives);
226 printf(" Max Arms\t\t\t%d\n", enq.me_max_arms);
227 printf(" Max Spans\t\t\t%d\n", enq.me_max_spans);
229 le32toh(enq.me_mem_size), le32toh(enq.me_cache_size),
230 le32toh(enq.me_flash_size), le32toh(enq.me_nvram_size));
231 printf(" DRAM type\t\t\t%d\n", le16toh(enq.me_mem_type));
233 le16toh(enq.me_clock_speed));
235 le16toh(enq.me_hardware_speed));
237 le16toh(enq.me_max_commands));
238 printf(" Max SG Entries\t\t%d\n", le16toh(enq.me_max_sg));
239 printf(" Max DP\t\t\t%d\n", le16toh(enq.me_max_dp));
240 printf(" Max IOD\t\t\t%d\n", le16toh(enq.me_max_iod));
241 printf(" Max Comb\t\t\t%d\n", le16toh(enq.me_max_comb));
242 printf(" Latency\t\t\t%ds\n", enq.me_latency);
243 printf(" SCSI Timeout\t\t\t%ds\n", enq.me_scsi_timeout);
245 le16toh(enq.me_min_freelines));
246 printf(" Rate Constant\t\t\t%d\n", enq.me_rate_const);
247 printf(" MAXBLK\t\t\t%d\n", le16toh(enq.me_maxblk));
249 le16toh(enq.me_blocking_factor));
251 le16toh(enq.me_cacheline));
253 enq.me_scsi_cap & (1<<4) ? "differential " : "",
254 (1 << ((enq.me_scsi_cap >> 2) & 3)) * 10,
255 8 << (enq.me_scsi_cap & 0x3));
257 le16toh(enq.me_firmware_build));
259 enq.me_fault_mgmt_type);
261 printf(" Features\t\t\t%b\n", enq.me_firmware_features,
277 for (channel = 0; channel < enq.me_configured_channels; channel++) {
278 for (target = 0; target < enq.me_max_targets; target++)