• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/message/i2o/

Lines Matching refs:i2o_dev

83 	struct i2o_device *channel[0];	/* channel->i2o_dev mapping table */
99 struct i2o_device *i2o_dev;
112 list_for_each_entry(i2o_dev, &c->devices, list)
113 if (i2o_dev->lct_data.class_id == I2O_CLASS_BUS_ADAPTER) {
114 if (!i2o_parm_field_get(i2o_dev, 0x0000, 0, &type, 1)
145 list_for_each_entry(i2o_dev, &c->devices, list)
146 if (i2o_dev->lct_data.class_id == I2O_CLASS_BUS_ADAPTER) {
147 if (!i2o_parm_field_get(i2o_dev, 0x0000, 0, &type, 1)
149 i2o_shost->channel[i++] = i2o_dev;
183 struct i2o_device *i2o_dev = to_i2o_device(dev);
184 struct i2o_controller *c = i2o_dev->iop;
188 osm_info("device removed (TID: %03x)\n", i2o_dev->lct_data.tid);
193 if (scsi_dev->hostdata == i2o_dev) {
194 sysfs_remove_link(&i2o_dev->device.kobj, "scsi");
214 struct i2o_device *i2o_dev = to_i2o_device(dev);
215 struct i2o_controller *c = i2o_dev->iop;
231 switch (i2o_dev->lct_data.class_id) {
243 if (i2o_dev->lct_data.class_id ==
256 if (i2o_parm_field_get(i2o_dev, 0x0000, 3, &id, 4))
259 if (i2o_parm_field_get(i2o_dev, 0x0000, 4, &lun, 8))
262 parent = i2o_iop_find_device(c, i2o_dev->lct_data.parent_tid);
265 i2o_dev->lct_data.tid);
280 i2o_dev->lct_data.tid);
299 le64_to_cpu(lun), i2o_dev);
303 i2o_dev->lct_data.tid);
307 rc = sysfs_create_link(&i2o_dev->device.kobj,
313 i2o_dev->lct_data.tid, channel, le32_to_cpu(id),
394 * @i2o_dev: the I2O device which was added
400 static void i2o_scsi_notify_device_add(struct i2o_device *i2o_dev)
402 switch (i2o_dev->lct_data.class_id) {
405 i2o_scsi_probe(&i2o_dev->device);
415 * @i2o_dev: the I2O device which was removed
420 static void i2o_scsi_notify_device_remove(struct i2o_device *i2o_dev)
422 switch (i2o_dev->lct_data.class_id) {
425 i2o_scsi_remove(&i2o_dev->device);
517 struct i2o_device *i2o_dev;
534 i2o_dev = SCpnt->device->hostdata;
535 c = i2o_dev->iop;
539 if (unlikely(!i2o_dev)) {
546 tid = i2o_dev->lct_data.tid;
670 struct i2o_device *i2o_dev;
678 i2o_dev = SCpnt->device->hostdata;
679 c = i2o_dev->iop;
680 tid = i2o_dev->lct_data.tid;