Home
last modified time | relevance | path

Searched full:dev (Results 1 – 25 of 1474) sorted by relevance

12345678910>>...59

/qemu/scripts/ci/setup/ubuntu/
H A Dubuntu-2204-aarch64.yaml27 - libaio-dev
29 - libasound2-dev
30 - libattr1-dev
31 - libbpf-dev
32 - libbrlapi-dev
33 - libbz2-dev
34 - libc6-dev
35 - libcacard-dev
36 - libcap-ng-dev
37 - libcapstone-dev
[all …]
H A Dubuntu-2204-s390x.yaml27 - libaio-dev
29 - libasound2-dev
30 - libattr1-dev
31 - libbpf-dev
32 - libbrlapi-dev
33 - libbz2-dev
34 - libc6-dev
35 - libcacard-dev
36 - libcap-ng-dev
37 - libcapstone-dev
[all …]
H A Dubuntu-2204-armhf-cross.yml26 - libglib2.0-dev
27 - libpcre2-dev
28 - libsndio-dev
29 - libspice-protocol-dev
60 - libaio-dev:armhf
62 - libasound2-dev:armhf
63 - libattr1-dev:armhf
64 - libbpf-dev:armhf
65 - libbrlapi-dev:armhf
66 - libbz2-dev:armhf
[all …]
/qemu/hw/pci/
H A Dmsix.c37 static MSIMessage msix_prepare_message(PCIDevice *dev, unsigned vector) in msix_prepare_message() argument
39 uint8_t *table_entry = dev->msix_table + vector * PCI_MSIX_ENTRY_SIZE; in msix_prepare_message()
47 MSIMessage msix_get_message(PCIDevice *dev, unsigned vector) in msix_get_message() argument
49 return dev->msix_prepare_message(dev, vector); in msix_get_message()
56 void msix_set_message(PCIDevice *dev, int vector, struct MSIMessage msg) in msix_set_message() argument
58 uint8_t *table_entry = dev->msix_table + vector * PCI_MSIX_ENTRY_SIZE; in msix_set_message()
70 static uint8_t *msix_pending_byte(PCIDevice *dev, int vector) in msix_pending_byte() argument
72 return dev->msix_pba + vector / 8; in msix_pending_byte()
75 int msix_is_pending(PCIDevice *dev, unsigned int vector) in msix_is_pending() argument
77 return *msix_pending_byte(dev, vector) & msix_pending_mask(vector); in msix_is_pending()
[all …]
H A Dmsi.c84 #define MSI_DEV_PRINTF(dev, fmt, ...) \ argument
85 MSI_DPRINTF("%s:%x " fmt, (dev)->name, (dev)->devfn, ## __VA_ARGS__)
93 static inline uint8_t msi_flags_off(const PCIDevice* dev) in msi_flags_off() argument
95 return dev->msi_cap + PCI_MSI_FLAGS; in msi_flags_off()
98 static inline uint8_t msi_address_lo_off(const PCIDevice* dev) in msi_address_lo_off() argument
100 return dev->msi_cap + PCI_MSI_ADDRESS_LO; in msi_address_lo_off()
103 static inline uint8_t msi_address_hi_off(const PCIDevice* dev) in msi_address_hi_off() argument
105 return dev->msi_cap + PCI_MSI_ADDRESS_HI; in msi_address_hi_off()
108 static inline uint8_t msi_data_off(const PCIDevice* dev, bool msi64bit) in msi_data_off() argument
110 return dev->msi_cap + (msi64bit ? PCI_MSI_DATA_64 : PCI_MSI_DATA_32); in msi_data_off()
[all …]
H A Dpcie.c40 #define PCIE_DEV_PRINTF(dev, fmt, ...) \ argument
41 PCIE_DPRINTF("%s:%x "fmt, (dev)->name, (dev)->devfn, ## __VA_ARGS__)
71 pcie_cap_v1_fill(PCIDevice *dev, uint8_t port, uint8_t type, uint8_t version) in pcie_cap_v1_fill() argument
73 uint8_t *exp_cap = dev->config + dev->exp.exp_cap; in pcie_cap_v1_fill()
74 uint8_t *cmask = dev->cmask + dev->exp.exp_cap; in pcie_cap_v1_fill()
91 if (dev->cap_present & QEMU_PCIE_EXT_TAG) { in pcie_cap_v1_fill()
163 void pcie_cap_fill_link_ep_usp(PCIDevice *dev, PCIExpLinkWidth width, in pcie_cap_fill_link_ep_usp() argument
166 uint8_t *exp_cap = dev->config + dev->exp.exp_cap; in pcie_cap_fill_link_ep_usp()
181 static void pcie_cap_fill_slot_lnk(PCIDevice *dev) in pcie_cap_fill_slot_lnk() argument
183 PCIESlot *s = (PCIESlot *)object_dynamic_cast(OBJECT(dev), TYPE_PCIE_SLOT); in pcie_cap_fill_slot_lnk()
[all …]
H A Dpcie_sriov.c24 static void unparent_vfs(PCIDevice *dev, uint16_t total_vfs) in unparent_vfs() argument
27 PCIDevice *vf = dev->exp.sriov_pf.vf[i]; in unparent_vfs()
31 g_free(dev->exp.sriov_pf.vf); in unparent_vfs()
32 dev->exp.sriov_pf.vf = NULL; in unparent_vfs()
35 static void register_vfs(PCIDevice *dev) in register_vfs() argument
39 uint16_t sriov_cap = dev->exp.sriov_cap; in register_vfs()
42 num_vfs = pci_get_word(dev->config + sriov_cap + PCI_SRIOV_NUM_VF); in register_vfs()
44 trace_sriov_register_vfs(dev->name, PCI_SLOT(dev->devfn), in register_vfs()
45 PCI_FUNC(dev->devfn), num_vfs); in register_vfs()
47 pci_set_enabled(dev->exp.sriov_pf.vf[i], true); in register_vfs()
[all …]
/qemu/tests/qtest/libqos/
H A Dvirtio-pci-modern.c18 QVirtioPCIDevice *dev = container_of(d, QVirtioPCIDevice, vdev); in config_readb() local
19 return qpci_io_readb(dev->pdev, dev->bar, dev->device_cfg_offset + addr); in config_readb()
24 QVirtioPCIDevice *dev = container_of(d, QVirtioPCIDevice, vdev); in config_readw() local
25 return qpci_io_readw(dev->pdev, dev->bar, dev->device_cfg_offset + addr); in config_readw()
30 QVirtioPCIDevice *dev = container_of(d, QVirtioPCIDevice, vdev); in config_readl() local
31 return qpci_io_readl(dev->pdev, dev->bar, dev->device_cfg_offset + addr); in config_readl()
36 QVirtioPCIDevice *dev = container_of(d, QVirtioPCIDevice, vdev); in config_readq() local
37 return qpci_io_readq(dev->pdev, dev->bar, dev->device_cfg_offset + addr); in config_readq()
42 QVirtioPCIDevice *dev = container_of(d, QVirtioPCIDevice, vdev); in get_features() local
45 qpci_io_writel(dev->pdev, dev->bar, dev->common_cfg_offset + in get_features()
[all …]
H A Dpci.c23 void (*func)(QPCIDevice *dev, int devfn, void *data), in qpci_device_foreach() argument
32 QPCIDevice *dev; in qpci_device_foreach() local
34 dev = qpci_device_find(bus, QPCI_DEVFN(slot, fn)); in qpci_device_foreach()
35 if (!dev) { in qpci_device_foreach()
40 qpci_config_readw(dev, PCI_VENDOR_ID) != vendor_id) { in qpci_device_foreach()
41 g_free(dev); in qpci_device_foreach()
46 qpci_config_readw(dev, PCI_DEVICE_ID) != device_id) { in qpci_device_foreach()
47 g_free(dev); in qpci_device_foreach()
51 func(dev, QPCI_DEVFN(slot, fn), data); in qpci_device_foreach()
56 bool qpci_has_buggy_msi(QPCIDevice *dev) in qpci_has_buggy_msi() argument
[all …]
H A Dvirtio-mmio.c21 QVirtioMMIODevice *dev = container_of(d, QVirtioMMIODevice, vdev); in qvirtio_mmio_config_readb() local
22 return qtest_readb(dev->qts, dev->addr + QVIRTIO_MMIO_DEVICE_SPECIFIC + off); in qvirtio_mmio_config_readb()
27 QVirtioMMIODevice *dev = container_of(d, QVirtioMMIODevice, vdev); in qvirtio_mmio_config_readw() local
28 return qtest_readw(dev->qts, dev->addr + QVIRTIO_MMIO_DEVICE_SPECIFIC + off); in qvirtio_mmio_config_readw()
33 QVirtioMMIODevice *dev = container_of(d, QVirtioMMIODevice, vdev); in qvirtio_mmio_config_readl() local
34 return qtest_readl(dev->qts, dev->addr + QVIRTIO_MMIO_DEVICE_SPECIFIC + off); in qvirtio_mmio_config_readl()
39 QVirtioMMIODevice *dev = container_of(d, QVirtioMMIODevice, vdev); in qvirtio_mmio_config_readq() local
40 return qtest_readq(dev->qts, dev->addr + QVIRTIO_MMIO_DEVICE_SPECIFIC + off); in qvirtio_mmio_config_readq()
45 QVirtioMMIODevice *dev = container_of(d, QVirtioMMIODevice, vdev); in qvirtio_mmio_get_features() local
49 qtest_writel(dev->qts, dev->addr + QVIRTIO_MMIO_HOST_FEATURES_SEL, 0); in qvirtio_mmio_get_features()
[all …]
/qemu/tests/docker/dockerfiles/
H A Dubuntu2204.docker33 libaio-dev \
35 libasound2-dev \
36 libattr1-dev \
37 libbpf-dev \
38 libbrlapi-dev \
39 libbz2-dev \
40 libc6-dev \
41 libcacard-dev \
42 libcap-ng-dev \
43 libcapstone-dev \
[all …]
H A Dalpine.docker12 alsa-lib-dev \
13 attr-dev \
18 bzip2-dev \
20 capstone-dev \
22 ceph-dev \
24 cmocka-dev \
26 curl-dev \
27 cyrus-sasl-dev \
30 dtc-dev \
31 eudev-dev \
[all …]
H A Ddebian.docker34 libaio-dev \
36 libasound2-dev \
37 libattr1-dev \
38 libbpf-dev \
39 libbrlapi-dev \
40 libbz2-dev \
41 libc6-dev \
42 libcacard-dev \
43 libcap-ng-dev \
44 libcapstone-dev \
[all …]
H A Ddebian-amd64-cross.docker33 libglib2.0-dev \
80 eatmydata apt-get install --no-install-recommends -y dpkg-dev && \
83 libaio-dev:amd64 \
85 libasound2-dev:amd64 \
86 libattr1-dev:amd64 \
87 libbpf-dev:amd64 \
88 libbrlapi-dev:amd64 \
89 libbz2-dev:amd64 \
90 libc6-dev:amd64 \
91 libcacard-dev:amd64 \
[all …]
H A Ddebian-arm64-cross.docker33 libglib2.0-dev \
80 eatmydata apt-get install --no-install-recommends -y dpkg-dev && \
83 libaio-dev:arm64 \
85 libasound2-dev:arm64 \
86 libattr1-dev:arm64 \
87 libbpf-dev:arm64 \
88 libbrlapi-dev:arm64 \
89 libbz2-dev:arm64 \
90 libc6-dev:arm64 \
91 libcacard-dev:arm64 \
[all …]
H A Ddebian-armhf-cross.docker33 libglib2.0-dev \
80 eatmydata apt-get install --no-install-recommends -y dpkg-dev && \
83 libaio-dev:armhf \
85 libasound2-dev:armhf \
86 libattr1-dev:armhf \
87 libbpf-dev:armhf \
88 libbrlapi-dev:armhf \
89 libbz2-dev:armhf \
90 libc6-dev:armhf \
91 libcacard-dev:armhf \
[all …]
H A Ddebian-mipsel-cross.docker33 libglib2.0-dev \
80 eatmydata apt-get install --no-install-recommends -y dpkg-dev && \
83 libaio-dev:mipsel \
84 libasound2-dev:mipsel \
85 libattr1-dev:mipsel \
86 libbpf-dev:mipsel \
87 libbrlapi-dev:mipsel \
88 libbz2-dev:mipsel \
89 libc6-dev:mipsel \
90 libcacard-dev:mipsel \
[all …]
H A Ddebian-i686-cross.docker33 libglib2.0-dev \
80 eatmydata apt-get install --no-install-recommends -y dpkg-dev && \
83 libaio-dev:i386 \
85 libasound2-dev:i386 \
86 libattr1-dev:i386 \
87 libbpf-dev:i386 \
88 libbrlapi-dev:i386 \
89 libbz2-dev:i386 \
90 libc6-dev:i386 \
91 libcacard-dev:i386 \
[all …]
H A Ddebian-ppc64el-cross.docker33 libglib2.0-dev \
80 eatmydata apt-get install --no-install-recommends -y dpkg-dev && \
83 libaio-dev:ppc64el \
85 libasound2-dev:ppc64el \
86 libattr1-dev:ppc64el \
87 libbpf-dev:ppc64el \
88 libbrlapi-dev:ppc64el \
89 libbz2-dev:ppc64el \
90 libc6-dev:ppc64el \
91 libcacard-dev:ppc64el \
[all …]
H A Ddebian-mips64el-cross.docker33 libglib2.0-dev \
80 eatmydata apt-get install --no-install-recommends -y dpkg-dev && \
83 libaio-dev:mips64el \
84 libasound2-dev:mips64el \
85 libattr1-dev:mips64el \
86 libbpf-dev:mips64el \
87 libbrlapi-dev:mips64el \
88 libbz2-dev:mips64el \
89 libc6-dev:mips64el \
90 libcacard-dev:mips64el \
[all …]
H A Ddebian-s390x-cross.docker33 libglib2.0-dev \
80 eatmydata apt-get install --no-install-recommends -y dpkg-dev && \
83 libaio-dev:s390x \
85 libasound2-dev:s390x \
86 libattr1-dev:s390x \
87 libbpf-dev:s390x \
88 libbrlapi-dev:s390x \
89 libbz2-dev:s390x \
90 libc6-dev:s390x \
91 libcacard-dev:s390x \
[all …]
/qemu/
H A D.travis.yml87 - libaio-dev
88 - libattr1-dev
89 - libbrlapi-dev
90 - libcacard-dev
91 - libcap-ng-dev
92 - libfdt-dev
93 - libgcrypt20-dev
94 - libgnutls28-dev
95 - libgtk-3-dev
96 - libiscsi-dev
[all …]
/qemu/hw/usb/
H A Dredirect.c60 #define I2USBEP(d, i) (usb_ep_get(&(d)->dev, \
81 USBRedirDevice *dev; member
107 USBRedirDevice *dev; member
114 USBDevice dev; member
189 static void usbredir_handle_status(USBRedirDevice *dev, USBPacket *p,
200 if (dev->debug >= usbredirparser_error) { \
206 if (dev->debug >= usbredirparser_warning) { \
212 if (dev->debug >= usbredirparser_info) { \
218 if (dev->debug >= usbredirparser_debug) { \
224 if (dev->debug >= usbredirparser_debug_data) { \
[all …]
/qemu/hw/virtio/
H A Dvhost-backend.c23 static int vhost_kernel_call(struct vhost_dev *dev, unsigned long int request, in vhost_kernel_call() argument
26 int fd = (uintptr_t) dev->opaque; in vhost_kernel_call()
29 assert(dev->vhost_ops->backend_type == VHOST_BACKEND_TYPE_KERNEL); in vhost_kernel_call()
35 static int vhost_kernel_init(struct vhost_dev *dev, void *opaque, Error **errp) in vhost_kernel_init() argument
37 assert(dev->vhost_ops->backend_type == VHOST_BACKEND_TYPE_KERNEL); in vhost_kernel_init()
39 dev->opaque = opaque; in vhost_kernel_init()
44 static int vhost_kernel_cleanup(struct vhost_dev *dev) in vhost_kernel_cleanup() argument
46 int fd = (uintptr_t) dev->opaque; in vhost_kernel_cleanup()
48 assert(dev->vhost_ops->backend_type == VHOST_BACKEND_TYPE_KERNEL); in vhost_kernel_cleanup()
53 static int vhost_kernel_memslots_limit(struct vhost_dev *dev) in vhost_kernel_memslots_limit() argument
[all …]
/qemu/hw/core/
H A Dqdev.c46 const VMStateDescription *qdev_get_vmsd(DeviceState *dev) in qdev_get_vmsd() argument
48 DeviceClass *dc = DEVICE_GET_CLASS(dev); in qdev_get_vmsd()
108 bool qdev_set_parent_bus(DeviceState *dev, BusState *bus, Error **errp) in qdev_set_parent_bus() argument
110 BusState *old_parent_bus = dev->parent_bus; in qdev_set_parent_bus()
111 DeviceClass *dc = DEVICE_GET_CLASS(dev); in qdev_set_parent_bus()
115 if (!bus_check_address(bus, dev, errp)) { in qdev_set_parent_bus()
120 trace_qdev_update_parent_bus(dev, object_get_typename(OBJECT(dev)), in qdev_set_parent_bus()
130 object_ref(OBJECT(dev)); in qdev_set_parent_bus()
131 bus_remove_child(dev->parent_bus, dev); in qdev_set_parent_bus()
133 dev->parent_bus = bus; in qdev_set_parent_bus()
[all …]

12345678910>>...59