regoff 83 arch/alpha/kernel/ptrace.c static int regoff[] = { regoff 121 arch/alpha/kernel/ptrace.c addr = task_stack_page(task) + regoff[regno]; regoff 50 arch/m68k/kernel/ptrace.c static const int regoff[] = { regoff 81 arch/m68k/kernel/ptrace.c else if (regno < ARRAY_SIZE(regoff)) regoff 82 arch/m68k/kernel/ptrace.c addr = (unsigned long *)(task->thread.esp0 + regoff[regno]); regoff 106 arch/m68k/kernel/ptrace.c else if (regno < ARRAY_SIZE(regoff)) regoff 107 arch/m68k/kernel/ptrace.c addr = (unsigned long *)(task->thread.esp0 + regoff[regno]); regoff 131 arch/x86/lib/insn-eval.c static bool check_seg_overrides(struct insn *insn, int regoff) regoff 133 arch/x86/lib/insn-eval.c if (regoff == offsetof(struct pt_regs, di) && is_string_insn(insn)) regoff 258 arch/x86/lib/insn-eval.c static int resolve_seg_reg(struct insn *insn, struct pt_regs *regs, int regoff) regoff 268 arch/x86/lib/insn-eval.c if (regoff == offsetof(struct pt_regs, ip)) { regoff 278 arch/x86/lib/insn-eval.c if (!check_seg_overrides(insn, regoff)) regoff 279 arch/x86/lib/insn-eval.c return resolve_default_seg(insn, regs, regoff); regoff 286 arch/x86/lib/insn-eval.c return resolve_default_seg(insn, regs, regoff); regoff 401 arch/x86/lib/insn-eval.c static const int regoff[] = { regoff 421 arch/x86/lib/insn-eval.c int nr_registers = ARRAY_SIZE(regoff); regoff 482 arch/x86/lib/insn-eval.c return regoff[regno]; regoff 830 arch/x86/lib/insn-eval.c int regoff, unsigned long *base, regoff 838 arch/x86/lib/insn-eval.c seg_reg_idx = resolve_seg_reg(insn, regs, regoff); regoff 880 arch/x86/lib/insn-eval.c int *regoff, long *eff_addr) regoff 890 arch/x86/lib/insn-eval.c *regoff = get_reg_offset(insn, regs, REG_TYPE_RM); regoff 891 arch/x86/lib/insn-eval.c if (*regoff < 0) regoff 896 arch/x86/lib/insn-eval.c *eff_addr = regs_get_register(regs, *regoff) & 0xffff; regoff 898 arch/x86/lib/insn-eval.c *eff_addr = regs_get_register(regs, *regoff) & 0xffffffff; regoff 900 arch/x86/lib/insn-eval.c *eff_addr = regs_get_register(regs, *regoff); regoff 928 arch/x86/lib/insn-eval.c int *regoff, long *eff_addr) regoff 943 arch/x86/lib/insn-eval.c *regoff = get_reg_offset(insn, regs, REG_TYPE_RM); regoff 950 arch/x86/lib/insn-eval.c if (*regoff == -EDOM) { regoff 955 arch/x86/lib/insn-eval.c } else if (*regoff < 0) { regoff 958 arch/x86/lib/insn-eval.c tmp = regs_get_register(regs, *regoff); regoff 995 arch/x86/lib/insn-eval.c int *regoff, short *eff_addr) regoff 1035 arch/x86/lib/insn-eval.c *regoff = addr_offset1; regoff 1144 arch/x86/lib/insn-eval.c int ret, regoff; regoff 1155 arch/x86/lib/insn-eval.c ret = get_eff_addr_reg(insn, regs, ®off, &tmp); regoff 1161 arch/x86/lib/insn-eval.c ret = get_eff_addr_modrm_16(insn, regs, ®off, &eff_addr); regoff 1166 arch/x86/lib/insn-eval.c ret = get_seg_base_limit(insn, regs, regoff, &seg_base, &seg_limit); regoff 1208 arch/x86/lib/insn-eval.c int eff_addr, regoff; regoff 1216 arch/x86/lib/insn-eval.c ret = get_eff_addr_reg(insn, regs, ®off, &tmp); regoff 1224 arch/x86/lib/insn-eval.c ret = get_eff_addr_sib(insn, regs, ®off, &tmp); regoff 1230 arch/x86/lib/insn-eval.c ret = get_eff_addr_modrm(insn, regs, ®off, &tmp); regoff 1238 arch/x86/lib/insn-eval.c ret = get_seg_base_limit(insn, regs, regoff, &seg_base, &seg_limit); regoff 1302 arch/x86/lib/insn-eval.c int regoff, ret; regoff 1309 arch/x86/lib/insn-eval.c ret = get_eff_addr_reg(insn, regs, ®off, &eff_addr); regoff 1315 arch/x86/lib/insn-eval.c ret = get_eff_addr_sib(insn, regs, ®off, &eff_addr); regoff 1319 arch/x86/lib/insn-eval.c ret = get_eff_addr_modrm(insn, regs, ®off, &eff_addr); regoff 1326 arch/x86/lib/insn-eval.c ret = get_seg_base_limit(insn, regs, regoff, &seg_base, NULL); regoff 155 drivers/bcma/driver_pci.c uint regoff; regoff 157 drivers/bcma/driver_pci.c regoff = BCMA_CORE_PCI_SPROM(BCMA_CORE_PCI_SPROM_PI_OFFSET); regoff 160 drivers/bcma/driver_pci.c val16 = pcicore_read16(pc, regoff); regoff 165 drivers/bcma/driver_pci.c pcicore_write16(pc, regoff, val16); regoff 224 drivers/bcma/driver_pci.c uint regoff; regoff 226 drivers/bcma/driver_pci.c regoff = BCMA_CORE_PCI_SPROM(BCMA_CORE_PCI_SPROM_MISC_CONFIG); regoff 228 drivers/bcma/driver_pci.c val16 = pcicore_read16(pc, regoff); regoff 232 drivers/bcma/driver_pci.c pcicore_write16(pc, regoff, val16); regoff 205 drivers/gpio/gpio-xlp.c int gpio, regoff; regoff 208 drivers/gpio/gpio-xlp.c regoff = -1; regoff 213 drivers/gpio/gpio-xlp.c if (regoff != gpio / XLP_GPIO_REGSZ) { regoff 214 drivers/gpio/gpio-xlp.c regoff = gpio / XLP_GPIO_REGSZ; regoff 215 drivers/gpio/gpio-xlp.c gpio_stat = readl(priv->gpio_intr_stat + regoff * 4); regoff 14276 drivers/infiniband/hw/hfi1/chip.c unsigned idx, regoff, regidx; regoff 14280 drivers/infiniband/hw/hfi1/chip.c regoff = (idx % 8) * 8; regoff 14285 drivers/infiniband/hw/hfi1/chip.c << regoff); regoff 14286 drivers/infiniband/hw/hfi1/chip.c reg |= (u64)(tctxt++) << regoff; regoff 14326 drivers/infiniband/hw/hfi1/chip.c int i, idx, regoff, regidx, start; regoff 14359 drivers/infiniband/hw/hfi1/chip.c regoff = (idx % 8) * 8; regoff 14362 drivers/infiniband/hw/hfi1/chip.c reg &= ~(RCV_RSM_MAP_TABLE_RCV_CONTEXT_A_MASK << regoff); regoff 14363 drivers/infiniband/hw/hfi1/chip.c reg |= (u64)i << regoff; regoff 14401 drivers/infiniband/hw/hfi1/chip.c u32 regoff; regoff 14415 drivers/infiniband/hw/hfi1/chip.c regoff = RCV_RSM_MAP_TABLE + (dd->vnic.rmt_start / 8) * 8; regoff 14416 drivers/infiniband/hw/hfi1/chip.c reg = read_csr(dd, regoff); regoff 14428 drivers/infiniband/hw/hfi1/chip.c regoff - RCV_RSM_MAP_TABLE, reg); regoff 14430 drivers/infiniband/hw/hfi1/chip.c write_csr(dd, regoff, reg); regoff 14431 drivers/infiniband/hw/hfi1/chip.c regoff += 8; regoff 14433 drivers/infiniband/hw/hfi1/chip.c reg = read_csr(dd, regoff); regoff 94 drivers/media/dvb-frontends/stv0910.c u16 regoff; regoff 486 drivers/media/dvb-frontends/stv0910.c read_reg(state, RSTV0910_P2_SFR3 + state->regoff, &symb_freq3); regoff 487 drivers/media/dvb-frontends/stv0910.c read_reg(state, RSTV0910_P2_SFR2 + state->regoff, &symb_freq2); regoff 488 drivers/media/dvb-frontends/stv0910.c read_reg(state, RSTV0910_P2_SFR1 + state->regoff, &symb_freq1); regoff 489 drivers/media/dvb-frontends/stv0910.c read_reg(state, RSTV0910_P2_SFR0 + state->regoff, &symb_freq0); regoff 490 drivers/media/dvb-frontends/stv0910.c read_reg(state, RSTV0910_P2_TMGREG2 + state->regoff, &tim_offs2); regoff 491 drivers/media/dvb-frontends/stv0910.c read_reg(state, RSTV0910_P2_TMGREG1 + state->regoff, &tim_offs1); regoff 492 drivers/media/dvb-frontends/stv0910.c read_reg(state, RSTV0910_P2_TMGREG0 + state->regoff, &tim_offs0); regoff 518 drivers/media/dvb-frontends/stv0910.c read_reg(state, RSTV0910_P2_DMDMODCOD + state->regoff, &tmp); regoff 524 drivers/media/dvb-frontends/stv0910.c read_reg(state, RSTV0910_P2_VITCURPUN + state->regoff, &tmp); regoff 554 drivers/media/dvb-frontends/stv0910.c read_reg(state, RSTV0910_P2_DMDCFGMD + state->regoff, &tmp); regoff 568 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_DMDCFGMD + state->regoff, tmp); regoff 582 drivers/media/dvb-frontends/stv0910.c state->regoff, aclc); regoff 585 drivers/media/dvb-frontends/stv0910.c state->regoff, 0x2a); regoff 587 drivers/media/dvb-frontends/stv0910.c state->regoff, aclc); regoff 590 drivers/media/dvb-frontends/stv0910.c state->regoff, 0x2a); regoff 592 drivers/media/dvb-frontends/stv0910.c state->regoff, aclc); regoff 595 drivers/media/dvb-frontends/stv0910.c state->regoff, 0x2a); regoff 597 drivers/media/dvb-frontends/stv0910.c state->regoff, aclc); regoff 654 drivers/media/dvb-frontends/stv0910.c read_reg(state, RSTV0910_P2_NNOSPLHT1 + state->regoff, regoff 656 drivers/media/dvb-frontends/stv0910.c read_reg(state, RSTV0910_P2_NNOSPLHT0 + state->regoff, regoff 661 drivers/media/dvb-frontends/stv0910.c read_reg(state, RSTV0910_P2_NNOSDATAT1 + state->regoff, regoff 663 drivers/media/dvb-frontends/stv0910.c read_reg(state, RSTV0910_P2_NNOSDATAT0 + state->regoff, regoff 679 drivers/media/dvb-frontends/stv0910.c RSTV0910_P2_ERRCNT12 + state->regoff, regoff 693 drivers/media/dvb-frontends/stv0910.c state->regoff, regoff 699 drivers/media/dvb-frontends/stv0910.c state->regoff, 0x20 | regoff 753 drivers/media/dvb-frontends/stv0910.c int status = read_regs(state, RSTV0910_P2_ERRCNT12 + state->regoff, regoff 768 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_ERRCTRL1 + state->regoff, regoff 773 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_ERRCTRL1 + state->regoff, regoff 869 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_TSCFGH + state->regoff, regoff 871 drivers/media/dvb-frontends/stv0910.c read_reg(state, RSTV0910_P2_PDELCTRL1 + state->regoff, &tmp); regoff 873 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_PDELCTRL1 + state->regoff, tmp); regoff 875 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_AGC2O + state->regoff, 0x5B); regoff 877 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_DMDISTATE + state->regoff, 0x5c); regoff 890 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_PLROOT0 + state->regoff, regoff 892 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_PLROOT1 + state->regoff, regoff 894 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_PLROOT2 + state->regoff, regoff 908 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_ISIENTRY + state->regoff, regoff 910 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_ISIBITENA + state->regoff, 0xff); regoff 967 drivers/media/dvb-frontends/stv0910.c return write_reg(state, RSTV0910_P2_PRVIT + state->regoff, val); regoff 978 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_VTH12 + state->regoff + 0, state->vth[0]); regoff 979 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_VTH12 + state->regoff + 1, state->vth[1]); regoff 980 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_VTH12 + state->regoff + 2, state->vth[2]); regoff 981 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_VTH12 + state->regoff + 3, state->vth[3]); regoff 982 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_VTH12 + state->regoff + 4, state->vth[4]); regoff 983 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_VTH12 + state->regoff + 5, state->vth[5]); regoff 1000 drivers/media/dvb-frontends/stv0910.c RSTV0910_P2_NNOSDATAT1 + state->regoff, regoff 1010 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_VTH12 + state->regoff + 0, state->vth[0]); regoff 1011 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_VTH12 + state->regoff + 1, state->vth[1]); regoff 1012 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_VTH12 + state->regoff + 2, state->vth[2]); regoff 1013 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_VTH12 + state->regoff + 3, state->vth[3]); regoff 1014 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_VTH12 + state->regoff + 4, state->vth[4]); regoff 1015 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_VTH12 + state->regoff + 5, state->vth[5]); regoff 1033 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_DMDISTATE + state->regoff, 0x5C); regoff 1059 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_SFRINIT1 + state->regoff, regoff 1061 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_SFRINIT0 + state->regoff, (symb & 0xFF)); regoff 1064 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_DEMOD + state->regoff, state->demod_bits); regoff 1067 drivers/media/dvb-frontends/stv0910.c read_reg(state, RSTV0910_P2_DMDCFGMD + state->regoff, ®_dmdcfgmd); regoff 1068 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_DMDCFGMD + state->regoff, regoff 1075 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_FECM + state->regoff, 0x00); regoff 1076 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_PRVIT + state->regoff, 0x2F); regoff 1081 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_ACLC2S2Q + state->regoff, 0x0B); regoff 1082 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_ACLC2S28 + state->regoff, 0x0A); regoff 1083 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_BCLC2S2Q + state->regoff, 0x84); regoff 1084 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_BCLC2S28 + state->regoff, 0x84); regoff 1085 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_CARHDR + state->regoff, 0x1C); regoff 1086 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_CARFREQ + state->regoff, 0x79); regoff 1088 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_ACLC2S216A + state->regoff, 0x29); regoff 1089 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_ACLC2S232A + state->regoff, 0x09); regoff 1090 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_BCLC2S216A + state->regoff, 0x84); regoff 1091 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_BCLC2S232A + state->regoff, 0x84); regoff 1102 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_DMDISTATE + state->regoff, 0x1F); regoff 1104 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_CARCFG + state->regoff, 0x46); regoff 1112 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_CFRUP1 + state->regoff, regoff 1114 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_CFRUP0 + state->regoff, (freq & 0xff)); regoff 1117 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_CFRLOW1 + state->regoff, regoff 1119 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_CFRLOW0 + state->regoff, (freq & 0xff)); regoff 1122 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_CFRINIT1 + state->regoff, 0); regoff 1123 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_CFRINIT0 + state->regoff, 0); regoff 1125 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_DMDISTATE + state->regoff, 0x1F); regoff 1127 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_DMDISTATE + state->regoff, 0x15); regoff 1306 drivers/media/dvb-frontends/stv0910.c read_regs(state, RSTV0910_P2_MATSTR1 + state->regoff, regoff 1361 drivers/media/dvb-frontends/stv0910.c read_regs(state, RSTV0910_P2_AGCIQIN1 + state->regoff, reg, 2); regoff 1366 drivers/media/dvb-frontends/stv0910.c read_regs(state, RSTV0910_P2_POWERI + state->regoff, reg, 2); regoff 1390 drivers/media/dvb-frontends/stv0910.c read_reg(state, RSTV0910_P2_DMDSTATE + state->regoff, &dmd_state); regoff 1393 drivers/media/dvb-frontends/stv0910.c read_reg(state, RSTV0910_P2_DSTATUS + state->regoff, &dstatus); regoff 1423 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_TSCFGH + state->regoff, regoff 1426 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_TSCFGH + state->regoff, regoff 1428 drivers/media/dvb-frontends/stv0910.c write_reg(state, RSTV0910_P2_TSCFGH + state->regoff, regoff 1436 drivers/media/dvb-frontends/stv0910.c RSTV0910_P2_PDELSTATUS1 + state->regoff, regoff 1443 drivers/media/dvb-frontends/stv0910.c RSTV0910_P2_VSTATUSVIT + state->regoff, regoff 1466 drivers/media/dvb-frontends/stv0910.c RSTV0910_P2_DEMOD + state->regoff, regoff 1469 drivers/media/dvb-frontends/stv0910.c RSTV0910_P2_PDELCTRL2 + state->regoff, regoff 1474 drivers/media/dvb-frontends/stv0910.c RSTV0910_P2_PDELCTRL2 + state->regoff, regoff 1479 drivers/media/dvb-frontends/stv0910.c RSTV0910_P2_PDELCTRL2 + state->regoff, regoff 1487 drivers/media/dvb-frontends/stv0910.c RSTV0910_P2_ERRCTRL1 + state->regoff, regoff 1495 drivers/media/dvb-frontends/stv0910.c RSTV0910_P2_ERRCTRL1 + state->regoff, regoff 1500 drivers/media/dvb-frontends/stv0910.c RSTV0910_P2_FBERCPT4 + state->regoff, 0x00); regoff 1506 drivers/media/dvb-frontends/stv0910.c RSTV0910_P2_ERRCTRL2 + state->regoff, 0xc1); regoff 1519 drivers/media/dvb-frontends/stv0910.c read_reg(state, RSTV0910_P2_DMDMODCOD + state->regoff, regoff 1579 drivers/media/dvb-frontends/stv0910.c read_reg(state, RSTV0910_P2_DMDMODCOD + state->regoff, &tmp); regoff 1585 drivers/media/dvb-frontends/stv0910.c read_reg(state, RSTV0910_P2_VITCURPUN + state->regoff, &tmp); regoff 1793 drivers/media/dvb-frontends/stv0910.c state->regoff = state->nr ? 0 : 0x200; regoff 543 drivers/net/wireless/broadcom/brcm80211/brcmsmac/aiutils.c uint ai_cc_reg(struct si_pub *sih, uint regoff, u32 mask, u32 val) regoff 554 drivers/net/wireless/broadcom/brcm80211/brcmsmac/aiutils.c bcma_maskset32(cc, regoff, ~mask, val); regoff 557 drivers/net/wireless/broadcom/brcm80211/brcmsmac/aiutils.c w = bcma_read32(cc, regoff); regoff 180 drivers/net/wireless/broadcom/brcm80211/brcmsmac/aiutils.h uint ai_cc_reg(struct si_pub *sih, uint regoff, u32 mask, u32 val); regoff 106 drivers/spi/spi-xlp.c int cs, int regoff) regoff 108 drivers/spi/spi-xlp.c return readl(priv->base + regoff + cs * SPI_CS_OFFSET); regoff 112 drivers/spi/spi-xlp.c int regoff, u32 val) regoff 114 drivers/spi/spi-xlp.c writel(val, priv->base + regoff + cs * SPI_CS_OFFSET); regoff 118 drivers/spi/spi-xlp.c int regoff, u32 val) regoff 120 drivers/spi/spi-xlp.c writel(val, priv->base + regoff);