Home
last modified time | relevance | path

Searched refs:reg_offset (Results 1 – 14 of 14) sorted by relevance

/arch/powerpc/boot/
A Dns16550.c60 u32 reg_offset; in ns16550_console_init() local
67 n = getprop(devp, "reg-offset", &reg_offset, sizeof(reg_offset)); in ns16550_console_init()
68 if (n == sizeof(reg_offset)) in ns16550_console_init()
69 reg_base += be32_to_cpu(reg_offset); in ns16550_console_init()
/arch/powerpc/include/asm/
A Dtsi108.h103 static inline u32 tsi108_read_reg(u32 reg_offset) in tsi108_read_reg() argument
105 return in_be32((volatile u32 *)(tsi108_csr_vir_base + reg_offset)); in tsi108_read_reg()
108 static inline void tsi108_write_reg(u32 reg_offset, u32 val) in tsi108_write_reg() argument
110 out_be32((volatile u32 *)(tsi108_csr_vir_base + reg_offset), val); in tsi108_write_reg()
/arch/x86/kernel/
A Duprobes.c895 u8 opc1 = OPCODE1(insn), reg_offset = 0; in push_setup_xol_ops() local
911 reg_offset = offsetof(struct pt_regs, r8); in push_setup_xol_ops()
914 reg_offset = offsetof(struct pt_regs, r9); in push_setup_xol_ops()
941 reg_offset = offsetof(struct pt_regs, ax); in push_setup_xol_ops()
944 reg_offset = offsetof(struct pt_regs, cx); in push_setup_xol_ops()
947 reg_offset = offsetof(struct pt_regs, dx); in push_setup_xol_ops()
950 reg_offset = offsetof(struct pt_regs, bx); in push_setup_xol_ops()
953 reg_offset = offsetof(struct pt_regs, sp); in push_setup_xol_ops()
956 reg_offset = offsetof(struct pt_regs, bp); in push_setup_xol_ops()
959 reg_offset = offsetof(struct pt_regs, si); in push_setup_xol_ops()
[all …]
A Dumip.c338 int nr_copied, reg_offset, dummy_data_size, umip_inst; in fixup_umip_exception() local
380 reg_offset = insn_get_modrm_rm_off(&insn, regs); in fixup_umip_exception()
387 if (reg_offset < 0) in fixup_umip_exception()
390 reg_addr = (unsigned long *)((unsigned long)regs + reg_offset); in fixup_umip_exception()
/arch/loongarch/kernel/
A Dkgdb.c110 int reg_offset, reg_size; in dbg_get_reg() local
115 reg_offset = dbg_reg_def[regno].offset; in dbg_get_reg()
118 if (reg_offset == -1) in dbg_get_reg()
123 memcpy(mem, (void *)regs + reg_offset, reg_size); in dbg_get_reg()
138 memcpy(mem, (void *)&current->thread.fpu.fcc + reg_offset, reg_size); in dbg_get_reg()
141 memcpy(mem, (void *)&current->thread.fpu.fpr[reg_offset], reg_size); in dbg_get_reg()
153 int reg_offset, reg_size; in dbg_set_reg() local
158 reg_offset = dbg_reg_def[regno].offset; in dbg_set_reg()
161 if (reg_offset == -1) in dbg_set_reg()
166 memcpy((void *)regs + reg_offset, mem, reg_size); in dbg_set_reg()
[all …]
/arch/arm64/kvm/vgic/
A Dvgic-mmio.h9 unsigned int reg_offset; member
69 .reg_offset = off, \
81 .reg_offset = off, \
91 .reg_offset = off, \
A Dvgic-mmio-v3.c601 .reg_offset = off, \
608 .reg_offset = off + (bpi * VGIC_NR_PRIVATE_IRQS) / 8, \
A Dvgic-mmio.c826 if (offset < region->reg_offset) in match_region()
829 if (offset >= region->reg_offset + region->len) in match_region()
A Dvgic-its.c1746 .reg_offset = off, \
1755 .reg_offset = off, \
/arch/arm/mach-rockchip/
A Dpm.c69 static const u32 reg_offset[] = { GRF_UOC0_CON0, GRF_UOC1_CON0, in rk3288_slp_disable_osc() local
78 for (i = 0; i < ARRAY_SIZE(reg_offset); i++) { in rk3288_slp_disable_osc()
79 regmap_read(grf_regmap, reg_offset[i], &reg); in rk3288_slp_disable_osc()
/arch/x86/include/asm/
A Duprobes.h44 u8 reg_offset; /* to the start of pt_regs */ member
/arch/x86/mm/
A Dextable.c18 int reg_offset = pt_regs_offset(regs, nr); in pt_regs_nr() local
21 if (WARN_ON_ONCE(reg_offset < 0)) in pt_regs_nr()
24 return (unsigned long *)((unsigned long)regs + reg_offset); in pt_regs_nr()
/arch/x86/math-emu/
A Dget_address.c32 static int reg_offset[] = { variable
43 #define REG_(x) (*(long *)(reg_offset[(x)] + (u_char *)FPU_info->regs))
/arch/powerpc/sysdev/
A Dtsi108_pci.c45 extern u32 tsi108_read_reg(u32 reg_offset);
46 extern void tsi108_write_reg(u32 reg_offset, u32 val);

Completed in 27 milliseconds