| /arch/x86/um/shared/sysdep/ |
| A D | ptrace.h | 11 #define REGS_IP(r) ((r)[HOST_IP]) argument 12 #define REGS_SP(r) ((r)[HOST_SP]) argument 14 #define REGS_AX(r) ((r)[HOST_AX]) argument 15 #define REGS_BX(r) ((r)[HOST_BX]) argument 16 #define REGS_CX(r) ((r)[HOST_CX]) argument 17 #define REGS_DX(r) ((r)[HOST_DX]) argument 18 #define REGS_SI(r) ((r)[HOST_SI]) argument 19 #define REGS_DI(r) ((r)[HOST_DI]) argument 20 #define REGS_BP(r) ((r)[HOST_BP]) argument 21 #define REGS_CS(r) ((r)[HOST_CS]) argument [all …]
|
| A D | ptrace_64.h | 11 #define REGS_R8(r) ((r)[HOST_R8]) argument 12 #define REGS_R9(r) ((r)[HOST_R9]) argument 13 #define REGS_R10(r) ((r)[HOST_R10]) argument 14 #define REGS_R11(r) ((r)[HOST_R11]) argument 15 #define REGS_R12(r) ((r)[HOST_R12]) argument 16 #define REGS_R13(r) ((r)[HOST_R13]) argument 17 #define REGS_R14(r) ((r)[HOST_R14]) argument 18 #define REGS_R15(r) ((r)[HOST_R15]) argument 42 #define UPT_R8(r) REGS_R8((r)->gp) argument 43 #define UPT_R9(r) REGS_R9((r)->gp) argument [all …]
|
| A D | ptrace_32.h | 9 #define UPT_SYSCALL_ARG1(r) UPT_BX(r) argument 10 #define UPT_SYSCALL_ARG2(r) UPT_CX(r) argument 11 #define UPT_SYSCALL_ARG3(r) UPT_DX(r) argument 12 #define UPT_SYSCALL_ARG4(r) UPT_SI(r) argument 13 #define UPT_SYSCALL_ARG5(r) UPT_DI(r) argument 14 #define UPT_SYSCALL_ARG6(r) UPT_BP(r) argument
|
| /arch/x86/um/asm/ |
| A D | ptrace.h | 23 #define PT_REGS_AX(r) UPT_AX(&(r)->regs) argument 24 #define PT_REGS_BX(r) UPT_BX(&(r)->regs) argument 25 #define PT_REGS_CX(r) UPT_CX(&(r)->regs) argument 26 #define PT_REGS_DX(r) UPT_DX(&(r)->regs) argument 28 #define PT_REGS_SI(r) UPT_SI(&(r)->regs) argument 29 #define PT_REGS_DI(r) UPT_DI(&(r)->regs) argument 30 #define PT_REGS_BP(r) UPT_BP(&(r)->regs) argument 33 #define PT_REGS_CS(r) UPT_CS(&(r)->regs) argument 34 #define PT_REGS_SS(r) UPT_SS(&(r)->regs) argument 35 #define PT_REGS_DS(r) UPT_DS(&(r)->regs) argument [all …]
|
| /arch/arm64/include/asm/ |
| A D | kvm_hyp.h | 27 #define read_sysreg_el0(r) read_sysreg_s(r##_EL02) argument 28 #define write_sysreg_el0(v,r) write_sysreg_s(v, r##_EL02) argument 29 #define read_sysreg_el1(r) read_sysreg_s(r##_EL12) argument 30 #define write_sysreg_el1(v,r) write_sysreg_s(v, r##_EL12) argument 31 #define read_sysreg_el2(r) read_sysreg_s(r##_EL1) argument 32 #define write_sysreg_el2(v,r) write_sysreg_s(v, r##_EL1) argument 42 #define read_sysreg_elx(r,nvh,vh) \ argument 52 #define write_sysreg_elx(v,r,nvh,vh) \ argument 61 #define read_sysreg_el0(r) read_sysreg_elx(r, _EL0, _EL02) argument 63 #define read_sysreg_el1(r) read_sysreg_elx(r, _EL1, _EL12) argument [all …]
|
| /arch/arm64/kvm/ |
| A D | vgic-sys-reg-v3.c | 13 static int set_gic_ctlr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, in set_gic_ctlr() 59 static int get_gic_ctlr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, in get_gic_ctlr() 87 static int set_gic_pmr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, in set_gic_pmr() 99 static int get_gic_pmr(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, in get_gic_pmr() 110 static int set_gic_bpr0(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, in set_gic_bpr0() 122 static int get_gic_bpr0(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, in get_gic_bpr0() 133 static int set_gic_bpr1(struct kvm_vcpu *vcpu, const struct sys_reg_desc *r, in set_gic_bpr1() 372 #define __EL2_REG(r, acc, i) \ argument 381 #define EL2_REG(r, acc) __EL2_REG(r, acc, r) argument 383 #define EL2_REG_RO(r, acc) __EL2_REG(r, acc, 0) argument [all …]
|
| A D | sys_regs.c | 53 const struct sys_reg_desc *r) in undef_access() 61 const struct sys_reg_desc *r, in bad_trap() 71 const struct sys_reg_desc *r) in read_from_write_only() 379 const struct sys_reg_desc *r) in access_dcsw() 399 const struct sys_reg_desc *r) in access_dcgsw() 458 const struct sys_reg_desc *r) in access_actlr() 546 const struct sys_reg_desc *r) in trap_raz_wi() 880 const struct sys_reg_desc *r) in access_pmcr() 4426 const struct sys_reg_desc *r; in emulate_cp() local 4712 const struct sys_reg_desc *r; in emulate_sys_reg() local [all …]
|
| /arch/mips/include/asm/ |
| A D | cop2.h | 19 #define cop2_save(r) octeon_cop2_save(&(r)->thread.cp2) argument 20 #define cop2_restore(r) octeon_cop2_restore(&(r)->thread.cp2) argument 29 #define cop2_save(r) do { (void)(r); } while (0) argument 30 #define cop2_restore(r) do { (void)(r); } while (0) argument 36 #define cop2_save(r) do { (void)(r); } while (0) argument 37 #define cop2_restore(r) do { (void)(r); } while (0) argument
|
| /arch/um/include/asm/ |
| A D | ptrace-generic.h | 21 #define PT_REGS_IP(r) UPT_IP(&(r)->regs) argument 22 #define PT_REGS_SP(r) UPT_SP(&(r)->regs) argument 24 #define PT_REGS_RESTART_SYSCALL(r) UPT_RESTART_SYSCALL(&(r)->regs) argument 26 #define PT_REGS_SYSCALL_NR(r) UPT_SYSCALL_NR(&(r)->regs) argument
|
| /arch/powerpc/platforms/ps3/ |
| A D | mm.c | 305 static void ps3_mm_region_destroy(struct mem_region *r) in ps3_mm_region_destroy() 476 struct ps3_dma_region *r = c->region; in dma_ioc0_free_chunk() local 638 static int dma_sb_region_create(struct ps3_dma_region *r) in dma_sb_region_create() 677 static int dma_ioc0_region_create(struct ps3_dma_region *r) in dma_ioc0_region_create() 708 static int dma_sb_region_free(struct ps3_dma_region *r) in dma_sb_region_free() 739 static int dma_ioc0_region_free(struct ps3_dma_region *r) in dma_ioc0_region_free() 922 static int dma_ioc0_unmap_area(struct ps3_dma_region *r, in dma_ioc0_unmap_area() 1072 static int dma_sb_map_area_linear(struct ps3_dma_region *r, in dma_sb_map_area_linear() 1119 struct ps3_dma_region *r, enum ps3_dma_page_size page_size, in ps3_dma_region_init() 1162 int ps3_dma_region_create(struct ps3_dma_region *r) in ps3_dma_region_create() [all …]
|
| /arch/x86/kernel/cpu/resctrl/ |
| A D | core.c | 142 struct rdt_resource *r = &hw_res->r_resctrl; in cache_alloc_hsw_probe() local 174 static inline bool rdt_get_mb_table(struct rdt_resource *r) in rdt_get_mb_table() 332 u32 resctrl_arch_get_num_closid(struct rdt_resource *r) in resctrl_arch_get_num_closid() 555 static void domain_add_cpu(int cpu, struct rdt_resource *r) in domain_add_cpu() 648 static void domain_remove_cpu(int cpu, struct rdt_resource *r) in domain_remove_cpu() 670 struct rdt_resource *r; in resctrl_arch_online_cpu() local 685 struct rdt_resource *r; in resctrl_arch_offline_cpu() local 829 struct rdt_resource *r; in get_rdt_alloc_resources() local 916 struct rdt_resource *r; in rdt_init_res_defs_intel() local 935 struct rdt_resource *r; in rdt_init_res_defs_amd() local [all …]
|
| A D | ctrlmondata.c | 22 int resctrl_arch_update_one(struct rdt_resource *r, struct rdt_ctrl_domain *d, in resctrl_arch_update_one() 44 int resctrl_arch_update_domains(struct rdt_resource *r, u32 closid) in resctrl_arch_update_domains() 86 u32 resctrl_arch_get_config(struct rdt_resource *r, struct rdt_ctrl_domain *d, in resctrl_arch_get_config()
|
| A D | monitor.c | 133 struct rdt_resource *r = &rdt_resources_all[RDT_RESOURCE_L3].r_resctrl; in logical_rmid_to_physical_rmid() local 183 void resctrl_arch_reset_rmid(struct rdt_resource *r, struct rdt_mon_domain *d, in resctrl_arch_reset_rmid() 206 void resctrl_arch_reset_rmid_all(struct rdt_resource *r, struct rdt_mon_domain *d) in resctrl_arch_reset_rmid_all() 227 int resctrl_arch_rmid_read(struct rdt_resource *r, struct rdt_mon_domain *d, in resctrl_arch_rmid_read() 275 void arch_mon_domain_online(struct rdt_resource *r, struct rdt_mon_domain *d) in arch_mon_domain_online() 344 int __init rdt_get_mon_l3_config(struct rdt_resource *r) in rdt_get_mon_l3_config()
|
| /arch/powerpc/include/asm/ |
| A D | pmac_feature.h | 367 #define MACIO_FCR32(macio, r) ((macio)->base + ((r) >> 2)) argument 370 #define MACIO_IN32(r) (in_le32(MACIO_FCR32(macio,r))) argument 371 #define MACIO_OUT32(r,v) (out_le32(MACIO_FCR32(macio,r), (v))) argument 372 #define MACIO_BIS(r,v) (MACIO_OUT32((r), MACIO_IN32(r) | (v))) argument 374 #define MACIO_IN8(r) (in_8(MACIO_FCR8(macio,r))) argument 375 #define MACIO_OUT8(r,v) (out_8(MACIO_FCR8(macio,r), (v))) argument 389 #define UN_REG(r) (uninorth_base + ((r) >> 2)) argument 390 #define UN_IN(r) (in_be32(UN_REG(r))) argument 391 #define UN_OUT(r,v) (out_be32(UN_REG(r), (v))) argument 392 #define UN_BIS(r,v) (UN_OUT((r), UN_IN(r) | (v))) argument [all …]
|
| /arch/mips/mm/ |
| A D | tlbex.c | 313 int r; in allocate_kscratch() local 335 struct work_registers r; in build_get_work_registers() local 477 struct uasm_reloc **r, in build_tlb_write_entry() 1248 struct uasm_reloc *r = relocs; in build_r4000_tlb_refill_handler() local 1477 struct uasm_reloc *r = relocs; in build_loongson3_tlb_refill_handler() local 1882 struct uasm_reloc *r = relocs; in build_r3000_tlb_load_handler() local 1912 struct uasm_reloc *r = relocs; in build_r3000_tlb_store_handler() local 1942 struct uasm_reloc *r = relocs; in build_r3000_tlb_modify_handler() local 1994 struct uasm_reloc **r) in build_r4000_tlbchange_handler_head() 2058 struct uasm_reloc *r = relocs; in build_r4000_tlb_load_handler() local [all …]
|
| /arch/x86/platform/olpc/ |
| A D | olpc-xo1-sci.c | 175 int r; in process_sci_queue() local 316 int r; in setup_sci_interrupt() local 356 int r; in setup_ec_sci() local 400 int r; in setup_lid_events() local 437 int r; in setup_power_button() local 467 int r; in setup_ebook_switch() local 497 int r; in setup_lid_switch() local 532 int r; in xo1_sci_probe() local
|
| /arch/parisc/kernel/ |
| A D | real2.S | 106 # define PUSH_CR(r, where) mfctl r, %r1 ! STREG,ma %r1, REG_SZ(where) argument 107 # define POP_CR(r, where) LDREG,mb -REG_SZ(where), %r1 ! mtctl %r1, r argument
|
| /arch/mips/alchemy/common/ |
| A D | usb.c | 100 unsigned long r, s; in __au1300_usb_phyctl() local 125 unsigned long r; in __au1300_ohci_control() local 165 unsigned long r; in __au1300_ehci_control() local 206 unsigned long r; in __au1300_udc_control() local 237 unsigned long r; in __au1300_otg_control() local 318 unsigned long r = __raw_readl(base + AU1200_USBCFG); in __au1200_ohci_control() local 332 unsigned long r = __raw_readl(base + AU1200_USBCFG); in __au1200_ehci_control() local 348 unsigned long r = __raw_readl(base + AU1200_USBCFG); in __au1200_udc_control() local 395 unsigned long r = __raw_readl(base); in au1000_usb_init() local 428 unsigned long r = __raw_readl(base + creg); in __au1xx0_ohci_control() local
|
| /arch/powerpc/mm/book3s32/ |
| A D | hash_low.S | 305 #define TST_V(r) rlwinm. r,r,0,0,0 argument 306 #define SET_V(r) oris r,r,PTE_V@h argument 307 #define CLR_V(r,t) rlwinm r,r,0,1,31 argument
|
| /arch/powerpc/sysdev/ |
| A D | dart.h | 46 #define DART_REG(r) (dart + ((r) >> 2)) argument 47 #define DART_IN(r) (in_be32(DART_REG(r))) argument 48 #define DART_OUT(r,v) (out_be32(DART_REG(r), (v))) argument
|
| /arch/mips/kvm/ |
| A D | entry.c | 240 struct uasm_reloc __maybe_unused *r = relocs; in kvm_mips_build_enter_guest() local 387 struct uasm_reloc *r = relocs; in kvm_mips_build_tlb_refill_exception() local 474 struct uasm_reloc *r = relocs; in kvm_mips_build_exception() local 517 struct uasm_reloc *r = relocs; in kvm_mips_build_exit() local 743 struct uasm_reloc *r = relocs; in kvm_mips_build_ret_from_exit() local
|
| /arch/sparc/kernel/ |
| A D | auxio_32.c | 33 struct resource r; in auxio_probe() local 115 struct resource r; in auxio_power_probe() local
|
| /arch/x86/math-emu/ |
| A D | fpu_tags.c | 95 void FPU_copy_to_regi(FPU_REG const *r, u_char tag, int stnr) in FPU_copy_to_regi() 101 void FPU_copy_to_reg1(FPU_REG const *r, u_char tag) in FPU_copy_to_reg1() 107 void FPU_copy_to_reg0(FPU_REG const *r, u_char tag) in FPU_copy_to_reg0()
|
| /arch/parisc/include/asm/ |
| A D | assembly.h | 204 #define SAVE_SP(r, where) mfsp r, %r1 ! STREG %r1, where argument 205 #define REST_SP(r, where) LDREG where, %r1 ! mtsp %r1, r argument 206 #define SAVE_CR(r, where) mfctl r, %r1 ! STREG %r1, where argument 207 #define REST_CR(r, where) LDREG where, %r1 ! mtctl %r1, r argument
|
| /arch/arm64/kvm/hyp/nvhe/ |
| A D | sys_regs.c | 268 struct sys_reg_desc const *r) in read_id_reg() 284 const struct sys_reg_desc *r) in pvm_access_raz_wi() 300 const struct sys_reg_desc *r) in pvm_access_id_aarch32() 319 const struct sys_reg_desc *r) in pvm_access_id_aarch64() 332 const struct sys_reg_desc *r) in pvm_gic_read_sre() 484 u32 r; in kvm_init_pvm_id_regs() local 526 const struct sys_reg_desc *r; in kvm_handle_pvm_sysreg() local
|