Lines Matching full:identify

110 static void mptsas_parse_device_info(struct sas_identify *identify,
414 if (port_info->phy_info[i].identify.handle == handle) { in mptsas_find_portinfo_by_handle()
446 if (port_info->phy_info[i].identify.sas_address == in mptsas_find_portinfo_by_sas_address()
629 if (rphy->identify.sas_address == sas_address) { in mptsas_add_device_component()
792 rphy->identify.sas_address); in mptsas_add_device_component_starget()
1448 struct sas_identify identify; in mptsas_add_end_device() local
1492 mptsas_parse_device_info(&identify, &phy_info->attached); in mptsas_add_end_device()
1501 rphy->identify = identify; in mptsas_add_end_device()
1788 rphy->identify.sas_address) in mptsas_target_alloc()
1847 rphy->identify.sas_address) in mptsas_target_destroy()
1898 rphy->identify.sas_address) in mptsas_slave_alloc()
2051 cfg.pageAddr = phy->identify.phy_identifier; in mptsas_get_linkerrors()
2123 if (phy->identify.target_port_protocols & SAS_PROTOCOL_SMP) in mptsas_phy_reset()
2142 req->PhyNum = phy->identify.phy_identifier; in mptsas_phy_reset()
2197 rphy->identify.sas_address) { in mptsas_get_enclosure_identifier()
2229 rphy->identify.sas_address) { in mptsas_get_bay_identifier()
2281 sas_address = rphy->identify.sas_address; in mptsas_smp_handler()
2289 port_info->phy_info[0].phy->identify.sas_address; in mptsas_smp_handler()
2573 phy_info->identify.handle = le16_to_cpu(buffer->OwnerDevHandle); in mptsas_sas_phy_pg0()
2734 port_info->phy_info[i].identify.sas_address = in mptsas_sas_expander_pg0()
2736 port_info->phy_info[i].identify.handle_parent = in mptsas_sas_expander_pg0()
2810 phy_info->identify.handle = le16_to_cpu(buffer->OwnerDevHandle); in mptsas_sas_expander_pg1()
3001 mptsas_parse_device_info(struct sas_identify *identify, in mptsas_parse_device_info() argument
3006 identify->sas_address = device_info->sas_address; in mptsas_parse_device_info()
3007 identify->phy_identifier = device_info->phy_id; in mptsas_parse_device_info()
3014 identify->initiator_port_protocols = 0; in mptsas_parse_device_info()
3016 identify->initiator_port_protocols |= SAS_PROTOCOL_SSP; in mptsas_parse_device_info()
3018 identify->initiator_port_protocols |= SAS_PROTOCOL_STP; in mptsas_parse_device_info()
3020 identify->initiator_port_protocols |= SAS_PROTOCOL_SMP; in mptsas_parse_device_info()
3022 identify->initiator_port_protocols |= SAS_PROTOCOL_SATA; in mptsas_parse_device_info()
3029 identify->target_port_protocols = 0; in mptsas_parse_device_info()
3031 identify->target_port_protocols |= SAS_PROTOCOL_SSP; in mptsas_parse_device_info()
3033 identify->target_port_protocols |= SAS_PROTOCOL_STP; in mptsas_parse_device_info()
3035 identify->target_port_protocols |= SAS_PROTOCOL_SMP; in mptsas_parse_device_info()
3037 identify->target_port_protocols |= SAS_PROTOCOL_SATA; in mptsas_parse_device_info()
3045 identify->device_type = SAS_PHY_UNUSED; in mptsas_parse_device_info()
3048 identify->device_type = SAS_END_DEVICE; in mptsas_parse_device_info()
3051 identify->device_type = SAS_EDGE_EXPANDER_DEVICE; in mptsas_parse_device_info()
3054 identify->device_type = SAS_FANOUT_EXPANDER_DEVICE; in mptsas_parse_device_info()
3082 mptsas_parse_device_info(&phy->identify, &phy_info->identify); in mptsas_probe_one_phy()
3220 struct sas_identify identify; in mptsas_probe_one_phy() local
3233 mptsas_parse_device_info(&identify, &phy_info->attached); in mptsas_probe_one_phy()
3241 if (port_info->phy_info[i].identify.sas_address == in mptsas_probe_one_phy()
3242 identify.sas_address) { in mptsas_probe_one_phy()
3249 if (identify.sas_address == in mptsas_probe_one_phy()
3250 parent_rphy->identify.sas_address) { in mptsas_probe_one_phy()
3256 switch (identify.device_type) { in mptsas_probe_one_phy()
3262 rphy = sas_expander_alloc(port, identify.device_type); in mptsas_probe_one_phy()
3275 rphy->identify = identify; in mptsas_probe_one_phy()
3285 if (identify.device_type == SAS_EDGE_EXPANDER_DEVICE || in mptsas_probe_one_phy()
3286 identify.device_type == SAS_FANOUT_EXPANDER_DEVICE) in mptsas_probe_one_phy()
3288 identify.sas_address, in mptsas_probe_one_phy()
3348 port_info->phy_info[i].identify.handle = in mptsas_probe_hba_phys()
3350 mptsas_sas_device_pg0(ioc, &port_info->phy_info[i].identify, in mptsas_probe_hba_phys()
3353 port_info->phy_info[i].identify.handle); in mptsas_probe_hba_phys()
3356 port_info->phy_info[i].identify.sas_address; in mptsas_probe_hba_phys()
3357 port_info->phy_info[i].identify.phy_id = in mptsas_probe_hba_phys()
3392 sas_address = port_info->phy_info[0].identify.sas_address; in mptsas_expander_refresh()
3399 &port_info->phy_info[i].identify, in mptsas_expander_refresh()
3402 port_info->phy_info[i].identify.handle); in mptsas_expander_refresh()
3403 port_info->phy_info[i].identify.phy_id = in mptsas_expander_refresh()
3419 port_info->phy_info[0].identify.handle_parent); in mptsas_expander_refresh()
3459 port_info->phy_info[i].identify.sas_address = in mptsas_expander_event_add()
3461 port_info->phy_info[i].identify.handle_parent = in mptsas_expander_event_add()
3496 if (rphy->identify.device_type == SAS_END_DEVICE) in mptsas_delete_expander_siblings()
3505 if (rphy->identify.device_type == in mptsas_delete_expander_siblings()
3507 rphy->identify.device_type == in mptsas_delete_expander_siblings()
3510 rphy->identify.sas_address); in mptsas_delete_expander_siblings()
3552 port_info->phy_info[0].identify.handle); in mptsas_expander_delete()
3566 port_info->phy_info[0].identify.sas_address; in mptsas_expander_delete()
3568 port_info->phy_info[0].identify.handle_parent); in mptsas_expander_delete()
3647 port_info->phy_info[i].identify.sas_address = in mptsas_send_expander_event()
3649 port_info->phy_info[i].identify.handle_parent = in mptsas_send_expander_event()
3696 (unsigned long long)buffer.phy_info[0].identify.sas_address); in mptsas_expander_add()
3889 if (!(port_info->phy_info[0].identify.device_info & in mptsas_not_responding_devices()
3900 if (buffer.phy_info[0].identify.sas_address == in mptsas_not_responding_devices()
3901 port_info->phy_info[0].identify.sas_address) { in mptsas_not_responding_devices()
3934 buffer.phy_info[0].identify.sas_address); in mptsas_probe_expanders()
3940 port_info->phy_info[i].identify.handle_parent = in mptsas_probe_expanders()
3941 buffer.phy_info[0].identify.handle_parent; in mptsas_probe_expanders()
3964 (unsigned long long)buffer.phy_info[0].identify.sas_address); in mptsas_probe_expanders()