Searched refs:regoff (Results 1 - 16 of 16) sorted by relevance

/linux-master/drivers/media/dvb-frontends/
H A Dstv0910.c85 u16 regoff; member in struct:stv
477 read_reg(state, RSTV0910_P2_SFR3 + state->regoff, &symb_freq3);
478 read_reg(state, RSTV0910_P2_SFR2 + state->regoff, &symb_freq2);
479 read_reg(state, RSTV0910_P2_SFR1 + state->regoff, &symb_freq1);
480 read_reg(state, RSTV0910_P2_SFR0 + state->regoff, &symb_freq0);
481 read_reg(state, RSTV0910_P2_TMGREG2 + state->regoff, &tim_offs2);
482 read_reg(state, RSTV0910_P2_TMGREG1 + state->regoff, &tim_offs1);
483 read_reg(state, RSTV0910_P2_TMGREG0 + state->regoff, &tim_offs0);
509 read_reg(state, RSTV0910_P2_DMDMODCOD + state->regoff, &tmp);
515 read_reg(state, RSTV0910_P2_VITCURPUN + state->regoff,
[all...]
/linux-master/drivers/spi/
H A Dspi-altera-platform.c81 struct resource *regoff; local
89 regoff = platform_get_resource(pdev, IORESOURCE_REG, 0);
90 if (regoff)
91 hw->regoff = regoff->start;
134 dev_info(&pdev->dev, "regoff %u, irq %d\n", hw->regoff, hw->irq);
H A Dspi-xlp.c105 int cs, int regoff)
107 return readl(priv->base + regoff + cs * SPI_CS_OFFSET);
111 int regoff, u32 val)
113 writel(val, priv->base + regoff + cs * SPI_CS_OFFSET);
117 int regoff, u32 val)
119 writel(val, priv->base + regoff);
104 xlp_spi_reg_read(struct xlp_spi_priv *priv, int cs, int regoff) argument
110 xlp_spi_reg_write(struct xlp_spi_priv *priv, int cs, int regoff, u32 val) argument
116 xlp_spi_sysctl_write(struct xlp_spi_priv *priv, int regoff, u32 val) argument
H A Dspi-altera-core.c48 ret = regmap_write(hw->regmap, hw->regoff + reg, val);
61 ret = regmap_read(hw->regmap, hw->regoff + reg, val);
/linux-master/include/linux/spi/
H A Daltera.h44 u32 regoff; member in struct:altera_spi
/linux-master/arch/x86/lib/
H A Dinsn-eval.c143 * @regoff: Operand offset, in pt_regs, for which the check is performed
152 * in @regoff. False if otherwise.
154 static bool check_seg_overrides(struct insn *insn, int regoff) argument
156 if (regoff == offsetof(struct pt_regs, di) && is_string_insn(insn))
233 * @regoff: Operand offset, in pt_regs, used to determine segment register
253 * operand indicated by @regoff. If allowed, obtain such overridden segment
260 * The operand register, @regoff, is represented as the offset from the base of
265 * must be valid. However, if @regoff indicates rIP, we don't need to inspect
281 static int resolve_seg_reg(struct insn *insn, struct pt_regs *regs, int regoff) argument
291 if (regoff
916 get_seg_base_limit(struct insn *insn, struct pt_regs *regs, int regoff, unsigned long *base, unsigned long *limit) argument
966 get_eff_addr_reg(struct insn *insn, struct pt_regs *regs, int *regoff, long *eff_addr) argument
1015 get_eff_addr_modrm(struct insn *insn, struct pt_regs *regs, int *regoff, long *eff_addr) argument
1082 get_eff_addr_modrm_16(struct insn *insn, struct pt_regs *regs, int *regoff, short *eff_addr) argument
1237 int ret, regoff; local
1301 int eff_addr, regoff; local
1395 int regoff, ret; local
[all...]
/linux-master/drivers/bcma/
H A Ddriver_pci.c155 uint regoff; local
157 regoff = BCMA_CORE_PCI_SPROM(BCMA_CORE_PCI_SPROM_PI_OFFSET);
160 val16 = pcicore_read16(pc, regoff);
165 pcicore_write16(pc, regoff, val16);
224 uint regoff; local
226 regoff = BCMA_CORE_PCI_SPROM(BCMA_CORE_PCI_SPROM_MISC_CONFIG);
228 val16 = pcicore_read16(pc, regoff);
232 pcicore_write16(pc, regoff, val16);
/linux-master/arch/m68k/kernel/
H A Dptrace.c52 static const int regoff[] = { variable
83 else if (regno < ARRAY_SIZE(regoff))
84 addr = (unsigned long *)(task->thread.esp0 + regoff[regno]);
108 else if (regno < ARRAY_SIZE(regoff))
109 addr = (unsigned long *)(task->thread.esp0 + regoff[regno]);
/linux-master/drivers/gpio/
H A Dgpio-xlp.c186 int gpio, regoff; local
189 regoff = -1;
194 if (regoff != gpio / XLP_GPIO_REGSZ) {
195 regoff = gpio / XLP_GPIO_REGSZ;
196 gpio_stat = readl(priv->gpio_intr_stat + regoff * 4);
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Daiutils.h172 uint ai_cc_reg(struct si_pub *sih, uint regoff, u32 mask, u32 val);
H A Daiutils.c540 uint ai_cc_reg(struct si_pub *sih, uint regoff, u32 mask, u32 val) argument
551 bcma_maskset32(cc, regoff, ~mask, val);
554 w = bcma_read32(cc, regoff);
/linux-master/arch/alpha/kernel/
H A Dptrace.c83 static int regoff[] = { variable
121 addr = task_stack_page(task) + regoff[regno];
/linux-master/drivers/pinctrl/
H A Dpinctrl-microchip-sgpio.c61 u8 regoff[MAXREG]; member in struct:sgpio_properties
93 .regoff = { 0x00, 0x09, 0x29, 0x2a, 0x2b },
98 .regoff = { 0x00, 0x06, 0x26, 0x04, 0x05 },
104 .regoff = { 0x00, 0x06, 0x26, 0x04, 0x05, 0x2a, 0x32, 0x3a, 0x3e, 0x42 },
149 return (priv->properties->regoff[rno] + off) *
/linux-master/drivers/hwmon/
H A Dintel-m10-bmc-hwmon.c590 unsigned int regoff, long *val)
595 ret = m10bmc_sys_read(hw->m10bmc, regoff, &regval);
588 do_sensor_read(struct m10bmc_hwmon *hw, const struct m10bmc_sdata *data, unsigned int regoff, long *val) argument
/linux-master/drivers/infiniband/hw/hfi1/
H A Dchip.c14393 unsigned idx, regoff, regidx; local
14397 regoff = (idx % 8) * 8;
14402 << regoff);
14403 reg |= (u64)(tctxt++) << regoff;
14443 int i, idx, regoff, regidx, start; local
14476 regoff = (idx % 8) * 8;
14479 reg &= ~(RCV_RSM_MAP_TABLE_RCV_CONTEXT_A_MASK << regoff);
14480 reg |= (u64)i << regoff;
14522 u32 regoff; local
14543 regoff
[all...]
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_nix.c2304 u64 regoff; local
2326 regoff = NIX_AF_TL2X_SW_XOFF(tl2);
2328 rvu_write64(rvu, blkaddr, regoff, 0x1);
2330 rvu_write64(rvu, blkaddr, regoff, 0x0);

Completed in 461 milliseconds