Lines Matching refs:device_type
126 sas_bitfield_name_search(device_type, sas_device_type_names)
333 if (!phy->identify.device_type)
335 return get_sas_device_type_names(phy->identify.device_type, buf);
337 static CLASS_DEVICE_ATTR(device_type, S_IRUGO, show_sas_device_type, NULL);
934 if (!rphy->identify.device_type)
937 rphy->identify.device_type, buf);
940 static SAS_CLASS_DEVICE_ATTR(rphy, device_type, S_IRUGO,
1008 BUG_ON(rphy->identify.device_type != SAS_END_DEVICE);
1134 rphy->identify.device_type == SAS_END_DEVICE;
1157 (rphy->identify.device_type == SAS_EDGE_EXPANDER_DEVICE ||
1158 rphy->identify.device_type == SAS_FANOUT_EXPANDER_DEVICE);
1219 rdev->rphy.identify.device_type = SAS_END_DEVICE;
1258 rdev->rphy.identify.device_type = type;
1292 if (identify->device_type == SAS_END_DEVICE &&
1296 else if (identify->device_type == SAS_END_DEVICE)
1300 if (identify->device_type == SAS_END_DEVICE &&
1363 switch (rphy->identify.device_type) {
1409 if (rphy->identify.device_type != SAS_END_DEVICE ||
1538 SETUP_PHY_ATTRIBUTE(device_type);