Home
last modified time | relevance | path

Searched refs:regoff (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.15/drivers/media/dvb-frontends/
Dstv0910.c94 u16 regoff; member
486 read_reg(state, RSTV0910_P2_SFR3 + state->regoff, &symb_freq3); in get_cur_symbol_rate()
487 read_reg(state, RSTV0910_P2_SFR2 + state->regoff, &symb_freq2); in get_cur_symbol_rate()
488 read_reg(state, RSTV0910_P2_SFR1 + state->regoff, &symb_freq1); in get_cur_symbol_rate()
489 read_reg(state, RSTV0910_P2_SFR0 + state->regoff, &symb_freq0); in get_cur_symbol_rate()
490 read_reg(state, RSTV0910_P2_TMGREG2 + state->regoff, &tim_offs2); in get_cur_symbol_rate()
491 read_reg(state, RSTV0910_P2_TMGREG1 + state->regoff, &tim_offs1); in get_cur_symbol_rate()
492 read_reg(state, RSTV0910_P2_TMGREG0 + state->regoff, &tim_offs0); in get_cur_symbol_rate()
518 read_reg(state, RSTV0910_P2_DMDMODCOD + state->regoff, &tmp); in get_signal_parameters()
524 read_reg(state, RSTV0910_P2_VITCURPUN + state->regoff, &tmp); in get_signal_parameters()
[all …]
/Linux-v5.15/arch/x86/lib/
Dinsn-eval.c156 static bool check_seg_overrides(struct insn *insn, int regoff) in check_seg_overrides() argument
158 if (regoff == offsetof(struct pt_regs, di) && is_string_insn(insn)) in check_seg_overrides()
283 static int resolve_seg_reg(struct insn *insn, struct pt_regs *regs, int regoff) in resolve_seg_reg() argument
293 if (regoff == offsetof(struct pt_regs, ip)) { in resolve_seg_reg()
303 if (!check_seg_overrides(insn, regoff)) in resolve_seg_reg()
304 return resolve_default_seg(insn, regs, regoff); in resolve_seg_reg()
311 return resolve_default_seg(insn, regs, regoff); in resolve_seg_reg()
420 static const int regoff[] = { in get_reg_offset() local
440 int nr_registers = ARRAY_SIZE(regoff); in get_reg_offset()
508 return regoff[regno]; in get_reg_offset()
[all …]
/Linux-v5.15/drivers/spi/
Dspi-altera-platform.c81 struct resource *regoff; in altera_spi_probe() local
89 regoff = platform_get_resource(pdev, IORESOURCE_REG, 0); in altera_spi_probe()
90 if (regoff) in altera_spi_probe()
91 hw->regoff = regoff->start; in altera_spi_probe()
134 dev_info(&pdev->dev, "regoff %u, irq %d\n", hw->regoff, hw->irq); in altera_spi_probe()
Dspi-xlp.c106 int cs, int regoff) in xlp_spi_reg_read() argument
108 return readl(priv->base + regoff + cs * SPI_CS_OFFSET); in xlp_spi_reg_read()
112 int regoff, u32 val) in xlp_spi_reg_write() argument
114 writel(val, priv->base + regoff + cs * SPI_CS_OFFSET); in xlp_spi_reg_write()
118 int regoff, u32 val) in xlp_spi_sysctl_write() argument
120 writel(val, priv->base + regoff); in xlp_spi_sysctl_write()
Dspi-altera-core.c48 ret = regmap_write(hw->regmap, hw->regoff + reg, val); in altr_spi_writel()
61 ret = regmap_read(hw->regmap, hw->regoff + reg, val); in altr_spi_readl()
/Linux-v5.15/drivers/bcma/
Ddriver_pci.c155 uint regoff; in bcma_core_pci_fixcfg() local
157 regoff = BCMA_CORE_PCI_SPROM(BCMA_CORE_PCI_SPROM_PI_OFFSET); in bcma_core_pci_fixcfg()
160 val16 = pcicore_read16(pc, regoff); in bcma_core_pci_fixcfg()
165 pcicore_write16(pc, regoff, val16); in bcma_core_pci_fixcfg()
224 uint regoff; in bcma_core_pci_config_fixup() local
226 regoff = BCMA_CORE_PCI_SPROM(BCMA_CORE_PCI_SPROM_MISC_CONFIG); in bcma_core_pci_config_fixup()
228 val16 = pcicore_read16(pc, regoff); in bcma_core_pci_config_fixup()
232 pcicore_write16(pc, regoff, val16); in bcma_core_pci_config_fixup()
/Linux-v5.15/arch/m68k/kernel/
Dptrace.c49 static const int regoff[] = { variable
80 else if (regno < ARRAY_SIZE(regoff)) in get_reg()
81 addr = (unsigned long *)(task->thread.esp0 + regoff[regno]); in get_reg()
105 else if (regno < ARRAY_SIZE(regoff)) in put_reg()
106 addr = (unsigned long *)(task->thread.esp0 + regoff[regno]); in put_reg()
/Linux-v5.15/drivers/gpio/
Dgpio-xlp.c205 int gpio, regoff; in xlp_gpio_generic_handler() local
208 regoff = -1; in xlp_gpio_generic_handler()
213 if (regoff != gpio / XLP_GPIO_REGSZ) { in xlp_gpio_generic_handler()
214 regoff = gpio / XLP_GPIO_REGSZ; in xlp_gpio_generic_handler()
215 gpio_stat = readl(priv->gpio_intr_stat + regoff * 4); in xlp_gpio_generic_handler()
/Linux-v5.15/drivers/pinctrl/
Dpinctrl-microchip-sgpio.c55 u8 regoff[MAXREG]; member
85 .regoff = { 0x00, 0x09, 0x29, 0x2a, 0x2b },
90 .regoff = { 0x00, 0x06, 0x26, 0x04, 0x05 },
96 .regoff = { 0x00, 0x06, 0x26, 0x04, 0x05, 0x2a, 0x32, 0x3a, 0x3e, 0x42 },
138 u32 __iomem *reg = &priv->regs[priv->properties->regoff[rno] + off]; in sgpio_readl()
146 u32 __iomem *reg = &priv->regs[priv->properties->regoff[rno] + off]; in sgpio_writel()
154 u32 __iomem *reg = &priv->regs[priv->properties->regoff[rno] + off]; in sgpio_clrsetbits()
/Linux-v5.15/include/linux/spi/
Daltera.h44 u32 regoff; member
/Linux-v5.15/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Daiutils.c540 uint ai_cc_reg(struct si_pub *sih, uint regoff, u32 mask, u32 val) in ai_cc_reg() argument
551 bcma_maskset32(cc, regoff, ~mask, val); in ai_cc_reg()
554 w = bcma_read32(cc, regoff); in ai_cc_reg()
Daiutils.h180 uint ai_cc_reg(struct si_pub *sih, uint regoff, u32 mask, u32 val);
/Linux-v5.15/arch/alpha/kernel/
Dptrace.c82 static int regoff[] = { variable
120 addr = task_stack_page(task) + regoff[regno]; in get_reg_addr()
/Linux-v5.15/drivers/hwmon/
Dintel-m10-bmc-hwmon.c365 unsigned int regoff, long *val) in do_sensor_read() argument
370 ret = m10bmc_sys_read(hw->m10bmc, regoff, &regval); in do_sensor_read()
/Linux-v5.15/drivers/infiniband/hw/hfi1/
Dchip.c14381 unsigned idx, regoff, regidx; in init_qos() local
14385 regoff = (idx % 8) * 8; in init_qos()
14390 << regoff); in init_qos()
14391 reg |= (u64)(tctxt++) << regoff; in init_qos()
14431 int i, idx, regoff, regidx, start; in init_fecn_handling() local
14464 regoff = (idx % 8) * 8; in init_fecn_handling()
14467 reg &= ~(RCV_RSM_MAP_TABLE_RCV_CONTEXT_A_MASK << regoff); in init_fecn_handling()
14468 reg |= (u64)i << regoff; in init_fecn_handling()
14510 u32 regoff; in hfi1_netdev_update_rmt() local
14531 regoff = RCV_RSM_MAP_TABLE + (rmt_start / 8) * 8; in hfi1_netdev_update_rmt()
[all …]