| /devicemodel/core/ |
| A D | inout.c | 49 default_inout(struct vmctx *ctx, int vcpu, int in, int port, int bytes, in default_inout() argument 53 switch (bytes) { in default_inout() 92 int bytes, flags, in, port; in emulate_inout() local 97 bytes = pio_request->size; in emulate_inout() 101 if ((port + bytes - 1 >= MAX_IOPORTS) || in emulate_inout() 102 ((bytes != 1) && (bytes != 2) && (bytes != 4))) in emulate_inout() 116 retval = handler(ctx, *pvcpu, in, port, bytes, in emulate_inout()
|
| A D | post.c | 33 post_data_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, in post_data_handler() argument 36 if ((in != 1) || (bytes != 1)) in post_data_handler()
|
| A D | mptbl.c | 86 uint8_t *bytes; in mpt_compute_checksum() local 89 for (bytes = base, sum = 0; len > 0; len--) in mpt_compute_checksum() 90 sum += *bytes++; in mpt_compute_checksum()
|
| A D | main.c | 377 int bytes, port, in; in vmexit_inout() local 380 bytes = io_req->reqs.pio_request.size; in vmexit_inout() 387 bytes == 1 ? 'b' : (bytes == 2 ? 'w' : 'l'), in vmexit_inout()
|
| /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 63 if (bytes != 1) in reset_handler() 169 pm1_status_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, in pm1_status_handler() argument 172 if (bytes != 2) in pm1_status_handler() 202 pm1_enable_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, in pm1_enable_handler() argument 205 if (bytes != 2) in pm1_enable_handler() 255 pm1_control_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, in pm1_control_handler() argument 258 if (bytes != 2) in pm1_control_handler() 297 smi_cmd_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, in smi_cmd_handler() argument 300 if (in || (bytes != 1)) in smi_cmd_handler()
|
| /devicemodel/hw/pci/ |
| A D | core.c | 198 if (bytes == 1) in CFGWRITE() 200 else if (bytes == 2) in CFGWRITE() 209 if (bytes == 1) in CFGREAD() 211 else if (bytes == 2) in CFGREAD() 516 bytes, bar_value(bytes, *eax)); in pci_emul_io_handler() 1283 int bytes, uint32_t val) in msixcap_cfgwrite() argument 1308 int bytes, uint32_t val) in msicap_cfgwrite() argument 1356 int bytes, uint32_t val) in pciecap_cfgwrite() argument 1417 bytes = 2; in pci_emul_capwrite() 2292 switch (bytes) { in pci_emul_hdrtype_fixup() [all …]
|
| A D | wdt_i6300esb.c | 202 int offset, int bytes, uint32_t *rv) in pci_wdt_cfg_read() argument 206 DPRINTF("%s: offset = %x, len = %d\n", __func__, offset, bytes); in pci_wdt_cfg_read() 208 if (offset == ESB_LOCK_REG && bytes == 1) { in pci_wdt_cfg_read() 220 int offset, int bytes, uint32_t val) in pci_wdt_cfg_write() argument 226 __func__, offset, bytes, val); in pci_wdt_cfg_write() 228 if (offset == ESB_CONFIG_REG && bytes == 2) { in pci_wdt_cfg_write() 233 } else if (offset == ESB_LOCK_REG && bytes == 1) { in pci_wdt_cfg_write()
|
| 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 161 switch (bytes) { in lpc_uart_io_handler() 389 int coff, int bytes, uint32_t val) in pci_lpc_cfgwrite() argument 393 if (bytes == 1) { in pci_lpc_cfgwrite()
|
| A D | passthrough.c | 1061 int coff, int bytes, uint32_t *rv) in passthru_cfgread() argument 1070 *rv = read_config(ptdev->phys_dev, coff, bytes); in passthru_cfgread() 1077 int coff, int bytes, uint32_t val) in passthru_cfgwrite() argument 1105 write_config(ptdev->phys_dev, coff, bytes, val); in passthru_cfgwrite()
|
| /devicemodel/include/ |
| A D | rtc.h | 52 int bytes, uint32_t *eax, void *arg); 54 int bytes, uint32_t *eax, void *arg);
|
| A D | pci_core.h | 81 int bytes, uint32_t val); 84 int bytes, uint32_t *retval); 313 int bytes, uint32_t val); 315 int bytes, uint32_t val); 395 int slot, int func, int reg, int bytes, int *value);
|
| A D | vga.h | 189 int vga_port_in_handler(struct vmctx *ctx, int in, int port, int bytes, 191 int vga_port_out_handler(struct vmctx *ctx, int in, int port, int bytes,
|
| A D | inout.h | 40 int bytes, uint32_t *eax, void *arg);
|
| /devicemodel/hw/platform/ |
| 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 55 __func__, port, in, bytes, (uint8_t)*eax, next_ops); in cmos_io_handler()
|
| A D | atkbdc.c | 203 atkbdc_data_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, in atkbdc_data_handler() argument 210 if (bytes != 1) in atkbdc_data_handler() 291 int bytes, uint32_t *eax, void *arg) in atkbdc_sts_ctl_handler() argument 296 if (bytes != 1) in atkbdc_sts_ctl_handler()
|
| A D | debugexit.c | 40 debugexit_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, in debugexit_handler() argument
|
| A D | pit.c | 514 vpit_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, in vpit_handler() argument 522 if (bytes != 1) { in vpit_handler() 523 pr_err("vpit invalid operation size: %d bytes", bytes); in vpit_handler() 627 vpit_nmisc_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, in vpit_nmisc_handler() argument
|
| A D | rtc.c | 898 int bytes, uint32_t *eax, void *arg) in vrtc_addr_handler() argument 902 if (bytes != 1) in vrtc_addr_handler() 925 int bytes, uint32_t *eax, void *arg) in vrtc_data_handler() argument 935 if (bytes != 1) in vrtc_data_handler()
|
| A D | ioc_cbc.c | 56 cbc_ring_skips(struct cbc_ring *ring, size_t bytes) in cbc_ring_skips() argument 58 ring->head = (ring->head + bytes) & (CBC_RING_BUFFER_SIZE - 1); in cbc_ring_skips()
|
| /devicemodel/hw/platform/tpm/ |
| A D | tpm_crb.c | 146 uint8_t bytes[TPM_CRB_REG_SIZE]; member 210 val = mmio_read(&tpm_vdev->crb_regs.regs.bytes[off], size); in crb_reg_read()
|
| /devicemodel/hw/pci/virtio/ |
| A D | virtio_coreu.c | 86 uint8_t bytes[COREU_MSG_SIZE]; member
|
| A D | virtio_gpu.c | 942 int i, done, bytes, total; in virtio_gpu_cmd_transfer_to_host_2d() local 993 bytes = ((total - done) < (r2d->iov[i].iov_len - src_offset)) ? in virtio_gpu_cmd_transfer_to_host_2d() 995 memcpy((dst + done), src, bytes); in virtio_gpu_cmd_transfer_to_host_2d() 997 done += bytes; in virtio_gpu_cmd_transfer_to_host_2d()
|
| A D | virtio_mei.c | 213 const unsigned char *bytes = data; in vmei_dbg_print_hex() local 228 fprintf(dbg_file, "%02x ", bytes[i]); in vmei_dbg_print_hex()
|
| /devicemodel/hw/ |
| A D | vga.c | 735 vga_port_in_handler(struct vmctx *ctx, int in, int port, int bytes, in vga_port_in_handler() argument 961 vga_port_out_handler(struct vmctx *ctx, int in, int port, int bytes, in vga_port_out_handler() argument 1236 vga_port_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, in vga_port_handler() argument 1242 switch (bytes) { in vga_port_handler()
|