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) {
446 if (port_info->phy_info[i].identify.sas_address ==
629 if (rphy->identify.sas_address == sas_address) {
792 rphy->identify.sas_address);
1448 struct sas_identify identify;
1492 mptsas_parse_device_info(&identify, &phy_info->attached);
1501 rphy->identify = identify;
1788 rphy->identify.sas_address)
1847 rphy->identify.sas_address)
1898 rphy->identify.sas_address)
2050 cfg.pageAddr = phy->identify.phy_identifier;
2122 if (phy->identify.target_port_protocols & SAS_PROTOCOL_SMP)
2141 req->PhyNum = phy->identify.phy_identifier;
2196 rphy->identify.sas_address) {
2228 rphy->identify.sas_address) {
2280 sas_address = rphy->identify.sas_address;
2288 port_info->phy_info[0].phy->identify.sas_address;
2572 phy_info->identify.handle = le16_to_cpu(buffer->OwnerDevHandle);
2733 port_info->phy_info[i].identify.sas_address =
2735 port_info->phy_info[i].identify.handle_parent =
2809 phy_info->identify.handle = le16_to_cpu(buffer->OwnerDevHandle);
3004 mptsas_parse_device_info(struct sas_identify *identify,
3009 identify->sas_address = device_info->sas_address;
3010 identify->phy_identifier = device_info->phy_id;
3017 identify->initiator_port_protocols = 0;
3019 identify->initiator_port_protocols |= SAS_PROTOCOL_SSP;
3021 identify->initiator_port_protocols |= SAS_PROTOCOL_STP;
3023 identify->initiator_port_protocols |= SAS_PROTOCOL_SMP;
3025 identify->initiator_port_protocols |= SAS_PROTOCOL_SATA;
3032 identify->target_port_protocols = 0;
3034 identify->target_port_protocols |= SAS_PROTOCOL_SSP;
3036 identify->target_port_protocols |= SAS_PROTOCOL_STP;
3038 identify->target_port_protocols |= SAS_PROTOCOL_SMP;
3040 identify->target_port_protocols |= SAS_PROTOCOL_SATA;
3048 identify->device_type = SAS_PHY_UNUSED;
3051 identify->device_type = SAS_END_DEVICE;
3054 identify->device_type = SAS_EDGE_EXPANDER_DEVICE;
3057 identify->device_type = SAS_FANOUT_EXPANDER_DEVICE;
3085 mptsas_parse_device_info(&phy->identify, &phy_info->identify);
3223 struct sas_identify identify;
3236 mptsas_parse_device_info(&identify, &phy_info->attached);
3244 if (port_info->phy_info[i].identify.sas_address ==
3245 identify.sas_address) {
3252 if (identify.sas_address ==
3253 parent_rphy->identify.sas_address) {
3259 switch (identify.device_type) {
3265 rphy = sas_expander_alloc(port, identify.device_type);
3278 rphy->identify = identify;
3288 if (identify.device_type == SAS_EDGE_EXPANDER_DEVICE ||
3289 identify.device_type == SAS_FANOUT_EXPANDER_DEVICE)
3291 identify.sas_address,
3351 port_info->phy_info[i].identify.handle =
3353 mptsas_sas_device_pg0(ioc, &port_info->phy_info[i].identify,
3356 port_info->phy_info[i].identify.handle);
3359 port_info->phy_info[i].identify.sas_address;
3360 port_info->phy_info[i].identify.phy_id =
3395 sas_address = port_info->phy_info[0].identify.sas_address;
3402 &port_info->phy_info[i].identify,
3405 port_info->phy_info[i].identify.handle);
3406 port_info->phy_info[i].identify.phy_id =
3422 port_info->phy_info[0].identify.handle_parent);
3462 port_info->phy_info[i].identify.sas_address =
3464 port_info->phy_info[i].identify.handle_parent =
3499 if (rphy->identify.device_type == SAS_END_DEVICE)
3508 if (rphy->identify.device_type ==
3510 rphy->identify.device_type ==
3513 rphy->identify.sas_address);
3555 port_info->phy_info[0].identify.handle);
3569 port_info->phy_info[0].identify.sas_address;
3571 port_info->phy_info[0].identify.handle_parent);
3650 port_info->phy_info[i].identify.sas_address =
3652 port_info->phy_info[i].identify.handle_parent =
3699 (unsigned long long)buffer.phy_info[0].identify.sas_address);
3892 if (!(port_info->phy_info[0].identify.device_info &
3903 if (buffer.phy_info[0].identify.sas_address ==
3904 port_info->phy_info[0].identify.sas_address) {
3937 buffer.phy_info[0].identify.sas_address);
3943 port_info->phy_info[i].identify.handle_parent =
3944 buffer.phy_info[0].identify.handle_parent;
3967 (unsigned long long)buffer.phy_info[0].identify.sas_address);