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()
433 mptsas_is_end_device(struct mptsas_devinfo * attached) in mptsas_is_end_device() argument
435 if ((attached->sas_address) && in mptsas_is_end_device()
436 (attached->device_info & in mptsas_is_end_device()
438 ((attached->device_info & in mptsas_is_end_device()
440 (attached->device_info & in mptsas_is_end_device()
442 (attached->device_info & in mptsas_is_end_device()
471 memset(&phy_info->attached, 0, sizeof(struct mptsas_devinfo)); in mptsas_port_delete()
774 phy_info->attached.handle_enclosure); in mptsas_add_device_component_starget()
776 mptsas_add_device_component(ioc, phy_info->attached.channel, in mptsas_add_device_component_starget()
777 phy_info->attached.id, phy_info->attached.sas_address, in mptsas_add_device_component_starget()
778 phy_info->attached.device_info, in mptsas_add_device_component_starget()
779 phy_info->attached.slot, enclosure_info.enclosure_logical_id); in mptsas_add_device_component_starget()
842 if (phy_info->attached.handle) in mptsas_setup_wide_ports()
858 memset(&phy_info->attached, 0, sizeof(struct mptsas_devinfo)); in mptsas_setup_wide_ports()
874 sas_address = phy_info->attached.sas_address; in mptsas_setup_wide_ports()
905 if (!phy_info_cmp->attached.sas_address) in mptsas_setup_wide_ports()
907 if (sas_address != phy_info_cmp->attached.sas_address) in mptsas_setup_wide_ports()
914 phy_info_cmp->attached.sas_address)); in mptsas_setup_wide_ports()
1410 * @phy_info: describes attached device
1431 fw_id = phy_info->attached.id; in mptsas_add_end_device()
1448 if (phy_info->attached.device_info & in mptsas_add_end_device()
1451 if (phy_info->attached.device_info & in mptsas_add_end_device()
1454 if (phy_info->attached.device_info & in mptsas_add_end_device()
1460 phy_info->attached.channel, phy_info->attached.id, in mptsas_add_end_device()
1461 phy_info->attached.phy_id, (unsigned long long) in mptsas_add_end_device()
1462 phy_info->attached.sas_address); in mptsas_add_end_device()
1464 mptsas_parse_device_info(&identify, &phy_info->attached); in mptsas_add_end_device()
1488 * @phy_info: describes attached device
1506 fw_id = phy_info->attached.id; in mptsas_del_end_device()
1507 sas_address = phy_info->attached.sas_address; in mptsas_del_end_device()
1523 if (phy_info->attached.device_info & MPI_SAS_DEVICE_INFO_SSP_INITIATOR in mptsas_del_end_device()
1524 || phy_info->attached.device_info in mptsas_del_end_device()
1526 || phy_info->attached.device_info in mptsas_del_end_device()
1529 if (phy_info->attached.device_info & in mptsas_del_end_device()
1532 if (phy_info->attached.device_info & in mptsas_del_end_device()
1535 if (phy_info->attached.device_info & in mptsas_del_end_device()
1541 "sas_addr 0x%llx\n", ioc->name, ds, phy_info->attached.channel, in mptsas_del_end_device()
1542 phy_info->attached.id, phy_info->attached.phy_id, in mptsas_del_end_device()
1557 if (phy_info_parent->attached.sas_address != in mptsas_del_end_device()
1592 if (port_info->phy_info[i].attached.sas_address != in mptsas_refreshing_device_handles()
1595 port_info->phy_info[i].attached.channel = sas_device->channel; in mptsas_refreshing_device_handles()
1596 port_info->phy_info[i].attached.id = sas_device->id; in mptsas_refreshing_device_handles()
1597 port_info->phy_info[i].attached.sas_address = in mptsas_refreshing_device_handles()
1599 port_info->phy_info[i].attached.handle = sas_device->handle; in mptsas_refreshing_device_handles()
1600 port_info->phy_info[i].attached.handle_parent = in mptsas_refreshing_device_handles()
1602 port_info->phy_info[i].attached.handle_enclosure = in mptsas_refreshing_device_handles()
1759 if (p->phy_info[i].attached.sas_address != in mptsas_target_alloc()
1762 id = p->phy_info[i].attached.id; in mptsas_target_alloc()
1763 channel = p->phy_info[i].attached.channel; in mptsas_target_alloc()
1774 p->phy_info[i].attached.phys_disk_num = id; in mptsas_target_alloc()
1818 if (p->phy_info[i].attached.sas_address != in mptsas_target_destroy()
1825 p->phy_info[i].attached.channel, in mptsas_target_destroy()
1826 p->phy_info[i].attached.id, in mptsas_target_destroy()
1827 p->phy_info[i].attached.phy_id, (unsigned long long) in mptsas_target_destroy()
1828 p->phy_info[i].attached.sas_address); in mptsas_target_destroy()
1869 if (p->phy_info[i].attached.sas_address != in mptsas_slave_alloc()
1877 p->phy_info[i].attached.channel, in mptsas_slave_alloc()
1878 p->phy_info[i].attached.id)) in mptsas_slave_alloc()
2167 if (p->phy_info[i].attached.sas_address == in mptsas_get_enclosure_identifier()
2170 attached.handle_enclosure; in mptsas_get_enclosure_identifier()
2199 if (p->phy_info[i].attached.sas_address == in mptsas_get_bay_identifier()
2201 rc = p->phy_info[i].attached.slot; in mptsas_get_bay_identifier()
2545 phy_info->attached.handle = le16_to_cpu(buffer->AttachedDevHandle); in mptsas_sas_phy_pg0()
2782 phy_info->attached.handle = le16_to_cpu(buffer->AttachedDevHandle); in mptsas_sas_expander_pg1()
3012 * Fill in Attached device type. in mptsas_parse_device_info()
3150 if (!phy_info->attached.handle || in mptsas_probe_one_phy()
3177 attached.sas_address)); in mptsas_probe_one_phy()
3200 if (mptsas_is_end_device(&phy_info->attached) && in mptsas_probe_one_phy()
3201 phy_info->attached.handle_parent) { in mptsas_probe_one_phy()
3205 mptsas_parse_device_info(&identify, &phy_info->attached); in mptsas_probe_one_phy()
3267 phy_info->attached.channel, in mptsas_probe_one_phy()
3268 phy_info->attached.id); in mptsas_probe_one_phy()
3331 if (port_info->phy_info[i].attached.handle) in mptsas_probe_hba_phys()
3333 &port_info->phy_info[i].attached, in mptsas_probe_hba_phys()
3336 port_info->phy_info[i].attached.handle); in mptsas_probe_hba_phys()
3378 if (port_info->phy_info[i].attached.handle) { in mptsas_expander_refresh()
3380 &port_info->phy_info[i].attached, in mptsas_expander_refresh()
3383 port_info->phy_info[i].attached.handle); in mptsas_expander_refresh()
3384 port_info->phy_info[i].attached.phy_id = in mptsas_expander_refresh()
3398 if (parent->phy_info[i].attached.sas_address == sas_address) { in mptsas_expander_refresh()
3451 * mptsas_delete_expander_siblings - remove siblings attached to expander
3556 if (phy_info->attached.sas_address != in mptsas_expander_delete()
3732 mptsas_is_end_device(&phy_info->attached)) { in mptsas_send_link_status_event()
3736 id = phy_info->attached.id; in mptsas_send_link_status_event()
3737 channel = phy_info->attached.channel; in mptsas_send_link_status_event()
3740 ioc->name, phy_info->attached.id, in mptsas_send_link_status_event()
3741 phy_info->attached.channel)); in mptsas_send_link_status_event()
4118 &port_info->phy_info[i].attached)) in mptsas_find_phyinfo_by_sas_address()
4120 if (port_info->phy_info[i].attached.sas_address in mptsas_find_phyinfo_by_sas_address()
4189 &port_info->phy_info[i].attached)) in mptsas_find_phyinfo_by_phys_disk_num()
4191 if (port_info->phy_info[i].attached.phys_disk_num == ~0) in mptsas_find_phyinfo_by_phys_disk_num()
4193 if ((port_info->phy_info[i].attached.phys_disk_num == in mptsas_find_phyinfo_by_phys_disk_num()
4195 (port_info->phy_info[i].attached.id == id) && in mptsas_find_phyinfo_by_phys_disk_num()
4196 (port_info->phy_info[i].attached.channel == in mptsas_find_phyinfo_by_phys_disk_num()
4458 phy_info->attached.phys_disk_num = hot_plug_info->phys_disk_num; in mptsas_hotplug_work()
4524 phy_info->attached.phys_disk_num = ~0; in mptsas_hotplug_work()