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()
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()
2258 sas_address = rphy->identify.sas_address; in mptsas_smp_handler()
2266 port_info->phy_info[0].phy->identify.sas_address; in mptsas_smp_handler()
2549 phy_info->identify.handle = le16_to_cpu(buffer->OwnerDevHandle); in mptsas_sas_phy_pg0()
2710 port_info->phy_info[i].identify.sas_address = in mptsas_sas_expander_pg0()
2712 port_info->phy_info[i].identify.handle_parent = in mptsas_sas_expander_pg0()
2786 phy_info->identify.handle = le16_to_cpu(buffer->OwnerDevHandle); in mptsas_sas_expander_pg1()
2978 mptsas_parse_device_info(struct sas_identify *identify, in mptsas_parse_device_info() argument
2983 identify->sas_address = device_info->sas_address; in mptsas_parse_device_info()
2984 identify->phy_identifier = device_info->phy_id; in mptsas_parse_device_info()
2991 identify->initiator_port_protocols = 0; in mptsas_parse_device_info()
2993 identify->initiator_port_protocols |= SAS_PROTOCOL_SSP; in mptsas_parse_device_info()
2995 identify->initiator_port_protocols |= SAS_PROTOCOL_STP; in mptsas_parse_device_info()
2997 identify->initiator_port_protocols |= SAS_PROTOCOL_SMP; in mptsas_parse_device_info()
2999 identify->initiator_port_protocols |= SAS_PROTOCOL_SATA; in mptsas_parse_device_info()
3006 identify->target_port_protocols = 0; in mptsas_parse_device_info()
3008 identify->target_port_protocols |= SAS_PROTOCOL_SSP; in mptsas_parse_device_info()
3010 identify->target_port_protocols |= SAS_PROTOCOL_STP; in mptsas_parse_device_info()
3012 identify->target_port_protocols |= SAS_PROTOCOL_SMP; in mptsas_parse_device_info()
3014 identify->target_port_protocols |= SAS_PROTOCOL_SATA; in mptsas_parse_device_info()
3022 identify->device_type = SAS_PHY_UNUSED; in mptsas_parse_device_info()
3025 identify->device_type = SAS_END_DEVICE; in mptsas_parse_device_info()
3028 identify->device_type = SAS_EDGE_EXPANDER_DEVICE; in mptsas_parse_device_info()
3031 identify->device_type = SAS_FANOUT_EXPANDER_DEVICE; in mptsas_parse_device_info()
3059 mptsas_parse_device_info(&phy->identify, &phy_info->identify); in mptsas_probe_one_phy()
3197 struct sas_identify identify; in mptsas_probe_one_phy() local
3210 mptsas_parse_device_info(&identify, &phy_info->attached); in mptsas_probe_one_phy()
3218 if (port_info->phy_info[i].identify.sas_address == in mptsas_probe_one_phy()
3219 identify.sas_address) { in mptsas_probe_one_phy()
3226 if (identify.sas_address == in mptsas_probe_one_phy()
3227 parent_rphy->identify.sas_address) { in mptsas_probe_one_phy()
3233 switch (identify.device_type) { in mptsas_probe_one_phy()
3239 rphy = sas_expander_alloc(port, identify.device_type); in mptsas_probe_one_phy()
3252 rphy->identify = identify; in mptsas_probe_one_phy()
3262 if (identify.device_type == SAS_EDGE_EXPANDER_DEVICE || in mptsas_probe_one_phy()
3263 identify.device_type == SAS_FANOUT_EXPANDER_DEVICE) in mptsas_probe_one_phy()
3265 identify.sas_address, in mptsas_probe_one_phy()
3325 port_info->phy_info[i].identify.handle = in mptsas_probe_hba_phys()
3327 mptsas_sas_device_pg0(ioc, &port_info->phy_info[i].identify, in mptsas_probe_hba_phys()
3330 port_info->phy_info[i].identify.handle); in mptsas_probe_hba_phys()
3333 port_info->phy_info[i].identify.sas_address; in mptsas_probe_hba_phys()
3334 port_info->phy_info[i].identify.phy_id = in mptsas_probe_hba_phys()
3369 sas_address = port_info->phy_info[0].identify.sas_address; in mptsas_expander_refresh()
3376 &port_info->phy_info[i].identify, in mptsas_expander_refresh()
3379 port_info->phy_info[i].identify.handle); in mptsas_expander_refresh()
3380 port_info->phy_info[i].identify.phy_id = in mptsas_expander_refresh()
3396 port_info->phy_info[0].identify.handle_parent); in mptsas_expander_refresh()
3438 port_info->phy_info[i].identify.sas_address = in mptsas_expander_event_add()
3440 port_info->phy_info[i].identify.handle_parent = in mptsas_expander_event_add()
3475 if (rphy->identify.device_type == SAS_END_DEVICE) in mptsas_delete_expander_siblings()
3484 if (rphy->identify.device_type == in mptsas_delete_expander_siblings()
3486 rphy->identify.device_type == in mptsas_delete_expander_siblings()
3489 rphy->identify.sas_address); in mptsas_delete_expander_siblings()
3531 port_info->phy_info[0].identify.handle); in mptsas_expander_delete()
3545 port_info->phy_info[0].identify.sas_address; in mptsas_expander_delete()
3547 port_info->phy_info[0].identify.handle_parent); in mptsas_expander_delete()
3627 port_info->phy_info[i].identify.sas_address = in mptsas_send_expander_event()
3629 port_info->phy_info[i].identify.handle_parent = in mptsas_send_expander_event()
3676 (unsigned long long)buffer.phy_info[0].identify.sas_address); in mptsas_expander_add()
3869 if (!(port_info->phy_info[0].identify.device_info & in mptsas_not_responding_devices()
3880 if (buffer.phy_info[0].identify.sas_address == in mptsas_not_responding_devices()
3881 port_info->phy_info[0].identify.sas_address) { in mptsas_not_responding_devices()
3914 buffer.phy_info[0].identify.sas_address); in mptsas_probe_expanders()
3920 port_info->phy_info[i].identify.handle_parent = in mptsas_probe_expanders()
3921 buffer.phy_info[0].identify.handle_parent; in mptsas_probe_expanders()
3944 (unsigned long long)buffer.phy_info[0].identify.sas_address); in mptsas_probe_expanders()