Lines Matching refs:shost_dev
191 device_unregister(&shost->shost_dev);
260 device_enable_async_suspend(&shost->shost_dev);
263 error = device_add(&shost->shost_dev);
302 device_del(&shost->shost_dev);
306 * ->shost_dev.
308 put_device(&shost->shost_dev);
337 * Free the shost_dev device name and remove the proc host dir
340 * This avoids that the memory allocated for the shost_dev
344 kfree(dev_name(&shost->shost_dev));
485 device_initialize(&shost->shost_dev);
486 shost->shost_dev.parent = &shost->shost_gendev;
487 shost->shost_dev.class = &shost_class;
488 dev_set_name(&shost->shost_dev, "host%d", shost->host_no);
489 shost->shost_dev.groups = scsi_sysfs_shost_attr_groups;
515 * dev_name(&shost->shost_dev).