Lines Matching defs:device

7  * Adaptec aacraid device driver for Linux.
254 * Returns a static string describing the device in question
277 * @sdev: The scsi device corresponding to the disk
278 * @bdev: the block device corresponding to the disk
324 * Read the first 1024 bytes from the disk device, if the boot
383 * @sdev: SCSI device we are considering
385 * Selects queue depths for each target device based on the host adapter's
386 * total capacity and the queue depth supported by the target device.
488 * Firmware has an individual device recovery time typically
511 * @sdev: SCSI device we are considering
514 * Alters queue depths for target device based on the host adapter's
515 * total capacity and the queue depth supported by the target device.
558 static ssize_t aac_show_raid_level(struct device *dev, struct device_attribute *attr, char *buf)
578 static ssize_t aac_show_unique_id(struct device *dev,
663 struct device *ctrl_dev;
681 struct scsi_device * dev = cmd->device;
725 tmf->lun[1] = cmd->device->lun;
809 (command->device == cmd->device)) {
902 struct scsi_device * dev = cmd->device;
925 pr_err("%s: Host device reset request. SCSI hang ?\n",
965 struct scsi_device * dev = cmd->device;
1031 struct scsi_device * dev = cmd->device;
1084 struct scsi_device * dev = cmd->device;
1135 * Called when the configuration device is opened. Does the needed
1185 static ssize_t aac_show_model(struct device *device,
1188 struct aac_dev *dev = (struct aac_dev*)class_to_shost(device)->hostdata;
1204 static ssize_t aac_show_vendor(struct device *device,
1207 struct aac_dev *dev = (struct aac_dev*)class_to_shost(device)->hostdata;
1225 static ssize_t aac_show_flags(struct device *cdev,
1252 static ssize_t aac_show_kernel_version(struct device *device,
1256 struct aac_dev *dev = (struct aac_dev*)class_to_shost(device)->hostdata;
1266 static ssize_t aac_show_monitor_version(struct device *device,
1270 struct aac_dev *dev = (struct aac_dev*)class_to_shost(device)->hostdata;
1280 static ssize_t aac_show_bios_version(struct device *device,
1284 struct aac_dev *dev = (struct aac_dev*)class_to_shost(device)->hostdata;
1294 static ssize_t aac_show_driver_version(struct device *device,
1301 static ssize_t aac_show_serial_number(struct device *device,
1304 struct aac_dev *dev = (struct aac_dev*)class_to_shost(device)->hostdata;
1321 static ssize_t aac_show_max_channel(struct device *device,
1325 class_to_shost(device)->max_channel);
1328 static ssize_t aac_show_max_id(struct device *device,
1332 class_to_shost(device)->max_id);
1335 static ssize_t aac_store_reset_adapter(struct device *device,
1344 retval = aac_reset_adapter(shost_priv(class_to_shost(device)),
1352 static ssize_t aac_show_reset_adapter(struct device *device,
1356 struct aac_dev *dev = (struct aac_dev*)class_to_shost(device)->hostdata;
1460 ssize_t aac_get_serial_number(struct device *device, char *buf)
1462 return aac_show_serial_number(device, &aac_serial_number, buf);
1555 pr_err("aacraid: unable to register \"aac\" device.\n");
1587 if (pdev->device == PMC_DEVICE_S7)