Lines Matching defs:identify
110 static void mptsas_parse_device_info(struct sas_identify *identify,
389 if (port_info->phy_info[i].identify.handle == handle) {
419 if (port_info->phy_info[i].identify.sas_address ==
600 if (rphy->identify.sas_address == sas_address) {
766 rphy->identify.sas_address);
1420 struct sas_identify identify;
1464 mptsas_parse_device_info(&identify, &phy_info->attached);
1473 rphy->identify = identify;
1760 rphy->identify.sas_address)
1819 rphy->identify.sas_address)
1870 rphy->identify.sas_address)
2022 cfg.pageAddr = phy->identify.phy_identifier;
2094 if (phy->identify.target_port_protocols & SAS_PROTOCOL_SMP)
2113 req->PhyNum = phy->identify.phy_identifier;
2168 rphy->identify.sas_address) {
2200 rphy->identify.sas_address) {
2252 sas_address = rphy->identify.sas_address;
2260 port_info->phy_info[0].phy->identify.sas_address;
2544 phy_info->identify.handle = le16_to_cpu(buffer->OwnerDevHandle);
2705 port_info->phy_info[i].identify.sas_address =
2707 port_info->phy_info[i].identify.handle_parent =
2781 phy_info->identify.handle = le16_to_cpu(buffer->OwnerDevHandle);
2973 mptsas_parse_device_info(struct sas_identify *identify,
2978 identify->sas_address = device_info->sas_address;
2979 identify->phy_identifier = device_info->phy_id;
2986 identify->initiator_port_protocols = 0;
2988 identify->initiator_port_protocols |= SAS_PROTOCOL_SSP;
2990 identify->initiator_port_protocols |= SAS_PROTOCOL_STP;
2992 identify->initiator_port_protocols |= SAS_PROTOCOL_SMP;
2994 identify->initiator_port_protocols |= SAS_PROTOCOL_SATA;
3001 identify->target_port_protocols = 0;
3003 identify->target_port_protocols |= SAS_PROTOCOL_SSP;
3005 identify->target_port_protocols |= SAS_PROTOCOL_STP;
3007 identify->target_port_protocols |= SAS_PROTOCOL_SMP;
3009 identify->target_port_protocols |= SAS_PROTOCOL_SATA;
3017 identify->device_type = SAS_PHY_UNUSED;
3020 identify->device_type = SAS_END_DEVICE;
3023 identify->device_type = SAS_EDGE_EXPANDER_DEVICE;
3026 identify->device_type = SAS_FANOUT_EXPANDER_DEVICE;
3054 mptsas_parse_device_info(&phy->identify, &phy_info->identify);
3192 struct sas_identify identify;
3205 mptsas_parse_device_info(&identify, &phy_info->attached);
3213 if (port_info->phy_info[i].identify.sas_address ==
3214 identify.sas_address) {
3221 if (identify.sas_address ==
3222 parent_rphy->identify.sas_address) {
3228 switch (identify.device_type) {
3234 rphy = sas_expander_alloc(port, identify.device_type);
3247 rphy->identify = identify;
3257 if (identify.device_type == SAS_EDGE_EXPANDER_DEVICE ||
3258 identify.device_type == SAS_FANOUT_EXPANDER_DEVICE)
3260 identify.sas_address,
3320 port_info->phy_info[i].identify.handle =
3322 mptsas_sas_device_pg0(ioc, &port_info->phy_info[i].identify,
3325 port_info->phy_info[i].identify.handle);
3328 port_info->phy_info[i].identify.sas_address;
3329 port_info->phy_info[i].identify.phy_id =
3364 sas_address = port_info->phy_info[0].identify.sas_address;
3371 &port_info->phy_info[i].identify,
3374 port_info->phy_info[i].identify.handle);
3375 port_info->phy_info[i].identify.phy_id =
3391 port_info->phy_info[0].identify.handle_parent);
3433 port_info->phy_info[i].identify.sas_address =
3435 port_info->phy_info[i].identify.handle_parent =
3470 if (rphy->identify.device_type == SAS_END_DEVICE)
3479 if (rphy->identify.device_type ==
3481 rphy->identify.device_type ==
3484 rphy->identify.sas_address);
3526 port_info->phy_info[0].identify.handle);
3540 port_info->phy_info[0].identify.sas_address;
3542 port_info->phy_info[0].identify.handle_parent);
3622 port_info->phy_info[i].identify.sas_address =
3624 port_info->phy_info[i].identify.handle_parent =
3671 (unsigned long long)buffer.phy_info[0].identify.sas_address);
3864 if (!(port_info->phy_info[0].identify.device_info &
3875 if (buffer.phy_info[0].identify.sas_address ==
3876 port_info->phy_info[0].identify.sas_address) {
3909 buffer.phy_info[0].identify.sas_address);
3915 port_info->phy_info[i].identify.handle_parent =
3916 buffer.phy_info[0].identify.handle_parent;
3939 (unsigned long long)buffer.phy_info[0].identify.sas_address);