Lines Matching defs:id_phys

1638 	struct bmic_identify_physical_device *id_phys)
1642 memset(id_phys, 0, sizeof(*id_phys));
1645 id_phys, sizeof(*id_phys));
1651 scsi_sanitize_inquiry_string(&id_phys->model[0], 8);
1652 scsi_sanitize_inquiry_string(&id_phys->model[8], 16);
1654 memcpy(device->vendor, &id_phys->model[0], sizeof(device->vendor));
1655 memcpy(device->model, &id_phys->model[8], sizeof(device->model));
1657 device->box_index = id_phys->box_index;
1658 device->phys_box_on_bus = id_phys->phys_box_on_bus;
1659 device->phy_connected_dev_type = id_phys->phy_connected_dev_type[0];
1661 get_unaligned_le16(&id_phys->current_queue_depth_limit);
1662 device->active_path_index = id_phys->active_path_number;
1663 device->path_map = id_phys->redundant_path_present_map;
1665 &id_phys->alternate_paths_phys_box_on_port,
1668 &id_phys->alternate_paths_phys_connector,
1670 device->bay = id_phys->phys_bay_in_box;
1671 device->lun_count = id_phys->multi_lun_device_lun_count;
1672 if ((id_phys->even_more_flags & PQI_DEVICE_PHY_MAP_SUPPORTED) &&
1673 id_phys->phy_count)
1675 id_phys->phy_to_phy_map[device->active_path_index];
1680 ((get_unaligned_le32(&id_phys->misc_drive_flags) >> 16) &
1683 device->erase_in_progress = !!(get_unaligned_le16(&id_phys->extra_physical_drive_flags) & PQI_DEVICE_ERASE_IN_PROGRESS);
1745 struct bmic_identify_physical_device *id_phys)
1755 rc = pqi_get_physical_device_info(ctrl_info, device, id_phys);
1762 struct bmic_identify_physical_device *id_phys)
1766 rc = pqi_get_device_info_phys_logical(ctrl_info, device, id_phys);
2379 struct bmic_identify_physical_device *id_phys = NULL;
2419 id_phys = kmalloc(sizeof(*id_phys), GFP_KERNEL);
2420 if (!id_phys) {
2509 rc = pqi_get_device_info(ctrl_info, device, id_phys);
2569 kfree(id_phys);