/xen-4.10.0-shim-comet/xen/include/acpi/ |
A D | actbl2.h | 122 u8 type; 150 u8 flags; 171 u8 mask; 172 u8 value; 174 u8 type; 196 u8 value; 358 u8 bus; 372 u8 dev; 373 u8 fn; 482 u8 type; [all …]
|
A D | actypes.h | 372 #define ACPI_STATE_S0 (u8) 0 373 #define ACPI_STATE_S1 (u8) 1 374 #define ACPI_STATE_S2 (u8) 2 375 #define ACPI_STATE_S3 (u8) 3 376 #define ACPI_STATE_S4 (u8) 4 377 #define ACPI_STATE_S5 (u8) 5 381 #define ACPI_STATE_D0 (u8) 0 382 #define ACPI_STATE_D1 (u8) 1 383 #define ACPI_STATE_D2 (u8) 2 535 typedef u8 acpi_adr_space_type; [all …]
|
A D | actbl.h | 98 u8 checksum; /* To make sum of entire table == 0 */ 118 u8 bit_width; /* Size in bits of given register */ 119 u8 bit_offset; /* Bit offset within the register */ 120 u8 access_width; /* Minimum Access size (ACPI 3.0) */ 133 u8 checksum; /* ACPI 1.0 checksum */ 140 u8 reserved[3]; /* Reserved, must be zero */ 176 u8 version; /* Version of this table (ACPI 2.0+) */ 177 u8 reserved[3]; /* Reserved, must be zero */ 179 u8 reserved1[24]; /* Reserved, must be zero */ 241 u8 century; /* Index to century in RTC CMOS RAM */ [all …]
|
A D | actbl1.h | 96 u8 type; 97 u8 length; 103 u8 action; 105 u8 flags; 205 u8 flags; 428 u8 flags; 459 u8 type; 460 u8 length; 499 u8 flags; 514 u8 flags; [all …]
|
A D | acmacros.h | 145 (( u8 *)(void *)(d))[1] = ((u8 *)(void *)(s))[0];} 148 ((u8 *)(void *)(d))[2] = ((u8 *)(void *)(s))[1];\ 149 ((u8 *)(void *)(d))[3] = ((u8 *)(void *)(s))[0];} 152 ((u8 *)(void *)(d))[6] = ((u8 *)(void *)(s))[1];\ 153 ((u8 *)(void *)(d))[7] = ((u8 *)(void *)(s))[0];} 160 (( u8 *)(void *)(d))[1] = ((u8 *)(void *)(s))[2];\ 161 (( u8 *)(void *)(d))[2] = ((u8 *)(void *)(s))[1];\ 162 (( u8 *)(void *)(d))[3] = ((u8 *)(void *)(s))[0];} 165 ((u8 *)(void *)(d))[4] = ((u8 *)(void *)(s))[3];\ 166 ((u8 *)(void *)(d))[5] = ((u8 *)(void *)(s))[2];\ [all …]
|
A D | actbl3.h | 111 u8 status; 170 u8 length; 171 u8 revision; 219 u8 length; 220 u8 revision; 276 u8 type; 294 u8 reserved; 370 u8 flags; 408 u8 flags; 497 u8 type; [all …]
|
A D | actables.h | 52 void acpi_tb_parse_fadt(acpi_native_uint table_index, u8 flags); 78 u32 length, u8 flags, acpi_native_uint * table_index); 84 u8 acpi_tb_is_table_loaded(acpi_native_uint table_index); 86 void acpi_tb_set_table_loaded_flag(acpi_native_uint table_index, u8 is_loaded); 95 u8 acpi_tb_checksum(u8 * buffer, acpi_native_uint length); 102 u8 flags, char *signature, acpi_native_uint table_index); 105 acpi_tb_parse_root_table(acpi_physical_address rsdp_address, u8 flags);
|
A D | acpixf.h | 56 u32 initial_table_count, u8 allow_resize); 116 acpi_get_sleep_type_data(u8 sleep_state, u8 * slp_typ_a, u8 * slp_typ_b); 118 acpi_status acpi_enter_sleep_state_prep(u8 sleep_state); 120 acpi_status acpi_enter_sleep_state(u8 sleep_state); 124 acpi_status acpi_leave_sleep_state_prep(u8 sleep_state); 126 acpi_status acpi_leave_sleep_state(u8 sleep_state);
|
/xen-4.10.0-shim-comet/xen/include/asm-x86/ |
A D | edd.h | 49 u8 reserved2; 60 u8 bus; 61 u8 slot; 63 u8 channel; 82 u8 device; 89 u8 device; 90 u8 lun; 135 u8 reserved4; 136 u8 checksum; 141 u8 device; [all …]
|
A D | amd-iommu.h | 90 u8 ht_flags; 113 u8 dte_allow_exclusion; 114 u8 unity_map_enable; 115 u8 write_permission; 116 u8 read_permission; 127 u8 device_flags; 131 extern u8 ivhd_type;
|
A D | msi.h | 61 u8 bus; 62 u8 devfn; 86 extern int pci_prepare_msix(u16 seg, u8 bus, u8 devfn, bool off); 245 void __msi_set_enable(u16 seg, u8 bus, u8 slot, u8 func, int pos, int enable); 250 void end_nonmaskable_msi_irq(struct irq_desc *, u8 vector);
|
/xen-4.10.0-shim-comet/xen/include/xen/ |
A D | pci.h | 49 u8 bus; 50 u8 devfn; 64 const u8 bus; 65 const u8 devfn; 112 bool_t pci_device_detect(u16 seg, u8 bus, u8 dev, u8 func); 114 enum pdev_type pdev_type(u16 seg, u8 bus, u8 devfn); 115 int find_upstream_bridge(u16 seg, u8 *bus, u8 *devfn, u8 *secbus); 125 int pci_add_device(u16 seg, u8 bus, u8 devfn, 127 int pci_remove_device(u16 seg, u8 bus, u8 devfn); 134 void pci_check_disable_device(u16 seg, u8 bus, u8 devfn); [all …]
|
A D | cpuidle.h | 42 u8 idx; 43 u8 type; /* ACPI_STATE_Cn */ 44 u8 entry_method; /* ACPI_CSTATE_EM_xxx */ 54 u8 bm_control:1; 55 u8 bm_check:1; 56 u8 has_cst:1; 57 u8 power_setup_done:1; 58 u8 bm_rld_set:1;
|
A D | iommu.h | 46 int deassign_device(struct domain *d, u16 seg, u8 bus, u8 devfn); 142 int (*add_device)(u8 devfn, device_t *dev); 144 int (*remove_device)(u8 devfn, device_t *dev); 145 int (*assign_device)(struct domain *, u8 devfn, device_t *dev, u32 flag); 147 u8 devfn, device_t *dev); 149 int (*get_device_group_id)(u16 seg, u8 bus, u8 devfn);
|
/xen-4.10.0-shim-comet/xen/drivers/acpi/tables/ |
A D | tbxfroot.c | 52 static u8 *acpi_tb_scan_memory_for_rsdp(u8 * start_address, u32 length); 86 if (acpi_tb_checksum((u8 *) rsdp, ACPI_RSDP_CHECKSUM_LENGTH) != 0) { in acpi_tb_validate_rsdp() 93 (acpi_tb_checksum((u8 *) rsdp, ACPI_RSDP_XCHECKSUM_LENGTH) != 0)) { in acpi_tb_validate_rsdp() 122 u8 *table_ptr; in acpi_find_root_pointer() 123 u8 *mem_rover; in acpi_find_root_pointer() 233 static u8 *__init acpi_tb_scan_memory_for_rsdp(u8 * start_address, u32 length) in acpi_tb_scan_memory_for_rsdp() 236 u8 *mem_rover; in acpi_tb_scan_memory_for_rsdp() 237 u8 *end_address; in acpi_tb_scan_memory_for_rsdp()
|
A D | tbutils.c | 72 u8 *table_entry; in acpi_tb_check_xsdt() 94 ACPI_CAST_PTR(u8, table) + sizeof(struct acpi_table_header); in acpi_tb_check_xsdt() 180 u8 checksum; in acpi_tb_verify_checksum() 184 checksum = acpi_tb_checksum(ACPI_CAST_PTR(u8, table), length); in acpi_tb_verify_checksum() 192 (u8) (table->checksum - checksum))); in acpi_tb_verify_checksum() 216 u8 acpi_tb_checksum(u8 * buffer, acpi_native_uint length) in acpi_tb_checksum() 218 u8 sum = 0; in acpi_tb_checksum() 219 u8 *end = buffer + length; in acpi_tb_checksum() 222 sum = (u8) (sum + *(buffer++)); in acpi_tb_checksum() 307 acpi_tb_get_root_table_entry(u8 * table_entry, in acpi_tb_get_root_table_entry() [all …]
|
A D | tbfadt.c | 54 u8 bit_width, u64 address); 67 u8 type; 130 u8 bit_width, u64 address) in acpi_tb_init_generic_address() 161 void __init acpi_tb_parse_fadt(acpi_native_uint table_index, u8 flags) in acpi_tb_parse_fadt() 297 u8 pm1_register_length; in acpi_tb_convert_fadt() 343 *ACPI_ADD_PTR(u8, in acpi_tb_convert_fadt() 364 pm1_register_length = (u8) ACPI_DIV_2(acpi_gbl_FADT.pm1_event_length); in acpi_tb_convert_fadt() 414 u8 length; in acpi_tb_validate_fadt() 436 *ACPI_ADD_PTR(u8, &acpi_gbl_FADT, in acpi_tb_validate_fadt()
|
/xen-4.10.0-shim-comet/xen/drivers/pci/ |
A D | pci.c | 11 int pci_find_cap_offset(u16 seg, u8 bus, u8 dev, u8 func, u8 cap) in pci_find_cap_offset() 13 u8 id; in pci_find_cap_offset() 15 u8 pos = PCI_CAPABILITY_LIST; in pci_find_cap_offset() 42 int pci_find_next_cap(u16 seg, u8 bus, unsigned int devfn, u8 pos, int cap) in pci_find_next_cap() 44 u8 id; in pci_find_next_cap()
|
/xen-4.10.0-shim-comet/xen/include/asm-arm/arm32/ |
A D | io.h | 27 static inline void __raw_writeb(u8 val, volatile void __iomem *addr) in __raw_writeb() 30 : "+Qo" (*(volatile u8 __force *)addr) in __raw_writeb() 48 static inline u8 __raw_readb(const volatile void __iomem *addr) in __raw_readb() 50 u8 val; in __raw_readb() 52 : "+Qo" (*(volatile u8 __force *)addr), in __raw_readb() 78 #define readb_relaxed(c) ({ u8 __r = __raw_readb(c); __r; }) 88 #define readb(c) ({ u8 __v = readb_relaxed(c); __iormb(); __v; })
|
/xen-4.10.0-shim-comet/xen/drivers/passthrough/amd/ |
A D | iommu_detect.c | 29 u16 seg, u8 bus, u8 dev, u8 func, struct amd_iommu *iommu) in get_iommu_msi_capabilities() 47 u16 seg, u8 bus, u8 dev, u8 func, u16 cap_ptr, struct amd_iommu *iommu) in get_iommu_capabilities() 49 u8 type; in get_iommu_capabilities() 106 u8 bus, dev, func; in amd_iommu_detect_one_acpi()
|
/xen-4.10.0-shim-comet/xen/drivers/passthrough/vtd/ |
A D | extern.h | 46 int iommu_flush_iec_index(struct iommu *iommu, u8 im, u16 iidx); 76 u8 bus, u8 devfn, const struct pci_dev *); 78 u8 bus, u8 devfn); 97 u8 bus, u8 devfn, int map);
|
/xen-4.10.0-shim-comet/xen/common/ |
A D | unlzo.c | 71 static int INIT parse_header(u8 *input, int *skip, int in_len) in parse_header() 74 u8 *parse = input; in parse_header() 75 u8 *end = input + in_len; in parse_header() 76 u8 level = 0; in parse_header() 128 STATIC int INIT unlzo(u8 *input, unsigned int in_len, in unlzo() 131 u8 *output, unsigned int *posp, in unlzo() 134 u8 r = 0; in unlzo() 138 u8 *in_buf, *in_buf_save, *out_buf; in unlzo()
|
/xen-4.10.0-shim-comet/xen/arch/x86/ |
A D | dmi_scan.c | 22 u8 checksum; 26 u8 revision; 31 u8 checksum; 32 u8 length; 43 u8 length; 45 u8 docrev; 47 u8 _rsrvd_; 54 u8 type; 55 u8 length; 138 u8 *buf; in dmi_table() [all …]
|
/xen-4.10.0-shim-comet/xen/drivers/passthrough/ |
A D | pci.c | 46 u8 map; 47 u8 bus; 48 u8 devfn; 605 int pci_add_device(u16 seg, u8 bus, u8 devfn, in pci_add_device() 770 int pci_remove_device(u16 seg, u8 bus, u8 devfn) in pci_remove_device() 881 enum pdev_type pdev_type(u16 seg, u8 bus, u8 devfn) in pdev_type() 918 int find_upstream_bridge(u16 seg, u8 *bus, u8 *devfn, u8 *secbus) in find_upstream_bridge() 952 bool_t __init pci_device_detect(u16 seg, u8 bus, u8 dev, u8 func) in pci_device_detect() 964 void pci_check_disable_device(u16 seg, u8 bus, u8 devfn) in pci_check_disable_device() 1366 static int device_assigned(u16 seg, u8 bus, u8 devfn) in device_assigned() [all …]
|
/xen-4.10.0-shim-comet/xen/arch/x86/pv/ |
A D | hypercall.c | 269 *(u8 *)(p+ 0) = 0x51; /* push %rcx */ in hypercall_page_initialise_ring3_kernel() 271 *(u8 *)(p+ 3) = 0xb8; /* mov $<i>,%eax */ in hypercall_page_initialise_ring3_kernel() 275 *(u8 *)(p+12) = 0x59; /* pop %rcx */ in hypercall_page_initialise_ring3_kernel() 276 *(u8 *)(p+13) = 0xc3; /* ret */ in hypercall_page_initialise_ring3_kernel() 285 *(u8 *)(p+ 0) = 0x51; /* push %rcx */ in hypercall_page_initialise_ring3_kernel() 287 *(u8 *)(p+ 3) = 0x50; /* push %rax */ in hypercall_page_initialise_ring3_kernel() 288 *(u8 *)(p+ 4) = 0xb8; /* mov $__HYPERVISOR_iret,%eax */ in hypercall_page_initialise_ring3_kernel() 305 *(u8 *)(p+ 0) = 0xb8; /* mov $<i>,%eax */ in hypercall_page_initialise_ring1_kernel() 308 *(u8 *)(p+ 7) = 0xc3; /* ret */ in hypercall_page_initialise_ring1_kernel() 317 *(u8 *)(p+ 0) = 0x50; /* push %eax */ in hypercall_page_initialise_ring1_kernel() [all …]
|