Lines Matching refs:identify
110 static void mptsas_parse_device_info(struct sas_identify *identify,
389 if (port_info->phy_info[i].identify.handle == handle) { in mptsas_find_portinfo_by_handle()
419 if (port_info->phy_info[i].identify.sas_address == in mptsas_find_portinfo_by_sas_address()
600 if (rphy->identify.sas_address == sas_address) { in mptsas_add_device_component()
766 rphy->identify.sas_address); in mptsas_add_device_component_starget()
1421 struct sas_identify identify; in mptsas_add_end_device() local
1465 mptsas_parse_device_info(&identify, &phy_info->attached); in mptsas_add_end_device()
1474 rphy->identify = identify; in mptsas_add_end_device()
1761 rphy->identify.sas_address) in mptsas_target_alloc()
1820 rphy->identify.sas_address) in mptsas_target_destroy()
1871 rphy->identify.sas_address) in mptsas_slave_alloc()
2023 cfg.pageAddr = phy->identify.phy_identifier; in mptsas_get_linkerrors()
2095 if (phy->identify.target_port_protocols & SAS_PROTOCOL_SMP) in mptsas_phy_reset()
2114 req->PhyNum = phy->identify.phy_identifier; in mptsas_phy_reset()
2169 rphy->identify.sas_address) { in mptsas_get_enclosure_identifier()
2201 rphy->identify.sas_address) { in mptsas_get_bay_identifier()
2259 sas_address = rphy->identify.sas_address; in mptsas_smp_handler()
2267 port_info->phy_info[0].phy->identify.sas_address; in mptsas_smp_handler()
2550 phy_info->identify.handle = le16_to_cpu(buffer->OwnerDevHandle); in mptsas_sas_phy_pg0()
2711 port_info->phy_info[i].identify.sas_address = in mptsas_sas_expander_pg0()
2713 port_info->phy_info[i].identify.handle_parent = in mptsas_sas_expander_pg0()
2787 phy_info->identify.handle = le16_to_cpu(buffer->OwnerDevHandle); in mptsas_sas_expander_pg1()
2979 mptsas_parse_device_info(struct sas_identify *identify, in mptsas_parse_device_info() argument
2984 identify->sas_address = device_info->sas_address; in mptsas_parse_device_info()
2985 identify->phy_identifier = device_info->phy_id; in mptsas_parse_device_info()
2992 identify->initiator_port_protocols = 0; in mptsas_parse_device_info()
2994 identify->initiator_port_protocols |= SAS_PROTOCOL_SSP; in mptsas_parse_device_info()
2996 identify->initiator_port_protocols |= SAS_PROTOCOL_STP; in mptsas_parse_device_info()
2998 identify->initiator_port_protocols |= SAS_PROTOCOL_SMP; in mptsas_parse_device_info()
3000 identify->initiator_port_protocols |= SAS_PROTOCOL_SATA; in mptsas_parse_device_info()
3007 identify->target_port_protocols = 0; in mptsas_parse_device_info()
3009 identify->target_port_protocols |= SAS_PROTOCOL_SSP; in mptsas_parse_device_info()
3011 identify->target_port_protocols |= SAS_PROTOCOL_STP; in mptsas_parse_device_info()
3013 identify->target_port_protocols |= SAS_PROTOCOL_SMP; in mptsas_parse_device_info()
3015 identify->target_port_protocols |= SAS_PROTOCOL_SATA; in mptsas_parse_device_info()
3023 identify->device_type = SAS_PHY_UNUSED; in mptsas_parse_device_info()
3026 identify->device_type = SAS_END_DEVICE; in mptsas_parse_device_info()
3029 identify->device_type = SAS_EDGE_EXPANDER_DEVICE; in mptsas_parse_device_info()
3032 identify->device_type = SAS_FANOUT_EXPANDER_DEVICE; in mptsas_parse_device_info()
3060 mptsas_parse_device_info(&phy->identify, &phy_info->identify); in mptsas_probe_one_phy()
3198 struct sas_identify identify; in mptsas_probe_one_phy() local
3211 mptsas_parse_device_info(&identify, &phy_info->attached); in mptsas_probe_one_phy()
3219 if (port_info->phy_info[i].identify.sas_address == in mptsas_probe_one_phy()
3220 identify.sas_address) { in mptsas_probe_one_phy()
3227 if (identify.sas_address == in mptsas_probe_one_phy()
3228 parent_rphy->identify.sas_address) { in mptsas_probe_one_phy()
3234 switch (identify.device_type) { in mptsas_probe_one_phy()
3240 rphy = sas_expander_alloc(port, identify.device_type); in mptsas_probe_one_phy()
3253 rphy->identify = identify; in mptsas_probe_one_phy()
3263 if (identify.device_type == SAS_EDGE_EXPANDER_DEVICE || in mptsas_probe_one_phy()
3264 identify.device_type == SAS_FANOUT_EXPANDER_DEVICE) in mptsas_probe_one_phy()
3266 identify.sas_address, in mptsas_probe_one_phy()
3326 port_info->phy_info[i].identify.handle = in mptsas_probe_hba_phys()
3328 mptsas_sas_device_pg0(ioc, &port_info->phy_info[i].identify, in mptsas_probe_hba_phys()
3331 port_info->phy_info[i].identify.handle); in mptsas_probe_hba_phys()
3334 port_info->phy_info[i].identify.sas_address; in mptsas_probe_hba_phys()
3335 port_info->phy_info[i].identify.phy_id = in mptsas_probe_hba_phys()
3370 sas_address = port_info->phy_info[0].identify.sas_address; in mptsas_expander_refresh()
3377 &port_info->phy_info[i].identify, in mptsas_expander_refresh()
3380 port_info->phy_info[i].identify.handle); in mptsas_expander_refresh()
3381 port_info->phy_info[i].identify.phy_id = in mptsas_expander_refresh()
3397 port_info->phy_info[0].identify.handle_parent); in mptsas_expander_refresh()
3439 port_info->phy_info[i].identify.sas_address = in mptsas_expander_event_add()
3441 port_info->phy_info[i].identify.handle_parent = in mptsas_expander_event_add()
3476 if (rphy->identify.device_type == SAS_END_DEVICE) in mptsas_delete_expander_siblings()
3485 if (rphy->identify.device_type == in mptsas_delete_expander_siblings()
3487 rphy->identify.device_type == in mptsas_delete_expander_siblings()
3490 rphy->identify.sas_address); in mptsas_delete_expander_siblings()
3532 port_info->phy_info[0].identify.handle); in mptsas_expander_delete()
3546 port_info->phy_info[0].identify.sas_address; in mptsas_expander_delete()
3548 port_info->phy_info[0].identify.handle_parent); in mptsas_expander_delete()
3628 port_info->phy_info[i].identify.sas_address = in mptsas_send_expander_event()
3630 port_info->phy_info[i].identify.handle_parent = in mptsas_send_expander_event()
3677 (unsigned long long)buffer.phy_info[0].identify.sas_address); in mptsas_expander_add()
3870 if (!(port_info->phy_info[0].identify.device_info & in mptsas_not_responding_devices()
3881 if (buffer.phy_info[0].identify.sas_address == in mptsas_not_responding_devices()
3882 port_info->phy_info[0].identify.sas_address) { in mptsas_not_responding_devices()
3915 buffer.phy_info[0].identify.sas_address); in mptsas_probe_expanders()
3921 port_info->phy_info[i].identify.handle_parent = in mptsas_probe_expanders()
3922 buffer.phy_info[0].identify.handle_parent; in mptsas_probe_expanders()
3945 (unsigned long long)buffer.phy_info[0].identify.sas_address); in mptsas_probe_expanders()