Lines Matching refs:SCSIBus
13 typedef struct SCSIBus SCSIBus; typedef
24 SCSIBus *bus;
136 void (*change)(SCSIBus *bus, SCSIDevice *dev, SCSISense sense);
141 void (*free_request)(SCSIBus *bus, void *priv);
150 void (*drained_begin)(SCSIBus *bus);
151 void (*drained_end)(SCSIBus *bus);
155 OBJECT_DECLARE_SIMPLE_TYPE(SCSIBus, SCSI_BUS)
157 struct SCSIBus { struct
181 void scsi_bus_init_named(SCSIBus *bus, size_t bus_size, DeviceState *host,
190 static inline void scsi_bus_init(SCSIBus *bus, size_t bus_size, in scsi_bus_init()
196 static inline SCSIBus *scsi_bus_from_device(SCSIDevice *d) in scsi_bus_from_device()
198 return DO_UPCAST(SCSIBus, qbus, d->qdev.parent_bus); in scsi_bus_from_device()
201 SCSIDevice *scsi_bus_legacy_add_drive(SCSIBus *bus, BlockBackend *blk,
204 void scsi_bus_set_ua(SCSIBus *bus, SCSISense sense);
205 void scsi_bus_legacy_handle_cmdline(SCSIBus *bus);
241 SCSIDevice *scsi_device_find(SCSIBus *bus, int channel, int target, int lun);
242 SCSIDevice *scsi_device_get(SCSIBus *bus, int channel, int target, int lun);