Home
last modified time | relevance | path

Searched refs:bytes (Results 1 – 24 of 24) sorted by relevance

/devicemodel/core/
A Dinout.c49 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 Dpost.c33 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 Dmptbl.c86 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 Dmain.c377 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 Dpm.c58 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 Dcore.c198 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 Dwdt_i6300esb.c202 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 Dlpc.c153 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 Dpassthrough.c1061 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 Drtc.h52 int bytes, uint32_t *eax, void *arg);
54 int bytes, uint32_t *eax, void *arg);
A Dpci_core.h81 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 Dvga.h189 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 Dinout.h40 int bytes, uint32_t *eax, void *arg);
/devicemodel/hw/platform/
A Dcmos_io.c43 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 Datkbdc.c203 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 Ddebugexit.c40 debugexit_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, in debugexit_handler() argument
A Dpit.c514 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 Drtc.c898 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 Dioc_cbc.c56 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 Dtpm_crb.c146 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 Dvirtio_coreu.c86 uint8_t bytes[COREU_MSG_SIZE]; member
A Dvirtio_gpu.c942 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 Dvirtio_mei.c213 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 Dvga.c735 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()

Completed in 829 milliseconds