Home
last modified time | relevance | path

Searched defs:reg (Results 1 – 25 of 92) sorted by relevance

1234

/xen/xen/arch/x86/x86_64/
A Dpci.c11 #define PCI_CONF_ADDRESS(sbdf, reg) \ argument
14 uint8_t pci_conf_read8(pci_sbdf_t sbdf, unsigned int reg) in pci_conf_read8()
27 uint16_t pci_conf_read16(pci_sbdf_t sbdf, unsigned int reg) in pci_conf_read16()
40 uint32_t pci_conf_read32(pci_sbdf_t sbdf, unsigned int reg) in pci_conf_read32()
53 void pci_conf_write8(pci_sbdf_t sbdf, unsigned int reg, uint8_t data) in pci_conf_write8()
61 void pci_conf_write16(pci_sbdf_t sbdf, unsigned int reg, uint16_t data) in pci_conf_write16()
69 void pci_conf_write32(pci_sbdf_t sbdf, unsigned int reg, uint32_t data) in pci_conf_write32()
/xen/tools/tests/x86_emulator/
A Dsimd-sg.c49 # define BG_(dt, it, reg, mem, idx, msk, scl) \ argument
51 # define BS_(dt, it, mem, idx, reg, msk, scl) \ argument
55 # define BG_(dt, it, reg, mem, idx, msk, scl) \ argument
128 # define gather(reg, mem, idx, msk, scl) \ argument
139 # define gather(reg, mem, idx, msk, scl) \ argument
142 # define gather(reg, mem, idx, msk, scl) \ argument
148 # define gather(reg, mem, idx, msk, scl) \ argument
151 # define gather(reg, mem, idx, msk, scl) \ argument
160 # define gather(reg, mem, idx, msk, scl) \ argument
172 # define gather(reg, mem, idx, msk, scl) \ argument
[all …]
/xen/tools/tests/vpci/
A Dmain.c37 static uint32_t vpci_read8(const struct pci_dev *pdev, unsigned int reg, in vpci_read8()
43 static void vpci_write8(const struct pci_dev *pdev, unsigned int reg, in vpci_write8()
49 static uint32_t vpci_read16(const struct pci_dev *pdev, unsigned int reg, in vpci_read16()
55 static void vpci_write16(const struct pci_dev *pdev, unsigned int reg, in vpci_write16()
67 static void vpci_write32(const struct pci_dev *pdev, unsigned int reg, in vpci_write32()
73 #define VPCI_READ(reg, size, data) ({ \ argument
77 #define VPCI_READ_CHECK(reg, size, expected) ({ \ argument
84 #define VPCI_WRITE(reg, size, data) ({ \ argument
88 #define VPCI_WRITE_CHECK(reg, size, data) ({ \ argument
107 void multiread4_check(unsigned int reg, uint32_t val) in multiread4_check()
[all …]
/xen/xen/drivers/vpci/
A Dmsi.c25 static uint32_t control_read(const struct pci_dev *pdev, unsigned int reg, in control_read()
37 static void control_write(const struct pci_dev *pdev, unsigned int reg, in control_write()
93 static uint32_t address_read(const struct pci_dev *pdev, unsigned int reg, in address_read()
101 static void address_write(const struct pci_dev *pdev, unsigned int reg, in address_write()
114 static uint32_t address_hi_read(const struct pci_dev *pdev, unsigned int reg, in address_hi_read()
122 static void address_hi_write(const struct pci_dev *pdev, unsigned int reg, in address_hi_write()
135 static uint32_t data_read(const struct pci_dev *pdev, unsigned int reg, in data_read()
143 static void data_write(const struct pci_dev *pdev, unsigned int reg, in data_write()
154 static uint32_t mask_read(const struct pci_dev *pdev, unsigned int reg, in mask_read()
162 static void mask_write(const struct pci_dev *pdev, unsigned int reg, in mask_write()
A Dvpci.c103 static uint32_t vpci_ignored_read(const struct pci_dev *pdev, unsigned int reg, in vpci_ignored_read()
109 static void vpci_ignored_write(const struct pci_dev *pdev, unsigned int reg, in vpci_ignored_write()
114 uint32_t vpci_hw_read16(const struct pci_dev *pdev, unsigned int reg, in vpci_hw_read16()
120 uint32_t vpci_hw_read32(const struct pci_dev *pdev, unsigned int reg, in vpci_hw_read32()
205 static uint32_t vpci_read_hw(pci_sbdf_t sbdf, unsigned int reg, in vpci_read_hw()
250 static void vpci_write_hw(pci_sbdf_t sbdf, unsigned int reg, unsigned int size, in vpci_write_hw()
305 uint32_t vpci_read(pci_sbdf_t sbdf, unsigned int reg, unsigned int size) in vpci_read()
407 void vpci_write(pci_sbdf_t sbdf, unsigned int reg, unsigned int size, in vpci_write()
A Dheader.c333 static void cmd_write(const struct pci_dev *pdev, unsigned int reg, in cmd_write()
354 static void bar_write(const struct pci_dev *pdev, unsigned int reg, in bar_write()
400 static void rom_write(const struct pci_dev *pdev, unsigned int reg, in rom_write()
490 uint8_t reg = PCI_BASE_ADDRESS_0 + i * 4; in init_bars() local
/xen/xen/include/asm-x86/
A Dapic.h51 static __inline void apic_mem_write(unsigned long reg, u32 v) in apic_mem_write()
56 static __inline void apic_mem_write_atomic(unsigned long reg, u32 v) in apic_mem_write_atomic()
61 static __inline u32 apic_mem_read(unsigned long reg) in apic_mem_read()
70 static __inline void apic_wrmsr(unsigned long reg, uint64_t msr_content) in apic_wrmsr()
79 static __inline uint64_t apic_rdmsr(unsigned long reg) in apic_rdmsr()
90 static __inline void apic_write(unsigned long reg, u32 v) in apic_write()
99 static __inline void apic_write_atomic(unsigned long reg, u32 v) in apic_write_atomic()
107 static __inline u32 apic_read(unsigned long reg) in apic_read()
A Dio_apic.h134 #define ioapic_reg_remapped(reg) (iommu_intremap && ((reg) >= 0x10)) argument
136 static inline unsigned int __io_apic_read(unsigned int apic, unsigned int reg) in __io_apic_read()
142 static inline unsigned int io_apic_read(unsigned int apic, unsigned int reg) in io_apic_read()
149 static inline void __io_apic_write(unsigned int apic, unsigned int reg, unsigned int value) in __io_apic_write()
155 static inline void io_apic_write(unsigned int apic, unsigned int reg, unsigned int value) in io_apic_write()
166 static inline void io_apic_modify(unsigned int apic, unsigned int reg, unsigned int value) in io_apic_modify()
A Dasm_defns.h136 #define GET_STACK_END(reg) \ argument
144 #define GET_CPUINFO_FIELD(field, reg) \ argument
148 #define GET_CURRENT(reg) \ argument
288 #define LOAD_ONE_REG(reg, compat) \ argument
A Ddebugreg.h71 #define write_debugreg(reg, val) do { \ argument
75 #define read_debugreg(reg) ({ \ argument
/xen/xen/arch/x86/pv/
A Dmisc-hypercalls.c26 long do_set_debugreg(int reg, unsigned long value) in do_set_debugreg()
31 unsigned long do_get_debugreg(int reg) in do_get_debugreg()
64 long set_debugreg(struct vcpu *v, unsigned int reg, unsigned long value) in set_debugreg()
A Dcallback.c63 static long register_guest_callback(struct callback_register *reg) in register_guest_callback()
152 struct callback_register reg; in do_callback_op() local
206 static long compat_register_guest_callback(struct compat_callback_register *reg) in compat_register_guest_callback()
290 struct compat_callback_register reg; in compat_callback_op() local
/xen/xen/arch/x86/
A Dx86_emulate.c56 int x86emul_read_xcr(unsigned int reg, uint64_t *val, in x86emul_read_xcr()
80 int x86emul_write_xcr(unsigned int reg, uint64_t val, in x86emul_write_xcr()
103 int x86emul_read_dr(unsigned int reg, unsigned long *val, in x86emul_read_dr()
146 int x86emul_write_dr(unsigned int reg, unsigned long val, in x86emul_write_dr()
/xen/xen/arch/arm/arm64/
A Dvsysreg.c33 #define TVM_REG(reg) \ argument
62 #define GENERATE_CASE(reg) \ in TVM_REG() argument
/xen/tools/firmware/hvmloader/
A Dutil.h95 #define pci_readb(devfn, reg) ((uint8_t) pci_read(devfn, reg, 1)) argument
96 #define pci_readw(devfn, reg) ((uint16_t)pci_read(devfn, reg, 2)) argument
97 #define pci_readl(devfn, reg) ((uint32_t)pci_read(devfn, reg, 4)) argument
99 #define pci_writeb(devfn, reg, val) pci_write(devfn, reg, 1, (uint8_t) (val)) argument
100 #define pci_writew(devfn, reg, val) pci_write(devfn, reg, 2, (uint16_t)(val)) argument
101 #define pci_writel(devfn, reg, val) pci_write(devfn, reg, 4, (uint32_t)(val)) argument
A Dcacheattr.c25 #define MSR_MTRRphysBase(reg) (0x200 + 2 * (reg)) argument
26 #define MSR_MTRRphysMask(reg) (0x200 + 2 * (reg) + 1) argument
/xen/xen/include/asm-arm/
A Dvgic-emul.h9 #define VREG32(reg) reg ... reg + 3 argument
10 #define VREG64(reg) reg ... reg + 7 argument
A Dvreg.h122 static inline register_t vreg_reg_extract(unsigned long reg, in vreg_reg_extract()
132 static inline void vreg_reg_update(unsigned long *reg, register_t val, in vreg_reg_update()
143 static inline void vreg_reg_setbits(unsigned long *reg, register_t bits, in vreg_reg_setbits()
153 static inline void vreg_reg_clearbits(unsigned long *reg, register_t bits, in vreg_reg_clearbits()
/xen/xen/drivers/acpi/apei/
A Dapei-io.c157 static int apei_check_gar(struct acpi_generic_address *reg, in apei_check_gar()
192 int __init apei_pre_map_gar(struct acpi_generic_address *reg) in apei_pre_map_gar()
213 int __init apei_post_unmap_gar(struct acpi_generic_address *reg) in apei_post_unmap_gar()
287 int apei_read(u64 *val, struct acpi_generic_address *reg) in apei_read()
309 int apei_write(u64 val, struct acpi_generic_address *reg) in apei_write()
/xen/xen/arch/arm/
A Ddecode.c28 static void update_dabt(struct hsr_dabt *dabt, int reg, in update_dabt()
99 int reg = instr & 7; in decode_thumb() local
A Dvpsci.c235 #define PSCI_SET_RESULT(reg, val) set_user_reg(reg, 0, val) argument
236 #define PSCI_ARG(reg, n) get_user_reg(reg, n) argument
239 #define PSCI_ARG32(reg, n) (uint32_t)(get_user_reg(reg, n)) argument
241 #define PSCI_ARG32(reg, n) PSCI_ARG(reg, n) argument
A Dvgic-v3.c363 static uint64_t vgic_sanitise_field(uint64_t reg, uint64_t field_mask, in vgic_sanitise_field()
412 static uint64_t sanitize_propbaser(uint64_t reg) in sanitize_propbaser()
429 static uint64_t sanitize_pendbaser(uint64_t reg) in sanitize_pendbaser()
448 uint64_t reg = v->domain->arch.vgic.rdist_propbase; in vgic_vcpu_enable_lpis() local
485 uint64_t reg; in __vgic_v3_rdistr_rd_mmio_write() local
678 mmio_info_t *info, uint32_t reg, in __vgic_v3_distr_common_mmio_read()
773 mmio_info_t *info, uint32_t reg, in __vgic_v3_distr_common_mmio_write()
/xen/xen/drivers/char/
A Dmvebu-uart.c86 uint32_t reg; in mvebu3700_uart_init_preirq() local
109 uint32_t reg; in mvebu3700_uart_init_postirq() local
173 uint32_t reg; in mvebu3700_uart_stop_tx() local
183 uint32_t reg; in mvebu3700_uart_start_tx() local
193 uint32_t reg; in mvebu3700_uart_tx_ready() local
/xen/xen/arch/arm/arm32/
A Dentry.S18 #define SAVE_ONE_BANKED(reg) mrs r11, reg; str r11, [sp, #UREGS_##reg] argument
19 #define RESTORE_ONE_BANKED(reg) ldr r11, [sp, #UREGS_##reg]; msr reg, r11 argument
/xen/xen/drivers/acpi/
A Dhwregs.c567 acpi_hw_low_level_read(u32 width, u32 * value, struct acpi_generic_address *reg) in acpi_hw_low_level_read()
637 acpi_hw_low_level_write(u32 width, u32 value, struct acpi_generic_address * reg) in acpi_hw_low_level_write()

Completed in 48 milliseconds

1234