Home
last modified time | relevance | path

Searched defs:port (Results 1 – 25 of 116) sorted by relevance

12345

/qemu/hw/net/rocker/
H A Drocker_fp.c44 char *fp_port_get_name(FpPort *port) in fp_port_get_name()
49 bool fp_port_get_link_up(FpPort *port) in fp_port_get_link_up()
54 RockerPort *fp_port_get_info(FpPort *port) in fp_port_get_info()
79 uint8_t fp_port_get_learning(FpPort *port) in fp_port_get_learning()
180 World *fp_port_get_world(FpPort *port) in fp_port_get_world()
196 bool fp_port_enabled(FpPort *port) in fp_port_enabled()
211 void fp_port_enable(FpPort *port) in fp_port_enable()
218 void fp_port_disable(FpPort *port) in fp_port_disable()
229 FpPort *port = g_new0(FpPort, 1); in fp_port_alloc() local
254 void fp_port_free(FpPort *port) in fp_port_free()
[all …]
H A Drocker.c156 uint32_t port; in tx_consume() local
270 uint32_t port; in cmd_get_port_settings() local
343 uint32_t port; in cmd_set_port_settings() local
534 uint32_t port; in rocker_event_mac_vlan_seen() local
691 uint32_t port; in rocker_port_eg() local
1010 FpPort *port = r->fp_port[i]; in rocker_port_phys_link_status() local
1025 FpPort *port = r->fp_port[i]; in rocker_port_phys_enable_read() local
1381 FpPort *port = in pci_rocker_realize() local
1415 FpPort *port = r->fp_port[i]; in pci_rocker_uninit() local
/qemu/net/
H A Dhub.c51 NetHubPort *port; in net_hub_receive() local
66 NetHubPort *port; in net_hub_receive_iov() local
95 NetHubPort *port; in net_hub_port_can_receive() local
115 NetHubPort *port = DO_UPCAST(NetHubPort, nc, nc); in net_hub_port_receive() local
148 NetHubPort *port; in net_hub_port_new() local
180 NetHubPort *port; in net_hub_add_port() local
202 NetHubPort *port; in net_hub_port_find() local
227 NetHubPort *port; in net_hub_info() local
250 NetHubPort *port; in net_hub_id_for_client() local
296 NetHubPort *port; in net_hub_check_clients() local
[all …]
/qemu/pc-bios/optionrom/
H A Doptrom.h38 static inline void outb(uint8_t value, uint16_t port) in outb()
43 static inline void outw(uint16_t value, uint16_t port) in outw()
48 static inline void outl(uint32_t value, uint16_t port) in outl()
53 static inline uint8_t inb(uint16_t port) in inb()
61 static inline uint16_t inw(uint16_t port) in inw()
69 static inline uint32_t inl(uint16_t port) in inl()
77 static inline void insb(uint16_t port, uint8_t *buf, uint32_t len) in insb()
/qemu/hw/char/
H A Dvirtio-serial-bus.c41 VirtIOSerialPort *port; in find_port_by_id() local
56 VirtIOSerialPort *port; in find_port_by_vq() local
70 VirtIOSerialPort *port; in find_port_by_name() local
83 VirtIOSerialPort *port; in find_first_connected_console() local
502 VirtIOSerialPort *port; in handle_output() local
532 VirtIOSerialPort *port; in handle_input() local
608 VirtIOSerialPort *port; in guest_reset() local
628 VirtIOSerialPort *port; in set_status() local
666 VirtIOSerialPort *port; in virtio_serial_save_device() local
719 VirtIOSerialPort *port; in virtio_serial_post_load_timer_cb() local
[all …]
H A Dvirtio-console.c52 static ssize_t flush_buf(VirtIOSerialPort *port, in flush_buf()
111 static void set_guest_connected(VirtIOSerialPort *port, int guest_connected) in set_guest_connected()
126 static void guest_writable(VirtIOSerialPort *port) in guest_writable()
145 VirtIOSerialPort *port = VIRTIO_SERIAL_PORT(vcon); in chr_read() local
154 VirtIOSerialPort *port = VIRTIO_SERIAL_PORT(vcon); in chr_event() local
179 VirtIOSerialPort *port = VIRTIO_SERIAL_PORT(vcon); in chr_be_change() local
200 static void virtconsole_enable_backend(VirtIOSerialPort *port, bool enable) in virtconsole_enable_backend()
222 VirtIOSerialPort *port = VIRTIO_SERIAL_PORT(dev); in virtconsole_realize() local
/qemu/hw/usb/
H A Ddev-hub.c40 USBPort port; member
230 USBHubPort *port = &s->ports[port1->index]; in usb_hub_attach() local
240 USBHubPort *port = &s->ports[port1->index]; in usb_hub_detach() local
265 USBHubPort *port = &s->ports[port1->index]; in usb_hub_wakeup() local
292 USBHubPort *port; in usb_hub_find_device() local
312 USBHubPort *port; in usb_hub_handle_reset() local
380 USBHubPort *port; in usb_hub_handle_control() local
404 USBHubPort *port; in usb_hub_handle_control() local
443 USBHubPort *port; in usb_hub_handle_control() local
531 USBHubPort *port; in usb_hub_handle_data() local
[all …]
H A Dxen-usb.c72 USBPort port; member
98 unsigned port; member
684 static void usbback_hotplug_enq(struct usbback_info *usbif, unsigned port) in usbback_hotplug_enq()
694 static void usbback_portid_drain(struct usbback_info *usbif, unsigned port) in usbback_portid_drain()
709 static void usbback_portid_detach(struct usbback_info *usbif, unsigned port) in usbback_portid_detach()
734 static void usbback_portid_add(struct usbback_info *usbif, unsigned port, in usbback_portid_add()
810 static void usbback_process_port(struct usbback_info *usbif, unsigned port) in usbback_process_port()
963 static void xen_bus_attach(USBPort *port) in xen_bus_attach()
973 static void xen_bus_detach(USBPort *port) in xen_bus_detach()
982 static void xen_bus_child_detach(USBPort *port, USBDevice *child) in xen_bus_child_detach()
[all …]
H A Dbus.c320 static void usb_fill_port(USBPort *port, void *opaque, int index, in usb_fill_port()
330 void usb_register_port(USBBus *bus, USBPort *port, void *opaque, int index, in usb_register_port()
384 void usb_unregister_port(USBBus *bus, USBPort *port) in usb_unregister_port()
396 USBPort *port; in usb_claim_port() local
442 USBPort *port = dev->port; in usb_release_port() local
486 USBPort *port = dev->port; in usb_check_attach() local
508 USBPort *port = dev->port; in usb_device_attach() local
524 USBPort *port = dev->port; in usb_device_detach() local
606 USBPort *port; in qmp_x_query_usb() local
H A Dhcd-uhci.c310 UHCIPort *port; in uhci_reset() local
403 UHCIPort *port; in uhci_port_write() local
455 UHCIPort *port; in uhci_port_write() local
514 UHCIPort *port; in uhci_port_read() local
553 UHCIPort *port = &s->ports[port1->index]; in uhci_attach() local
571 UHCIPort *port = &s->ports[port1->index]; in uhci_detach() local
599 UHCIPort *port = &s->ports[port1->index]; in uhci_wakeup() local
613 UHCIPort *port = &s->ports[i]; in uhci_find_device() local
867 static void uhci_async_complete(USBPort *port, USBPacket *packet) in uhci_async_complete()
H A Dcore.c31 void usb_pick_speed(USBPort *port) in usb_pick_speed()
51 void usb_attach(USBPort *port) in usb_attach()
64 void usb_detach(USBPort *port) in usb_detach()
74 void usb_port_reset(USBPort *port) in usb_port_reset()
356 USBDevice *usb_find_device(USBPort *port, uint8_t addr) in usb_find_device()
H A Dhost.h39 char *port; member
/qemu/target/i386/tcg/sysemu/
H A Dmisc_helper.c30 void helper_outb(CPUX86State *env, uint32_t port, uint32_t data) in helper_outb()
36 target_ulong helper_inb(CPUX86State *env, uint32_t port) in helper_inb()
42 void helper_outw(CPUX86State *env, uint32_t port, uint32_t data) in helper_outw()
48 target_ulong helper_inw(CPUX86State *env, uint32_t port) in helper_inw()
54 void helper_outl(CPUX86State *env, uint32_t port, uint32_t data) in helper_outl()
60 target_ulong helper_inl(CPUX86State *env, uint32_t port) in helper_inl()
/qemu/tests/qtest/libqos/
H A Dahci.c86 uint8_t port; member
118 bool is_atapi(AHCIQState *ahci, uint8_t port) in is_atapi()
166 uint8_t port, slot; in ahci_clean_mem() local
391 void ahci_port_clear(AHCIQState *ahci, uint8_t port) in ahci_port_clear()
409 uint8_t port = cmd->port; in ahci_port_check_error() local
466 uint8_t port = cmd->port; in ahci_port_check_interrupts() local
488 uint8_t port = cmd->port; in ahci_port_check_nonbusy() local
536 uint8_t port = cmd->port; in ahci_port_check_pio_sanity() local
686 void ahci_exec(AHCIQState *ahci, uint8_t port, in ahci_exec()
1006 void ahci_atapi_load(AHCIQState *ahci, uint8_t port) in ahci_atapi_load()
[all …]
H A Dusb.c32 void uhci_port_test(struct qhc *hc, int port, uint16_t expect) in uhci_port_test()
40 void usb_test_hotplug(QTestState *qts, const char *hcd_id, const char *port, in usb_test_hotplug()
/qemu/include/hw/xen/interface/
H A Devent_channel.h80 evtchn_port_t port; member
130 evtchn_port_t port; member
146 evtchn_port_t port; member
159 evtchn_port_t port; member
170 evtchn_port_t port; member
180 evtchn_port_t port; member
195 evtchn_port_t port; member
211 evtchn_port_t port; member
233 evtchn_port_t port; member
244 evtchn_port_t port; member
[all …]
/qemu/hw/i386/kvm/
H A Dxen_evtchn.c66 uint16_t port:15; member
128 uint16_t port; member
532 static void deassign_kernel_port(evtchn_port_t port) in deassign_kernel_port()
583 static bool valid_port(evtchn_port_t port) in valid_port()
1525 int xen_evtchn_set_port(uint16_t port) in xen_evtchn_set_port()
1632 int port = s->pirq[pirq].port; in xen_evtchn_set_gsi() local
1745 uint32_t pirq, port; in xen_evtchn_translate_pirq_msi() local
1793 uint32_t pirq, port; in xen_evtchn_deliver_pirq_msi() local
1941 int port = s->pirq[pirq].port; in xen_physdev_eoi_pirq() local
2292 void qmp_xen_event_inject(uint32_t port, Error **errp) in qmp_xen_event_inject()
[all …]
H A Dxen-stubs.c38 void xen_primary_console_set_be_port(uint16_t port) in xen_primary_console_set_be_port()
48 void qmp_xen_event_inject(uint32_t port, Error **errp) in qmp_xen_event_inject()
/qemu/tests/qtest/
H A Dnetdev-socket.c83 static int inet_get_free_port_multiple(int nb, int *port, bool ipv6) in inet_get_free_port_multiple()
110 int nb, port; in inet_get_free_port() local
122 int port; in test_stream_inet_ipv4() local
245 int port; in test_stream_inet_ipv6() local
370 int port[2]; in test_dgram_inet() local
H A Dahci-test.c217 uint8_t port; in ahci_boot_and_enable() local
857 uint8_t port; in ahci_test_io_rw_simple() local
892 uint8_t port; in ahci_test_nondata() local
912 uint8_t port; in ahci_test_max() local
1073 static void make_dirty(AHCIQState* ahci, uint8_t port) in make_dirty()
1088 uint8_t port; in test_flush() local
1105 uint8_t port; in test_flush_retry() local
1211 uint8_t port; in ahci_halted_io_test() local
1276 uint8_t port; in ahci_migrate_halted_io() local
1431 uint8_t port; in test_reset_pending_callback() local
[all …]
/qemu/hw/audio/
H A Dgusemu_hal.c38 unsigned int gus_read(GUSEmuState * state, int port, int size) in gus_read()
190 void gus_write(GUSEmuState * state, int port, int size, unsigned int data) in gus_write()
/qemu/hw/ide/
H A Dahci.c117 static uint32_t ahci_port_read(AHCIState *s, int port, int offset) in ahci_port_read()
305 static void ahci_port_write(AHCIState *s, int port, int offset, uint32_t val) in ahci_port_write()
595 static void check_cmd(AHCIState *s, int port) in check_cmd()
655 static void ahci_reset_port(AHCIState *s, int port) in ahci_reset_port()
1091 int port = ad->port_no; in execute_ncq_command() local
1125 static void process_ncq_command(AHCIState *s, int port, const uint8_t *cmd_fis, in process_ncq_command()
1218 static AHCICmdHdr *get_cmd_header(AHCIState *s, uint8_t port, uint8_t slot) in get_cmd_header()
1227 static void handle_reg_h2d_fis(AHCIState *s, int port, in handle_reg_h2d_fis()
1341 static void handle_cmd(AHCIState *s, int port, uint8_t slot) in handle_cmd()
/qemu/target/avr/
H A Dhelper.c214 target_ulong helper_inb(CPUAVRState *env, uint32_t port) in helper_inb()
263 void helper_outb(CPUAVRState *env, uint32_t port, uint32_t data) in helper_outb()
/qemu/hw/pci-host/
H A Dmv643xx.h709 #define MV64340_MPSC_CAUSE_REG(port) (0xb804 + (port << 3)) argument
710 #define MV64340_MPSC_MASK_REG(port) (0xb884 + (port << 3)) argument
712 #define MV64340_MPSC_MAIN_CONFIG_LOW(port) (0x8000 + (port << 12)) argument
713 #define MV64340_MPSC_MAIN_CONFIG_HIGH(port) (0x8004 + (port << 12)) argument
714 #define MV64340_MPSC_PROTOCOL_CONFIG(port) (0x8008 + (port << 12)) argument
715 #define MV64340_MPSC_CHANNEL_REG1(port) (0x800c + (port << 12)) argument
716 #define MV64340_MPSC_CHANNEL_REG2(port) (0x8010 + (port << 12)) argument
717 #define MV64340_MPSC_CHANNEL_REG3(port) (0x8014 + (port << 12)) argument
718 #define MV64340_MPSC_CHANNEL_REG4(port) (0x8018 + (port << 12)) argument
719 #define MV64340_MPSC_CHANNEL_REG5(port) (0x801c + (port << 12)) argument
[all …]
/qemu/
H A Dqemu-nbd.c408 const char *port) in nbd_build_socket_address()
474 static void setup_address_and_port(const char **address, const char **port) in setup_address_and_port()
491 const char *port, in socket_activation_validate_opts()
537 const char *port = NULL; in main() local

12345