Searched refs:i2o_shost (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/staging/i2o/
H A Di2o_scsi.c97 struct i2o_scsi_host *i2o_shost; i2o_scsi_host_alloc() local
138 i2o_shost = (struct i2o_scsi_host *)scsi_host->hostdata; i2o_scsi_host_alloc()
139 i2o_shost->scsi_host = scsi_host; i2o_scsi_host_alloc()
140 i2o_shost->iop = c; i2o_scsi_host_alloc()
141 i2o_shost->lun = 1; i2o_scsi_host_alloc()
148 i2o_shost->channel[i++] = i2o_dev; i2o_scsi_host_alloc()
154 return i2o_shost; i2o_scsi_host_alloc()
184 struct i2o_scsi_host *i2o_shost; i2o_scsi_remove() local
189 i2o_shost = i2o_scsi_get_host(c); i2o_scsi_remove()
191 shost_for_each_device(scsi_dev, i2o_shost->scsi_host) i2o_scsi_remove()
215 struct i2o_scsi_host *i2o_shost; i2o_scsi_probe() local
224 i2o_shost = i2o_scsi_get_host(c); i2o_scsi_probe()
225 if (!i2o_shost) i2o_scsi_probe()
228 scsi_host = i2o_shost->scsi_host; i2o_scsi_probe()
236 struct i2o_device *d = i2o_shost->channel[0]; i2o_scsi_probe()
245 cpu_to_le64(i2o_shost-> i2o_scsi_probe()
268 for (i = 0; i <= i2o_shost->scsi_host->max_channel; i++) i2o_scsi_probe()
269 if (i2o_shost->channel[i] == parent) i2o_scsi_probe()
296 __scsi_add_device(i2o_shost->scsi_host, channel, le32_to_cpu(id), i2o_scsi_probe()
436 struct i2o_scsi_host *i2o_shost; i2o_scsi_notify_controller_add() local
439 i2o_shost = i2o_scsi_host_alloc(c); i2o_scsi_notify_controller_add()
440 if (IS_ERR(i2o_shost)) { i2o_scsi_notify_controller_add()
445 rc = scsi_add_host(i2o_shost->scsi_host, &c->device); i2o_scsi_notify_controller_add()
448 scsi_host_put(i2o_shost->scsi_host); i2o_scsi_notify_controller_add()
452 c->driver_data[i2o_scsi_driver.context] = i2o_shost; i2o_scsi_notify_controller_add()
466 struct i2o_scsi_host *i2o_shost; i2o_scsi_notify_controller_remove() local
467 i2o_shost = i2o_scsi_get_host(c); i2o_scsi_notify_controller_remove()
468 if (!i2o_shost) i2o_scsi_notify_controller_remove()
473 scsi_remove_host(i2o_shost->scsi_host); i2o_scsi_notify_controller_remove()
474 scsi_host_put(i2o_shost->scsi_host); i2o_scsi_notify_controller_remove()

Completed in 56 milliseconds