Lines Matching refs:device
17 * The virtual adapter(s) are present in the open firmware device
635 * @dev: device for which the memory is mapped
640 struct device *dev)
675 * @dev: device for which to map dma memory
682 struct srp_cmd *srp_cmd, struct device *dev)
726 sdev_printk(KERN_ERR, cmd->device,
749 * @dev: dma device for which to map dma memory
756 struct srp_cmd *srp_cmd, struct device *dev)
765 sdev_printk(KERN_ERR, cmd->device,
769 sdev_printk(KERN_ERR, cmd->device,
1027 * lun_from_dev: - Returns the lun of the scsi device
1047 struct ibmvscsi_host_data *hostdata = shost_priv(cmnd->device->host);
1048 u16 lun = lun_from_dev(cmnd->device);
1065 sdev_printk(KERN_ERR, cmnd->device,
1489 struct ibmvscsi_host_data *hostdata = shost_priv(cmd->device->host);
1496 u16 lun = lun_from_dev(cmd->device);
1521 sdev_printk(KERN_ERR, cmd->device,
1556 sdev_printk(KERN_ERR, cmd->device,
1561 sdev_printk(KERN_INFO, cmd->device,
1570 sdev_printk(KERN_WARNING, cmd->device, "abort bad SRP RSP type %d\n",
1582 sdev_printk(KERN_WARNING, cmd->device,
1603 sdev_printk(KERN_INFO, cmd->device, "aborted task tag 0x%llx completed\n",
1608 sdev_printk(KERN_INFO, cmd->device, "successfully aborted task tag 0x%llx\n",
1628 struct ibmvscsi_host_data *hostdata = shost_priv(cmd->device->host);
1635 u16 lun = lun_from_dev(cmd->device);
1644 sdev_printk(KERN_ERR, cmd->device,
1678 sdev_printk(KERN_ERR, cmd->device,
1683 sdev_printk(KERN_INFO, cmd->device, "resetting device. lun 0x%llx\n",
1691 sdev_printk(KERN_WARNING, cmd->device, "reset bad SRP RSP type %d\n",
1703 sdev_printk(KERN_WARNING, cmd->device,
1714 if ((tmp_evt->cmnd) && (tmp_evt->cmnd->device == cmd->device)) {
1740 struct ibmvscsi_host_data *hostdata = shost_priv(cmd->device->host);
1863 * @sdev: struct scsi_device device to configure
1865 * Enable allow_restart for a device if it is a disk. Adjust the
1884 * ibmvscsi_change_queue_depth - Change the device's queue depth
1885 * @sdev: scsi device struct
1902 static ssize_t show_host_vhost_loc(struct device *dev,
1922 static ssize_t show_host_vhost_name(struct device *dev,
1942 static ssize_t show_host_srp_version(struct device *dev,
1962 static ssize_t show_host_partition_name(struct device *dev,
1983 static ssize_t show_host_partition_number(struct device *dev,
2004 static ssize_t show_host_mad_version(struct device *dev,
2024 static ssize_t show_host_os_type(struct device *dev,
2044 static ssize_t show_host_config(struct device *dev,
2105 * @vdev: struct vio_dev for the device whose desired IO mem is to be returned
2224 struct device *dev = &vdev->dev;
2365 * @dev: device struct
2370 static int ibmvscsi_resume(struct device *dev)
2380 * ibmvscsi_device_table: Used by vio.c to match devices in the device tree we