Lines Matching refs: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()
2050 cfg.pageAddr = phy->identify.phy_identifier; in mptsas_get_linkerrors()
2122 if (phy->identify.target_port_protocols & SAS_PROTOCOL_SMP) in mptsas_phy_reset()
2141 req->PhyNum = phy->identify.phy_identifier; in mptsas_phy_reset()
2196 rphy->identify.sas_address) { in mptsas_get_enclosure_identifier()
2228 rphy->identify.sas_address) { in mptsas_get_bay_identifier()
2280 sas_address = rphy->identify.sas_address; in mptsas_smp_handler()
2288 port_info->phy_info[0].phy->identify.sas_address; in mptsas_smp_handler()
2572 phy_info->identify.handle = le16_to_cpu(buffer->OwnerDevHandle); in mptsas_sas_phy_pg0()
2733 port_info->phy_info[i].identify.sas_address = in mptsas_sas_expander_pg0()
2735 port_info->phy_info[i].identify.handle_parent = in mptsas_sas_expander_pg0()
2809 phy_info->identify.handle = le16_to_cpu(buffer->OwnerDevHandle); in mptsas_sas_expander_pg1()
3004 mptsas_parse_device_info(struct sas_identify *identify, in mptsas_parse_device_info() argument
3009 identify->sas_address = device_info->sas_address; in mptsas_parse_device_info()
3010 identify->phy_identifier = device_info->phy_id; in mptsas_parse_device_info()
3017 identify->initiator_port_protocols = 0; in mptsas_parse_device_info()
3019 identify->initiator_port_protocols |= SAS_PROTOCOL_SSP; in mptsas_parse_device_info()
3021 identify->initiator_port_protocols |= SAS_PROTOCOL_STP; in mptsas_parse_device_info()
3023 identify->initiator_port_protocols |= SAS_PROTOCOL_SMP; in mptsas_parse_device_info()
3025 identify->initiator_port_protocols |= SAS_PROTOCOL_SATA; in mptsas_parse_device_info()
3032 identify->target_port_protocols = 0; in mptsas_parse_device_info()
3034 identify->target_port_protocols |= SAS_PROTOCOL_SSP; in mptsas_parse_device_info()
3036 identify->target_port_protocols |= SAS_PROTOCOL_STP; in mptsas_parse_device_info()
3038 identify->target_port_protocols |= SAS_PROTOCOL_SMP; in mptsas_parse_device_info()
3040 identify->target_port_protocols |= SAS_PROTOCOL_SATA; in mptsas_parse_device_info()
3048 identify->device_type = SAS_PHY_UNUSED; in mptsas_parse_device_info()
3051 identify->device_type = SAS_END_DEVICE; in mptsas_parse_device_info()
3054 identify->device_type = SAS_EDGE_EXPANDER_DEVICE; in mptsas_parse_device_info()
3057 identify->device_type = SAS_FANOUT_EXPANDER_DEVICE; in mptsas_parse_device_info()
3085 mptsas_parse_device_info(&phy->identify, &phy_info->identify); in mptsas_probe_one_phy()
3223 struct sas_identify identify; in mptsas_probe_one_phy() local
3236 mptsas_parse_device_info(&identify, &phy_info->attached); in mptsas_probe_one_phy()
3244 if (port_info->phy_info[i].identify.sas_address == in mptsas_probe_one_phy()
3245 identify.sas_address) { in mptsas_probe_one_phy()
3252 if (identify.sas_address == in mptsas_probe_one_phy()
3253 parent_rphy->identify.sas_address) { in mptsas_probe_one_phy()
3259 switch (identify.device_type) { in mptsas_probe_one_phy()
3265 rphy = sas_expander_alloc(port, identify.device_type); in mptsas_probe_one_phy()
3278 rphy->identify = identify; in mptsas_probe_one_phy()
3288 if (identify.device_type == SAS_EDGE_EXPANDER_DEVICE || in mptsas_probe_one_phy()
3289 identify.device_type == SAS_FANOUT_EXPANDER_DEVICE) in mptsas_probe_one_phy()
3291 identify.sas_address, in mptsas_probe_one_phy()
3351 port_info->phy_info[i].identify.handle = in mptsas_probe_hba_phys()
3353 mptsas_sas_device_pg0(ioc, &port_info->phy_info[i].identify, in mptsas_probe_hba_phys()
3356 port_info->phy_info[i].identify.handle); in mptsas_probe_hba_phys()
3359 port_info->phy_info[i].identify.sas_address; in mptsas_probe_hba_phys()
3360 port_info->phy_info[i].identify.phy_id = in mptsas_probe_hba_phys()
3395 sas_address = port_info->phy_info[0].identify.sas_address; in mptsas_expander_refresh()
3402 &port_info->phy_info[i].identify, in mptsas_expander_refresh()
3405 port_info->phy_info[i].identify.handle); in mptsas_expander_refresh()
3406 port_info->phy_info[i].identify.phy_id = in mptsas_expander_refresh()
3422 port_info->phy_info[0].identify.handle_parent); in mptsas_expander_refresh()
3462 port_info->phy_info[i].identify.sas_address = in mptsas_expander_event_add()
3464 port_info->phy_info[i].identify.handle_parent = in mptsas_expander_event_add()
3499 if (rphy->identify.device_type == SAS_END_DEVICE) in mptsas_delete_expander_siblings()
3508 if (rphy->identify.device_type == in mptsas_delete_expander_siblings()
3510 rphy->identify.device_type == in mptsas_delete_expander_siblings()
3513 rphy->identify.sas_address); in mptsas_delete_expander_siblings()
3555 port_info->phy_info[0].identify.handle); in mptsas_expander_delete()
3569 port_info->phy_info[0].identify.sas_address; in mptsas_expander_delete()
3571 port_info->phy_info[0].identify.handle_parent); in mptsas_expander_delete()
3650 port_info->phy_info[i].identify.sas_address = in mptsas_send_expander_event()
3652 port_info->phy_info[i].identify.handle_parent = in mptsas_send_expander_event()
3699 (unsigned long long)buffer.phy_info[0].identify.sas_address); in mptsas_expander_add()
3892 if (!(port_info->phy_info[0].identify.device_info & in mptsas_not_responding_devices()
3903 if (buffer.phy_info[0].identify.sas_address == in mptsas_not_responding_devices()
3904 port_info->phy_info[0].identify.sas_address) { in mptsas_not_responding_devices()
3937 buffer.phy_info[0].identify.sas_address); in mptsas_probe_expanders()
3943 port_info->phy_info[i].identify.handle_parent = in mptsas_probe_expanders()
3944 buffer.phy_info[0].identify.handle_parent; in mptsas_probe_expanders()
3967 (unsigned long long)buffer.phy_info[0].identify.sas_address); in mptsas_probe_expanders()