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

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/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.c83 struct i2o_device *channel[0]; /* channel->i2o_dev mapping table */
99 struct i2o_device *i2o_dev; local
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 local
214 struct i2o_device *i2o_dev = to_i2o_device(dev); local
396 i2o_scsi_notify_device_add(struct i2o_device *i2o_dev) argument
416 i2o_scsi_notify_device_remove(struct i2o_device *i2o_dev) argument
513 struct i2o_device *i2o_dev; local
659 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)
118 struct i2o_device *i2o_dev; local
121 list_for_each_entry(i2o_dev, &c->devices, list)
122 i2o_driver_notify_device_add(drv, i2o_dev);
153 struct i2o_device *i2o_dev; local
155 list_for_each_entry(i2o_dev, &c->devices, list)
156 i2o_driver_notify_device_remove(drv, i2o_dev);
232 evt->i2o_dev = dev;
292 * @i2o_dev
296 i2o_driver_notify_device_add_all(struct i2o_device *i2o_dev) argument
315 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.c108 struct i2o_device *i2o_dev = to_i2o_device(dev); local
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; local
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,
1031 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.c322 struct i2o_device *i2o_dev = to_i2o_device(dev); local
325 rc = i2o_event_register(i2o_dev, &i2o_exec_driver, 0, 0xffffffff);
333 i2o_dev->iop->exec = i2o_dev;
521 if (likely(evt->i2o_dev))
523 evt->i2o_dev->lct_data.tid);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Di2o.h436 struct i2o_device *i2o_dev; /* I2O device pointer from which the member in struct:i2o_event
744 * @i2o_dev: the added i2o_device
749 struct i2o_device *i2o_dev)
752 drv->notify_device_add(i2o_dev);
758 * @i2o_dev: the added i2o_device
763 struct i2o_device *i2o_dev)
766 drv->notify_device_remove(i2o_dev);
748 i2o_driver_notify_device_add(struct i2o_driver *drv, struct i2o_device *i2o_dev) argument
762 i2o_driver_notify_device_remove(struct i2o_driver *drv, struct i2o_device *i2o_dev) argument

Completed in 47 milliseconds