Lines Matching full:attached
170 "Attached Device Handle=0x%X\n", ioc->name,
175 "Attached PHY Identifier=0x%X\n", ioc->name,
177 dsasprintk(ioc, printk(MYIOC_s_DEBUG_FMT "Attached Device Info=0x%X\n",
255 "Attached Device Handle=0x%X\n\n", ioc->name,
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))
2196 if (p->phy_info[i].attached.sas_address ==
2199 attached.handle_enclosure;
2228 if (p->phy_info[i].attached.sas_address ==
2230 rc = p->phy_info[i].attached.slot;
2574 phy_info->attached.handle = le16_to_cpu(buffer->AttachedDevHandle);
2811 phy_info->attached.handle = le16_to_cpu(buffer->AttachedDevHandle);
3040 * Fill in Attached device type.
3178 if (!phy_info->attached.handle ||
3205 attached.sas_address));
3228 if (mptsas_is_end_device(&phy_info->attached) &&
3229 phy_info->attached.handle_parent) {
3233 mptsas_parse_device_info(&identify, &phy_info->attached);
3295 phy_info->attached.channel,
3296 phy_info->attached.id);
3359 if (port_info->phy_info[i].attached.handle)
3361 &port_info->phy_info[i].attached,
3364 port_info->phy_info[i].attached.handle);
3406 if (port_info->phy_info[i].attached.handle) {
3408 &port_info->phy_info[i].attached,
3411 port_info->phy_info[i].attached.handle);
3412 port_info->phy_info[i].attached.phy_id =
3426 if (parent->phy_info[i].attached.sas_address == sas_address) {
3477 * mptsas_delete_expander_siblings - remove siblings attached to expander
3582 if (phy_info->attached.sas_address !=
3757 mptsas_is_end_device(&phy_info->attached)) {
3761 id = phy_info->attached.id;
3762 channel = phy_info->attached.channel;
3765 ioc->name, phy_info->attached.id,
3766 phy_info->attached.channel));
4143 &port_info->phy_info[i].attached))
4145 if (port_info->phy_info[i].attached.sas_address
4215 &port_info->phy_info[i].attached))
4217 if (port_info->phy_info[i].attached.phys_disk_num == ~0)
4219 if ((port_info->phy_info[i].attached.phys_disk_num ==
4221 (port_info->phy_info[i].attached.id == id) &&
4222 (port_info->phy_info[i].attached.channel ==
4482 phy_info->attached.phys_disk_num = hot_plug_info->phys_disk_num;
4548 phy_info->attached.phys_disk_num = ~0;