Home
last modified time | relevance | path

Searched refs:ids (Results 1 – 24 of 24) sorted by relevance

/qemu/hw/usb/
H A Dquirks.c19 static bool usb_id_match(const struct usb_device_id *ids, in usb_id_match() argument
25 for (i = 0; ids[i].terminating_entry == 0; i++) { in usb_id_match()
26 if (ids[i].vendor_id == vendor_id && in usb_id_match()
27 ids[i].product_id == product_id && in usb_id_match()
28 (ids[i].interface_protocol_used == 0 || in usb_id_match()
29 (ids[i].interface_class == interface_class && in usb_id_match()
30 ids[i].interface_subclass == interface_subclass && in usb_id_match()
31 ids[i].interface_protocol == interface_protocol))) { in usb_id_match()
H A Ddev-mtp.c856 static const uint32_t ids[] = { in usb_mtp_get_storage_ids() local
863 usb_mtp_add_u32_array(d, ARRAY_SIZE(ids), ids); in usb_mtp_get_storage_ids()
/qemu/tests/qemu-iotests/
H A D14288 ids="node-name=image,backing.node-name=backing,backing.file.node-name=backing-file,file.node-name=f…
96 …echo "$hmp_cmds" | run_qemu -drive "$files","$ids",cache.direct=on | grep -e "Cache" -e "[Cc]annot…
98 …echo "$hmp_cmds" | run_qemu -drive "$files","$ids",file.cache.direct=on | grep -e "Cache" -e "[Cc]…
100 …echo "$hmp_cmds" | run_qemu -drive "$files","$ids",backing.cache.direct=on | grep -e "Cache" -e "[…
108 …echo "$hmp_cmds" | run_qemu -drive "$files","$ids",cache.writeback=off | grep -e "Cache" -e "[Cc]a…
110 …echo "$hmp_cmds" | run_qemu -drive "$files","$ids",file.cache.writeback=off | grep -e "doesn't" -e…
112 …echo "$hmp_cmds" | run_qemu -drive "$files","$ids",backing.cache.writeback=off | grep -e "doesn't"…
114 …echo "$hmp_cmds" | run_qemu -drive "$files","$ids",backing.file.cache.writeback=off | grep -e "doe…
119 …echo "$hmp_cmds" | run_qemu -drive "$files","$ids",cache.no-flush=on | grep -e "Cache" -e "[Cc]ann…
318 ids="node-name=image,backing.node-name=backing,backing.file.node-name=backing-file,file.node-name=f…
[all …]
/qemu/hw/input/
H A Dvirtio-input-host.c103 struct input_id ids; in virtio_input_host_realize() local
141 if (ioctl(vih->fd, EVIOCGID, &ids) == 0) { in virtio_input_host_realize()
145 id.u.ids.bustype = cpu_to_le16(ids.bustype); in virtio_input_host_realize()
146 id.u.ids.vendor = cpu_to_le16(ids.vendor); in virtio_input_host_realize()
147 id.u.ids.product = cpu_to_le16(ids.product); in virtio_input_host_realize()
148 id.u.ids.version = cpu_to_le16(ids.version); in virtio_input_host_realize()
H A Dvirtio-input-hid.c283 .u.ids = {
340 .u.ids = {
365 .u.ids = {
434 .u.ids = {
471 .u.ids = {
559 .u.ids = {
/qemu/backends/
H A Ddbus-vmstate.c65 g_auto(GStrv) ids = NULL; in get_id_list_set()
73 ids = g_strsplit(self->id_list, ",", -1); in get_id_list_set()
75 for (i = 0; ids[i]; i++) { in get_id_list_set()
76 g_hash_table_add(set, ids[i]); in get_id_list_set()
77 ids[i] = NULL; in get_id_list_set()
87 g_autoptr(GHashTable) ids = NULL; in dbus_get_proxies()
92 ids = get_id_list_set(self); in dbus_get_proxies()
133 if (ids && !g_hash_table_remove(ids, id)) { in dbus_get_proxies()
155 if (ids) { in dbus_get_proxies()
158 left = (char **)g_hash_table_get_keys_as_array(ids, NULL); in dbus_get_proxies()
/qemu/contrib/vhost-user-input/
H A Dmain.c302 struct input_id ids; in main() local
362 if (ioctl(vi.evdevfd, EVIOCGID, &ids) == 0) { in main()
366 id.u.ids.bustype = cpu_to_le16(ids.bustype); in main()
367 id.u.ids.vendor = cpu_to_le16(ids.vendor); in main()
368 id.u.ids.product = cpu_to_le16(ids.product); in main()
369 id.u.ids.version = cpu_to_le16(ids.version); in main()
/qemu/scripts/codeconverter/codeconverter/
H A Dqom_macros.py366 if ids is None:
370 if not ids.uppercase:
373 if not ids.typename:
382 names = [n for n in (ids.instancetype, ids.classtype, ids.uppercase, ids.typename)
388 assert ids.classtype or ids.instancetype
389 assert ids.typename
390 assert ids.uppercase
391 if ids.classtype and ids.instancetype:
394 elif ids.classtype:
397 elif ids.instancetype:
[all …]
/qemu/hw/ppc/
H A Dspapr_nested.c1586 ids[0] = GSB_VCPU_GPR3; in get_exit_ids()
1587 ids[1] = GSB_VCPU_GPR4; in get_exit_ids()
1588 ids[2] = GSB_VCPU_GPR5; in get_exit_ids()
1589 ids[3] = GSB_VCPU_GPR6; in get_exit_ids()
1590 ids[4] = GSB_VCPU_GPR7; in get_exit_ids()
1591 ids[5] = GSB_VCPU_GPR8; in get_exit_ids()
1592 ids[6] = GSB_VCPU_GPR9; in get_exit_ids()
1593 ids[7] = GSB_VCPU_GPR10; in get_exit_ids()
1594 ids[8] = GSB_VCPU_GPR11; in get_exit_ids()
1595 ids[9] = GSB_VCPU_GPR12; in get_exit_ids()
[all …]
/qemu/tests/unit/
H A Dtest-util-filemonitor.c418 GHashTable *ids = g_hash_table_new(g_int64_hash, g_int64_equal); in test_file_monitor_events() local
514 if (g_hash_table_contains(ids, op->watchid)) { in test_file_monitor_events()
518 g_hash_table_add(ids, op->watchid); in test_file_monitor_events()
531 g_hash_table_remove(ids, op->watchid); in test_file_monitor_events()
657 g_assert_cmpint(g_hash_table_size(ids), ==, 0); in test_file_monitor_events()
710 g_hash_table_unref(ids); in test_file_monitor_events()
/qemu/include/standard-headers/linux/
H A Dvirtio_input.h66 struct virtio_input_devids ids; member
/qemu/docs/specs/
H A Dindex.rst11 pci-ids
/qemu/docs/
H A Dmemory-hotplug.txt80 In order to be able to hot unplug pc-dimm device, QEMU has to be told the ids
81 of pc-dimm device and memory backend object. The ids were assigned when you hot
/qemu/tests/image-fuzzer/qcow2/
H A Dlayout.py595 ids = set()
597 ids.add(x.offset // self.cluster_size)
598 return ids
/qemu/qapi/
H A Drocker.json283 # @group-ids: list of next group IDs
300 '*pop-vlan': 'uint8', '*group-ids': ['uint32'],
H A Dmachine.json971 # The ids other than the node-id specify the position of the CPU
1551 # @sgx-epc: list of ids of memory-backend-epc objects.
/qemu/docs/sphinx/
H A Dhxtool.py159 current_node = nodes.section(ids=[section_id])
H A Dqapidoc.py107 section = nodes.section(ids=[self._sphinx_directive.new_serialno()])
293 snode = nodes.section(ids=[self._sphinx_directive.new_serialno()])
H A Ddbusdomain.py93 section = nodes.section(ids=[name + "-section"])
/qemu/docs/system/s390x/
H A Dcpu-topology.rst154 They will take the core-ids 0,1,2,3,4
156 to the guest in socket 0, with core-ids 0,1,2,3.
/qemu/scripts/
H A Dkernel-doc1235 my $ids = $4;
1237 foreach my $id(split /,/, $ids) {
/qemu/docs/system/
H A Dintroduction.rst177 devices we need to define them. We give them ids so we can link them
/qemu/hw/nvme/
H A Dctrl.c5430 uint16_t *ids = &list[1]; in nvme_identify_ctrl_list() local
5462 ids[nr_ids++] = cntlid; in nvme_identify_ctrl_list()
6379 uint16_t *ids = &list[1]; in nvme_ns_attachment() local
6405 ctrl = nvme_subsys_ctrl(n->subsys, ids[i]); in nvme_ns_attachment()
/qemu/tests/data/qobject/
H A Dqdict.txt4962 dvb-usb-ids.h: 11042