/xen-4.10.0-shim-comet/xen/drivers/char/ |
A D | serial.c | 36 port->driver->start_tx(port); in serial_start_tx() 42 port->driver->stop_tx(port); in serial_stop_tx() 53 if ( port->driver->getc(port, &c) ) in serial_rx_interrupt() 90 if ( port->txbufc == port->txbufp ) in serial_tx_interrupt() 107 port, port->txbuf[mask_serial_txbuf_idx(port->txbufc++)]); in serial_tx_interrupt() 110 port->driver->flush(port); in serial_tx_interrupt() 166 port->driver->putc(port, c); in __serial_putc() 185 port->driver->putc(port, c); in __serial_putc() 192 port->driver->putc(port, c); in __serial_putc() 221 port->driver->flush(port); in serial_putc() [all …]
|
A D | cadence-uart.c | 45 struct serial_port *port = data; in cuart_interrupt() local 46 struct cuart *uart = port->uart; in cuart_interrupt() 54 serial_rx_interrupt(port, regs); in cuart_interrupt() 62 struct cuart *uart = port->uart; in cuart_init_preirq() 72 struct cuart *uart = port->uart; in cuart_init_postirq() 79 uart->irqaction.dev_id = port; in cuart_init_postirq() 105 struct cuart *uart = port->uart; in cuart_tx_ready() 113 struct cuart *uart = port->uart; in cuart_putc() 120 struct cuart *uart = port->uart; in cuart_getc() 131 struct cuart *uart = port->uart; in cuart_irq() [all …]
|
A D | scif-uart.c | 51 struct serial_port *port = data; in scif_uart_interrupt() local 52 struct scif_uart *uart = port->uart; in scif_uart_interrupt() 87 struct scif_uart *uart = port->uart; in scif_uart_init_preirq() 117 struct scif_uart *uart = port->uart; in scif_uart_init_postirq() 122 uart->irqaction.dev_id = port; in scif_uart_init_postirq() 151 struct scif_uart *uart = port->uart; in scif_uart_tx_ready() 167 struct scif_uart *uart = port->uart; in scif_uart_putc() 177 struct scif_uart *uart = port->uart; in scif_uart_getc() 195 struct scif_uart *uart = port->uart; in scif_uart_irq() 202 struct scif_uart *uart = port->uart; in scif_vuart_info() [all …]
|
A D | pl011.c | 65 struct serial_port *port = data; in pl011_interrupt() local 66 struct pl011 *uart = port->uart; in pl011_interrupt() 93 struct pl011 *uart = port->uart; in pl011_init_preirq() 128 struct pl011 *uart = port->uart; in pl011_init_postirq() 159 struct pl011 *uart = port->uart; in pl011_tx_ready() 166 struct pl011 *uart = port->uart; in pl011_putc() 173 struct pl011 *uart = port->uart; in pl011_getc() 184 struct pl011 *uart = port->uart; in pl011_irq() 191 struct pl011 *uart = port->uart; in pl011_vuart() 198 struct pl011 *uart = port->uart; in pl011_tx_stop() [all …]
|
A D | exynos4210-uart.c | 50 struct serial_port *port = data; in exynos4210_uart_interrupt() local 51 struct exynos4210_uart *uart = port->uart; in exynos4210_uart_interrupt() 84 serial_rx_interrupt(port, regs); in exynos4210_uart_interrupt() 92 serial_tx_interrupt(port, regs); in exynos4210_uart_interrupt() 103 struct exynos4210_uart *uart = port->uart; in exynos4210_uart_init_preirq() 192 struct exynos4210_uart *uart = port->uart; in exynos4210_uart_init_postirq() 197 uart->irqaction.dev_id = port; in exynos4210_uart_init_postirq() 225 struct exynos4210_uart *uart = port->uart; in exynos4210_uart_tx_ready() 247 struct exynos4210_uart *uart = port->uart; in exynos4210_uart_putc() 254 struct exynos4210_uart *uart = port->uart; in exynos4210_uart_getc() [all …]
|
A D | omap-uart.c | 64 struct serial_port *port = data; in omap_uart_interrupt() local 65 struct omap_uart *uart = port->uart; in omap_uart_interrupt() 77 if ( port->txbufc == port->txbufp ) { in omap_uart_interrupt() 196 struct omap_uart *uart = port->uart; in omap_uart_init_preirq() 228 struct omap_uart *uart = port->uart; in omap_uart_init_postirq() 232 uart->irqaction.dev_id = port; in omap_uart_init_postirq() 257 struct omap_uart *uart = port->uart; in omap_uart_tx_ready() 277 struct omap_uart *uart = port->uart; in omap_uart_putc() 284 struct omap_uart *uart = port->uart; in omap_uart_getc() 295 struct omap_uart *uart = port->uart; in omap_uart_irq() [all …]
|
/xen-4.10.0-shim-comet/xen/common/ |
A D | event_2l.c | 19 unsigned int port = evtchn->port; in evtchn_2l_set_pending() local 31 if ( !test_bit (port, &shared_info(d, evtchn_mask)) && in evtchn_2l_set_pending() 32 !test_and_set_bit(port / BITS_PER_EVTCHN_WORD(d), in evtchn_2l_set_pending() 38 evtchn_check_pollers(d, port); in evtchn_2l_set_pending() 43 clear_bit(evtchn->port, &shared_info(d, evtchn_pending)); in evtchn_2l_clear_pending() 49 unsigned int port = evtchn->port; in evtchn_2l_unmask() local 57 !test_and_set_bit (port / BITS_PER_EVTCHN_WORD(d), in evtchn_2l_unmask() 68 ASSERT(port < max_ports); in evtchn_2l_is_pending() 69 return port < max_ports && test_bit(port, &shared_info(d, evtchn_pending)); in evtchn_2l_is_pending() 76 ASSERT(port < max_ports); in evtchn_2l_is_masked() [all …]
|
A D | event_channel.c | 140 chn[i].port = port + i; in alloc_evtchn_bucket() 201 for ( port = 0; port <= d->max_evtchn_port; port++ ) in get_free_port() 258 alloc->port = port; in evtchn_alloc_unbound() 412 v->virq_to_evtchn[virq] = bind->port = port; in evtchn_bind_virq() 447 bind->port = port; in evtchn_bind_ipi() 530 bind->port = port; in evtchn_bind_pirq() 738 int port; in send_guest_vcpu_virq() local 873 int port = status->port; in evtchn_status() local 1037 unsigned int port = set_priority->port; in evtchn_set_priority() local 1375 for ( port = v->pirq_evtchn_head; port; port = chn->u.pirq.next_port ) in evtchn_move_pirqs() [all …]
|
A D | event_fifo.c | 84 d->domain_id, evtchn->port); in lock_old_queue() 155 unsigned int port; in evtchn_fifo_set_pending() local 160 port = evtchn->port; in evtchn_fifo_set_pending() 219 if ( old_q->tail == port ) in evtchn_fifo_set_pending() 249 q->tail = port; in evtchn_fifo_set_pending() 260 evtchn_check_pollers(d, port); in evtchn_fifo_set_pending() 480 unsigned int port; in setup_ports() local 488 for ( port = 1; port < d->max_evtchns; port++ ) in setup_ports() 492 if ( !port_is_valid(d, port) ) in setup_ports() 598 for ( ; port < d->evtchn_fifo->num_evtchns; port++ ) in add_page_to_event_array() [all …]
|
/xen-4.10.0-shim-comet/tools/libs/evtchn/ |
A D | minios.c | 52 port_info->port = -1; in port_alloc() 123 mask_evtchn(port); in evtchn_handler() 125 if (port_info->port == port) in evtchn_handler() 142 evtchn_port_t port; in xenevtchn_bind_unbound_port() local 159 port_info->port = port; in xenevtchn_bind_unbound_port() 161 return port; in xenevtchn_bind_unbound_port() 198 if (port_info->port == port) { in xenevtchn_unbind() 222 if (port < 0) { in xenevtchn_bind_virq() 224 errno = -port; in xenevtchn_bind_virq() 228 port_info->port = port; in xenevtchn_bind_virq() [all …]
|
A D | freebsd.c | 62 int xenevtchn_notify(xenevtchn_handle *xce, evtchn_port_t port) in xenevtchn_notify() argument 67 notify.port = port; in xenevtchn_notify() 80 return ( ret == 0 ) ? bind.port : ret; in xenevtchn_bind_unbound_port() 93 return ( ret == 0 ) ? bind.port : ret; in xenevtchn_bind_interdomain() 104 return ( ret == 0 ) ? bind.port : ret; in xenevtchn_bind_virq() 107 int xenevtchn_unbind(xenevtchn_handle *xce, evtchn_port_t port) in xenevtchn_unbind() argument 112 unbind.port = port; in xenevtchn_unbind() 120 evtchn_port_t port; in xenevtchn_pending() local 122 if ( read(fd, &port, sizeof(port)) != sizeof(port) ) in xenevtchn_pending() 125 return port; in xenevtchn_pending() [all …]
|
A D | netbsd.c | 62 int xenevtchn_notify(xenevtchn_handle *xce, evtchn_port_t port) in xenevtchn_notify() argument 67 notify.port = port; in xenevtchn_notify() 82 return bind.port; in xenevtchn_bind_unbound_port() 99 return bind.port; in xenevtchn_bind_interdomain() 104 int xenevtchn_unbind(xenevtchn_handle *xce, evtchn_port_t port) in xenevtchn_unbind() argument 109 unbind.port = port; in xenevtchn_unbind() 126 return bind.port; in xenevtchn_bind_virq() 132 evtchn_port_t port; in xenevtchn_pending() local 134 if ( read_exact(fd, (char *)&port, sizeof(port)) == -1 ) in xenevtchn_pending() 137 return port; in xenevtchn_pending() [all …]
|
A D | linux.c | 66 int xenevtchn_notify(xenevtchn_handle *xce, evtchn_port_t port) in xenevtchn_notify() argument 71 notify.port = port; in xenevtchn_notify() 111 int xenevtchn_unbind(xenevtchn_handle *xce, evtchn_port_t port) in xenevtchn_unbind() argument 116 unbind.port = port; in xenevtchn_unbind() 124 evtchn_port_t port; in xenevtchn_pending() local 126 if ( read(fd, &port, sizeof(port)) != sizeof(port) ) in xenevtchn_pending() 129 return port; in xenevtchn_pending() 132 int xenevtchn_unmask(xenevtchn_handle *xce, evtchn_port_t port) in xenevtchn_unmask() argument 136 if ( write(fd, &port, sizeof(port)) != sizeof(port) ) in xenevtchn_unmask()
|
A D | solaris.c | 65 int xenevtchn_notify(xenevtchn_handle *xce, evtchn_port_t port) in xenevtchn_notify() argument 70 notify.port = port; in xenevtchn_notify() 107 int xenevtchn_unbind(xenevtchn_handle *xce, evtchn_port_t port) in xenevtchn_unbind() argument 112 unbind.port = port; in xenevtchn_unbind() 120 evtchn_port_t port; in xenevtchn_pending() local 122 if ( read_exact(fd, (char *)&port, sizeof(port)) == -1 ) in xenevtchn_pending() 125 return port; in xenevtchn_pending() 128 int xenevtchn_unmask(xenevtchn_handle *xce, evtchn_port_t port) in xenevtchn_unmask() argument 131 return write_exact(fd, (char *)&port, sizeof(port)); in xenevtchn_unmask()
|
/xen-4.10.0-shim-comet/tools/ocaml/libs/eventchn/ |
A D | xeneventchn_stubs.c | 68 CAMLparam2(xce, port); in stub_eventchn_notify() 82 CAMLlocal1(port); in stub_eventchn_bind_interdomain() 88 port = Val_int(rc); in stub_eventchn_bind_interdomain() 90 CAMLreturn(port); in stub_eventchn_bind_interdomain() 96 CAMLlocal1(port); in stub_eventchn_bind_dom_exc_virq() 102 port = Val_int(rc); in stub_eventchn_bind_dom_exc_virq() 104 CAMLreturn(port); in stub_eventchn_bind_dom_exc_virq() 109 CAMLparam2(xce, port); in stub_eventchn_unbind() 126 if (port == -1) in stub_eventchn_pending() 136 evtchn_port_t port; in stub_eventchn_unmask() local [all …]
|
/xen-4.10.0-shim-comet/xen/include/xen/ |
A D | event.h | 49 long evtchn_bind_vcpu(unsigned int port, unsigned int vcpu_id); 64 int evtchn_allocate_port(struct domain *d, unsigned int port); 67 int evtchn_unmask(unsigned int port); 74 struct vcpu *v, unsigned int port); 78 void free_xen_event_channel(struct domain *d, int port); 193 evtchn_port_t port) in evtchn_port_is_pending() argument 195 return d->evtchn_port_ops->is_pending(d, port); in evtchn_port_is_pending() 199 evtchn_port_t port) in evtchn_port_is_masked() argument 201 return d->evtchn_port_ops->is_masked(d, port); in evtchn_port_is_masked() 205 evtchn_port_t port) in evtchn_port_is_busy() argument [all …]
|
/xen-4.10.0-shim-comet/xen/arch/x86/pv/ |
A D | emul-priv-op.c | 177 return ioports_access_permitted(d, port, port + bytes - 1); in admin_io_okay() 229 case 1: return inb(port); in guest_io_read() 230 case 2: return inw(port); in guest_io_read() 231 case 4: return inl(port); in guest_io_read() 240 if ( (port == 0x42) || (port == 0x43) || (port == 0x61) ) in guest_io_read() 277 port += size; in guest_io_read() 313 if ( (start < (port + len)) && ((start + width) > port) ) in check_guest_io_breakpoint() 366 outl(data, port); in guest_io_write() 376 if ( (port == 0x42) || (port == 0x43) || (port == 0x61) ) in guest_io_write() 413 port += size; in guest_io_write() [all …]
|
A D | shim.c | 143 ASSERT(port_is_valid(d, port)); in evtchn_reserve() 150 ASSERT(port_is_valid(d, port)); in evtchn_handled() 158 ASSERT(port_is_valid(d, port)); in evtchn_assign_vcpu() 417 EVTCHN_FORWARD(alloc_unbound, port) in pv_shim_event_channel_op() 446 close.port = alloc.port; in pv_shim_event_channel_op() 466 if ( port_is_valid(d, status.port) && evtchn_handled(d, status.port) ) in pv_shim_event_channel_op() 519 evtchn_reserve(d, close.port); in pv_shim_event_channel_op() 540 close.port = ipi.port; in pv_shim_event_channel_op() 546 evtchn_reserve(d, ipi.port); in pv_shim_event_channel_op() 562 rc = evtchn_unmask(unmask.port); in pv_shim_event_channel_op() [all …]
|
/xen-4.10.0-shim-comet/xen/include/public/ |
A D | event_channel.h | 94 evtchn_port_t port; member 144 evtchn_port_t port; member 160 evtchn_port_t port; member 173 evtchn_port_t port; member 184 evtchn_port_t port; member 194 evtchn_port_t port; member 209 evtchn_port_t port; member 225 evtchn_port_t port; member 247 evtchn_port_t port; member 258 evtchn_port_t port; member [all …]
|
/xen-4.10.0-shim-comet/tools/xcutils/ |
A D | lsevtchn.c | 12 int domid, port, rc; in main() local 21 for ( port = 0; ; port++ ) in main() 24 status.port = port; in main() 32 printf("%4d: VCPU %u: ", port, status.vcpu); in main() 42 status.u.interdomain.dom, status.u.interdomain.port); in main()
|
/xen-4.10.0-shim-comet/tools/ocaml/xenstored/ |
A D | domain.ml | 29 mutable port: Xeneventchn.t option; RecordField 46 let get_port d = d.port 67 let notify dom = match dom.port with 69 warn "domain %d: attempt to notify on unknown port" dom.id 70 | Some port -> 71 Event.notify dom.eventchn port 75 …debug "bound domain %d remote port %d to local port %s" dom.id dom.remote_port (string_of_port dom… 79 debug "domain %d unbound port %s" dom.id (string_of_port dom.port); 80 begin match dom.port with 82 | Some port -> Event.unbind dom.eventchn port [all …]
|
/xen-4.10.0-shim-comet/tools/include/xen-sys/FreeBSD/ |
A D | evtchn.h | 42 unsigned int port; member 52 unsigned int port; member 62 unsigned int port; member 71 unsigned int port; member 80 unsigned int port; member
|
/xen-4.10.0-shim-comet/tools/include/xen-sys/NetBSD/ |
A D | evtchn.h | 41 unsigned int port; member 51 unsigned int port; member 61 unsigned int port; member 70 unsigned int port; member 79 unsigned int port; member
|
/xen-4.10.0-shim-comet/tools/include/xen-sys/NetBSDRump/ |
A D | evtchn.h | 41 unsigned int port; member 51 unsigned int port; member 61 unsigned int port; member 70 unsigned int port; member 79 unsigned int port; member
|
/xen-4.10.0-shim-comet/tools/libxc/ |
A D | xc_evtchn_compat.c | 27 int xc_evtchn_notify(xc_evtchn *xce, evtchn_port_t port) in xc_evtchn_notify() argument 29 return xenevtchn_notify(xce, port); in xc_evtchn_notify() 51 int xc_evtchn_unbind(xc_evtchn *xce, evtchn_port_t port) in xc_evtchn_unbind() argument 53 return xenevtchn_unbind(xce, port); in xc_evtchn_unbind() 62 int xc_evtchn_unmask(xc_evtchn *xce, evtchn_port_t port) in xc_evtchn_unmask() argument 64 return xenevtchn_unmask(xce, port); in xc_evtchn_unmask()
|