Lines Matching refs:dev
1870 struct Scsi_Host *shost = dev_to_shost(&starget->dev); in scsih_target_alloc()
1930 rphy = dev_to_rphy(starget->dev.parent); in scsih_target_alloc()
1960 struct Scsi_Host *shost = dev_to_shost(&starget->dev); in scsih_target_destroy()
2064 shost = dev_to_shost(&starget->dev); in scsih_slave_alloc()
2132 shost = dev_to_shost(&starget->dev); in scsih_slave_destroy()
2221 scsih_is_raid(struct device *dev) in scsih_is_raid() argument
2223 struct scsi_device *sdev = to_scsi_device(dev); in scsih_is_raid()
2232 scsih_is_nvme(struct device *dev) in scsih_is_nvme() argument
2234 struct scsi_device *sdev = to_scsi_device(dev); in scsih_is_nvme()
2244 scsih_get_resync(struct device *dev) in scsih_get_resync() argument
2246 struct scsi_device *sdev = to_scsi_device(dev); in scsih_get_resync()
2291 raid_set_resync(mpt2sas_raid_template, dev, percent_complete); in scsih_get_resync()
2295 raid_set_resync(mpt3sas_raid_template, dev, percent_complete); in scsih_get_resync()
2305 scsih_get_state(struct device *dev) in scsih_get_state() argument
2307 struct scsi_device *sdev = to_scsi_device(dev); in scsih_get_state()
2357 raid_set_state(mpt2sas_raid_template, dev, state); in scsih_get_state()
2361 raid_set_state(mpt3sas_raid_template, dev, state); in scsih_get_state()
6999 sas_expander->parent_dev = &mpt3sas_port->rphy->dev; in _scsih_expander_add()
7972 scsi_remove_target(&pcie_device->starget->dev); in _scsih_pcie_device_remove_from_sml()
9094 scsi_remove_target(&starget->dev); in _scsih_sas_volume_delete()
11242 dev_err(&pdev->dev, "pdev's driver data is null\n"); in _scsih_get_shost_and_ioc()
11248 dev_err(&pdev->dev, "shost's private data is null\n"); in _scsih_get_shost_and_ioc()
11309 scsi_remove_target(&raid_device->starget->dev); in scsih_remove()
12171 dev_err(&pdev->dev, in _scsih_probe()
12178 dev_err(&pdev->dev, in _scsih_probe()
12185 dev_info(&pdev->dev, in _scsih_probe()
12378 dev_info(&ioc->pdev->dev, in _scsih_probe()
12383 rv = scsi_add_host(shost, &pdev->dev); in _scsih_probe()
12412 scsih_suspend(struct device *dev) in scsih_suspend() argument
12414 struct pci_dev *pdev = to_pci_dev(dev); in scsih_suspend()
12440 scsih_resume(struct device *dev) in scsih_resume() argument
12442 struct pci_dev *pdev = to_pci_dev(dev); in scsih_resume()