Lines Matching refs:attached
433 mptsas_is_end_device(struct mptsas_devinfo * attached)
435 if ((attached->sas_address) &&
436 (attached->device_info &
438 ((attached->device_info &
440 (attached->device_info &
442 (attached->device_info &
471 memset(&phy_info->attached, 0, sizeof(struct mptsas_devinfo));
774 phy_info->attached.handle_enclosure);
776 mptsas_add_device_component(ioc, phy_info->attached.channel,
777 phy_info->attached.id, phy_info->attached.sas_address,
778 phy_info->attached.device_info,
779 phy_info->attached.slot, enclosure_info.enclosure_logical_id);
842 if (phy_info->attached.handle)
858 memset(&phy_info->attached, 0, sizeof(struct mptsas_devinfo));
874 sas_address = phy_info->attached.sas_address;
905 if (!phy_info_cmp->attached.sas_address)
907 if (sas_address != phy_info_cmp->attached.sas_address)
914 phy_info_cmp->attached.sas_address));
1411 * @phy_info: describes attached device
1432 fw_id = phy_info->attached.id;
1449 if (phy_info->attached.device_info &
1452 if (phy_info->attached.device_info &
1455 if (phy_info->attached.device_info &
1461 phy_info->attached.channel, phy_info->attached.id,
1462 phy_info->attached.phy_id, (unsigned long long)
1463 phy_info->attached.sas_address);
1465 mptsas_parse_device_info(&identify, &phy_info->attached);
1489 * @phy_info: describes attached device
1507 fw_id = phy_info->attached.id;
1508 sas_address = phy_info->attached.sas_address;
1524 if (phy_info->attached.device_info & MPI_SAS_DEVICE_INFO_SSP_INITIATOR
1525 || phy_info->attached.device_info
1527 || phy_info->attached.device_info
1530 if (phy_info->attached.device_info &
1533 if (phy_info->attached.device_info &
1536 if (phy_info->attached.device_info &
1542 "sas_addr 0x%llx\n", ioc->name, ds, phy_info->attached.channel,
1543 phy_info->attached.id, phy_info->attached.phy_id,
1558 if (phy_info_parent->attached.sas_address !=
1593 if (port_info->phy_info[i].attached.sas_address !=
1596 port_info->phy_info[i].attached.channel = sas_device->channel;
1597 port_info->phy_info[i].attached.id = sas_device->id;
1598 port_info->phy_info[i].attached.sas_address =
1600 port_info->phy_info[i].attached.handle = sas_device->handle;
1601 port_info->phy_info[i].attached.handle_parent =
1603 port_info->phy_info[i].attached.handle_enclosure =
1760 if (p->phy_info[i].attached.sas_address !=
1763 id = p->phy_info[i].attached.id;
1764 channel = p->phy_info[i].attached.channel;
1775 p->phy_info[i].attached.phys_disk_num = id;
1819 if (p->phy_info[i].attached.sas_address !=
1826 p->phy_info[i].attached.channel,
1827 p->phy_info[i].attached.id,
1828 p->phy_info[i].attached.phy_id, (unsigned long long)
1829 p->phy_info[i].attached.sas_address);
1870 if (p->phy_info[i].attached.sas_address !=
1878 p->phy_info[i].attached.channel,
1879 p->phy_info[i].attached.id))
2167 if (p->phy_info[i].attached.sas_address ==
2170 attached.handle_enclosure;
2199 if (p->phy_info[i].attached.sas_address ==
2201 rc = p->phy_info[i].attached.slot;
2550 phy_info->attached.handle = le16_to_cpu(buffer->AttachedDevHandle);
2787 phy_info->attached.handle = le16_to_cpu(buffer->AttachedDevHandle);
3155 if (!phy_info->attached.handle ||
3182 attached.sas_address));
3205 if (mptsas_is_end_device(&phy_info->attached) &&
3206 phy_info->attached.handle_parent) {
3210 mptsas_parse_device_info(&identify, &phy_info->attached);
3272 phy_info->attached.channel,
3273 phy_info->attached.id);
3336 if (port_info->phy_info[i].attached.handle)
3338 &port_info->phy_info[i].attached,
3341 port_info->phy_info[i].attached.handle);
3383 if (port_info->phy_info[i].attached.handle) {
3385 &port_info->phy_info[i].attached,
3388 port_info->phy_info[i].attached.handle);
3389 port_info->phy_info[i].attached.phy_id =
3403 if (parent->phy_info[i].attached.sas_address == sas_address) {
3456 * mptsas_delete_expander_siblings - remove siblings attached to expander
3561 if (phy_info->attached.sas_address !=
3737 mptsas_is_end_device(&phy_info->attached)) {
3741 id = phy_info->attached.id;
3742 channel = phy_info->attached.channel;
3745 ioc->name, phy_info->attached.id,
3746 phy_info->attached.channel));
4123 &port_info->phy_info[i].attached))
4125 if (port_info->phy_info[i].attached.sas_address
4194 &port_info->phy_info[i].attached))
4196 if (port_info->phy_info[i].attached.phys_disk_num == ~0)
4198 if ((port_info->phy_info[i].attached.phys_disk_num ==
4200 (port_info->phy_info[i].attached.id == id) &&
4201 (port_info->phy_info[i].attached.channel ==
4463 phy_info->attached.phys_disk_num = hot_plug_info->phys_disk_num;
4529 phy_info->attached.phys_disk_num = ~0;