Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/scsi/
Dhpsa.c3455 struct bmic_identify_physical_device *id_phys = NULL; in hpsa_get_enclosure_info() local
3483 id_phys = kzalloc(sizeof(*id_phys), GFP_KERNEL); in hpsa_get_enclosure_info()
3484 if (!id_phys) in hpsa_get_enclosure_info()
3488 id_phys, sizeof(*id_phys)); in hpsa_get_enclosure_info()
3503 if (id_phys->phys_connector[1] == 'E') in hpsa_get_enclosure_info()
3504 c->Request.CDB[5] = id_phys->box_index; in hpsa_get_enclosure_info()
3519 encl_dev->box[id_phys->active_path_number] = bssbp->phys_box_on_port; in hpsa_get_enclosure_info()
3520 memcpy(&encl_dev->phys_connector[id_phys->active_path_number], in hpsa_get_enclosure_info()
3526 kfree(id_phys); in hpsa_get_enclosure_info()
4183 struct bmic_identify_physical_device *id_phys) in hpsa_get_ioaccel_drive_info() argument
[all …]
/Linux-v6.1/drivers/scsi/smartpqi/
Dsmartpqi_init.c1580 struct bmic_identify_physical_device *id_phys) in pqi_get_physical_device_info() argument
1584 memset(id_phys, 0, sizeof(*id_phys)); in pqi_get_physical_device_info()
1587 id_phys, sizeof(*id_phys)); in pqi_get_physical_device_info()
1593 scsi_sanitize_inquiry_string(&id_phys->model[0], 8); in pqi_get_physical_device_info()
1594 scsi_sanitize_inquiry_string(&id_phys->model[8], 16); in pqi_get_physical_device_info()
1596 memcpy(device->vendor, &id_phys->model[0], sizeof(device->vendor)); in pqi_get_physical_device_info()
1597 memcpy(device->model, &id_phys->model[8], sizeof(device->model)); in pqi_get_physical_device_info()
1599 device->box_index = id_phys->box_index; in pqi_get_physical_device_info()
1600 device->phys_box_on_bus = id_phys->phys_box_on_bus; in pqi_get_physical_device_info()
1601 device->phy_connected_dev_type = id_phys->phy_connected_dev_type[0]; in pqi_get_physical_device_info()
[all …]