• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/message/i2o/

Lines Matching refs:i2o_dev

108 	struct i2o_device *i2o_dev = to_i2o_device(dev);
111 osm_info("device removed (TID: %03x): %s\n", i2o_dev->lct_data.tid,
114 i2o_event_register(i2o_dev, &i2o_block_driver, 0, 0);
120 i2o_device_claim_release(i2o_dev);
249 struct i2o_device *i2o_dev = dev->i2o_dev;
250 struct i2o_controller *c = i2o_dev->iop;
260 cpu_to_le32(I2O_CMD_BLOCK_POWER << 24 | HOST_TID << 12 | i2o_dev->
578 if (!dev->i2o_dev)
585 i2o_block_device_mount(dev->i2o_dev, -1);
587 i2o_block_device_lock(dev->i2o_dev, -1);
618 if (!dev->i2o_dev)
622 i2o_block_device_flush(dev->i2o_dev);
624 i2o_block_device_unlock(dev->i2o_dev, -1);
740 if (unlikely(!dev->i2o_dev)) {
746 tid = dev->i2o_dev->lct_data.tid;
747 c = dev->i2o_dev->iop;
1031 struct i2o_device *i2o_dev = to_i2o_device(dev);
1032 struct i2o_controller *c = i2o_dev->iop;
1055 if (i2o_dev->lct_data.user_tid != 0xfff) {
1056 osm_debug("skipping used device %03x\n", i2o_dev->lct_data.tid);
1060 if (i2o_device_claim(i2o_dev)) {
1073 i2o_blk_dev->i2o_dev = i2o_dev;
1080 gd->driverfs_dev = &i2o_dev->device;
1097 if (!i2o_parm_field_get(i2o_dev, 0x0004, 1, &blocksize, 4) ||
1098 !i2o_parm_field_get(i2o_dev, 0x0000, 3, &blocksize, 4)) {
1103 if (!i2o_parm_field_get(i2o_dev, 0x0004, 0, &size, 8) ||
1104 !i2o_parm_field_get(i2o_dev, 0x0000, 4, &size, 8)) {
1109 if (!i2o_parm_field_get(i2o_dev, 0x0000, 2, &power, 2))
1112 i2o_event_register(i2o_dev, &i2o_block_driver, 0, 0xffffffff);
1118 osm_info("device added (TID: %03x): %s\n", i2o_dev->lct_data.tid,
1124 i2o_device_claim_release(i2o_dev);