Lines Matching refs:dev1
1079 static inline int device_is_the_same(struct hpsa_scsi_dev_t *dev1, in device_is_the_same() argument
1086 if (memcmp(dev1->scsi3addr, dev2->scsi3addr, in device_is_the_same()
1087 sizeof(dev1->scsi3addr)) != 0) in device_is_the_same()
1089 if (memcmp(dev1->device_id, dev2->device_id, in device_is_the_same()
1090 sizeof(dev1->device_id)) != 0) in device_is_the_same()
1092 if (memcmp(dev1->model, dev2->model, sizeof(dev1->model)) != 0) in device_is_the_same()
1094 if (memcmp(dev1->vendor, dev2->vendor, sizeof(dev1->vendor)) != 0) in device_is_the_same()
1096 if (dev1->devtype != dev2->devtype) in device_is_the_same()
1098 if (dev1->bus != dev2->bus) in device_is_the_same()
1103 static inline int device_updated(struct hpsa_scsi_dev_t *dev1, in device_updated() argument
1110 if (dev1->raid_level != dev2->raid_level) in device_updated()
1112 if (dev1->offload_config != dev2->offload_config) in device_updated()
1114 if (dev1->offload_enabled != dev2->offload_enabled) in device_updated()
1116 if (dev1->queue_depth != dev2->queue_depth) in device_updated()