Lines Matching refs:SCSIDevice
11 typedef struct SCSIDevice SCSIDevice;
15 struct SCSIDevice
18 void (*destroy)(SCSIDevice *s);
19 int32_t (*send_command)(SCSIDevice *s, uint32_t tag, uint8_t *buf,
21 void (*read_data)(SCSIDevice *s, uint32_t tag);
22 int (*write_data)(SCSIDevice *s, uint32_t tag);
23 void (*cancel_io)(SCSIDevice *s, uint32_t tag);
24 uint8_t *(*get_buf)(SCSIDevice *s, uint32_t tag);
27 SCSIDevice *scsi_disk_init(BlockDriverState *bdrv, int tcq,
29 SCSIDevice *scsi_generic_init(BlockDriverState *bdrv, int tcq,