Searched refs:ops (Results 1 – 8 of 8) sorted by relevance
| /devicemodel/core/ |
| A D | monitor.c | 296 ops->ops = mops; in monitor_register_vm_ops() 325 if (ops->ops->func) { \ 326 ret += ops->ops->func(ops->arg); \ 359 if (ops->ops->stop) { in handle_stop() 360 ret += ops->ops->stop(ops->arg); in handle_stop() 389 if (ops->ops->resume) { in handle_resume() 390 ret += ops->ops->resume(ops->arg); in handle_resume() 415 if (ops->ops->query) { in handle_query() 416 ack.data.state = ops->ops->query(ops->arg); in handle_query() 438 if (ops->ops->rescan) { in handle_blkrescan() [all …]
|
| /devicemodel/hw/mmio/ |
| A D | core.c | 94 ops = *adptops; in create_pt_acpidev() 95 if (ops->match && ops->match(opt)) { in create_pt_acpidev() 102 return ops->init ? ops->init(opt, dev) : -1; in create_pt_acpidev() 185 memcpy(ops->hid, hid, 8); in get_more_acpi_dev_info() 199 ops = *adptops; in acpi_dev_write_dsdt() 200 if (ops->write_dsdt) in acpi_dev_write_dsdt() 201 ops->write_dsdt(ctx); in acpi_dev_write_dsdt() 271 struct mmio_dev_ops *ops; in init_mmio_devs() local 275 if (ops != NULL) { in init_mmio_devs() 291 if (ops != NULL) in init_mmio_devs() [all …]
|
| /devicemodel/hw/pci/ |
| A D | core.c | 1052 pdi->dev_ops = ops; in pci_emul_init() 1492 struct pci_vdev_ops *ops; in init_pci() local 1534 if (!ops) { in init_pci() 1627 ops = fi->fi_devi->dev_ops; in init_pci() 1628 if (ops && ops->vdev_phys_access) in init_pci() 1629 ops->vdev_phys_access(ctx, in init_pci() 1700 if (!ops) { in init_pci() 1724 struct pci_vdev_ops *ops; in deinit_pci() local 1764 if (!ops) { in deinit_pci() 2382 struct pci_vdev_ops *ops; in pci_cfgrw() local [all …]
|
| /devicemodel/hw/pci/virtio/ |
| A D | virtio_block.c | 168 struct virtio_ops ops; member 460 blk->ops.name = "virtio_blk"; in virtio_blk_init_ops() 461 blk->ops.nvq = num_vqs; in virtio_blk_init_ops() 462 blk->ops.cfgsize = sizeof(struct virtio_blk_config); in virtio_blk_init_ops() 463 blk->ops.reset = virtio_blk_reset; in virtio_blk_init_ops() 464 blk->ops.cfgread = virtio_blk_cfgread; in virtio_blk_init_ops() 465 blk->ops.cfgwrite = virtio_blk_cfgwrite; in virtio_blk_init_ops() 659 virtio_linkup(&blk->base, &(blk->ops), blk, dev, blk->vqs, BACKEND_VBSU); in virtio_blk_init()
|
| /devicemodel/hw/platform/tpm/ |
| A D | tpm.c | 79 struct acpi_dev_pt_ops *ops = &pt_acpi_dev; in is_hid_tpm2_device() local 90 ret = get_more_acpi_dev_info(hid, uid, ops); in is_hid_tpm2_device() 94 return (strstr(ops->modalias, "MSFT0101") != NULL); in is_hid_tpm2_device()
|
| /devicemodel/hw/ |
| A D | block_if.c | 160 const struct blockif_ops *ops; member 1582 bc->ops = &blockif_ops_iou; in blockif_open() 1622 if (bc->ops->init) { in blockif_open() 1681 if (bc->ops->mutex_lock) { in blockif_request() 1682 bc->ops->mutex_lock(&bq->mtx); in blockif_request() 1690 if (bc->ops->request) { in blockif_request() 1691 bc->ops->request(bq); in blockif_request() 1703 if (bc->ops->mutex_unlock) { in blockif_request() 1704 bc->ops->mutex_unlock(&bq->mtx); in blockif_request() 1833 if (bc->ops->deinit) { in blockif_close() [all …]
|
| /devicemodel/include/ |
| A D | monitor.h | 31 int monitor_register_vm_ops(struct monitor_vm_ops *ops, void *arg,
|
| A D | mmio_dev.h | 31 int get_more_acpi_dev_info(char *hid, uint32_t instance, struct acpi_dev_pt_ops *ops);
|
Completed in 17 milliseconds