Lines Matching refs:host

97 /* Prototype: void powertecscsi_terminator_ctl(host, on_off)
99 * Params : host - card to turn on/off
103 powertecscsi_terminator_ctl(struct Scsi_Host *host, int on_off)
105 struct powertec_info *info = (struct powertec_info *)host->hostdata;
123 /* Prototype: fasdmatype_t powertecscsi_dma_setup(host, SCpnt, direction, min_type)
125 * Params : host - host
132 powertecscsi_dma_setup(struct Scsi_Host *host, struct scsi_pointer *SCp,
135 struct powertec_info *info = (struct powertec_info *)host->hostdata;
136 struct device *dev = scsi_get_device(host);
169 /* Prototype: int powertecscsi_dma_stop(host, SCpnt)
171 * Params : host - host
175 powertecscsi_dma_stop(struct Scsi_Host *host, struct scsi_pointer *SCp)
177 struct powertec_info *info = (struct powertec_info *)host->hostdata;
182 /* Prototype: const char *powertecscsi_info(struct Scsi_Host * host)
184 * Params : host - driver host structure to return info for.
187 const char *powertecscsi_info(struct Scsi_Host *host)
189 struct powertec_info *info = (struct powertec_info *)host->hostdata;
193 host->hostt->name, info->info.scsi.type, info->ec->slot_no,
199 /* Prototype: int powertecscsi_set_proc_info(struct Scsi_Host *host, char *buffer, int length)
201 * Params : host - host to setup
207 powertecscsi_set_proc_info(struct Scsi_Host *host, char *buffer, int length)
217 powertecscsi_terminator_ctl(host, 1);
219 powertecscsi_terminator_ctl(host, 0);
242 static int powertecscsi_show_info(struct seq_file *m, struct Scsi_Host *host)
246 info = (struct powertec_info *)host->hostdata;
261 struct Scsi_Host *host = ecard_get_drvdata(ec);
262 struct powertec_info *info = (struct powertec_info *)host->hostdata;
271 struct Scsi_Host *host = ecard_get_drvdata(ec);
274 powertecscsi_terminator_ctl(host, buf[0] != '0');
305 struct Scsi_Host *host;
320 host = scsi_host_alloc(&powertecscsi_template,
322 if (!host) {
327 ecard_set_drvdata(ec, host);
329 info = (struct powertec_info *)host->hostdata;
331 powertecscsi_terminator_ctl(host, term[ec->slot_no]);
357 ret = fas216_init(host);
365 host->host_no, ec->irq, ret);
372 host->host_no, info->info.scsi.dma);
380 ret = fas216_add(host, &ec->dev);
389 fas216_release(host);
393 scsi_host_put(host);
404 struct Scsi_Host *host = ecard_get_drvdata(ec);
405 struct powertec_info *info = (struct powertec_info *)host->hostdata;
408 fas216_remove(host);
416 fas216_release(host);
417 scsi_host_put(host);