Lines Matching defs:host
3 * parallel port SCSI host adapter.
49 struct Scsi_Host *host;
58 static inline imm_struct *imm_dev(struct Scsi_Host *host)
60 return *(imm_struct **)&host->hostdata;
127 static int imm_write_info(struct Scsi_Host *host, char *buffer, int length)
129 imm_struct *dev = imm_dev(host);
139 static int imm_show_info(struct seq_file *m, struct Scsi_Host *host)
141 imm_struct *dev = imm_dev(host);
603 imm_struct *dev = imm_dev(cmd->device->host);
629 imm_struct *dev = imm_dev(cmd->device->host);
723 struct Scsi_Host *host = cmd->device->host;
770 spin_lock_irqsave(host->host_lock, flags);
773 spin_unlock_irqrestore(host->host_lock, flags);
916 imm_struct *dev = imm_dev(cmd->device->host);
959 imm_struct *dev = imm_dev(cmd->device->host);
989 imm_struct *dev = imm_dev(cmd->device->host);
1090 * imm cannot deal with highmem, so this causes all IO pages for this host
1148 struct Scsi_Host *host;
1231 host = scsi_host_alloc(&imm_template, sizeof(imm_struct *));
1232 if (!host)
1234 host->io_port = pb->base;
1235 host->n_io_port = ports;
1236 host->dma_channel = -1;
1237 host->unique_id = pb->number;
1238 *(imm_struct **)&host->hostdata = dev;
1239 dev->host = host;
1244 err = scsi_add_host(host, NULL);
1247 scsi_scan_host(host);
1252 scsi_host_put(host);
1271 scsi_remove_host(dev->host);
1272 scsi_host_put(dev->host);