Searched refs:ioport (Results 1 – 8 of 8) sorted by relevance
/illumos-gate/usr/src/cmd/bhyve/common/ |
H A D | pctestdev.c | 93 struct inout_port debugexit, ioport, irq; in pctestdev_init() local 131 ioport.name = IOPORT_NAME; in pctestdev_init() 132 ioport.port = IOPORT_BASE; in pctestdev_init() 133 ioport.size = IOPORT_LEN; in pctestdev_init() 134 ioport.flags = IOPORT_F_INOUT; in pctestdev_init() 135 ioport.handler = pctestdev_ioport_io; in pctestdev_init() 136 ioport.arg = NULL; in pctestdev_init() 149 err = register_inout(&ioport); in pctestdev_init() 169 (void)unregister_inout(&ioport); in pctestdev_init()
|
H A D | pci_virtio_viona.c | 945 uint64_t ioport; in pci_viona_baraddr() local 963 ioport = address + VIRTIO_PCI_QUEUE_NOTIFY; in pci_viona_baraddr() 964 error = ioctl(sc->vsc_vnafd, VNA_IOC_SET_NOTIFY_IOP, ioport); in pci_viona_baraddr() 967 ioport, errno); in pci_viona_baraddr()
|
/illumos-gate/usr/src/uts/intel/io/vmm/io/ |
H A D | vpmtmr.c | 115 vpmtmr_set_location(struct vm *vm, uint16_t ioport) in vpmtmr_set_location() argument 121 if (vpmtmr->io_port == ioport) { in vpmtmr_set_location() 129 err = vm_ioport_attach(vm, ioport, vpmtmr_handler, vpmtmr, in vpmtmr_set_location() 132 vpmtmr->io_port = ioport; in vpmtmr_set_location()
|
/illumos-gate/usr/src/uts/sun4u/tazmo/io/ |
H A D | envctrl.c | 1527 struct envctrl_pcf8574_chip *ioport; in envctrl_xmit() local 1597 ioport = (struct envctrl_pcf8574_chip *)data; in envctrl_xmit() 1598 buf[0] = ioport->val; in envctrl_xmit() 1599 if (ioport->chip_num > ENVCTRL_PCF8574_DEV7) in envctrl_xmit() 1603 if (ioport->type == PCF8574A) { in envctrl_xmit() 1604 slave_addr = (PCF8574A_BASE_ADDR | ioport->chip_num); in envctrl_xmit() 1607 PCF8574A_BASE_ADDR | ioport->chip_num, buf, 1); in envctrl_xmit() 1609 slave_addr = (PCF8574_BASE_ADDR | ioport->chip_num); in envctrl_xmit() 1611 PCF8574_BASE_ADDR | ioport->chip_num, buf, 1); in envctrl_xmit() 1629 ioport->chip_num, ioport->type); in envctrl_xmit() [all …]
|
/illumos-gate/usr/src/uts/intel/io/viona/ |
H A D | viona_main.c | 1240 viona_ioc_set_notify_ioport(viona_link_t *link, uint16_t ioport) in viona_ioc_set_notify_ioport() argument 1249 if (ioport != 0) { in viona_ioc_set_notify_ioport() 1250 err = vmm_drv_ioport_hook(link->l_vm_hold, ioport, in viona_ioc_set_notify_ioport() 1253 link->l_notify_ioport = ioport; in viona_ioc_set_notify_ioport()
|
/illumos-gate/usr/src/lib/libvmmapi/common/ |
H A D | vmmapi.h | 346 int vm_pmtmr_set_location(struct vmctx *ctx, uint16_t ioport);
|
H A D | vmmapi.c | 2198 vm_pmtmr_set_location(struct vmctx *ctx, uint16_t ioport) in vm_pmtmr_set_location() argument 2200 return (ioctl(ctx->fd, VM_PMTMR_LOCATE, ioport)); in vm_pmtmr_set_location()
|
/illumos-gate/usr/src/uts/intel/io/vmm/ |
H A D | vmm_sol_dev.c | 2499 vmm_drv_ioport_hook(vmm_hold_t *hold, uint16_t ioport, vmm_drv_iop_cb_t func, in vmm_drv_ioport_hook() argument 2523 err = vm_ioport_hook(sc->vmm_vm, ioport, (ioport_handler_t)func, in vmm_drv_ioport_hook()
|