Searched refs:tregs (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/net/ethernet/sun/ |
H A D | sunhme.c | 261 static void BB_PUT_BIT(struct happy_meal *hp, void __iomem *tregs, int bit) in BB_PUT_BIT() argument 263 hme_write32(hp, tregs + TCVR_BBDATA, bit); in BB_PUT_BIT() 264 hme_write32(hp, tregs + TCVR_BBCLOCK, 0); in BB_PUT_BIT() 265 hme_write32(hp, tregs + TCVR_BBCLOCK, 1); in BB_PUT_BIT() 269 static u32 BB_GET_BIT(struct happy_meal *hp, void __iomem *tregs, int internal) 273 hme_write32(hp, tregs + TCVR_BBCLOCK, 0); 274 hme_write32(hp, tregs + TCVR_BBCLOCK, 1); 275 ret = hme_read32(hp, tregs + TCVR_CFG); 285 static u32 BB_GET_BIT2(struct happy_meal *hp, void __iomem *tregs, int internal) in BB_GET_BIT2() argument 289 hme_write32(hp, tregs + TCVR_BBCLOCK, 0); in BB_GET_BIT2() [all …]
|
H A D | sunbmac.h | 293 void __iomem *tregs; /* BigMAC Transceiver */ member
|
/linux/arch/m68k/kernel/ |
H A D | signal.c | 95 struct pt_regs *tregs; in fixup_exception() local 104 tregs = (struct pt_regs *)((long)regs + regs->stkadj); in fixup_exception() 105 tregs->vector = regs->vector; in fixup_exception() 106 tregs->format = FORMAT; in fixup_exception() 107 tregs->pc = fixup->fixup; in fixup_exception() 108 tregs->sr = regs->sr; in fixup_exception() 817 struct pt_regs *tregs = rte_regs(regs); in setup_sigcontext() local 824 sc->sc_sr = tregs->sr; in setup_sigcontext() 825 sc->sc_pc = tregs->pc; in setup_sigcontext() 826 sc->sc_formatvec = tregs->format << 12 | tregs->vector; in setup_sigcontext() [all …]
|
/linux/drivers/iio/magnetometer/ |
H A D | bmc150_magn.c | 361 static s32 bmc150_magn_compensate_x(struct bmc150_magn_trim_regs *tregs, s16 x, in bmc150_magn_compensate_x() argument 365 u16 xyz1 = le16_to_cpu(tregs->xyz1); in bmc150_magn_compensate_x() 374 val = ((s16)((((s32)x) * ((((((((s32)tregs->xy2) * ((((s32)val) * in bmc150_magn_compensate_x() 376 ((s32)(((s16)tregs->xy1) << 7)))) >> 9) + ((s32)0x100000)) * in bmc150_magn_compensate_x() 377 ((s32)(((s16)tregs->x2) + ((s16)0xA0)))) >> 12)) >> 13)) + in bmc150_magn_compensate_x() 378 (((s16)tregs->x1) << 3); in bmc150_magn_compensate_x() 383 static s32 bmc150_magn_compensate_y(struct bmc150_magn_trim_regs *tregs, s16 y, in bmc150_magn_compensate_y() argument 387 u16 xyz1 = le16_to_cpu(tregs->xyz1); in bmc150_magn_compensate_y() 396 val = ((s16)((((s32)y) * ((((((((s32)tregs->xy2) * ((((s32)val) * in bmc150_magn_compensate_y() 398 ((s32)(((s16)tregs->xy1) << 7)))) >> 9) + ((s32)0x100000)) * in bmc150_magn_compensate_y() [all …]
|
/linux/arch/sparc/kernel/ |
H A 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/arch/sh/include/asm/ |
H A D | ptrace.h | 59 {.name = __stringify(tr##num), .offset = offsetof(struct pt_regs, tregs[num])}
|