Lines Matching defs:device

39  *	- SCSI device hot plug
195 MODULE_PARM_DESC(log_level, "Set to 0 - 4 for increasing verbosity of device driver");
203 MODULE_PARM_DESC(debug, "Enable device driver debugging logging. Set to 1 to enable. (default: 0)");
228 "FFFE: Soft device bus error recovered by the IOA"},
230 "4101: Soft device bus fabric error"},
232 "FFFC: Logical block guard error recovered by the device"},
234 "FFFC: Logical block reference tag error recovered by the device"},
248 "FFF7: Media error recovered by device rewrite procedures"},
260 "FFF6: Device hardware error recovered by the device"},
264 "FFFA: Undefined device response recovered by the IOA"},
278 "34FF: Disk device format in progress"},
302 "3002: Addressed device failed to respond to selection"},
306 "3109: IOA timed out a device command"},
310 "4100: Hard device bus fabric error"},
312 "310C: Logical block guard error detected by the device"},
314 "310C: Logical block reference tag error detected by the device"},
346 "Unsupported device bus message received"},
348 "FFF4: Disk device problem"},
352 "3010: Disk device returned wrong response to IOA"},
360 "ATA device status error"},
362 "Message reject received from the device"},
368 "9081: IOA detected device error"},
370 "9082: IOA detected device error"},
396 "Illegal request, commands not allowed to this device"},
436 "3029: A device replacement has occurred"},
440 "9051: IOA cache data exists for a missing or failed device"},
454 "4041: Incomplete multipath connection between enclosure and device"},
470 "4070: Logically bad block written on device"},
474 "9042: Corrupt array parity detected on specified device"},
484 "70DD: Device forced failed by disrupt device command"},
494 "Failure due to other device"},
502 "9020: Array missing 2 or more devices with only 1 device present"},
506 "9022: Exposed array is missing a required device"},
514 "9027: Array is missing a device and parity is out of sync"},
520 "9052: Cache data exists for a device that has been modified"},
1640 * ipr_log_sis64_config_error - Log a device error.
3299 * of adding and removing device from the mid-layer as configuration
3371 struct device *dev = kobj_to_dev(kobj);
3397 * @dev: class device struct
3398 * @attr: device attribute (unused)
3404 static ssize_t ipr_show_fw_version(struct device *dev,
3432 * @dev: class device struct
3433 * @attr: device attribute (unused)
3439 static ssize_t ipr_show_log_level(struct device *dev,
3455 * @dev: class device struct
3456 * @attr: device attribute (unused)
3463 static ssize_t ipr_store_log_level(struct device *dev,
3488 * @dev: device struct
3489 * @attr: device attribute (unused)
3499 static ssize_t ipr_store_diagnostics(struct device *dev,
3550 * @dev: device struct
3551 * @attr: device attribute (unused)
3557 static ssize_t ipr_show_adapter_state(struct device *dev,
3576 * @dev: device struct
3577 * @attr: device attribute (unused)
3586 static ssize_t ipr_store_adapter_state(struct device *dev,
3628 * @dev: device struct
3629 * @attr: device attribute (unused)
3638 static ssize_t ipr_store_reset_adapter(struct device *dev,
3670 * @dev: class device struct
3671 * @attr: device attribute (unused)
3677 static ssize_t ipr_show_iopoll_weight(struct device *dev,
3694 * @dev: class device struct
3695 * @attr: device attribute (unused)
3702 static ssize_t ipr_store_iopoll_weight(struct device *dev,
3979 * @dev: device struct
3980 * @attr: device attribute (unused)
3989 static ssize_t ipr_store_update_fw(struct device *dev,
4059 * @dev: class device struct
4060 * @attr: device attribute (unused)
4066 static ssize_t ipr_show_fw_type(struct device *dev,
4092 struct device *cdev = kobj_to_dev(kobj);
4116 struct device *cdev = kobj_to_dev(kobj);
4177 struct device *cdev = kobj_to_dev(kobj);
4366 struct device *cdev = kobj_to_dev(kobj);
4401 * ipr_change_queue_depth - Change the device's queue depth
4402 * @sdev: scsi device struct
4415 * ipr_show_adapter_handle - Show the adapter's resource handle for this device
4416 * @dev: device struct
4417 * @attr: device attribute structure
4423 static ssize_t ipr_show_adapter_handle(struct device *dev, struct device_attribute *attr, char *buf)
4449 * this device.
4450 * @dev: device struct
4451 * @attr: device attribute structure
4457 static ssize_t ipr_show_resource_path(struct device *dev, struct device_attribute *attr, char *buf)
4489 * ipr_show_device_id - Show the device_id for this device.
4490 * @dev: device struct
4491 * @attr: device attribute structure
4497 static ssize_t ipr_show_device_id(struct device *dev, struct device_attribute *attr, char *buf)
4525 * ipr_show_resource_type - Show the resource type for this device.
4526 * @dev: device struct
4527 * @attr: device attribute structure
4533 static ssize_t ipr_show_resource_type(struct device *dev, struct device_attribute *attr, char *buf)
4561 * @dev: class device struct
4562 * @attr: device attribute (unused)
4568 static ssize_t ipr_show_raw_mode(struct device *dev,
4589 * @dev: class device struct
4590 * @attr: device attribute (unused)
4597 static ssize_t ipr_store_raw_mode(struct device *dev,
4646 * @sdev: scsi device struct
4647 * @block_device: block device pointer
4648 * @capacity: capacity of the device
4725 * ipr_find_sdev - Find device based on bus/target/lun.
4726 * @sdev: scsi device struct
4747 * ipr_slave_destroy - Unconfigure a SCSI device
4748 * @sdev: scsi device struct
4771 * ipr_slave_configure - Configure a SCSI device
4772 * @sdev: scsi device struct
4774 * This function configures the specified scsi device.
4815 * ipr_slave_alloc - Prepare for commands to a device.
4816 * @sdev: scsi device struct
4819 * in the scsi device struct if the device exists. We
4824 * 0 on success / -ENXIO if device does not exist
4848 "supported by this driver. Skipping device.\n");
4862 * @device: device to match (sdev)
4867 static int ipr_match_lun(struct ipr_cmnd *ipr_cmd, void *device)
4869 if (ipr_cmd->scsi_cmd && ipr_cmd->scsi_cmd->device == device)
4896 * @device: device to match (sdev)
4902 static int ipr_wait_for_ops(struct ipr_ioa_cfg *ioa_cfg, void *device,
4921 if (match(ipr_cmd, device)) {
4941 if (match(ipr_cmd, device)) {
4969 ioa_cfg = (struct ipr_ioa_cfg *) cmd->device->host->hostdata;
4998 * ipr_device_reset - Reset the device
5002 * This function issues a device reset to the affected device.
5003 * If the device is a SCSI device, a LUN reset will be sent
5004 * to the device first. If that does not work, a target reset
5039 * __ipr_eh_dev_reset - Reset the device
5042 * This function issues a device reset to the affected device.
5043 * A LUN reset will be sent to the device first. If that does
5056 ioa_cfg = (struct ipr_ioa_cfg *) scsi_cmd->device->host->hostdata;
5057 res = scsi_cmd->device->hostdata;
5070 scmd_printk(KERN_ERR, scsi_cmd, "Resetting device\n");
5086 ioa_cfg = (struct ipr_ioa_cfg *) cmd->device->host->hostdata;
5087 res = cmd->device->hostdata;
5092 spin_lock_irq(cmd->device->host->host_lock);
5094 spin_unlock_irq(cmd->device->host->host_lock);
5097 rc = ipr_wait_for_ops(ioa_cfg, cmd->device, ipr_match_lun);
5199 ioa_cfg = (struct ipr_ioa_cfg *)scsi_cmd->device->host->hostdata;
5200 res = scsi_cmd->device->hostdata;
5243 ipr_cmd->u.sdev = scsi_cmd->device;
5305 ioa_cfg = (struct ipr_ioa_cfg *) scsi_cmd->device->host->hostdata;
5307 spin_lock_irqsave(scsi_cmd->device->host->host_lock, flags);
5309 spin_unlock_irqrestore(scsi_cmd->device->host->host_lock, flags);
5312 rc = ipr_wait_for_ops(ioa_cfg, scsi_cmd->device, ipr_match_lun);
5720 * __ipr_erp_done - Process completion of ERP for a device
5732 struct ipr_resource_entry *res = scsi_cmd->device->hostdata;
5757 * ipr_erp_done - Process completion of ERP for a device
5808 * __ipr_erp_request_sense - Send request sense to a device
5811 * This function sends a request sense to a device as a result
5844 * ipr_erp_request_sense - Send request sense to a device
5847 * This function sends a request sense to a device as a result
5864 * ipr_erp_cancel_all - Send cancel all to a device
5867 * This function sends a cancel all to a device to clear the
5868 * queue. If we are running TCQ on the device, QERR is set to 1,
5878 struct ipr_resource_entry *res = scsi_cmd->device->hostdata;
5885 if (!scsi_cmd->device->simple_tags) {
5977 struct ipr_resource_entry *res = ipr_cmd->scsi_cmd->device->hostdata;
6091 * on the affected device.
6100 struct ipr_resource_entry *res = scsi_cmd->device->hostdata;
6147 * Report the bus reset and ask for a retry. The device
6151 scsi_report_bus_reset(ioa_cfg->host, scsi_cmd->device->channel);
6239 * SCSI_MLQUEUE_DEVICE_BUSY if device is busy
6257 res = scsi_cmd->device->hostdata;
6555 * @supported_dev: supported device struct
6573 * ipr_set_supported_devs - Send Set Supported Devices for a device
6705 * the SES device is in the SES table indicating a maximum SCSI
6748 /* Loop for each device bus entry */
8605 * @pdev: PCI device struct
8624 * @pdev: PCI device struct
8627 * is down. Can't do anything here, except put the device driver
8643 * @pdev: PCI device struct
8669 * @pdev: PCI device struct
8700 * @pdev: PCI device struct
9232 * @dev_id: PCI device id struct
9244 ipr_chip[i].device == dev_id->device)
9304 * @devp: PCI device struct
9331 * @pdev: PCI device struct
9386 * @pdev: PCI device struct
9387 * @dev_id: PCI device id struct
9422 dev_id->vendor, dev_id->device);
9574 "Couldn't allocate enough memory for device driver!\n");
9624 (dev_id->device == PCI_DEVICE_ID_IBM_OBSIDIAN_E && !ioa_cfg->revid)) {
9693 * @pdev: pci device struct
9746 * @pdev: pci device struct
9774 * @pdev: pci device struct
9775 * @dev_id: pci device ID
9856 * @pdev: pci device struct