Lines Matching defs:host
950 * Returns 1 if the adapter (host) is busy, else returns 0. One
968 (struct AdapterCtlBlk *)cmd->device->host->hostdata;
1144 * @cmd - some command for this host (for fetching hooks)
1150 (struct AdapterCtlBlk *)cmd->device->host->hostdata;
1197 spin_lock_irq(cmd->device->host->host_lock);
1199 spin_unlock_irq(cmd->device->host->host_lock);
1216 (struct AdapterCtlBlk *)cmd->device->host->hostdata;
3049 DC395x_write8(acb, TRM_S1040_SCSI_HOSTID, acb->scsi_host->this_id); /* host ID */
3726 struct AdapterCtlBlk *acb = (struct AdapterCtlBlk *)scsi_device->host->hostdata;
3746 struct AdapterCtlBlk *acb = (struct AdapterCtlBlk *)scsi_device->host->hostdata;
4225 * adapter_init_scsi_host - Initialize the scsi host instance based on
4234 * @host: The scsi host instance to fill in the values for.
4236 static void adapter_init_scsi_host(struct Scsi_Host *host)
4238 struct AdapterCtlBlk *acb = (struct AdapterCtlBlk *)host->hostdata;
4241 host->max_cmd_len = 24;
4242 host->can_queue = DC395x_MAX_CMD_QUEUE;
4243 host->cmd_per_lun = DC395x_MAX_CMD_PER_LUN;
4244 host->this_id = (int)eeprom->scsi_id;
4245 host->io_port = acb->io_port_base;
4246 host->n_io_port = acb->io_port_len;
4247 host->dma_channel = -1;
4248 host->unique_id = acb->io_port_base;
4249 host->irq = acb->irq_level;
4252 host->max_id = 16;
4253 if (host->max_id - 1 == eeprom->scsi_id)
4254 host->max_id--;
4257 host->max_lun = 8;
4259 host->max_lun = 1;
4440 static int dc395x_show_info(struct seq_file *m, struct Scsi_Host *host)
4442 struct AdapterCtlBlk *acb = (struct AdapterCtlBlk *)host->hostdata;
4453 seq_printf(m, "SCSI Host Nr %i, ", host->host_no);
4460 seq_printf(m, "MaxID %i, MaxLUN %llu, ", host->max_id, host->max_lun);
4461 seq_printf(m, "AdapterID %i\n", host->this_id);
4611 /* allocate scsi host information (includes out adapter) */
4692 MODULE_DESCRIPTION("SCSI host adapter driver for Tekram TRM-S1040 based adapters: Tekram DC395 and DC315 series");