Lines Matching defs:id_phys

1639 	struct bmic_identify_physical_device *id_phys)
1643 memset(id_phys, 0, sizeof(*id_phys));
1646 id_phys, sizeof(*id_phys));
1652 scsi_sanitize_inquiry_string(&id_phys->model[0], 8);
1653 scsi_sanitize_inquiry_string(&id_phys->model[8], 16);
1655 memcpy(device->vendor, &id_phys->model[0], sizeof(device->vendor));
1656 memcpy(device->model, &id_phys->model[8], sizeof(device->model));
1658 device->box_index = id_phys->box_index;
1659 device->phys_box_on_bus = id_phys->phys_box_on_bus;
1660 device->phy_connected_dev_type = id_phys->phy_connected_dev_type[0];
1662 get_unaligned_le16(&id_phys->current_queue_depth_limit);
1663 device->active_path_index = id_phys->active_path_number;
1664 device->path_map = id_phys->redundant_path_present_map;
1666 &id_phys->alternate_paths_phys_box_on_port,
1669 &id_phys->alternate_paths_phys_connector,
1671 device->bay = id_phys->phys_bay_in_box;
1672 device->lun_count = id_phys->multi_lun_device_lun_count;
1673 if ((id_phys->even_more_flags & PQI_DEVICE_PHY_MAP_SUPPORTED) &&
1674 id_phys->phy_count)
1676 id_phys->phy_to_phy_map[device->active_path_index];
1681 ((get_unaligned_le32(&id_phys->misc_drive_flags) >> 16) &
1684 device->erase_in_progress = !!(get_unaligned_le16(&id_phys->extra_physical_drive_flags) & PQI_DEVICE_ERASE_IN_PROGRESS);
1746 struct bmic_identify_physical_device *id_phys)
1756 rc = pqi_get_physical_device_info(ctrl_info, device, id_phys);
1763 struct bmic_identify_physical_device *id_phys)
1767 rc = pqi_get_device_info_phys_logical(ctrl_info, device, id_phys);
2380 struct bmic_identify_physical_device *id_phys = NULL;
2420 id_phys = kmalloc(sizeof(*id_phys), GFP_KERNEL);
2421 if (!id_phys) {
2510 rc = pqi_get_device_info(ctrl_info, device, id_phys);
2570 kfree(id_phys);