Searched refs:host_dev (Results 1 – 5 of 5) sorted by relevance
160 h->host_dev.parent = &h->device; in hpsb_alloc_host()161 h->host_dev.class = &hpsb_host_class; in hpsb_alloc_host()162 dev_set_name(&h->host_dev, "fw-host%d", h->id); in hpsb_alloc_host()166 if (device_register(&h->host_dev)) { in hpsb_alloc_host()206 device_unregister(&host->host_dev); in hpsb_remove_host()
59 struct device host_dev; member
159 put_device(&container_of((dev), struct hpsb_host, host_dev)->device); in host_cls_release()1753 host = container_of(dev, struct hpsb_host, host_dev); in per_host()
228 struct device *host_dev; in ide_device_get() local234 host_dev = drive->hwif->host->dev[0]; in ide_device_get()235 module = host_dev ? host_dev->driver->owner : NULL; in ide_device_get()256 struct device *host_dev = drive->hwif->host->dev[0]; in ide_device_put() local257 struct module *module = host_dev ? host_dev->driver->owner : NULL; in ide_device_put()
1792 struct device *host_dev; in scsi_calculate_bounce_limit() local1804 host_dev = scsi_get_device(shost); in scsi_calculate_bounce_limit()1805 if (host_dev && host_dev->dma_mask) in scsi_calculate_bounce_limit()1806 bounce_limit = *host_dev->dma_mask; in scsi_calculate_bounce_limit()