Lines Matching refs:SCSIBus
29 static SCSIDevice *do_scsi_device_find(SCSIBus *bus, in do_scsi_device_find()
71 SCSIDevice *scsi_device_find(SCSIBus *bus, int channel, int id, int lun) in scsi_device_find()
77 SCSIDevice *scsi_device_get(SCSIBus *bus, int channel, int id, int lun) in scsi_device_get()
193 SCSIBus *bus = DO_UPCAST(SCSIBus, qbus, dev->qdev.parent_bus); in scsi_bus_parse_cdb()
224 void scsi_bus_init_named(SCSIBus *bus, size_t bus_size, DeviceState *host, in scsi_bus_init_named()
271 static bool scsi_bus_is_address_free(SCSIBus *bus, in scsi_bus_is_address_free()
294 SCSIBus *bus = SCSI_BUS(qbus); in scsi_bus_check_address()
323 SCSIBus *bus = DO_UPCAST(SCSIBus, qbus, dev->qdev.parent_bus); in scsi_qdev_realize()
378 SCSIDevice *scsi_bus_legacy_add_drive(SCSIBus *bus, BlockBackend *blk, in scsi_bus_legacy_add_drive()
434 void scsi_bus_legacy_handle_cmdline(SCSIBus *bus) in scsi_bus_legacy_handle_cmdline()
779 SCSIBus *bus = scsi_bus_from_device(d); in scsi_req_alloc()
810 SCSIBus *bus = DO_UPCAST(SCSIBus, qbus, d->qdev.parent_bus); in scsi_req_new()
1437 SCSIBus *bus = DO_UPCAST(SCSIBus, qbus, dev->qdev.parent_bus); in scsi_device_report_change()
1457 SCSIBus *bus = DO_UPCAST(SCSIBus, qbus, qbus); in scsi_req_unref()
1693 void scsi_bus_set_ua(SCSIBus *bus, SCSISense sense) in scsi_bus_set_ua()
1755 SCSIBus *bus = DO_UPCAST(SCSIBus, qbus, sdev->qdev.parent_bus); in scsi_device_drained_begin()
1777 SCSIBus *bus = DO_UPCAST(SCSIBus, qbus, sdev->qdev.parent_bus); in scsi_device_drained_end()
1853 SCSIBus *bus = DO_UPCAST(SCSIBus, qbus, s->qdev.parent_bus); in get_scsi_requests()
1997 .instance_size = sizeof(SCSIBus),