Lines Matching full: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()
1420 struct sas_identify identify; in mptsas_add_end_device() local
1464 mptsas_parse_device_info(&identify, &phy_info->attached); in mptsas_add_end_device()
1473 rphy->identify = identify; in mptsas_add_end_device()
1760 rphy->identify.sas_address) in mptsas_target_alloc()
1819 rphy->identify.sas_address) in mptsas_target_destroy()
1870 rphy->identify.sas_address) in mptsas_slave_alloc()
2022 cfg.pageAddr = phy->identify.phy_identifier; in mptsas_get_linkerrors()
2094 if (phy->identify.target_port_protocols & SAS_PROTOCOL_SMP) in mptsas_phy_reset()
2113 req->PhyNum = phy->identify.phy_identifier; in mptsas_phy_reset()
2168 rphy->identify.sas_address) { in mptsas_get_enclosure_identifier()
2200 rphy->identify.sas_address) { in mptsas_get_bay_identifier()
2252 sas_address = rphy->identify.sas_address; in mptsas_smp_handler()
2260 port_info->phy_info[0].phy->identify.sas_address; in mptsas_smp_handler()
2544 phy_info->identify.handle = le16_to_cpu(buffer->OwnerDevHandle); in mptsas_sas_phy_pg0()
2705 port_info->phy_info[i].identify.sas_address = in mptsas_sas_expander_pg0()
2707 port_info->phy_info[i].identify.handle_parent = in mptsas_sas_expander_pg0()
2781 phy_info->identify.handle = le16_to_cpu(buffer->OwnerDevHandle); in mptsas_sas_expander_pg1()
2973 mptsas_parse_device_info(struct sas_identify *identify, in mptsas_parse_device_info() argument
2978 identify->sas_address = device_info->sas_address; in mptsas_parse_device_info()
2979 identify->phy_identifier = device_info->phy_id; in mptsas_parse_device_info()
2986 identify->initiator_port_protocols = 0; in mptsas_parse_device_info()
2988 identify->initiator_port_protocols |= SAS_PROTOCOL_SSP; in mptsas_parse_device_info()
2990 identify->initiator_port_protocols |= SAS_PROTOCOL_STP; in mptsas_parse_device_info()
2992 identify->initiator_port_protocols |= SAS_PROTOCOL_SMP; in mptsas_parse_device_info()
2994 identify->initiator_port_protocols |= SAS_PROTOCOL_SATA; in mptsas_parse_device_info()
3001 identify->target_port_protocols = 0; in mptsas_parse_device_info()
3003 identify->target_port_protocols |= SAS_PROTOCOL_SSP; in mptsas_parse_device_info()
3005 identify->target_port_protocols |= SAS_PROTOCOL_STP; in mptsas_parse_device_info()
3007 identify->target_port_protocols |= SAS_PROTOCOL_SMP; in mptsas_parse_device_info()
3009 identify->target_port_protocols |= SAS_PROTOCOL_SATA; in mptsas_parse_device_info()
3017 identify->device_type = SAS_PHY_UNUSED; in mptsas_parse_device_info()
3020 identify->device_type = SAS_END_DEVICE; in mptsas_parse_device_info()
3023 identify->device_type = SAS_EDGE_EXPANDER_DEVICE; in mptsas_parse_device_info()
3026 identify->device_type = SAS_FANOUT_EXPANDER_DEVICE; in mptsas_parse_device_info()
3054 mptsas_parse_device_info(&phy->identify, &phy_info->identify); in mptsas_probe_one_phy()
3192 struct sas_identify identify; in mptsas_probe_one_phy() local
3205 mptsas_parse_device_info(&identify, &phy_info->attached); in mptsas_probe_one_phy()
3213 if (port_info->phy_info[i].identify.sas_address == in mptsas_probe_one_phy()
3214 identify.sas_address) { in mptsas_probe_one_phy()
3221 if (identify.sas_address == in mptsas_probe_one_phy()
3222 parent_rphy->identify.sas_address) { in mptsas_probe_one_phy()
3228 switch (identify.device_type) { in mptsas_probe_one_phy()
3234 rphy = sas_expander_alloc(port, identify.device_type); in mptsas_probe_one_phy()
3247 rphy->identify = identify; in mptsas_probe_one_phy()
3257 if (identify.device_type == SAS_EDGE_EXPANDER_DEVICE || in mptsas_probe_one_phy()
3258 identify.device_type == SAS_FANOUT_EXPANDER_DEVICE) in mptsas_probe_one_phy()
3260 identify.sas_address, in mptsas_probe_one_phy()
3320 port_info->phy_info[i].identify.handle = in mptsas_probe_hba_phys()
3322 mptsas_sas_device_pg0(ioc, &port_info->phy_info[i].identify, in mptsas_probe_hba_phys()
3325 port_info->phy_info[i].identify.handle); in mptsas_probe_hba_phys()
3328 port_info->phy_info[i].identify.sas_address; in mptsas_probe_hba_phys()
3329 port_info->phy_info[i].identify.phy_id = in mptsas_probe_hba_phys()
3364 sas_address = port_info->phy_info[0].identify.sas_address; in mptsas_expander_refresh()
3371 &port_info->phy_info[i].identify, in mptsas_expander_refresh()
3374 port_info->phy_info[i].identify.handle); in mptsas_expander_refresh()
3375 port_info->phy_info[i].identify.phy_id = in mptsas_expander_refresh()
3391 port_info->phy_info[0].identify.handle_parent); in mptsas_expander_refresh()
3433 port_info->phy_info[i].identify.sas_address = in mptsas_expander_event_add()
3435 port_info->phy_info[i].identify.handle_parent = in mptsas_expander_event_add()
3470 if (rphy->identify.device_type == SAS_END_DEVICE) in mptsas_delete_expander_siblings()
3479 if (rphy->identify.device_type == in mptsas_delete_expander_siblings()
3481 rphy->identify.device_type == in mptsas_delete_expander_siblings()
3484 rphy->identify.sas_address); in mptsas_delete_expander_siblings()
3526 port_info->phy_info[0].identify.handle); in mptsas_expander_delete()
3540 port_info->phy_info[0].identify.sas_address; in mptsas_expander_delete()
3542 port_info->phy_info[0].identify.handle_parent); in mptsas_expander_delete()
3622 port_info->phy_info[i].identify.sas_address = in mptsas_send_expander_event()
3624 port_info->phy_info[i].identify.handle_parent = in mptsas_send_expander_event()
3671 (unsigned long long)buffer.phy_info[0].identify.sas_address); in mptsas_expander_add()
3864 if (!(port_info->phy_info[0].identify.device_info & in mptsas_not_responding_devices()
3875 if (buffer.phy_info[0].identify.sas_address == in mptsas_not_responding_devices()
3876 port_info->phy_info[0].identify.sas_address) { in mptsas_not_responding_devices()
3909 buffer.phy_info[0].identify.sas_address); in mptsas_probe_expanders()
3915 port_info->phy_info[i].identify.handle_parent = in mptsas_probe_expanders()
3916 buffer.phy_info[0].identify.handle_parent; in mptsas_probe_expanders()
3939 (unsigned long long)buffer.phy_info[0].identify.sas_address); in mptsas_probe_expanders()