• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/cam/scsi/

Lines Matching refs:response

276  * Decode the SMP REPORT GENERAL response.  The format is current as of SPL
281 smp_report_general_sbuf(struct smp_report_general_response *response,
286 response->response_len,
287 response->response_len * SMP_WORD_LEN);
289 scsi_2btoul(response->expander_change_count));
291 scsi_2btoul(response->expander_route_indexes));
293 smp_yesno(response->long_response &
295 sbuf_printf(sb, "Number of Phys: %d\n", response->num_phys);
297 smp_yesno(response->config_bits0 &
300 smp_yesno(response->config_bits0 &
303 smp_yesno(response->config_bits0 &
306 smp_yesno(response->config_bits0 &
309 smp_yesno(response->config_bits0 &
312 smp_yesno(response->config_bits0 &
315 smp_yesno(response->config_bits0 &
318 smp_yesno(response->config_bits0 &
321 (uintmax_t)scsi_8btou64(response->encl_logical_id));
324 * If the response->response_len is 0, then we don't have the
328 if ((response->response_len == 0)
330 sizeof(response->crc))))
334 scsi_2btoul(response->stp_bus_inact_time_limit));
336 scsi_2btoul(response->stp_max_conn_time_limit));
338 scsi_2btoul(response->stp_smp_it_nexus_loss_time));
341 (response->config_bits1 & SMP_RG_NUM_ZONE_GROUPS_MASK) >>
344 smp_yesno(response->config_bits1 & SMP_RG_ZONE_LOCKED));
346 smp_yesno(response->config_bits1 & SMP_RG_PP_SUPPORTED));
348 smp_yesno(response->config_bits1 & SMP_RG_PP_ASSERTED));
350 smp_yesno(response->config_bits1 &
353 smp_yesno(response->config_bits1 & SMP_RG_ZONING_ENABLED));
356 smp_yesno(response->config_bits2 & SMP_RG_SAVING));
358 smp_yesno(response->config_bits2 &
361 smp_yesno(response->config_bits2 &
364 smp_yesno(response->config_bits2 &
367 smp_yesno(response->config_bits2 &
371 scsi_2btoul(response->max_num_routed_addrs));
374 scsi_8btou64(response->active_zm_address));
377 scsi_2btoul(response->zone_lock_inact_time_limit));
380 response->first_encl_conn_el_index);
383 response->num_encl_conn_el_indexes);
386 smp_yesno(response->reduced_functionality &
390 response->time_to_reduced_func);
392 response->initial_time_to_reduced_func);
394 response->max_reduced_func_time);
397 scsi_2btoul(response->last_sc_stat_desc_index));
401 scsi_2btoul(response->max_sc_stat_descs));
404 scsi_2btoul(response->last_phy_evl_desc_index));
408 scsi_2btoul(response->max_stored_pel_descs));
411 scsi_2btoul(response->stp_reject_to_open_limit));
415 * Decode the SMP REPORT MANUFACTURER INFORMATION response. The format is
420 smp_report_manuf_info_sbuf(struct smp_report_manuf_info_response *response,
428 scsi_2btoul(response->expander_change_count));
430 smp_yesno(response->sas_11_format & SMP_RMI_SAS11_FORMAT));
431 cam_strvis(vendor, response->vendor, sizeof(response->vendor),
433 cam_strvis(product, response->product, sizeof(response->product),
435 cam_strvis(revision, response->revision, sizeof(response->revision),
439 if ((response->sas_11_format & SMP_RMI_SAS11_FORMAT) == 0) {
454 for (curbyte = (uint8_t *)&response->comp_vendor, line_start= 1,
455 line_cursor = 0; curbyte < (uint8_t *)&response->crc;
460 (uint8_t *)response));
478 cam_strvis(comp_vendor, response->comp_vendor,
479 sizeof(response->comp_vendor), sizeof(comp_vendor));
481 sbuf_printf(sb, "Component ID: %#x\n", scsi_2btoul(response->comp_id));
482 sbuf_printf(sb, "Component Revision: %#x\n", response->comp_revision);
484 (uintmax_t)scsi_8btou64(response->vendor_specific));
495 uint8_t *response, int response_len, int long_response,
504 response,
524 uint8_t *response, int response_len, int long_response,
533 response,
555 int request_len, uint8_t *response, int response_len,
564 response,
584 uint8_t *response, int response_len, int long_response,
596 response,