/linux-master/drivers/net/ethernet/sun/ |
H A D | sunbmac.c | 256 static void idle_transceiver(void __iomem *tregs) argument 261 sbus_writel(MGMT_CLKOFF, tregs + TCVR_MPAL); 262 sbus_readl(tregs + TCVR_MPAL); 263 sbus_writel(MGMT_CLKON, tregs + TCVR_MPAL); 264 sbus_readl(tregs + TCVR_MPAL); 268 static void write_tcvr_bit(struct bigmac *bp, void __iomem *tregs, int bit) argument 273 tregs + TCVR_MPAL); 274 sbus_readl(tregs + TCVR_MPAL); 276 tregs + TCVR_MPAL); 277 sbus_readl(tregs 291 read_tcvr_bit(struct bigmac *bp, void __iomem *tregs) argument 314 read_tcvr_bit2(struct bigmac *bp, void __iomem *tregs) argument 336 put_tcvr_byte(struct bigmac *bp, void __iomem *tregs, unsigned int byte) argument 348 bigmac_tcvr_write(struct bigmac *bp, void __iomem *tregs, int reg, unsigned short val) argument 387 bigmac_tcvr_read(struct bigmac *bp, void __iomem *tregs, int reg) argument 456 void __iomem *tregs = bp->tregs; local 494 try_next_permutation(struct bigmac *bp, void __iomem *tregs) argument 530 void __iomem *tregs = bp->tregs; local 585 void __iomem *tregs = bp->tregs; local [all...] |
H A D | sunhme.c | 261 static void BB_PUT_BIT(struct happy_meal *hp, void __iomem *tregs, int bit) argument 263 hme_write32(hp, tregs + TCVR_BBDATA, bit); 264 hme_write32(hp, tregs + TCVR_BBCLOCK, 0); 265 hme_write32(hp, tregs + TCVR_BBCLOCK, 1); 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) argument 289 hme_write32(hp, tregs 303 happy_meal_bb_read(struct happy_meal *hp, void __iomem *tregs, int reg) argument 347 happy_meal_bb_write(struct happy_meal *hp, void __iomem *tregs, int reg, unsigned short value) argument 392 happy_meal_tcvr_read(struct happy_meal *hp, void __iomem *tregs, int reg) argument 423 happy_meal_tcvr_write(struct happy_meal *hp, void __iomem *tregs, int reg, unsigned short value) argument 483 try_next_permutation(struct happy_meal *hp, void __iomem *tregs) argument 507 display_link_mode(struct happy_meal *hp, void __iomem *tregs) argument 518 display_forced_link_mode(struct happy_meal *hp, void __iomem *tregs) argument 529 set_happy_link_modes(struct happy_meal *hp, void __iomem *tregs) argument 591 void __iomem *tregs = hp->tcvregs; local 606 happy_meal_begin_auto_negotiation(struct happy_meal *hp, void __iomem *tregs, const struct ethtool_link_ksettings *ep) argument 725 void __iomem *tregs = hp->tcvregs; local 992 happy_meal_tcvr_reset(struct happy_meal *hp, void __iomem *tregs) argument 1086 happy_meal_transceiver_check(struct happy_meal *hp, void __iomem *tregs) argument 1263 void __iomem *tregs = hp->tcvregs; local 1534 void __iomem *tregs = hp->tcvregs; local [all...] |
H A D | sunbmac.h | 293 void __iomem *tregs; /* BigMAC Transceiver */ member in struct:bigmac
|
/linux-master/arch/sparc/kernel/ |
H A D | starfire.c | 40 unsigned long tregs[32]; member in struct:starfire_irqinfo 67 p->tregs[i] = treg_base + (i * 0x10UL); 69 if (upa_readl(p->tregs[i]) != 0) 109 upa_writel(upaid, p->tregs[i]);
|
/linux-master/arch/m68k/kernel/ |
H A D | signal.c | 95 struct pt_regs *tregs; local 104 tregs = (struct pt_regs *)((long)regs + regs->stkadj); 105 tregs->vector = regs->vector; 106 tregs->format = FORMAT; 107 tregs->pc = fixup->fixup; 108 tregs->sr = regs->sr; 817 struct pt_regs *tregs = rte_regs(regs); local 824 sc->sc_sr = tregs->sr; 825 sc->sc_pc = tregs->pc; 826 sc->sc_formatvec = tregs 834 struct pt_regs *tregs = rte_regs(regs); local 863 get_sigframe(struct ksignal *ksig, struct pt_regs *tregs, size_t frame_size) argument 880 struct pt_regs *tregs = rte_regs(regs); local 953 struct pt_regs *tregs = rte_regs(regs); local [all...] |
/linux-master/drivers/iio/magnetometer/ |
H A D | bmc150_magn.c | 362 static s32 bmc150_magn_compensate_x(struct bmc150_magn_trim_regs *tregs, s16 x, argument 366 u16 xyz1 = le16_to_cpu(tregs->xyz1); 375 val = ((s16)((((s32)x) * ((((((((s32)tregs->xy2) * ((((s32)val) * 377 ((s32)(((s16)tregs->xy1) << 7)))) >> 9) + ((s32)0x100000)) * 378 ((s32)(((s16)tregs->x2) + ((s16)0xA0)))) >> 12)) >> 13)) + 379 (((s16)tregs->x1) << 3); 384 static s32 bmc150_magn_compensate_y(struct bmc150_magn_trim_regs *tregs, s16 y, argument 388 u16 xyz1 = le16_to_cpu(tregs->xyz1); 397 val = ((s16)((((s32)y) * ((((((((s32)tregs->xy2) * ((((s32)val) * 399 ((s32)(((s16)tregs 406 bmc150_magn_compensate_z(struct bmc150_magn_trim_regs *tregs, s16 z, u16 rhall) argument 432 struct bmc150_magn_trim_regs tregs; local [all...] |
/linux-master/arch/sh/include/asm/ |
H A D | ptrace.h | 59 {.name = __stringify(tr##num), .offset = offsetof(struct pt_regs, tregs[num])}
|