Lines Matching refs:shost_gendev
48 put_device(&class_to_shost(class_dev)->shost_gendev);
177 transport_unregister_device(&shost->shost_gendev);
179 device_del(&shost->shost_gendev);
206 if (!shost->shost_gendev.parent)
207 shost->shost_gendev.parent = dev ? dev : &platform_bus;
209 error = device_add(&shost->shost_gendev);
214 get_device(shost->shost_gendev.parent);
220 get_device(&shost->shost_gendev);
251 device_del(&shost->shost_gendev);
372 device_initialize(&shost->shost_gendev);
373 snprintf(shost->shost_gendev.bus_id, BUS_ID_SIZE, "host%d",
375 shost->shost_gendev.release = scsi_host_dev_release;
378 shost->shost_classdev.dev = &shost->shost_gendev;
459 !get_device(&shost->shost_gendev))
471 put_device(&shost->shost_gendev);