Lines Matching refs:vsc_config
127 struct virtio_net_config vsc_config; member
587 err = net_parsemac(value, sc->vsc_config.mac); in pci_vtnet_init()
593 net_genmac(pi, sc->vsc_config.mac); in pci_vtnet_init()
611 sc->vsc_config.mtu = mtu; in pci_vtnet_init()
629 sc->vsc_config.max_virtqueue_pairs = 1; in pci_vtnet_init()
639 sc->vsc_config.status = 1; in pci_vtnet_init()
681 if (offset < (int)sizeof(sc->vsc_config.mac)) { in pci_vtnet_cfgwrite()
682 assert(offset + size <= (int)sizeof(sc->vsc_config.mac)); in pci_vtnet_cfgwrite()
686 ptr = &sc->vsc_config.mac[offset]; in pci_vtnet_cfgwrite()
702 ptr = (uint8_t *)&sc->vsc_config + offset; in pci_vtnet_cfgread()
792 SNAPSHOT_VAR_OR_LEAVE(sc->vsc_config, meta, ret, done); in pci_vtnet_snapshot()