Lines Matching full: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)
2051 cfg.pageAddr = phy->identify.phy_identifier;
2123 if (phy->identify.target_port_protocols & SAS_PROTOCOL_SMP)
2142 req->PhyNum = phy->identify.phy_identifier;
2197 rphy->identify.sas_address) {
2229 rphy->identify.sas_address) {
2281 sas_address = rphy->identify.sas_address;
2289 port_info->phy_info[0].phy->identify.sas_address;
2573 phy_info->identify.handle = le16_to_cpu(buffer->OwnerDevHandle);
2734 port_info->phy_info[i].identify.sas_address =
2736 port_info->phy_info[i].identify.handle_parent =
2810 phy_info->identify.handle = le16_to_cpu(buffer->OwnerDevHandle);
3001 mptsas_parse_device_info(struct sas_identify *identify,
3006 identify->sas_address = device_info->sas_address;
3007 identify->phy_identifier = device_info->phy_id;
3014 identify->initiator_port_protocols = 0;
3016 identify->initiator_port_protocols |= SAS_PROTOCOL_SSP;
3018 identify->initiator_port_protocols |= SAS_PROTOCOL_STP;
3020 identify->initiator_port_protocols |= SAS_PROTOCOL_SMP;
3022 identify->initiator_port_protocols |= SAS_PROTOCOL_SATA;
3029 identify->target_port_protocols = 0;
3031 identify->target_port_protocols |= SAS_PROTOCOL_SSP;
3033 identify->target_port_protocols |= SAS_PROTOCOL_STP;
3035 identify->target_port_protocols |= SAS_PROTOCOL_SMP;
3037 identify->target_port_protocols |= SAS_PROTOCOL_SATA;
3045 identify->device_type = SAS_PHY_UNUSED;
3048 identify->device_type = SAS_END_DEVICE;
3051 identify->device_type = SAS_EDGE_EXPANDER_DEVICE;
3054 identify->device_type = SAS_FANOUT_EXPANDER_DEVICE;
3082 mptsas_parse_device_info(&phy->identify, &phy_info->identify);
3220 struct sas_identify identify;
3233 mptsas_parse_device_info(&identify, &phy_info->attached);
3241 if (port_info->phy_info[i].identify.sas_address ==
3242 identify.sas_address) {
3249 if (identify.sas_address ==
3250 parent_rphy->identify.sas_address) {
3256 switch (identify.device_type) {
3262 rphy = sas_expander_alloc(port, identify.device_type);
3275 rphy->identify = identify;
3285 if (identify.device_type == SAS_EDGE_EXPANDER_DEVICE ||
3286 identify.device_type == SAS_FANOUT_EXPANDER_DEVICE)
3288 identify.sas_address,
3348 port_info->phy_info[i].identify.handle =
3350 mptsas_sas_device_pg0(ioc, &port_info->phy_info[i].identify,
3353 port_info->phy_info[i].identify.handle);
3356 port_info->phy_info[i].identify.sas_address;
3357 port_info->phy_info[i].identify.phy_id =
3392 sas_address = port_info->phy_info[0].identify.sas_address;
3399 &port_info->phy_info[i].identify,
3402 port_info->phy_info[i].identify.handle);
3403 port_info->phy_info[i].identify.phy_id =
3419 port_info->phy_info[0].identify.handle_parent);
3459 port_info->phy_info[i].identify.sas_address =
3461 port_info->phy_info[i].identify.handle_parent =
3496 if (rphy->identify.device_type == SAS_END_DEVICE)
3505 if (rphy->identify.device_type ==
3507 rphy->identify.device_type ==
3510 rphy->identify.sas_address);
3552 port_info->phy_info[0].identify.handle);
3566 port_info->phy_info[0].identify.sas_address;
3568 port_info->phy_info[0].identify.handle_parent);
3647 port_info->phy_info[i].identify.sas_address =
3649 port_info->phy_info[i].identify.handle_parent =
3696 (unsigned long long)buffer.phy_info[0].identify.sas_address);
3889 if (!(port_info->phy_info[0].identify.device_info &
3900 if (buffer.phy_info[0].identify.sas_address ==
3901 port_info->phy_info[0].identify.sas_address) {
3934 buffer.phy_info[0].identify.sas_address);
3940 port_info->phy_info[i].identify.handle_parent =
3941 buffer.phy_info[0].identify.handle_parent;
3964 (unsigned long long)buffer.phy_info[0].identify.sas_address);