Searched refs:i2o_dev (Results 1 – 8 of 8) sorted by relevance
/drivers/message/i2o/ |
D | device.c | 133 struct i2o_device *i2o_dev = to_i2o_device(dev); in i2o_device_release() local 137 kfree(i2o_dev); in i2o_device_release() 152 struct i2o_device *i2o_dev = to_i2o_device(dev); in i2o_device_show_class_id() local 154 sprintf(buf, "0x%03x\n", i2o_dev->lct_data.class_id); in i2o_device_show_class_id() 169 struct i2o_device *i2o_dev = to_i2o_device(dev); in i2o_device_show_tid() local 171 sprintf(buf, "0x%03x\n", i2o_dev->lct_data.tid); in i2o_device_show_tid() 219 struct i2o_device *i2o_dev, *tmp; in i2o_device_add() local 222 i2o_dev = i2o_device_alloc(); in i2o_device_add() 223 if (IS_ERR(i2o_dev)) { in i2o_device_add() 225 return PTR_ERR(i2o_dev); in i2o_device_add() [all …]
|
D | i2o_scsi.c | 99 struct i2o_device *i2o_dev; in i2o_scsi_host_alloc() local 112 list_for_each_entry(i2o_dev, &c->devices, list) in i2o_scsi_host_alloc() 113 if (i2o_dev->lct_data.class_id == I2O_CLASS_BUS_ADAPTER) { in i2o_scsi_host_alloc() 114 if (!i2o_parm_field_get(i2o_dev, 0x0000, 0, &type, 1) in i2o_scsi_host_alloc() 145 list_for_each_entry(i2o_dev, &c->devices, list) in i2o_scsi_host_alloc() 146 if (i2o_dev->lct_data.class_id == I2O_CLASS_BUS_ADAPTER) { in i2o_scsi_host_alloc() 147 if (!i2o_parm_field_get(i2o_dev, 0x0000, 0, &type, 1) in i2o_scsi_host_alloc() 149 i2o_shost->channel[i++] = i2o_dev; in i2o_scsi_host_alloc() 183 struct i2o_device *i2o_dev = to_i2o_device(dev); in i2o_scsi_remove() local 184 struct i2o_controller *c = i2o_dev->iop; in i2o_scsi_remove() [all …]
|
D | i2o_block.c | 106 struct i2o_device *i2o_dev = to_i2o_device(dev); in i2o_block_remove() local 109 osm_info("device removed (TID: %03x): %s\n", i2o_dev->lct_data.tid, in i2o_block_remove() 112 i2o_event_register(i2o_dev, &i2o_block_driver, 0, 0); in i2o_block_remove() 118 i2o_device_claim_release(i2o_dev); in i2o_block_remove() 247 struct i2o_device *i2o_dev = dev->i2o_dev; in i2o_block_device_power() local 248 struct i2o_controller *c = i2o_dev->iop; in i2o_block_device_power() 258 cpu_to_le32(I2O_CMD_BLOCK_POWER << 24 | HOST_TID << 12 | i2o_dev-> in i2o_block_device_power() 582 if (!dev->i2o_dev) in i2o_block_open() 588 i2o_block_device_mount(dev->i2o_dev, -1); in i2o_block_open() 590 i2o_block_device_lock(dev->i2o_dev, -1); in i2o_block_open() [all …]
|
D | driver.c | 48 struct i2o_device *i2o_dev = to_i2o_device(dev); in i2o_bus_match() local 54 if (ids->class_id == i2o_dev->lct_data.class_id) in i2o_bus_match() 118 struct i2o_device *i2o_dev; in i2o_driver_register() local 121 list_for_each_entry(i2o_dev, &c->devices, list) in i2o_driver_register() 122 i2o_driver_notify_device_add(drv, i2o_dev); in i2o_driver_register() 153 struct i2o_device *i2o_dev; in i2o_driver_unregister() local 155 list_for_each_entry(i2o_dev, &c->devices, list) in i2o_driver_unregister() 156 i2o_driver_notify_device_remove(drv, i2o_dev); in i2o_driver_unregister() 232 evt->i2o_dev = dev; in i2o_driver_dispatch() 296 void i2o_driver_notify_device_add_all(struct i2o_device *i2o_dev) in i2o_driver_notify_device_add_all() argument [all …]
|
D | bus-osm.c | 69 struct i2o_device *i2o_dev = to_i2o_device(d); in i2o_bus_store_scan() local 72 if ((rc = i2o_bus_scan(i2o_dev))) in i2o_bus_store_scan() 92 struct i2o_device *i2o_dev = to_i2o_device(get_device(dev)); in i2o_bus_probe() local 99 osm_info("device added (TID: %03x)\n", i2o_dev->lct_data.tid); in i2o_bus_probe() 116 struct i2o_device *i2o_dev = to_i2o_device(dev); in i2o_bus_remove() local 122 osm_info("device removed (TID: %03x)\n", i2o_dev->lct_data.tid); in i2o_bus_remove()
|
D | exec-osm.c | 329 struct i2o_device *i2o_dev = to_i2o_device(dev); in i2o_exec_probe() local 332 rc = i2o_event_register(i2o_dev, &i2o_exec_driver, 0, 0xffffffff); in i2o_exec_probe() 340 i2o_dev->iop->exec = i2o_dev; in i2o_exec_probe() 524 if (likely(evt->i2o_dev)) in i2o_exec_event() 526 evt->i2o_dev->lct_data.tid); in i2o_exec_event()
|
D | i2o_block.h | 73 struct i2o_device *i2o_dev; /* pointer to I2O device */ member
|
D | core.h | 41 int i2o_parm_issue(struct i2o_device *i2o_dev, int cmd, void *oplist,
|