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

/drivers/message/i2o/
H A Ddevice.c133 struct i2o_device *i2o_dev = to_i2o_device(dev); local
137 kfree(i2o_dev);
152 struct i2o_device *i2o_dev = to_i2o_device(dev); local
154 sprintf(buf, "0x%03x\n", i2o_dev->lct_data.class_id);
169 struct i2o_device *i2o_dev = to_i2o_device(dev); local
171 sprintf(buf, "0x%03x\n", i2o_dev->lct_data.tid);
219 struct i2o_device *i2o_dev, *tmp; local
222 i2o_dev = i2o_device_alloc();
223 if (IS_ERR(i2o_dev)) {
225 return PTR_ERR(i2o_dev);
317 i2o_device_remove(struct i2o_device *i2o_dev) argument
456 i2o_parm_issue(struct i2o_device *i2o_dev, int cmd, void *oplist, int oplen, void *reslist, int reslen) argument
506 i2o_parm_field_get(struct i2o_device *i2o_dev, int group, int field, void *buf, int buflen) argument
[all...]
H A Di2o_scsi.c82 struct i2o_device *channel[0]; /* channel->i2o_dev mapping table */
98 struct i2o_device *i2o_dev; local
111 list_for_each_entry(i2o_dev, &c->devices, list)
112 if (i2o_dev->lct_data.class_id == I2O_CLASS_BUS_ADAPTER) {
113 if (!i2o_parm_field_get(i2o_dev, 0x0000, 0, &type, 1)
144 list_for_each_entry(i2o_dev, &c->devices, list)
145 if (i2o_dev->lct_data.class_id == I2O_CLASS_BUS_ADAPTER) {
146 if (!i2o_parm_field_get(i2o_dev, 0x0000, 0, &type, 1)
148 i2o_shost->channel[i++] = i2o_dev;
182 struct i2o_device *i2o_dev local
213 struct i2o_device *i2o_dev = to_i2o_device(dev); local
395 i2o_scsi_notify_device_add(struct i2o_device *i2o_dev) argument
415 i2o_scsi_notify_device_remove(struct i2o_device *i2o_dev) argument
512 struct i2o_device *i2o_dev; local
707 struct i2o_device *i2o_dev; local
[all...]
H A Dbus-osm.c69 struct i2o_device *i2o_dev = to_i2o_device(d); local
72 if ((rc = i2o_bus_scan(i2o_dev)))
92 struct i2o_device *i2o_dev = to_i2o_device(get_device(dev)); local
99 osm_info("device added (TID: %03x)\n", i2o_dev->lct_data.tid);
116 struct i2o_device *i2o_dev = to_i2o_device(dev); local
122 osm_info("device removed (TID: %03x)\n", i2o_dev->lct_data.tid);
H A Ddriver.c48 struct i2o_device *i2o_dev = to_i2o_device(dev); local
54 if (ids->class_id == i2o_dev->lct_data.class_id)
119 struct i2o_device *i2o_dev; local
122 list_for_each_entry(i2o_dev, &c->devices, list)
123 i2o_driver_notify_device_add(drv, i2o_dev);
154 struct i2o_device *i2o_dev; local
156 list_for_each_entry(i2o_dev, &c->devices, list)
157 i2o_driver_notify_device_remove(drv, i2o_dev);
233 evt->i2o_dev = dev;
293 * @i2o_dev
297 i2o_driver_notify_device_add_all(struct i2o_device *i2o_dev) argument
316 i2o_driver_notify_device_remove_all(struct i2o_device *i2o_dev) argument
[all...]
H A Di2o_block.h73 struct i2o_device *i2o_dev; /* pointer to I2O device */ member in struct:i2o_block_device
H A Di2o_block.c109 struct i2o_device *i2o_dev = to_i2o_device(dev); local
112 osm_info("device removed (TID: %03x): %s\n", i2o_dev->lct_data.tid,
115 i2o_event_register(i2o_dev, &i2o_block_driver, 0, 0);
121 i2o_device_claim_release(i2o_dev);
250 struct i2o_device *i2o_dev = dev->i2o_dev; local
251 struct i2o_controller *c = i2o_dev->iop;
261 cpu_to_le32(I2O_CMD_BLOCK_POWER << 24 | HOST_TID << 12 | i2o_dev->
579 if (!dev->i2o_dev)
586 i2o_block_device_mount(dev->i2o_dev,
1030 struct i2o_device *i2o_dev = to_i2o_device(dev); local
[all...]
H A Dcore.h41 int i2o_parm_issue(struct i2o_device *i2o_dev, int cmd, void *oplist,
H A Dexec-osm.c329 struct i2o_device *i2o_dev = to_i2o_device(dev); local
332 rc = i2o_event_register(i2o_dev, &i2o_exec_driver, 0, 0xffffffff);
340 i2o_dev->iop->exec = i2o_dev;
528 if (likely(evt->i2o_dev))
530 evt->i2o_dev->lct_data.tid);

Completed in 53 milliseconds