Lines Matching full:attached
170 "Attached Device Handle=0x%X\n", ioc->name, in mptsas_print_phy_pg0()
175 "Attached PHY Identifier=0x%X\n", ioc->name, in mptsas_print_phy_pg0()
177 dsasprintk(ioc, printk(MYIOC_s_DEBUG_FMT "Attached Device Info=0x%X\n", in mptsas_print_phy_pg0()
255 "Attached Device Handle=0x%X\n\n", ioc->name, in mptsas_print_expander_pg1()
460 mptsas_is_end_device(struct mptsas_devinfo * attached) in mptsas_is_end_device() argument
462 if ((attached->sas_address) && in mptsas_is_end_device()
463 (attached->device_info & in mptsas_is_end_device()
465 ((attached->device_info & in mptsas_is_end_device()
467 (attached->device_info & in mptsas_is_end_device()
469 (attached->device_info & in mptsas_is_end_device()
498 memset(&phy_info->attached, 0, sizeof(struct mptsas_devinfo)); in mptsas_port_delete()
800 phy_info->attached.handle_enclosure); in mptsas_add_device_component_starget()
802 mptsas_add_device_component(ioc, phy_info->attached.channel, in mptsas_add_device_component_starget()
803 phy_info->attached.id, phy_info->attached.sas_address, in mptsas_add_device_component_starget()
804 phy_info->attached.device_info, in mptsas_add_device_component_starget()
805 phy_info->attached.slot, enclosure_info.enclosure_logical_id); in mptsas_add_device_component_starget()
868 if (phy_info->attached.handle) in mptsas_setup_wide_ports()
884 memset(&phy_info->attached, 0, sizeof(struct mptsas_devinfo)); in mptsas_setup_wide_ports()
900 sas_address = phy_info->attached.sas_address; in mptsas_setup_wide_ports()
931 if (!phy_info_cmp->attached.sas_address) in mptsas_setup_wide_ports()
933 if (sas_address != phy_info_cmp->attached.sas_address) in mptsas_setup_wide_ports()
940 phy_info_cmp->attached.sas_address)); in mptsas_setup_wide_ports()
1438 * @phy_info: describes attached device
1459 fw_id = phy_info->attached.id; in mptsas_add_end_device()
1476 if (phy_info->attached.device_info & in mptsas_add_end_device()
1479 if (phy_info->attached.device_info & in mptsas_add_end_device()
1482 if (phy_info->attached.device_info & in mptsas_add_end_device()
1488 phy_info->attached.channel, phy_info->attached.id, in mptsas_add_end_device()
1489 phy_info->attached.phy_id, (unsigned long long) in mptsas_add_end_device()
1490 phy_info->attached.sas_address); in mptsas_add_end_device()
1492 mptsas_parse_device_info(&identify, &phy_info->attached); in mptsas_add_end_device()
1516 * @phy_info: describes attached device
1534 fw_id = phy_info->attached.id; in mptsas_del_end_device()
1535 sas_address = phy_info->attached.sas_address; in mptsas_del_end_device()
1551 if (phy_info->attached.device_info & MPI_SAS_DEVICE_INFO_SSP_INITIATOR in mptsas_del_end_device()
1552 || phy_info->attached.device_info in mptsas_del_end_device()
1554 || phy_info->attached.device_info in mptsas_del_end_device()
1557 if (phy_info->attached.device_info & in mptsas_del_end_device()
1560 if (phy_info->attached.device_info & in mptsas_del_end_device()
1563 if (phy_info->attached.device_info & in mptsas_del_end_device()
1569 "sas_addr 0x%llx\n", ioc->name, ds, phy_info->attached.channel, in mptsas_del_end_device()
1570 phy_info->attached.id, phy_info->attached.phy_id, in mptsas_del_end_device()
1585 if (phy_info_parent->attached.sas_address != in mptsas_del_end_device()
1620 if (port_info->phy_info[i].attached.sas_address != in mptsas_refreshing_device_handles()
1623 port_info->phy_info[i].attached.channel = sas_device->channel; in mptsas_refreshing_device_handles()
1624 port_info->phy_info[i].attached.id = sas_device->id; in mptsas_refreshing_device_handles()
1625 port_info->phy_info[i].attached.sas_address = in mptsas_refreshing_device_handles()
1627 port_info->phy_info[i].attached.handle = sas_device->handle; in mptsas_refreshing_device_handles()
1628 port_info->phy_info[i].attached.handle_parent = in mptsas_refreshing_device_handles()
1630 port_info->phy_info[i].attached.handle_enclosure = in mptsas_refreshing_device_handles()
1787 if (p->phy_info[i].attached.sas_address != in mptsas_target_alloc()
1790 id = p->phy_info[i].attached.id; in mptsas_target_alloc()
1791 channel = p->phy_info[i].attached.channel; in mptsas_target_alloc()
1802 p->phy_info[i].attached.phys_disk_num = id; in mptsas_target_alloc()
1846 if (p->phy_info[i].attached.sas_address != in mptsas_target_destroy()
1853 p->phy_info[i].attached.channel, in mptsas_target_destroy()
1854 p->phy_info[i].attached.id, in mptsas_target_destroy()
1855 p->phy_info[i].attached.phy_id, (unsigned long long) in mptsas_target_destroy()
1856 p->phy_info[i].attached.sas_address); in mptsas_target_destroy()
1897 if (p->phy_info[i].attached.sas_address != in mptsas_sdev_init()
1905 p->phy_info[i].attached.channel, in mptsas_sdev_init()
1906 p->phy_info[i].attached.id)) in mptsas_sdev_init()
2196 if (p->phy_info[i].attached.sas_address == in mptsas_get_enclosure_identifier()
2199 attached.handle_enclosure; in mptsas_get_enclosure_identifier()
2228 if (p->phy_info[i].attached.sas_address == in mptsas_get_bay_identifier()
2230 rc = p->phy_info[i].attached.slot; in mptsas_get_bay_identifier()
2574 phy_info->attached.handle = le16_to_cpu(buffer->AttachedDevHandle); in mptsas_sas_phy_pg0()
2811 phy_info->attached.handle = le16_to_cpu(buffer->AttachedDevHandle); in mptsas_sas_expander_pg1()
3040 * Fill in Attached device type. in mptsas_parse_device_info()
3178 if (!phy_info->attached.handle || in mptsas_probe_one_phy()
3205 attached.sas_address)); in mptsas_probe_one_phy()
3228 if (mptsas_is_end_device(&phy_info->attached) && in mptsas_probe_one_phy()
3229 phy_info->attached.handle_parent) { in mptsas_probe_one_phy()
3233 mptsas_parse_device_info(&identify, &phy_info->attached); in mptsas_probe_one_phy()
3295 phy_info->attached.channel, in mptsas_probe_one_phy()
3296 phy_info->attached.id); in mptsas_probe_one_phy()
3359 if (port_info->phy_info[i].attached.handle) in mptsas_probe_hba_phys()
3361 &port_info->phy_info[i].attached, in mptsas_probe_hba_phys()
3364 port_info->phy_info[i].attached.handle); in mptsas_probe_hba_phys()
3406 if (port_info->phy_info[i].attached.handle) { in mptsas_expander_refresh()
3408 &port_info->phy_info[i].attached, in mptsas_expander_refresh()
3411 port_info->phy_info[i].attached.handle); in mptsas_expander_refresh()
3412 port_info->phy_info[i].attached.phy_id = in mptsas_expander_refresh()
3426 if (parent->phy_info[i].attached.sas_address == sas_address) { in mptsas_expander_refresh()
3477 * mptsas_delete_expander_siblings - remove siblings attached to expander
3582 if (phy_info->attached.sas_address != in mptsas_expander_delete()
3757 mptsas_is_end_device(&phy_info->attached)) { in mptsas_send_link_status_event()
3761 id = phy_info->attached.id; in mptsas_send_link_status_event()
3762 channel = phy_info->attached.channel; in mptsas_send_link_status_event()
3765 ioc->name, phy_info->attached.id, in mptsas_send_link_status_event()
3766 phy_info->attached.channel)); in mptsas_send_link_status_event()
4143 &port_info->phy_info[i].attached)) in mptsas_find_phyinfo_by_sas_address()
4145 if (port_info->phy_info[i].attached.sas_address in mptsas_find_phyinfo_by_sas_address()
4215 &port_info->phy_info[i].attached)) in mptsas_find_phyinfo_by_phys_disk_num()
4217 if (port_info->phy_info[i].attached.phys_disk_num == ~0) in mptsas_find_phyinfo_by_phys_disk_num()
4219 if ((port_info->phy_info[i].attached.phys_disk_num == in mptsas_find_phyinfo_by_phys_disk_num()
4221 (port_info->phy_info[i].attached.id == id) && in mptsas_find_phyinfo_by_phys_disk_num()
4222 (port_info->phy_info[i].attached.channel == in mptsas_find_phyinfo_by_phys_disk_num()
4482 phy_info->attached.phys_disk_num = hot_plug_info->phys_disk_num; in mptsas_hotplug_work()
4548 phy_info->attached.phys_disk_num = ~0; in mptsas_hotplug_work()