| /devicemodel/arch/x86/ |
| A D | pm.c | 58 reset_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, in reset_handler() argument 169 pm1_status_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, in pm1_status_handler() argument 202 pm1_enable_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, in pm1_enable_handler() argument 255 pm1_control_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, in pm1_control_handler() argument 297 smi_cmd_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, in smi_cmd_handler() argument
|
| /devicemodel/include/ |
| A D | vga.h | 193 void vga_ioport_write(struct vmctx *ctx, int vcpu, struct vga *vga, 195 uint64_t vga_ioport_read(struct vmctx *ctx, int vcpu, struct vga *vga, 197 void vga_vbe_write(struct vmctx *ctx, int vcpu, struct vga *vga, 199 uint64_t vga_vbe_read(struct vmctx *ctx, int vcpu, struct vga *vga,
|
| A D | rtc.h | 51 int vrtc_addr_handler(struct vmctx *ctx, int vcpu, int in, int port, 53 int vrtc_data_handler(struct vmctx *ctx, int vcpu, int in, int port,
|
| A D | pci_core.h | 79 int (*vdev_cfgwrite)(struct vmctx *ctx, int vcpu, 82 int (*vdev_cfgread)(struct vmctx *ctx, int vcpu, 87 void (*vdev_barwrite)(struct vmctx *ctx, int vcpu, 90 uint64_t (*vdev_barread)(struct vmctx *ctx, int vcpu, 394 int emulate_pci_cfgrw(struct vmctx *ctx, int vcpu, int in, int bus,
|
| A D | mem.h | 36 typedef int (*mem_func_t)(struct vmctx *ctx, int vcpu, int dir, uint64_t addr,
|
| A D | inout.h | 39 typedef int (*inout_func_t)(struct vmctx *ctx, int vcpu, int in, int port,
|
| A D | virtio.h | 706 uint64_t virtio_pci_read(struct vmctx *ctx, int vcpu, struct pci_vdev *dev, 723 void virtio_pci_write(struct vmctx *ctx, int vcpu, struct pci_vdev *dev,
|
| /devicemodel/core/ |
| A D | mem.c | 131 mem_read(void *ctx, int vcpu, uint64_t gpa, uint64_t *rval, int size, void *arg) in mem_read() argument 136 error = (*mr->handler)(ctx, vcpu, MEM_F_READ, gpa, size, in mem_read() 142 mem_write(void *ctx, int vcpu, uint64_t gpa, uint64_t wval, int size, void *arg) in mem_write() argument 147 error = (*mr->handler)(ctx, vcpu, MEM_F_WRITE, gpa, size, in mem_write()
|
| A D | main.c | 85 struct acrn_io_request *, int *vcpu); 314 int vcpu; in start_thread() local 317 vcpu = mtp->mt_vcpu; in start_thread() 319 snprintf(tname, sizeof(tname), "vcpu %d", vcpu); in start_thread() 350 delete_cpu(struct vmctx *ctx, int vcpu) in delete_cpu() argument 352 if (!CPU_ISSET(vcpu, &cpumask)) { in delete_cpu() 353 pr_err("Attempting to delete unknown cpu %d\n", vcpu); in delete_cpu() 360 CPU_CLR_ATOMIC(vcpu, &cpumask); in delete_cpu() 469 handle_vmexit(struct vmctx *ctx, struct acrn_io_request *io_req, int vcpu) in handle_vmexit() argument 480 (*handler[exitcode])(ctx, io_req, &vcpu); in handle_vmexit() [all …]
|
| A D | post.c | 33 post_data_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, in post_data_handler() argument
|
| A D | vmmapi.c | 266 vm_notify_request_done(struct vmctx *ctx, int vcpu) in vm_notify_request_done() argument 273 notify.vcpu = vcpu; in vm_notify_request_done()
|
| A D | inout.c | 49 default_inout(struct vmctx *ctx, int vcpu, int in, int port, int bytes, in default_inout() argument
|
| /devicemodel/hw/pci/ |
| A D | wdt_i6300esb.c | 201 pci_wdt_cfg_read(struct vmctx *ctx, int vcpu, struct pci_vdev *dev, in pci_wdt_cfg_read() argument 219 pci_wdt_cfg_write(struct vmctx *ctx, int vcpu, struct pci_vdev *dev, in pci_wdt_cfg_write() argument 253 pci_wdt_bar_write(struct vmctx *ctx, int vcpu, struct pci_vdev *dev, in pci_wdt_bar_write() argument 304 pci_wdt_bar_read(struct vmctx *ctx, int vcpu, struct pci_vdev *dev, in pci_wdt_bar_read() argument
|
| A D | core.c | 511 *eax = (*ops->vdev_barread)(ctx, vcpu, pdi, i, in pci_emul_io_handler() 515 (*ops->vdev_barwrite)(ctx, vcpu, pdi, i, offset, in pci_emul_io_handler() 541 (*ops->vdev_barwrite)(ctx, vcpu, pdi, bidx, offset, in pci_emul_mem_handler() 543 (*ops->vdev_barwrite)(ctx, vcpu, pdi, bidx, offset + 4, in pci_emul_mem_handler() 546 (*ops->vdev_barwrite)(ctx, vcpu, pdi, bidx, offset, in pci_emul_mem_handler() 553 val_lo = (*ops->vdev_barread)(ctx, vcpu, pdi, bidx, in pci_emul_mem_handler() 557 val_hi = (*ops->vdev_barread)(ctx, vcpu, pdi, bidx, in pci_emul_mem_handler() 562 *val = (*ops->vdev_barread)(ctx, vcpu, pdi, bidx, in pci_emul_mem_handler() 2440 needcfg = ops->vdev_cfgread(ctx, vcpu, dev, coff, bytes, in pci_cfgrw() 2453 (*ops->vdev_cfgwrite)(ctx, vcpu, dev, in pci_cfgrw() [all …]
|
| A D | gvt.c | 73 pci_gvt_write(struct vmctx *ctx, int vcpu, struct pci_vdev *pi, in pci_gvt_write() argument 79 __func__, vcpu, baridx, offset, size, value)); in pci_gvt_write() 83 pci_gvt_read(struct vmctx *ctx, int vcpu, struct pci_vdev *pi, in pci_gvt_read() argument 88 __func__, vcpu, baridx, offset, size)); in pci_gvt_read()
|
| A D | lpc.c | 153 lpc_uart_io_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, in lpc_uart_io_handler() argument 388 pci_lpc_cfgwrite(struct vmctx *ctx, int vcpu, struct pci_vdev *pi, in pci_lpc_cfgwrite() argument 409 pci_lpc_write(struct vmctx *ctx, int vcpu, struct pci_vdev *pi, in pci_lpc_write() argument 415 pci_lpc_read(struct vmctx *ctx, int vcpu, struct pci_vdev *pi, in pci_lpc_read() argument
|
| A D | uart.c | 68 pci_uart_write(struct vmctx *ctx, int vcpu, struct pci_vdev *dev, in pci_uart_write() argument 76 pci_uart_read(struct vmctx *ctx, int vcpu, struct pci_vdev *dev, in pci_uart_read() argument
|
| A D | npk.c | 335 static void pci_npk_write(struct vmctx *ctx, int vcpu, struct pci_vdev *dev, in pci_npk_write() argument 351 static uint64_t pci_npk_read(struct vmctx *ctx, int vcpu, struct pci_vdev *dev, in pci_npk_read() argument
|
| A D | ivshmem.c | 175 pci_ivshmem_write(struct vmctx *ctx, int vcpu, struct pci_vdev *dev, in pci_ivshmem_write() argument 203 pci_ivshmem_read(struct vmctx *ctx, int vcpu, struct pci_vdev *dev, in pci_ivshmem_read() argument
|
| /devicemodel/hw/pci/virtio/ |
| A D | virtio.c | 895 virtio_pci_legacy_read(struct vmctx *ctx, int vcpu, struct pci_vdev *dev, in virtio_pci_legacy_read() argument 1035 virtio_pci_legacy_write(struct vmctx *ctx, int vcpu, struct pci_vdev *dev, in virtio_pci_legacy_write() argument 1852 virtio_pci_modern_pio_read(struct vmctx *ctx, int vcpu, struct pci_vdev *dev, in virtio_pci_modern_pio_read() argument 1922 virtio_pci_read(struct vmctx *ctx, int vcpu, struct pci_vdev *dev, in virtio_pci_read() argument 1935 return virtio_pci_legacy_read(ctx, vcpu, dev, baridx, in virtio_pci_read() 1939 return virtio_pci_modern_mmio_read(ctx, vcpu, dev, baridx, in virtio_pci_read() 1943 return virtio_pci_modern_pio_read(ctx, vcpu, dev, baridx, in virtio_pci_read() 1966 virtio_pci_write(struct vmctx *ctx, int vcpu, struct pci_vdev *dev, in virtio_pci_write() argument 1980 virtio_pci_legacy_write(ctx, vcpu, dev, baridx, in virtio_pci_write() 1986 virtio_pci_modern_mmio_write(ctx, vcpu, dev, baridx, in virtio_pci_write() [all …]
|
| A D | virtio_gpu.c | 1975 virtio_gpu_write(struct vmctx *ctx, int vcpu, struct pci_vdev *dev, in virtio_gpu_write() argument 1990 vga_ioport_write(ctx, vcpu, &gpu->vga, offset, size, in virtio_gpu_write() 1996 vga_vbe_write(ctx, vcpu, &gpu->vga, offset, size, value); in virtio_gpu_write() 2024 virtio_pci_write(ctx, vcpu, dev, baridx, offset, size, in virtio_gpu_write() 2028 virtio_pci_write(ctx, vcpu, dev, baridx, offset, size, value); in virtio_gpu_write() 2033 virtio_gpu_read(struct vmctx *ctx, int vcpu, struct pci_vdev *dev, in virtio_gpu_read() argument 2044 return virtio_gpu_edid_read(ctx, vcpu, dev, offset, size); in virtio_gpu_read() 2049 return vga_ioport_read(ctx, vcpu, &gpu->vga, offset, size); in virtio_gpu_read() 2054 return vga_vbe_read(ctx, vcpu, &gpu->vga, offset, size); in virtio_gpu_read() 2071 return virtio_pci_read(ctx, vcpu, dev, baridx, offset, in virtio_gpu_read() [all …]
|
| /devicemodel/hw/platform/ |
| A D | debugexit.c | 40 debugexit_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, in debugexit_handler() argument
|
| A D | cmos_io.c | 43 cmos_io_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, in cmos_io_handler() argument
|
| A D | atkbdc.c | 203 atkbdc_data_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, in atkbdc_data_handler() argument 290 atkbdc_sts_ctl_handler(struct vmctx *ctx, int vcpu, int in, int port, in atkbdc_sts_ctl_handler() argument
|
| /devicemodel/include/public/ |
| A D | hsm_ioctl_defs.h | 228 __u32 vcpu; member
|