/Linux-v4.19/drivers/net/ethernet/sun/ |
D | sunbmac.c | 256 static void idle_transceiver(void __iomem *tregs) in idle_transceiver() argument 261 sbus_writel(MGMT_CLKOFF, tregs + TCVR_MPAL); in idle_transceiver() 262 sbus_readl(tregs + TCVR_MPAL); in idle_transceiver() 263 sbus_writel(MGMT_CLKON, tregs + TCVR_MPAL); in idle_transceiver() 264 sbus_readl(tregs + TCVR_MPAL); in idle_transceiver() 268 static void write_tcvr_bit(struct bigmac *bp, void __iomem *tregs, int bit) in write_tcvr_bit() argument 273 tregs + TCVR_MPAL); in write_tcvr_bit() 274 sbus_readl(tregs + TCVR_MPAL); in write_tcvr_bit() 276 tregs + TCVR_MPAL); in write_tcvr_bit() 277 sbus_readl(tregs + TCVR_MPAL); in write_tcvr_bit() [all …]
|
D | sunhme.c | 322 static void BB_PUT_BIT(struct happy_meal *hp, void __iomem *tregs, int bit) in BB_PUT_BIT() argument 324 hme_write32(hp, tregs + TCVR_BBDATA, bit); in BB_PUT_BIT() 325 hme_write32(hp, tregs + TCVR_BBCLOCK, 0); in BB_PUT_BIT() 326 hme_write32(hp, tregs + TCVR_BBCLOCK, 1); in BB_PUT_BIT() 330 static u32 BB_GET_BIT(struct happy_meal *hp, void __iomem *tregs, int internal) 334 hme_write32(hp, tregs + TCVR_BBCLOCK, 0); 335 hme_write32(hp, tregs + TCVR_BBCLOCK, 1); 336 ret = hme_read32(hp, tregs + TCVR_CFG); 346 static u32 BB_GET_BIT2(struct happy_meal *hp, void __iomem *tregs, int internal) in BB_GET_BIT2() argument 350 hme_write32(hp, tregs + TCVR_BBCLOCK, 0); in BB_GET_BIT2() [all …]
|
D | sunbmac.h | 293 void __iomem *tregs; /* BigMAC Transceiver */ member
|
/Linux-v4.19/arch/sh/kernel/ |
D | process_64.c | 252 bh = (regs->tregs[0]) >> 32; in show_regs() 253 bl = (regs->tregs[0]) & 0xffffffff; in show_regs() 254 ch = (regs->tregs[1]) >> 32; in show_regs() 255 cl = (regs->tregs[1]) & 0xffffffff; in show_regs() 259 ah = (regs->tregs[2]) >> 32; in show_regs() 260 al = (regs->tregs[2]) & 0xffffffff; in show_regs() 261 bh = (regs->tregs[3]) >> 32; in show_regs() 262 bl = (regs->tregs[3]) & 0xffffffff; in show_regs() 263 ch = (regs->tregs[4]) >> 32; in show_regs() 264 cl = (regs->tregs[4]) & 0xffffffff; in show_regs() [all …]
|
D | signal_64.c | 229 COPY(tregs[0]); COPY(tregs[1]); COPY(tregs[2]); COPY(tregs[3]); in restore_sigcontext() 230 COPY(tregs[4]); COPY(tregs[5]); COPY(tregs[6]); COPY(tregs[7]); in restore_sigcontext() 351 COPY(tregs[0]); COPY(tregs[1]); COPY(tregs[2]); COPY(tregs[3]); in setup_sigcontext() 352 COPY(tregs[4]); COPY(tregs[5]); COPY(tregs[6]); COPY(tregs[7]); in setup_sigcontext()
|
D | ptrace_64.c | 171 regs->tregs, in genregs_get() 172 offsetof(struct pt_regs, tregs[0]), in genregs_get() 205 regs->tregs, in genregs_set() 206 offsetof(struct pt_regs, tregs[0]), in genregs_set()
|
/Linux-v4.19/arch/sh/kernel/cpu/sh5/ |
D | unwind.c | 315 __asm__ __volatile__ ("gettr tr0, %0" : "=r" (regs->tregs[0])); in sh64_unwinder_dump() 316 __asm__ __volatile__ ("gettr tr1, %0" : "=r" (regs->tregs[1])); in sh64_unwinder_dump() 317 __asm__ __volatile__ ("gettr tr2, %0" : "=r" (regs->tregs[2])); in sh64_unwinder_dump() 318 __asm__ __volatile__ ("gettr tr3, %0" : "=r" (regs->tregs[3])); in sh64_unwinder_dump() 319 __asm__ __volatile__ ("gettr tr4, %0" : "=r" (regs->tregs[4])); in sh64_unwinder_dump() 320 __asm__ __volatile__ ("gettr tr5, %0" : "=r" (regs->tregs[5])); in sh64_unwinder_dump() 321 __asm__ __volatile__ ("gettr tr6, %0" : "=r" (regs->tregs[6])); in sh64_unwinder_dump() 322 __asm__ __volatile__ ("gettr tr7, %0" : "=r" (regs->tregs[7])); in sh64_unwinder_dump()
|
/Linux-v4.19/drivers/iio/magnetometer/ |
D | bmc150_magn.c | 367 static s32 bmc150_magn_compensate_x(struct bmc150_magn_trim_regs *tregs, s16 x, in bmc150_magn_compensate_x() argument 371 u16 xyz1 = le16_to_cpu(tregs->xyz1); in bmc150_magn_compensate_x() 380 val = ((s16)((((s32)x) * ((((((((s32)tregs->xy2) * ((((s32)val) * in bmc150_magn_compensate_x() 382 ((s32)(((s16)tregs->xy1) << 7)))) >> 9) + ((s32)0x100000)) * in bmc150_magn_compensate_x() 383 ((s32)(((s16)tregs->x2) + ((s16)0xA0)))) >> 12)) >> 13)) + in bmc150_magn_compensate_x() 384 (((s16)tregs->x1) << 3); in bmc150_magn_compensate_x() 389 static s32 bmc150_magn_compensate_y(struct bmc150_magn_trim_regs *tregs, s16 y, in bmc150_magn_compensate_y() argument 393 u16 xyz1 = le16_to_cpu(tregs->xyz1); in bmc150_magn_compensate_y() 402 val = ((s16)((((s32)y) * ((((((((s32)tregs->xy2) * ((((s32)val) * in bmc150_magn_compensate_y() 404 ((s32)(((s16)tregs->xy1) << 7)))) >> 9) + ((s32)0x100000)) * in bmc150_magn_compensate_y() [all …]
|
/Linux-v4.19/arch/sh/include/asm/ |
D | elf.h | 154 _r->tregs[0]=0; _r->tregs[1]=0; _r->tregs[2]=0; _r->tregs[3]=0; \ 155 _r->tregs[4]=0; _r->tregs[5]=0; _r->tregs[6]=0; _r->tregs[7]=0; \
|
D | ptrace_64.h | 8 #define MAX_REG_OFFSET offsetof(struct pt_regs, tregs[7])
|
D | ptrace.h | 36 {.name = __stringify(tr##num), .offset = offsetof(struct pt_regs, tregs[num])}
|
/Linux-v4.19/arch/sparc/kernel/ |
D | starfire.c | 40 unsigned long tregs[32]; member 67 p->tregs[i] = treg_base + (i * 0x10UL); in starfire_hookup() 69 if (upa_readl(p->tregs[i]) != 0) in starfire_hookup() 109 upa_writel(upaid, p->tregs[i]); in starfire_translate()
|
/Linux-v4.19/arch/m68k/kernel/ |
D | signal.c | 94 struct pt_regs *tregs; in fixup_exception() local 103 tregs = (struct pt_regs *)((long)regs + regs->stkadj); in fixup_exception() 104 tregs->vector = regs->vector; in fixup_exception() 105 tregs->format = FORMAT; in fixup_exception() 106 tregs->pc = fixup->fixup; in fixup_exception() 107 tregs->sr = regs->sr; in fixup_exception() 949 struct pt_regs *tregs = in setup_frame() local 954 tregs->vector = 0; in setup_frame() 955 tregs->format = 0; in setup_frame() 956 tregs->pc = regs->pc; in setup_frame() [all …]
|
/Linux-v4.19/arch/sh/include/uapi/asm/ |
D | ptrace_64.h | 10 unsigned long long tregs[8]; member
|
/Linux-v4.19/arch/ia64/kernel/ |
D | perfmon.c | 3935 struct pt_regs *tregs; in pfm_stop() local 4004 tregs = task_pt_regs(task); in pfm_stop() 4009 ia64_psr(tregs)->up = 0; in pfm_stop() 4024 struct pt_regs *tregs; in pfm_start() local 4086 tregs = task_pt_regs(ctx->ctx_task); in pfm_start() 4097 ia64_psr(tregs)->up = 1; in pfm_start() 4412 struct pt_regs *tregs; in pfm_context_unload() local 4483 tregs = task == current ? regs : task_pt_regs(task); in pfm_context_unload()
|