Home
last modified time | relevance | path

Searched refs:type (Results 1 – 25 of 42) sorted by relevance

12

/devicemodel/include/
A Dtree.h120 struct type *name##_SPLAY_INSERT(struct name *head, struct type *elm); \
121 struct type *name##_SPLAY_REMOVE(struct name *head, struct type *elm); \
160 struct type * \
403 struct type *)
405 attr struct type *name##_RB_REMOVE(struct name *, struct type *)
407 attr struct type *name##_RB_INSERT(struct name *, struct type *)
409 attr struct type *name##_RB_FIND(struct name *, struct type *)
411 attr struct type *name##_RB_NFIND(struct name *, struct type *)
413 attr struct type *name##_RB_NEXT(struct type *)
415 attr struct type *name##_RB_PREV(struct type *)
[all …]
A Dmptable.h86 uint8_t type; member
100 uint8_t type; member
106 uint8_t type; member
116 uint8_t type; member
142 uint8_t type; member
151 uint8_t type; member
164 uint8_t type; member
175 uint8_t type; member
A Dlpc.h51 enum lpc_sysres_type type; member
56 #define LPC_SYSRES(type, base, length) \ argument
59 (type), \
A Dtypes.h26 #define container_of(ptr, type, member) ({ \ argument
27 const typeof(((type *)0)->member) * __mptr = (ptr); \
28 (type *)((char *)__mptr - (offsetof(type, member))); \
A Dsw_load.h54 uint32_t type; member
76 uint64_t size, uint32_t type);
A Dusb_core.h114 int (*ue_info)(void *sc, int type, void *value, int size);
163 enum usb_block_type type; member
194 enum usb_native_devtype type; member
A Dusb_pmapper.h38 uint8_t type; member
128 int usb_dev_info(void *pdata, int type, void *value, int size);
A Dmevent.h43 struct mevent *mevent_add(int fd, enum ev_type type,
A Dpci_core.h112 enum pcibar_type type; /* io or memory */ member
334 enum pcibar_type type, uint64_t size);
336 uint64_t hostbase, enum pcibar_type type,
/devicemodel/core/
A Dsw_load_common.c68 .type = E820_TYPE_RAM
74 .type = E820_TYPE_RAM
86 .type = E820_TYPE_RESERVED
92 .type = E820_TYPE_RESERVED
98 .type = E820_TYPE_RESERVED
104 .type = E820_TYPE_RESERVED
167 uint64_t size, uint32_t type) in add_e820_entry() argument
185 pt_t[0] = e820[i].type; in add_e820_entry()
186 pt_t[1] = type; in add_e820_entry()
187 pt_t[2] = e820[i].type; in add_e820_entry()
[all …]
A Dvm_event.c58 enum event_source_type type; member
102 if (event->type < VM_EVENT_COUNT) { in get_vm_event_proc()
103 proc = &ve_proc[event->type]; in get_vm_event_proc()
128 event->type, ctl->throttle_count); in event_throttle()
198 val = cJSON_CreateNumber(event->type); in generate_vm_event_message()
332 pr_dbg("%ld vm event from%d %d\n", val, tunnel->type, ve.type); in vm_event_thread()
350 .type = EVENT_SOURCE_TYPE_HV,
356 .type = EVENT_SOURCE_TYPE_DM,
366 enum event_source_type type = tunnel->type; in create_event_tunnel() local
373 if (type == EVENT_SOURCE_TYPE_HV) { in create_event_tunnel()
[all …]
A Dmptbl.c152 mpep->type = MPCT_ENTRY_PROCESSOR; in mpt_build_proc_entries()
169 mpie->type = MPCT_ENTRY_LOCAL_INT; in mpt_build_localint_entries()
179 mpie->type = MPCT_ENTRY_LOCAL_INT; in mpt_build_localint_entries()
191 mpeb->type = MPCT_ENTRY_BUS; in mpt_build_bus_entries()
197 mpeb->type = MPCT_ENTRY_BUS; in mpt_build_bus_entries()
206 mpei->type = MPCT_ENTRY_IOAPIC; in mpt_build_ioapic_entries()
243 mpie->type = MPCT_ENTRY_INT; in mpt_generate_pci_int()
267 mpie->type = MPCT_ENTRY_INT; in mpt_build_ioint_entries()
A Dmevent.c97 mevent_pipe_read(int fd, enum ev_type type, void *param) in mevent_pipe_read() argument
208 mevent_add(int tfd, enum ev_type type, in mevent_add() argument
219 if (type == EVF_TIMER) in mevent_add()
225 if (lp->me_fd == tfd && lp->me_type == type) { in mevent_add()
240 mevp->me_type = type; in mevent_add()
A Dpm_vuart.c205 char *str, *cpy, *type; in parse_pm_by_vuart() local
212 type = strsep(&str, ","); in parse_pm_by_vuart()
214 if (type != NULL) { in parse_pm_by_vuart()
216 if (strcasecmp(type, node_name[i]) == 0) { in parse_pm_by_vuart()
A Dvmmapi.c359 memmap.type = ACRN_MEMMAP_RAM; in vm_map_memseg_vma()
602 memmap.type = ACRN_MEMMAP_MMIO; in vm_map_ptdev_mmio()
621 memmap.type = ACRN_MEMMAP_MMIO; in vm_unmap_ptdev_mmio()
663 ptirq.type = ACRN_PTDEV_IRQ_INTX; in vm_set_ptdev_intx_info()
684 ptirq.type = ACRN_PTDEV_IRQ_INTX; in vm_reset_ptdev_intx_info()
/devicemodel/hw/platform/
A Dusb_pmapper.c50 info->type = USB_TYPE_ROOTHUB; in usb_get_native_devinfo()
52 info->type = USB_TYPE_EXTHUB; in usb_get_native_devinfo()
390 switch (block->type) { in usb_dev_prepare_xfer()
401 __func__, block->type); in usb_dev_prepare_xfer()
445 uint8_t type) in usb_dev_set_ep_type() argument
451 ep->type = type; in usb_dev_set_ep_type()
463 return ep->type; in usb_dev_get_ep_type()
756 uint8_t type; in usb_dev_data() local
772 if (type > USB_ENDPOINT_INT) { in usb_dev_data()
826 type_str[type]); in usb_dev_data()
[all …]
/devicemodel/hw/pci/virtio/
A Dvirtio_gpu.c140 uint32_t type; member
551 resp.type = VIRTIO_GPU_RESP_ERR_UNSPEC; in virtio_gpu_cmd_unspec()
726 resp.type = VIRTIO_GPU_RESP_OK_NODATA; in virtio_gpu_cmd_resource_create_2d()
763 resp.type = VIRTIO_GPU_RESP_OK_NODATA; in virtio_gpu_cmd_resource_unref()
832 resp.type = VIRTIO_GPU_RESP_OK_NODATA; in virtio_gpu_cmd_resource_attach_backing()
860 resp.type = VIRTIO_GPU_RESP_OK_NODATA; in virtio_gpu_cmd_resource_detach_backing()
1115 resp.type = VIRTIO_GPU_RESP_OK_NODATA; in virtio_gpu_cmd_resource_flush()
1316 resp.type = VIRTIO_GPU_RESP_OK_NODATA; in virtio_gpu_cmd_create_blob()
1401 resp.type = VIRTIO_GPU_RESP_OK_NODATA; in virtio_gpu_cmd_set_scanout_blob()
1439 switch (cmd.hdr.type) { in virtio_gpu_ctrl_bh()
[all …]
A Dvirtio_input.c77 uint16_t type; member
228 if (event->type == EV_MSC) in virtio_input_ignore_event()
270 host_event.type = event.type; in virtio_input_notify_status_vq()
314 if (event->type != EV_SYN || event->code != SYN_REPORT) in virtio_input_send_event()
377 event.type = host_event.type; in virtio_input_read_event()
436 virtio_input_get_evbits(struct virtio_input *vi, int type, in virtio_input_get_evbits() argument
445 switch (type) { in virtio_input_get_evbits()
468 cmd = EVIOCGBIT(type, count / 8); in virtio_input_get_evbits()
472 cfg->subsel = type; in virtio_input_get_evbits()
A Dvirtio_block.c125 uint32_t type; member
233 int writeop, type; in virtio_blk_proc() local
285 type = vbh->type & ~VBH_FLAG_BARRIER; in virtio_blk_proc()
286 writeop = ((type == VBH_OP_WRITE) || in virtio_blk_proc()
287 (type == VBH_OP_DISCARD)); in virtio_blk_proc()
322 switch (type) { in virtio_blk_proc()
345 err = ((type == VBH_OP_READ) ? blockif_read : blockif_write) in virtio_blk_proc()
/devicemodel/hw/pci/
A Dcore.c624 switch (dev->bar[idx].type) { in modify_bar_registration()
730 switch (type) { in update_bar_address()
779 if (type == PCIBAR_IO) { in pci_emul_alloc_pbar()
797 if (type != PCIBAR_ROM) { in pci_emul_alloc_pbar()
799 __func__, type); in pci_emul_alloc_pbar()
802 type = PCIBAR_MEM32; in pci_emul_alloc_pbar()
804 switch (type) { in pci_emul_alloc_pbar()
869 pdi->bar[idx].type = type; in pci_emul_alloc_pbar()
883 if (type == PCIBAR_MEM64) { in pci_emul_alloc_pbar()
2339 switch (dev->bar[i].type) { in pci_emul_cmdsts_write()
[all …]
A Dxhci.c1600 uint8_t type; in pci_xhci_alloc_usb_xfer() local
1614 switch (type) { in pci_xhci_alloc_usb_xfer()
1630 epid, type); in pci_xhci_alloc_usb_xfer()
2360 uint32_t type; in pci_xhci_cmd_reset_ep() local
2672 uint32_t type; in pci_xhci_complete_commands() local
2706 switch (type) { in pci_xhci_complete_commands()
2803 type, cmderr); in pci_xhci_complete_commands()
2852 uint32_t type; in pci_xhci_dump_trb() local
2856 "3:x%08x\r\n", trb, type, in pci_xhci_dump_trb()
2857 type <= XHCI_TRB_TYPE_NOOP_CMD ? trbtypes[type] : "INVALID", in pci_xhci_dump_trb()
[all …]
/devicemodel/include/public/
A Dhsm_ioctl_defs.h173 __u32 type; member
203 uint32_t type; member
/devicemodel/hw/platform/vssram/
A Dtcc_buffer.h34 int type; member
A Dvssram.c163 entry->type = RTCT_V2_SSRAM_WAYMASK; in vrtct_add_ssram_waymask()
196 entry->type = RTCT_V2_SSRAM; in vrtct_add_ssram_v2_entry()
452 .type = ACRN_MEMMAP_RAM, in vssram_ept_map_buffer()
769 && (config->type == vbuf->level)) { in vssram_request_buffer()
1044 entry->type = RTCT_V2_COMPATIBILITY; in vrtct_add_compat_entry()
1116 if (entry->type == RTCT_V2_COMPATIBILITY) { in vrtct_add_memory_hierarchy_entries()
1131 if (entry->type == RTCT_V2_MEMORY_HIERARCHY_LATENCY) { in vrtct_add_memory_hierarchy_entries()
/devicemodel/arch/x86/
A Dpm.c240 power_button_handler(int signal, enum ev_type type, void *arg) in power_button_handler() argument
250 event.type = VM_EVENT_POWEROFF; in send_poweroff_event()

Completed in 99 milliseconds

12