Lines Matching defs:dev

1704 	struct Scsi_Host *shost = dev_to_shost(&starget->dev);
1763 rphy = dev_to_rphy(starget->dev.parent);
1793 struct Scsi_Host *shost = dev_to_shost(&starget->dev);
1897 shost = dev_to_shost(&starget->dev);
1964 shost = dev_to_shost(&starget->dev);
2050 * @dev: the device struct object
2053 scsih_is_raid(struct device *dev)
2055 struct scsi_device *sdev = to_scsi_device(dev);
2064 scsih_is_nvme(struct device *dev)
2066 struct scsi_device *sdev = to_scsi_device(dev);
2073 * @dev: the device struct object
2076 scsih_get_resync(struct device *dev)
2078 struct scsi_device *sdev = to_scsi_device(dev);
2123 raid_set_resync(mpt2sas_raid_template, dev, percent_complete);
2127 raid_set_resync(mpt3sas_raid_template, dev, percent_complete);
2134 * @dev: the device struct object
2137 scsih_get_state(struct device *dev)
2139 struct scsi_device *sdev = to_scsi_device(dev);
2189 raid_set_state(mpt2sas_raid_template, dev, state);
2193 raid_set_state(mpt3sas_raid_template, dev, state);
5164 desc_ioc_state = "scsi invalid dev handle";
6054 sas_expander->parent_dev = &mpt3sas_port->rphy->dev;
6996 scsi_remove_target(&pcie_device->starget->dev);
8118 scsi_remove_target(&starget->dev);
8122 * _scsih_sas_pd_expose - expose pd component to /dev/sdX
8162 * _scsih_sas_pd_hide - hide pd component from /dev/sdX
10133 dev_err(&pdev->dev, "pdev's driver data is null\n");
10139 dev_err(&pdev->dev, "shost's private data is null\n");
10197 scsi_remove_target(&raid_device->starget->dev);
10919 dev_err(&pdev->dev,
10926 dev_err(&pdev->dev,
10933 dev_info(&pdev->dev,
11089 rv = scsi_add_host(shost, &pdev->dev);