Lines Matching refs:attached
460 mptsas_is_end_device(struct mptsas_devinfo * attached)
462 if ((attached->sas_address) &&
463 (attached->device_info &
465 ((attached->device_info &
467 (attached->device_info &
469 (attached->device_info &
498 memset(&phy_info->attached, 0, sizeof(struct mptsas_devinfo));
800 phy_info->attached.handle_enclosure);
802 mptsas_add_device_component(ioc, phy_info->attached.channel,
803 phy_info->attached.id, phy_info->attached.sas_address,
804 phy_info->attached.device_info,
805 phy_info->attached.slot, enclosure_info.enclosure_logical_id);
868 if (phy_info->attached.handle)
884 memset(&phy_info->attached, 0, sizeof(struct mptsas_devinfo));
900 sas_address = phy_info->attached.sas_address;
931 if (!phy_info_cmp->attached.sas_address)
933 if (sas_address != phy_info_cmp->attached.sas_address)
940 phy_info_cmp->attached.sas_address));
1438 * @phy_info: describes attached device
1459 fw_id = phy_info->attached.id;
1476 if (phy_info->attached.device_info &
1479 if (phy_info->attached.device_info &
1482 if (phy_info->attached.device_info &
1488 phy_info->attached.channel, phy_info->attached.id,
1489 phy_info->attached.phy_id, (unsigned long long)
1490 phy_info->attached.sas_address);
1492 mptsas_parse_device_info(&identify, &phy_info->attached);
1516 * @phy_info: describes attached device
1534 fw_id = phy_info->attached.id;
1535 sas_address = phy_info->attached.sas_address;
1551 if (phy_info->attached.device_info & MPI_SAS_DEVICE_INFO_SSP_INITIATOR
1552 || phy_info->attached.device_info
1554 || phy_info->attached.device_info
1557 if (phy_info->attached.device_info &
1560 if (phy_info->attached.device_info &
1563 if (phy_info->attached.device_info &
1569 "sas_addr 0x%llx\n", ioc->name, ds, phy_info->attached.channel,
1570 phy_info->attached.id, phy_info->attached.phy_id,
1585 if (phy_info_parent->attached.sas_address !=
1620 if (port_info->phy_info[i].attached.sas_address !=
1623 port_info->phy_info[i].attached.channel = sas_device->channel;
1624 port_info->phy_info[i].attached.id = sas_device->id;
1625 port_info->phy_info[i].attached.sas_address =
1627 port_info->phy_info[i].attached.handle = sas_device->handle;
1628 port_info->phy_info[i].attached.handle_parent =
1630 port_info->phy_info[i].attached.handle_enclosure =
1787 if (p->phy_info[i].attached.sas_address !=
1790 id = p->phy_info[i].attached.id;
1791 channel = p->phy_info[i].attached.channel;
1802 p->phy_info[i].attached.phys_disk_num = id;
1846 if (p->phy_info[i].attached.sas_address !=
1853 p->phy_info[i].attached.channel,
1854 p->phy_info[i].attached.id,
1855 p->phy_info[i].attached.phy_id, (unsigned long long)
1856 p->phy_info[i].attached.sas_address);
1897 if (p->phy_info[i].attached.sas_address !=
1905 p->phy_info[i].attached.channel,
1906 p->phy_info[i].attached.id))
2195 if (p->phy_info[i].attached.sas_address ==
2198 attached.handle_enclosure;
2227 if (p->phy_info[i].attached.sas_address ==
2229 rc = p->phy_info[i].attached.slot;
2573 phy_info->attached.handle = le16_to_cpu(buffer->AttachedDevHandle);
2810 phy_info->attached.handle = le16_to_cpu(buffer->AttachedDevHandle);
3181 if (!phy_info->attached.handle ||
3208 attached.sas_address));
3231 if (mptsas_is_end_device(&phy_info->attached) &&
3232 phy_info->attached.handle_parent) {
3236 mptsas_parse_device_info(&identify, &phy_info->attached);
3298 phy_info->attached.channel,
3299 phy_info->attached.id);
3362 if (port_info->phy_info[i].attached.handle)
3364 &port_info->phy_info[i].attached,
3367 port_info->phy_info[i].attached.handle);
3409 if (port_info->phy_info[i].attached.handle) {
3411 &port_info->phy_info[i].attached,
3414 port_info->phy_info[i].attached.handle);
3415 port_info->phy_info[i].attached.phy_id =
3429 if (parent->phy_info[i].attached.sas_address == sas_address) {
3480 * mptsas_delete_expander_siblings - remove siblings attached to expander
3585 if (phy_info->attached.sas_address !=
3760 mptsas_is_end_device(&phy_info->attached)) {
3764 id = phy_info->attached.id;
3765 channel = phy_info->attached.channel;
3768 ioc->name, phy_info->attached.id,
3769 phy_info->attached.channel));
4146 &port_info->phy_info[i].attached))
4148 if (port_info->phy_info[i].attached.sas_address
4218 &port_info->phy_info[i].attached))
4220 if (port_info->phy_info[i].attached.phys_disk_num == ~0)
4222 if ((port_info->phy_info[i].attached.phys_disk_num ==
4224 (port_info->phy_info[i].attached.id == id) &&
4225 (port_info->phy_info[i].attached.channel ==
4487 phy_info->attached.phys_disk_num = hot_plug_info->phys_disk_num;
4553 phy_info->attached.phys_disk_num = ~0;