Lines Matching refs:dev1
1476 static inline int device_is_the_same(struct hpsa_scsi_dev_t *dev1, in device_is_the_same() argument
1483 if (memcmp(dev1->scsi3addr, dev2->scsi3addr, in device_is_the_same()
1484 sizeof(dev1->scsi3addr)) != 0) in device_is_the_same()
1486 if (memcmp(dev1->device_id, dev2->device_id, in device_is_the_same()
1487 sizeof(dev1->device_id)) != 0) in device_is_the_same()
1489 if (memcmp(dev1->model, dev2->model, sizeof(dev1->model)) != 0) in device_is_the_same()
1491 if (memcmp(dev1->vendor, dev2->vendor, sizeof(dev1->vendor)) != 0) in device_is_the_same()
1493 if (dev1->devtype != dev2->devtype) in device_is_the_same()
1495 if (dev1->bus != dev2->bus) in device_is_the_same()
1500 static inline int device_updated(struct hpsa_scsi_dev_t *dev1, in device_updated() argument
1507 if (dev1->raid_level != dev2->raid_level) in device_updated()
1509 if (dev1->offload_config != dev2->offload_config) in device_updated()
1511 if (dev1->offload_to_be_enabled != dev2->offload_to_be_enabled) in device_updated()
1513 if (!is_logical_dev_addr_mode(dev1->scsi3addr)) in device_updated()
1514 if (dev1->queue_depth != dev2->queue_depth) in device_updated()
1525 if (dev1->ioaccel_handle != dev2->ioaccel_handle) in device_updated()