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));
1410 * @phy_info: describes attached device
1431 fw_id = phy_info->attached.id;
1448 if (phy_info->attached.device_info &
1451 if (phy_info->attached.device_info &
1454 if (phy_info->attached.device_info &
1460 phy_info->attached.channel, phy_info->attached.id,
1461 phy_info->attached.phy_id, (unsigned long long)
1462 phy_info->attached.sas_address);
1464 mptsas_parse_device_info(&identify, &phy_info->attached);
1488 * @phy_info: describes attached device
1506 fw_id = phy_info->attached.id;
1507 sas_address = phy_info->attached.sas_address;
1523 if (phy_info->attached.device_info & MPI_SAS_DEVICE_INFO_SSP_INITIATOR
1524 || phy_info->attached.device_info
1526 || phy_info->attached.device_info
1529 if (phy_info->attached.device_info &
1532 if (phy_info->attached.device_info &
1535 if (phy_info->attached.device_info &
1541 "sas_addr 0x%llx\n", ioc->name, ds, phy_info->attached.channel,
1542 phy_info->attached.id, phy_info->attached.phy_id,
1557 if (phy_info_parent->attached.sas_address !=
1592 if (port_info->phy_info[i].attached.sas_address !=
1595 port_info->phy_info[i].attached.channel = sas_device->channel;
1596 port_info->phy_info[i].attached.id = sas_device->id;
1597 port_info->phy_info[i].attached.sas_address =
1599 port_info->phy_info[i].attached.handle = sas_device->handle;
1600 port_info->phy_info[i].attached.handle_parent =
1602 port_info->phy_info[i].attached.handle_enclosure =
1759 if (p->phy_info[i].attached.sas_address !=
1762 id = p->phy_info[i].attached.id;
1763 channel = p->phy_info[i].attached.channel;
1774 p->phy_info[i].attached.phys_disk_num = id;
1818 if (p->phy_info[i].attached.sas_address !=
1825 p->phy_info[i].attached.channel,
1826 p->phy_info[i].attached.id,
1827 p->phy_info[i].attached.phy_id, (unsigned long long)
1828 p->phy_info[i].attached.sas_address);
1869 if (p->phy_info[i].attached.sas_address !=
1877 p->phy_info[i].attached.channel,
1878 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;
2545 phy_info->attached.handle = le16_to_cpu(buffer->AttachedDevHandle);
2782 phy_info->attached.handle = le16_to_cpu(buffer->AttachedDevHandle);
3150 if (!phy_info->attached.handle ||
3177 attached.sas_address));
3200 if (mptsas_is_end_device(&phy_info->attached) &&
3201 phy_info->attached.handle_parent) {
3205 mptsas_parse_device_info(&identify, &phy_info->attached);
3267 phy_info->attached.channel,
3268 phy_info->attached.id);
3331 if (port_info->phy_info[i].attached.handle)
3333 &port_info->phy_info[i].attached,
3336 port_info->phy_info[i].attached.handle);
3378 if (port_info->phy_info[i].attached.handle) {
3380 &port_info->phy_info[i].attached,
3383 port_info->phy_info[i].attached.handle);
3384 port_info->phy_info[i].attached.phy_id =
3398 if (parent->phy_info[i].attached.sas_address == sas_address) {
3451 * mptsas_delete_expander_siblings - remove siblings attached to expander
3556 if (phy_info->attached.sas_address !=
3732 mptsas_is_end_device(&phy_info->attached)) {
3736 id = phy_info->attached.id;
3737 channel = phy_info->attached.channel;
3740 ioc->name, phy_info->attached.id,
3741 phy_info->attached.channel));
4118 &port_info->phy_info[i].attached))
4120 if (port_info->phy_info[i].attached.sas_address
4189 &port_info->phy_info[i].attached))
4191 if (port_info->phy_info[i].attached.phys_disk_num == ~0)
4193 if ((port_info->phy_info[i].attached.phys_disk_num ==
4195 (port_info->phy_info[i].attached.id == id) &&
4196 (port_info->phy_info[i].attached.channel ==
4458 phy_info->attached.phys_disk_num = hot_plug_info->phys_disk_num;
4524 phy_info->attached.phys_disk_num = ~0;