/qemu/hw/net/rocker/ |
H A D | rocker_fp.c | 44 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() 67 void fp_port_get_macaddr(FpPort *port, MACAddr *macaddr) in fp_port_get_macaddr() 72 void fp_port_set_macaddr(FpPort *port, MACAddr *macaddr) in fp_port_set_macaddr() 79 uint8_t fp_port_get_learning(FpPort *port) in fp_port_get_learning() 84 void fp_port_set_learning(FpPort *port, uint8_t learning) in fp_port_set_learning() 89 int fp_port_get_settings(FpPort *port, uint32_t *speed, in fp_port_get_settings() 99 int fp_port_set_settings(FpPort *port, uint32_t speed, in fp_port_set_settings() 111 bool fp_port_from_pport(uint32_t pport, uint32_t *port) in fp_port_from_pport() [all …]
|
H A D | rocker.c | 151 uint32_t port; in tx_consume() local 265 uint32_t port; in cmd_get_port_settings() local 338 uint32_t port; in cmd_set_port_settings() local 529 uint32_t port; in rocker_event_mac_vlan_seen() local 686 uint32_t port; in rocker_port_eg() local 1005 FpPort *port = r->fp_port[i]; in rocker_port_phys_link_status() local 1020 FpPort *port = r->fp_port[i]; in rocker_port_phys_enable_read() local 1376 FpPort *port = in pci_rocker_realize() local 1410 FpPort *port = r->fp_port[i]; in pci_rocker_uninit() local
|
/qemu/pc-bios/optionrom/ |
H A D | optrom.h | 38 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/net/ |
H A D | hub.c | 51 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 123 NetHubPort *port = DO_UPCAST(NetHubPort, nc, nc); in net_hub_port_receive_iov() local 130 NetHubPort *port = DO_UPCAST(NetHubPort, nc, nc); in net_hub_port_cleanup() 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_info() local 225 NetHubPort *port; in net_hub_id_for_client() local [all …]
|
/qemu/hw/char/ |
H A D | virtio-serial-bus.c | 41 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 100 static size_t write_to_port(VirtIOSerialPort *port, in write_to_port() 151 static void discard_throttle_data(VirtIOSerialPort *port) in discard_throttle_data() 160 static void do_flush_queued_data(VirtIOSerialPort *port, VirtQueue *vq, in do_flush_queued_data() 214 static void flush_queued_data(VirtIOSerialPort *port) in flush_queued_data() 264 int virtio_serial_open(VirtIOSerialPort *port) in virtio_serial_open() 277 int virtio_serial_close(VirtIOSerialPort *port) in virtio_serial_close() [all …]
|
H A D | virtio-console.c | 52 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 D | dev-hub.c | 40 USBPort port; member 169 static bool usb_hub_port_change(USBHubPort *port, uint16_t status) in usb_hub_port_change() 180 static bool usb_hub_port_set(USBHubPort *port, uint16_t status) in usb_hub_port_set() 189 static bool usb_hub_port_clear(USBHubPort *port, uint16_t status) in usb_hub_port_clear() 198 static bool usb_hub_port_update(USBHubPort *port) in usb_hub_port_update() 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 272 static void usb_hub_complete(USBPort *port, USBPacket *packet) in usb_hub_complete() 292 USBHubPort *port; in usb_hub_find_device() local [all …]
|
H A D | xen-usb.c | 72 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() 721 static void usbback_portid_remove(struct usbback_info *usbif, unsigned port) in usbback_portid_remove() 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() [all …]
|
H A D | bus.c | 319 static void usb_fill_port(USBPort *port, void *opaque, int index, in usb_fill_port() 329 void usb_register_port(USBBus *bus, USBPort *port, void *opaque, int index, in usb_register_port() 383 void usb_unregister_port(USBBus *bus, USBPort *port) in usb_unregister_port() 395 USBPort *port; in usb_claim_port() local 441 USBPort *port = dev->port; in usb_release_port() local 485 USBPort *port = dev->port; in usb_check_attach() local 507 USBPort *port = dev->port; in usb_device_attach() local 523 USBPort *port = dev->port; in usb_device_detach() local 605 USBPort *port; in qmp_x_query_usb() local
|
H A D | hcd-uhci.c | 311 UHCIPort *port; in uhci_reset() local 404 UHCIPort *port; in uhci_port_write() local 460 UHCIPort *port; in uhci_port_write() local 519 UHCIPort *port; in uhci_port_read() local 559 UHCIPort *port = &s->ports[port1->index]; in uhci_attach() local 577 UHCIPort *port = &s->ports[port1->index]; in uhci_detach() local 605 UHCIPort *port = &s->ports[port1->index]; in uhci_wakeup() local 619 UHCIPort *port = &s->ports[i]; in uhci_find_device() local 880 static void uhci_async_complete(USBPort *port, USBPacket *packet) in uhci_async_complete()
|
H A D | core.c | 31 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()
|
/qemu/target/i386/tcg/system/ |
H A D | misc_helper.c | 31 void helper_outb(CPUX86State *env, uint32_t port, uint32_t data) in helper_outb() 37 target_ulong helper_inb(CPUX86State *env, uint32_t port) in helper_inb() 43 void helper_outw(CPUX86State *env, uint32_t port, uint32_t data) in helper_outw() 49 target_ulong helper_inw(CPUX86State *env, uint32_t port) in helper_inw() 55 void helper_outl(CPUX86State *env, uint32_t port, uint32_t data) in helper_outl() 61 target_ulong helper_inl(CPUX86State *env, uint32_t port) in helper_inl()
|
/qemu/tests/qtest/libqos/ |
H A D | ahci.c | 86 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 518 void ahci_port_check_d2h_sanity(AHCIQState *ahci, uint8_t port, uint8_t slot) in ahci_port_check_d2h_sanity() 536 uint8_t port = cmd->port; in ahci_port_check_pio_sanity() local 575 void ahci_get_command_header(AHCIQState *ahci, uint8_t port, in ahci_get_command_header() [all …]
|
H A D | usb.c | 32 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 D | event_channel.h | 80 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 D | xen_evtchn.c | 66 uint16_t port:15; member 128 uint16_t port; member 547 static void deassign_kernel_port(evtchn_port_t port) in deassign_kernel_port() 563 static int assign_kernel_port(uint16_t type, evtchn_port_t port, in assign_kernel_port() 584 static int assign_kernel_eventfd(uint16_t type, evtchn_port_t port, int fd) in assign_kernel_eventfd() 598 static bool valid_port(evtchn_port_t port) in valid_port() 696 static int do_unmask_port_lm(XenEvtchnState *s, evtchn_port_t port, in do_unmask_port_lm() 753 static int do_unmask_port_compat(XenEvtchnState *s, evtchn_port_t port, in do_unmask_port_compat() 811 static int unmask_port(XenEvtchnState *s, evtchn_port_t port, bool do_unmask) in unmask_port() 836 static int do_set_port_lm(XenEvtchnState *s, evtchn_port_t port, in do_set_port_lm() [all …]
|
H A D | xen-stubs.c | 38 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 D | netdev-socket.c | 83 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 D | ahci-test.c | 217 uint8_t port; in ahci_boot_and_enable() local 643 static void ahci_test_port_spec(AHCIQState *ahci, uint8_t port) in ahci_test_port_spec() 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 [all …]
|
H A D | usb-hcd-uhci-test.c | 20 static void test_port(int port) in test_port()
|
/qemu/hw/audio/ |
H A D | gusemu_hal.c | 38 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 D | ahci.c | 110 static uint32_t ahci_port_read(AHCIState *s, int port, int offset) in ahci_port_read() 272 static void ahci_port_write(AHCIState *s, int port, int offset, uint32_t val) in ahci_port_write() 562 static void check_cmd(AHCIState *s, int port) in check_cmd() 622 static void ahci_reset_port(AHCIState *s, int port) in ahci_reset_port() 1059 int port = ad->port_no; in execute_ncq_command() local 1093 static void process_ncq_command(AHCIState *s, int port, const uint8_t *cmd_fis, in process_ncq_command() 1186 static AHCICmdHdr *get_cmd_header(AHCIState *s, uint8_t port, uint8_t slot) in get_cmd_header() 1195 static void handle_reg_h2d_fis(AHCIState *s, int port, in handle_reg_h2d_fis() 1309 static void handle_cmd(AHCIState *s, int port, uint8_t slot) in handle_cmd()
|
/qemu/hw/pci-host/ |
H A D | mv643xx.h | 709 #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/ui/ |
H A D | spice-core.c | 189 char host[NI_MAXHOST], port[NI_MAXSERV]; in add_addr_info() local 384 char host[NI_MAXHOST], port[NI_MAXSERV]; in qmp_query_spice_channels() local 522 int port, tls_port; in qmp_query_spice_real() local 590 int qemu_spice_migrate_info(const char *hostname, int port, int tls_port, in qemu_spice_migrate_info() 665 int port, tls_port, addr_flags; in qemu_spice_init() local
|
/qemu/ |
H A D | qemu-nbd.c | 412 const char *port) in nbd_build_socket_address() 478 static void setup_address_and_port(const char **address, const char **port) in setup_address_and_port() 495 const char *port, in socket_activation_validate_opts() 541 const char *port = NULL; in main() local
|