Home
last modified time | relevance | path

Searched refs:mi_resp (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/drivers/scsi/libsas/
Dsas_expander.c532 u8 *mi_resp = _mi_resp; in ex_assign_manuf_info() local
536 memcpy(edev->vendor_id, mi_resp + 12, SAS_EXPANDER_VENDOR_ID_LEN); in ex_assign_manuf_info()
537 memcpy(edev->product_id, mi_resp + 20, SAS_EXPANDER_PRODUCT_ID_LEN); in ex_assign_manuf_info()
538 memcpy(edev->product_rev, mi_resp + 36, in ex_assign_manuf_info()
541 if (mi_resp[8] & 1) { in ex_assign_manuf_info()
542 memcpy(edev->component_vendor_id, mi_resp + 40, in ex_assign_manuf_info()
544 edev->component_id = mi_resp[48] << 8 | mi_resp[49]; in ex_assign_manuf_info()
545 edev->component_revision_id = mi_resp[50]; in ex_assign_manuf_info()
555 u8 *mi_resp; in sas_ex_manuf_info() local
562 mi_resp = alloc_smp_resp(MI_RESP_SIZE); in sas_ex_manuf_info()
[all …]