Lines Matching refs:host
64 struct ide_host *host; member
118 struct ide_host *host; in idecs_register() local
141 rc = ide_host_add(&idecs_port_info, hws, 1, &host); in idecs_register()
145 hwif = host->ports[0]; in idecs_register()
148 return host; in idecs_register()
155 return host; in idecs_register()
158 return host; in idecs_register()
194 struct ide_host *host; in ide_config() local
227 host = idecs_register(io_base, ctl_base, link->irq, link); in ide_config()
228 if (host == NULL && resource_size(link->resource[0]) == 0x20) { in ide_config()
230 host = idecs_register(io_base + 0x10, ctl_base + 0x10, in ide_config()
234 if (host == NULL) in ide_config()
238 info->host = host; in ide_config()
240 'a' + host->ports[0]->index * 2, in ide_config()
253 struct ide_host *host = info->host; in ide_release() local
258 ide_hwif_t *hwif = host->ports[0]; in ide_release()
264 ide_host_remove(host); in ide_release()