Lines Matching defs:id_phys
3451 struct bmic_identify_physical_device *id_phys = NULL;
3479 id_phys = kzalloc(sizeof(*id_phys), GFP_KERNEL);
3480 if (!id_phys)
3484 id_phys, sizeof(*id_phys));
3486 dev_warn(&h->pdev->dev, "%s: id_phys failed %d bdi[0x%x]\n",
3499 if (id_phys->phys_connector[1] == 'E')
3500 c->Request.CDB[5] = id_phys->box_index;
3515 encl_dev->box[id_phys->active_path_number] = bssbp->phys_box_on_port;
3516 memcpy(&encl_dev->phys_connector[id_phys->active_path_number],
3522 kfree(id_phys);
4183 struct bmic_identify_physical_device *id_phys)
4196 memset(id_phys, 0, sizeof(*id_phys));
4198 GET_BMIC_DRIVE_NUMBER(&rle->lunid[0]), id_phys,
4199 sizeof(*id_phys));
4205 le16_to_cpu(id_phys->current_queue_depth_limit) -
4213 struct bmic_identify_physical_device *id_phys)
4226 &id_phys->active_path_number,
4229 &id_phys->redundant_path_present_map,
4232 &id_phys->alternate_paths_phys_box_on_port,
4235 &id_phys->alternate_paths_phys_connector,
4238 &id_phys->phys_bay_in_box,
4269 struct bmic_identify_physical_device *id_phys;
4273 id_phys = kzalloc(sizeof(*id_phys), GFP_KERNEL);
4274 if (!id_phys)
4280 id_phys, sizeof(*id_phys));
4282 is_spare = (id_phys->more_flags >> 6) & 0x01;
4284 kfree(id_phys);
4346 struct bmic_identify_physical_device *id_phys = NULL;
4363 id_phys = kzalloc(sizeof(*id_phys), GFP_KERNEL);
4367 !tmpdevice || !id_phys || !id_ctlr) {
4505 physdev_list, phys_dev_index, id_phys);
4507 physdev_list, phys_dev_index, id_phys);
4559 kfree(id_phys);