Lines Matching refs:response

275  * Decode the SMP REPORT GENERAL response.  The format is current as of SPL
280 smp_report_general_sbuf(struct smp_report_general_response *response,
285 response->response_len,
286 response->response_len * SMP_WORD_LEN);
288 scsi_2btoul(response->expander_change_count));
290 scsi_2btoul(response->expander_route_indexes));
292 smp_yesno(response->long_response &
294 sbuf_printf(sb, "Number of Phys: %d\n", response->num_phys);
296 smp_yesno(response->config_bits0 &
299 smp_yesno(response->config_bits0 &
302 smp_yesno(response->config_bits0 &
305 smp_yesno(response->config_bits0 &
308 smp_yesno(response->config_bits0 &
311 smp_yesno(response->config_bits0 &
314 smp_yesno(response->config_bits0 &
317 smp_yesno(response->config_bits0 &
320 (uintmax_t)scsi_8btou64(response->encl_logical_id));
323 * If the response->response_len is 0, then we don't have the
327 if ((response->response_len == 0)
329 sizeof(response->crc))))
333 scsi_2btoul(response->stp_bus_inact_time_limit));
335 scsi_2btoul(response->stp_max_conn_time_limit));
337 scsi_2btoul(response->stp_smp_it_nexus_loss_time));
340 (response->config_bits1 & SMP_RG_NUM_ZONE_GROUPS_MASK) >>
343 smp_yesno(response->config_bits1 & SMP_RG_ZONE_LOCKED));
345 smp_yesno(response->config_bits1 & SMP_RG_PP_SUPPORTED));
347 smp_yesno(response->config_bits1 & SMP_RG_PP_ASSERTED));
349 smp_yesno(response->config_bits1 &
352 smp_yesno(response->config_bits1 & SMP_RG_ZONING_ENABLED));
355 smp_yesno(response->config_bits2 & SMP_RG_SAVING));
357 smp_yesno(response->config_bits2 &
360 smp_yesno(response->config_bits2 &
363 smp_yesno(response->config_bits2 &
366 smp_yesno(response->config_bits2 &
370 scsi_2btoul(response->max_num_routed_addrs));
373 scsi_8btou64(response->active_zm_address));
376 scsi_2btoul(response->zone_lock_inact_time_limit));
379 response->first_encl_conn_el_index);
382 response->num_encl_conn_el_indexes);
385 smp_yesno(response->reduced_functionality &
389 response->time_to_reduced_func);
391 response->initial_time_to_reduced_func);
393 response->max_reduced_func_time);
396 scsi_2btoul(response->last_sc_stat_desc_index));
400 scsi_2btoul(response->max_sc_stat_descs));
403 scsi_2btoul(response->last_phy_evl_desc_index));
407 scsi_2btoul(response->max_stored_pel_descs));
410 scsi_2btoul(response->stp_reject_to_open_limit));
414 * Decode the SMP REPORT MANUFACTURER INFORMATION response. The format is
419 smp_report_manuf_info_sbuf(struct smp_report_manuf_info_response *response,
427 scsi_2btoul(response->expander_change_count));
429 smp_yesno(response->sas_11_format & SMP_RMI_SAS11_FORMAT));
430 cam_strvis(vendor, response->vendor, sizeof(response->vendor),
432 cam_strvis(product, response->product, sizeof(response->product),
434 cam_strvis(revision, response->revision, sizeof(response->revision),
438 if ((response->sas_11_format & SMP_RMI_SAS11_FORMAT) == 0) {
453 for (curbyte = (uint8_t *)&response->comp_vendor, line_start= 1,
454 line_cursor = 0; curbyte < (uint8_t *)&response->crc;
459 (uint8_t *)response));
477 cam_strvis(comp_vendor, response->comp_vendor,
478 sizeof(response->comp_vendor), sizeof(comp_vendor));
480 sbuf_printf(sb, "Component ID: %#x\n", scsi_2btoul(response->comp_id));
481 sbuf_printf(sb, "Component Revision: %#x\n", response->comp_revision);
483 (uintmax_t)scsi_8btou64(response->vendor_specific));
494 uint8_t *response, int response_len, int long_response,
503 response,
523 uint8_t *response, int response_len, int long_response,
532 response,
554 int request_len, uint8_t *response, int response_len,
563 response,
583 uint8_t *response, int response_len, int long_response,
595 response,