Searched refs:vsc_config (Results 1 – 4 of 4) sorted by relevance
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | pci_virtio_input.c | 150 struct vtinput_config vsc_config; member 245 memset(sc->vsc_config.u.bitmap, 0, sizeof(sc->vsc_config.u.bitmap)); in pci_vtinput_get_bitmap() 252 if (sc->vsc_config.u.bitmap[i]) { in pci_vtinput_get_bitmap() 278 sc->vsc_config.size = 0; in pci_vtinput_read_config_id_serial() 317 sc->vsc_config.size = size; in pci_vtinput_read_config_prop_bits() 363 sc->vsc_config.size = size; in pci_vtinput_read_config_ev_bits() 385 sc->vsc_config.u.abs.fuzz = abs.fuzz; in pci_vtinput_read_config_abs_info() 386 sc->vsc_config.u.abs.flat = abs.flat; in pci_vtinput_read_config_abs_info() 396 switch (sc->vsc_config.select) { in pci_vtinput_read_config() 409 sc, sc->vsc_config.subsel); in pci_vtinput_read_config() [all …]
|
H A D | pci_virtio_net.c | 128 struct virtio_net_config vsc_config; member 606 err = net_parsemac(value, sc->vsc_config.mac); in pci_vtnet_init() 612 net_genmac(pi, sc->vsc_config.mac); in pci_vtnet_init() 630 sc->vsc_config.mtu = mtu; in pci_vtnet_init() 640 size_t buflen = sizeof (sc->vsc_config.mac); in pci_vtnet_init() 657 sc->vsc_config.max_virtqueue_pairs = 1; in pci_vtnet_init() 667 sc->vsc_config.status = 1; in pci_vtnet_init() 709 if (offset < (int)sizeof(sc->vsc_config.mac)) { in pci_vtnet_cfgwrite() 710 assert(offset + size <= (int)sizeof(sc->vsc_config.mac)); in pci_vtnet_cfgwrite() 714 ptr = &sc->vsc_config.mac[offset]; in pci_vtnet_cfgwrite() [all …]
|
H A D | pci_virtio_9p.c | 83 struct pci_vt9p_config * vsc_config; member 152 ptr = (uint8_t *)sc->vsc_config + offset; in pci_vt9p_cfgread() 319 sc->vsc_config = calloc(1, sizeof(struct pci_vt9p_config) + in pci_vt9p_init() 327 sc->vsc_config = calloc(1, sizeof(struct pci_vt9p_config)); in pci_vt9p_init() 352 sc->vsc_config->tag_len = (uint16_t)strlen(sharename); in pci_vt9p_init() 353 memcpy(sc->vsc_config->tag, sharename, sc->vsc_config->tag_len); in pci_vt9p_init()
|
H A D | pci_virtio_console.c | 138 struct pci_vtcon_config *vsc_config; member 210 ptr = (uint8_t *)sc->vsc_config + offset; in pci_vtcon_cfgread() 717 sc->vsc_config = calloc(1, sizeof(struct pci_vtcon_config)); in pci_vtcon_init() 718 sc->vsc_config->max_nr_ports = VTCON_MAXPORTS; in pci_vtcon_init() 719 sc->vsc_config->cols = 80; in pci_vtcon_init() 720 sc->vsc_config->rows = 25; in pci_vtcon_init()
|