/xen/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 | 153 (( u8 *)(void *)(d))[1] = ((u8 *)(void *)(s))[0];} 156 ((u8 *)(void *)(d))[2] = ((u8 *)(void *)(s))[1];\ 157 ((u8 *)(void *)(d))[3] = ((u8 *)(void *)(s))[0];} 160 ((u8 *)(void *)(d))[6] = ((u8 *)(void *)(s))[1];\ 161 ((u8 *)(void *)(d))[7] = ((u8 *)(void *)(s))[0];} 168 (( u8 *)(void *)(d))[1] = ((u8 *)(void *)(s))[2];\ 169 (( u8 *)(void *)(d))[2] = ((u8 *)(void *)(s))[1];\ 170 (( u8 *)(void *)(d))[3] = ((u8 *)(void *)(s))[0];} 173 ((u8 *)(void *)(d))[4] = ((u8 *)(void *)(s))[3];\ 174 ((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);
|
A D | aclocal.h | 68 u8 flags; 85 u8 flags; 106 u8 parent_register; 107 u8 bit_position;
|
/xen/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 | msi.h | 62 u8 bus; 63 u8 devfn; 87 extern int pci_prepare_msix(u16 seg, u8 bus, u8 devfn, bool off); 248 void __msi_set_enable(u16 seg, u8 bus, u8 slot, u8 func, int pos, int enable);
|
/xen/xen/include/xen/ |
A D | pci.h | 73 u8 bus; 74 u8 devfn; 154 bool_t pci_device_detect(u16 seg, u8 bus, u8 dev, u8 func); 156 enum pdev_type pdev_type(u16 seg, u8 bus, u8 devfn); 157 int find_upstream_bridge(u16 seg, u8 *bus, u8 *devfn, u8 *secbus); 163 int (*)(u8 devfn, struct pci_dev *)); 168 int pci_add_device(u16 seg, u8 bus, u8 devfn, 170 int pci_remove_device(u16 seg, u8 bus, u8 devfn); 177 void pci_check_disable_device(u16 seg, u8 bus, u8 devfn); 191 int pci_find_cap_offset(u16 seg, u8 bus, u8 dev, u8 func, u8 cap); [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;
|
/xen/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/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/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/xen/drivers/passthrough/vtd/ |
A D | extern.h | 50 int iommu_flush_iec_index(struct vtd_iommu *iommu, u8 im, u16 iidx); 78 u8 bus, u8 devfn, const struct pci_dev *); 80 u8 bus, u8 devfn); 99 u8 bus, u8 devfn, int map);
|
A D | qinval.c | 77 u8 function_mask, in queue_invalidate_context_sync() 78 u8 granu) in queue_invalidate_context_sync() 110 u8 granu, u8 dr, u8 dw, in queue_invalidate_iotlb_sync() 111 u16 did, u8 am, u8 ih, in queue_invalidate_iotlb_sync() 147 u8 iflag, u8 sw, u8 fn, in queue_invalidate_wait() 273 u8 granu, u8 im, u16 iidx) in queue_invalidate_iec_sync() 316 int iommu_flush_iec_index(struct vtd_iommu *iommu, u8 im, u16 iidx) in iommu_flush_iec_index() 322 u16 sid, u8 fm, u64 type, in flush_context_qi() 351 u8 dr = 0, dw = 0; in flush_iotlb_qi()
|
/xen/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/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/xen/arch/x86/pv/ |
A D | hypercall.c | 287 *(u8 *)(p+ 0) = 0x51; /* push %rcx */ in pv_ring3_init_hypercall_page() 289 *(u8 *)(p+ 3) = 0x50; /* push %rax */ in pv_ring3_init_hypercall_page() 290 *(u8 *)(p+ 4) = 0xb8; /* mov $__HYPERVISOR_iret, %eax */ in pv_ring3_init_hypercall_page() 297 *(u8 *)(p+ 0) = 0x51; /* push %rcx */ in pv_ring3_init_hypercall_page() 299 *(u8 *)(p+ 3) = 0xb8; /* mov $<i>,%eax */ in pv_ring3_init_hypercall_page() 303 *(u8 *)(p+12) = 0x59; /* pop %rcx */ in pv_ring3_init_hypercall_page() 304 *(u8 *)(p+13) = 0xc3; /* ret */ in pv_ring3_init_hypercall_page() 322 *(u8 *)(p+ 0) = 0x50; /* push %eax */ in pv_ring1_init_hypercall_page() 323 *(u8 *)(p+ 1) = 0xb8; /* mov $__HYPERVISOR_iret, %eax */ in pv_ring1_init_hypercall_page() 330 *(u8 *)(p+ 0) = 0xb8; /* mov $<i>,%eax */ in pv_ring1_init_hypercall_page() [all …]
|
/xen/xen/drivers/passthrough/amd/ |
A D | iommu_detect.c | 26 u16 seg, u8 bus, u8 dev, u8 func, struct amd_iommu *iommu) in get_iommu_msi_capabilities() 44 u16 seg, u8 bus, u8 dev, u8 func, u16 cap_ptr, struct amd_iommu *iommu) in get_iommu_capabilities() 46 u8 type; in get_iommu_capabilities() 136 u8 bus, dev, func; in amd_iommu_detect_one_acpi()
|
/xen/xen/drivers/passthrough/ |
A D | pci.c | 49 u8 map; 50 u8 bus; 51 u8 devfn; 690 int pci_add_device(u16 seg, u8 bus, u8 devfn, in pci_add_device() 827 int pci_remove_device(u16 seg, u8 bus, u8 devfn) in pci_remove_device() 1004 enum pdev_type pdev_type(u16 seg, u8 bus, u8 devfn) in pdev_type() 1042 int find_upstream_bridge(u16 seg, u8 *bus, u8 *devfn, u8 *secbus) in find_upstream_bridge() 1076 bool_t __init pci_device_detect(u16 seg, u8 bus, u8 dev, u8 func) in pci_device_detect() 1088 void pci_check_disable_device(u16 seg, u8 bus, u8 devfn) in pci_check_disable_device() 1484 static int device_assigned(u16 seg, u8 bus, u8 devfn) in device_assigned() [all …]
|