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
639 struct device *dev)
675 * @dev: device for which to map dma memory
682 struct srp_cmd *srp_cmd, struct device *dev)
725 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,
1028 * lun_from_dev: - Returns the lun of the scsi device
1048 struct ibmvscsi_host_data *hostdata = shost_priv(cmnd->device->host);
1049 u16 lun = lun_from_dev(cmnd->device);
1067 sdev_printk(KERN_ERR, cmnd->device,
1490 struct ibmvscsi_host_data *hostdata = shost_priv(cmd->device->host);
1497 u16 lun = lun_from_dev(cmd->device);
1522 sdev_printk(KERN_ERR, cmd->device,
1557 sdev_printk(KERN_ERR, cmd->device,
1562 sdev_printk(KERN_INFO, cmd->device,
1571 sdev_printk(KERN_WARNING, cmd->device, "abort bad SRP RSP type %d\n",
1583 sdev_printk(KERN_WARNING, cmd->device,
1604 sdev_printk(KERN_INFO, cmd->device, "aborted task tag 0x%llx completed\n",
1609 sdev_printk(KERN_INFO, cmd->device, "successfully aborted task tag 0x%llx\n",
1629 struct ibmvscsi_host_data *hostdata = shost_priv(cmd->device->host);
1636 u16 lun = lun_from_dev(cmd->device);
1645 sdev_printk(KERN_ERR, cmd->device,
1679 sdev_printk(KERN_ERR, cmd->device,
1684 sdev_printk(KERN_INFO, cmd->device, "resetting device. lun 0x%llx\n",
1692 sdev_printk(KERN_WARNING, cmd->device, "reset bad SRP RSP type %d\n",
1704 sdev_printk(KERN_WARNING, cmd->device,
1715 if ((tmp_evt->cmnd) && (tmp_evt->cmnd->device == cmd->device)) {
1741 struct ibmvscsi_host_data *hostdata = shost_priv(cmd->device->host);
1864 * @sdev: struct scsi_device device to configure
1866 * Enable allow_restart for a device if it is a disk. Adjust the
1885 * ibmvscsi_change_queue_depth - Change the device's queue depth
1886 * @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,
2107 * @vdev: struct vio_dev for the device whose desired IO mem is to be returned
2226 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