Home
last modified time | relevance | path

Searched refs:type (Results 101 – 125 of 1474) sorted by relevance

12345678910>>...59

/qemu/include/hw/xen/interface/io/
H A Dkbdif.h255 uint8_t type; member
282 uint8_t type; member
313 uint8_t type; member
466 uint8_t type; /* XENKBD_TYPE_MTOUCH */ member
487 uint8_t type; member
517 uint8_t type; member
H A Dfbif.h29 uint8_t type; /* XENFB_TYPE_UPDATE */ member
44 uint8_t type; /* XENFB_TYPE_RESIZE */ member
56 uint8_t type; member
82 uint8_t type; /* XENFB_TYPE_UPDATE_PERIOD */ member
91 uint8_t type; member
/qemu/tests/qapi-schema/
H A Dunion-invalid-union-subtype.json2 # Base's member 'type' clashes with TestTypeA's
17 'base': { 'type': 'TestEnumA' },
18 'discriminator': 'type',
26 'base': { 'type': 'TestEnum' },
27 'discriminator': 'type',
H A Dredefined-type.err1 redefined-type.json: In enum 'Foo':
2 redefined-type.json:3: 'Foo' is already defined
3 redefined-type.json: In struct 'Foo':
4 redefined-type.json:2: previous definition
H A Dqapi-schema-test.json35 'base': { 'type': 'EnumOne' }, 'discriminator': 'type',
90 'data': { 'value1' : {'type': 'UserDefA'},
133 'base': { 'type-a': 'TestUnionEnumA' },
134 'discriminator': 'type-a',
143 'base': { 'type': 'TestUnionEnum' },
144 'discriminator': 'type',
183 'data': {'ud1a': {'type': 'UserDefOne'}, '*ud1b': 'UserDefOne'},
255 'bar': { 'type': 'int', 'if': 'TEST_IF_STRUCT_MEMBER'},
264 'base': { 'type': 'TestIfEnum' },
265 'discriminator': 'type',
[all …]
/qemu/docs/tools/
H A Dqemu-storage-daemon.rst77 …--export [type=]vhost-user-blk,id=<id>,node-name=<node-name>,addr.type=unix,addr.path=<socket-path…
78 …--export [type=]vhost-user-blk,id=<id>,node-name=<node-name>,addr.type=fd,addr.str=<fd>[,writable=…
94 ``addr.type=unix,addr.path=<socket-path>`` for UNIX domain sockets and
155 --nbd-server addr.type=unix,addr.path=/var/run/qsd-nbd.sock
158 --object <type>,help
159 --object <type>[,<property>=<value>...]
228 addr.type=fd,addr.str=<fd>`` and ``--export
229 type=vhost-user-blk,addr.type=fd,addr.str=<fd>`` options.
235 --nbd-server addr.type=unix,addr.path=nbd.sock \
236 --export type=nbd,id=export,node-name=disk,writable=on
[all …]
/qemu/target/hexagon/idef-parser/
H A Didef-parser.y66 %type <string> INAME
68 %type <rvalue> FAIL
70 %type <index> if_stmt IF
71 %type <signedness> SIGN
489 rvalue.type = IMMEDIATE;
490 rvalue.imm.type = IMM_PC;
499 rvalue.type = IMMEDIATE;
500 rvalue.imm.type = IMM_CONSTEXT;
684 $5.imm.type == VALUE,
692 $5.imm.type == VALUE,
[all …]
/qemu/hw/xen/
H A Dxen-legacy-backend.c177 xendev = xen_pv_find_xendev(type, dom, dev); in xen_be_get_xendev()
191 xendev->type = type; in xen_be_get_xendev()
197 xendev->type, xendev->dom, xendev->dev); in xen_be_get_xendev()
199 xendev->type, xendev->dev); in xen_be_get_xendev()
521 const char *type; member
547 xendev = xen_be_get_xendev(be->type, be->dom, dev, be->ops); in xenstore_update_be()
569 be->type = type; in xenstore_scan()
572 snprintf(path, sizeof(path), "backend/%s/%d", type, dom); in xenstore_scan()
585 xendev = xen_be_get_xendev(type, dom, atoi(dev[j]), ops); in xenstore_scan()
632 type); in xen_be_register()
[all …]
/qemu/hw/pci/
H A Dpci-qmp-cmds.c48 if (r->type & PCI_BASE_ADDRESS_SPACE_IO) { in qmp_query_pci_regions()
49 region->type = g_strdup("io"); in qmp_query_pci_regions()
51 region->type = g_strdup("memory"); in qmp_query_pci_regions()
53 region->prefetch = !!(r->type & PCI_BASE_ADDRESS_MEM_PREFETCH); in qmp_query_pci_regions()
55 region->mem_type_64 = !!(r->type & PCI_BASE_ADDRESS_MEM_TYPE_64); in qmp_query_pci_regions()
111 uint8_t type; in qmp_query_pci_device() local
139 type = dev->config[PCI_HEADER_TYPE] & ~PCI_HEADER_TYPE_MULTI_FUNCTION; in qmp_query_pci_device()
140 if (type == PCI_HEADER_TYPE_BRIDGE) { in qmp_query_pci_device()
142 } else if (type == PCI_HEADER_TYPE_NORMAL) { in qmp_query_pci_device()
147 } else if (type == PCI_HEADER_TYPE_CARDBUS) { in qmp_query_pci_device()
H A Dpcie_sriov.c82 uint8_t type, dma_addr_t size) in pcie_sriov_pf_init_vf_bar() argument
96 pci_set_long(dev->config + addr, type); in pcie_sriov_pf_init_vf_bar()
97 if (!(type & PCI_BASE_ADDRESS_SPACE_IO) && in pcie_sriov_pf_init_vf_bar()
98 type & PCI_BASE_ADDRESS_MEM_TYPE_64) { in pcie_sriov_pf_init_vf_bar()
105 dev->exp.sriov_pf.vf_bar_type[region_num] = type; in pcie_sriov_pf_init_vf_bar()
113 uint8_t type; in pcie_sriov_vf_register_bar() local
119 type = dev->exp.sriov_vf.pf->exp.sriov_pf.vf_bar_type[region_num]; in pcie_sriov_vf_register_bar()
124 __func__, type, size); in pcie_sriov_vf_register_bar()
131 type & PCI_BASE_ADDRESS_SPACE_IO in pcie_sriov_vf_register_bar()
135 r->type = type; in pcie_sriov_vf_register_bar()
[all …]
/qemu/util/
H A Dgetauxval.c84 unsigned long qemu_getauxval(unsigned long type) in qemu_getauxval() argument
93 if (a->a_type == type) { in qemu_getauxval()
104 unsigned long qemu_getauxval(unsigned long type) in qemu_getauxval() argument
107 elf_aux_info(type, &aux, sizeof(aux)); in qemu_getauxval()
113 unsigned long qemu_getauxval(unsigned long type) in qemu_getauxval() argument
/qemu/docs/devel/
H A Dqom.rst36 :caption: Creating a minimal type
98 for the virtual methods implemented by this type.
104 specific type:
305 Standard type declaration and definition macros
319 :caption: Declaring a simple type
326 :caption: Expansion from declaring a simple type
356 :caption: Defining a simple type
363 :caption: Expansion from defining a simple type
385 This is sufficient to get the type registered with the type
387 along with any other logic required for the type.
[all …]
/qemu/ui/
H A Dinput-keymap.c35 if (value->type == KEY_VALUE_KIND_QCODE) { in qemu_input_key_value_to_number()
41 assert(value->type == KEY_VALUE_KIND_NUMBER); in qemu_input_key_value_to_number()
56 if (value->type == KEY_VALUE_KIND_QCODE) { in qemu_input_key_value_to_qcode()
59 assert(value->type == KEY_VALUE_KIND_NUMBER); in qemu_input_key_value_to_qcode()
70 if (value->type == KEY_VALUE_KIND_QCODE && in qemu_input_key_value_to_scancode()
/qemu/tests/qemu-iotests/
H A D307.out5 …bd-server-start", "arguments": {"addr": {"data": {"path": "SOCK_DIR/PID-socket"}, "type": "unix"}}}
11 {"execute": "block-export-add", "arguments": {"id": "export0", "node-name": "fmt", "type": "nbd"}}
14 {"return": [{"id": "export0", "node-name": "fmt", "shutting-down": false, "type": "nbd"}]}
28 {"execute": "block-export-add", "arguments": {"id": "#invalid", "node-name": "fmt", "type": "nbd"}}
30 {"execute": "block-export-add", "arguments": {"id": "export0", "node-name": "fmt", "type": "nbd"}}
32 {"execute": "block-export-add", "arguments": {"id": "export1", "node-name": "ro", "type": "nbd", "w…
37 {"return": [{"id": "export0", "node-name": "fmt", "shutting-down": false, "type": "nbd"}]}
43 {"return": [{"id": "export0", "node-name": "fmt", "shutting-down": false, "type": "nbd"}]}
59 …d": true, "id": "export1", "iothread": "iothread1", "node-name": "null", "type": "nbd", "writable"…
75 …": "fmt", "shutting-down": false, "type": "nbd"}, {"id": "export0", "node-name": "fmt", "shutting-…
[all …]
/qemu/hw/cxl/
H A Dcxl-component-utils.c192 const char *type) in cxl_component_register_block_init() argument
233 enum reg_type type) in hdm_init_common() argument
263 if (type == CXL2_DEVICE || in hdm_init_common()
264 type == CXL2_TYPE3_DEVICE || in hdm_init_common()
265 type == CXL2_LOGICAL_DEVICE) { in hdm_init_common()
278 enum reg_type type) in cxl_component_register_init_common() argument
287 switch (type) { in cxl_component_register_init_common()
330 switch (type) { in cxl_component_register_init_common()
350 if (type != CXL2_ROOT_PORT) { in cxl_component_register_init_common()
352 hdm_init_common(reg_state, write_msk, type); in cxl_component_register_init_common()
[all …]
/qemu/tests/unit/
H A Dtest-yank.c85 { .type = CHARDEV_BACKEND_KIND_NULL }, in char_change_test()
88 .type = CHARDEV_BACKEND_KIND_SOCKET, in char_change_test()
91 .type = SOCKET_ADDRESS_TYPE_INET, in char_change_test()
102 .type = CHARDEV_BACKEND_KIND_UDP, in char_change_test()
105 .type = SOCKET_ADDRESS_TYPE_UNIX, in char_change_test()
114 .type = CHARDEV_BACKEND_KIND_SOCKET, in char_change_test()
117 .type = SOCKET_ADDRESS_TYPE_INET, in char_change_test()
182 .type = SOCKET_ADDRESS_TYPE_INET,
/qemu/hw/core/
H A Dtrace-events14 …enter_begin(void *obj, const char *objtype, unsigned count, int type) "obj=%p(%s) count=%d type=%d"
15 …ble_phase_enter_exec(void *obj, const char *objtype, int type, int has_method) "obj=%p(%s) type=%d…
17 …_hold_begin(void *obj, const char *objtype, unsigned count, int type) "obj=%p(%s) count=%d type=%d"
20 …_exit_begin(void *obj, const char *objtype, unsigned count, int type) "obj=%p(%s) count=%d type=%d"
/qemu/scripts/coccinelle/
H A Dreset-type.cocci10 // --sp-file scripts/coccinelle/reset-type.cocci \
48 +holdfn(Object *obj, ResetType type)
52 + parent.hold(obj, type)
76 +exitfn(Object *obj, ResetType type)
80 + parent.exit(obj, type)
95 + isl_pmbus_vr_exit_reset(obj, type);
115 + rc->phases.hold(obj, type)
122 + rc->phases.exit(obj, type)
128 + typedef void (*ResettableHoldPhase)(Object *obj, ResetType type);
133 + typedef void (*ResettableExitPhase)(Object *obj, ResetType type);
/qemu/hw/usb/
H A Dccid-card-emulated.c100 uint32_t type; member
103 uint32_t type; member
107 uint32_t type; member
146 event->p.data.type = EMUL_GUEST_APDU; in emulated_apdu_from_guest()
178 event->p.gen.type = type; in emulated_push_type()
187 event->p.error.type = EMUL_ERROR; in emulated_push_error()
198 event->p.data.type = type; in emulated_push_data_type()
291 if (event == NULL || event->type == VEVENT_LAST) { in event_thread()
294 if (event->type != VEVENT_READER_INSERT) { in event_thread()
309 switch (event->type) { in event_thread()
[all …]
/qemu/target/xtensa/
H A Dgdbstub.c50 if (config->gdb_regmap.reg[i].type != xtRegisterTypeTieState && in xtensa_count_regs()
51 config->gdb_regmap.reg[i].type != xtRegisterTypeMapped && in xtensa_count_regs()
52 config->gdb_regmap.reg[i].type != xtRegisterTypeUnmapped) { in xtensa_count_regs()
81 switch (reg->type) { in xtensa_cpu_gdb_read_register()
115 __func__, n, reg->type); in xtensa_cpu_gdb_read_register()
137 switch (reg->type) { in xtensa_cpu_gdb_write_register()
175 __func__, n, reg->type); in xtensa_cpu_gdb_write_register()
/qemu/nbd/
H A Dtrace-events5 …, const char *optname, uint32_t type, const char *typename, uint32_t length) "Received option repl…
6 nbd_server_error_msg(uint32_t err, const char *type, const char *msg) "server reported error 0x%" P…
34 …_t type, const char *name) "Sending request to server: { .from = %" PRIu64", .len = %" PRIu64 ", .…
36 …6_t flags, uint16_t type, const char *name, uint64_t cookie, uint32_t length) "Got reply chunk hea…
43 …2_t opt, const char *optname, uint32_t type, const char *typename, uint32_t len) "Reply opt=%" PRI…
48 nbd_negotiate_send_info(int info, const char *name, uint32_t length) "Sending NBD_REP_INFO type %d …
64 …uint16_t flags, uint16_t type, uint64_t from, uint64_t len) "Got request: { magic = 0x%" PRIx32 ",…
74 …uest_decode_type(uint64_t cookie, uint16_t type, const char *name) "Decoding type: cookie = %" PRI…
/qemu/target/arm/
H A Dptw.c999 int type; in get_phys_addr_v5() local
1020 type = (desc & 3); in get_phys_addr_v5()
1028 if (type == 0) { in get_phys_addr_v5()
1033 if (type != 2) { in get_phys_addr_v5()
1040 if (type == 2) { in get_phys_addr_v5()
1047 if (type == 1) { in get_phys_addr_v5()
1127 int type; in get_phys_addr_v6() local
1150 type = (desc & 3); in get_phys_addr_v6()
1151 if (type == 0 || (type == 3 && !cpu_isar_feature(aa32_pxn, cpu))) { in get_phys_addr_v6()
1167 if (type == 1) { in get_phys_addr_v6()
[all …]
/qemu/hw/i2c/
H A Dsmbus_eeprom.c198 uint8_t *spd_data_generate(enum sdram_type type, ram_addr_t ram_size) in spd_data_generate() argument
207 switch (type) { in spd_data_generate()
244 switch (type) { in spd_data_generate()
260 spd[2] = type; in spd_data_generate()
263 spd[5] = (type == DDR2 ? nbanks - 1 : nbanks); in spd_data_generate()
273 spd[15] = (type == DDR2 ? 0 : 1); /* reserved / delay for random col rd */ in spd_data_generate()
277 spd[19] = (type == DDR2 ? 0 : 1); /* reserved / ~CS latencies supported */ in spd_data_generate()
279 spd[21] = (type < DDR2 ? 0x20 : 0); /* module features */ in spd_data_generate()
/qemu/accel/kvm/
H A Dtrace-events4 kvm_ioctl(int type, void *arg) "type 0x%x, arg %p"
5 kvm_vm_ioctl(int type, void *arg) "type 0x%x, arg %p"
6 kvm_vcpu_ioctl(int cpu_index, int type, void *arg) "cpu_index %d, type 0x%x, arg %p"
8 kvm_device_ioctl(int fd, int type, void *arg) "dev fd %d, type 0x%x, arg %p"
/qemu/block/
H A Dgluster.c95 .type = QEMU_OPT_SIZE,
100 .type = QEMU_OPT_STRING,
112 .type = QEMU_OPT_NUMBER,
117 .type = QEMU_OPT_STRING,
130 .type = QEMU_OPT_STRING,
135 .type = QEMU_OPT_NUMBER,
140 .type = QEMU_OPT_STRING,
227 .type = QEMU_OPT_BOOL,
232 .type = QEMU_OPT_BOOL,
519 int i, type, num_servers; in qemu_gluster_parse_json() local
[all …]

12345678910>>...59