Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/media/dvb-frontends/
Dstv0910.c85 u16 regoff; member
477 read_reg(state, RSTV0910_P2_SFR3 + state->regoff, &symb_freq3); in get_cur_symbol_rate()
478 read_reg(state, RSTV0910_P2_SFR2 + state->regoff, &symb_freq2); in get_cur_symbol_rate()
479 read_reg(state, RSTV0910_P2_SFR1 + state->regoff, &symb_freq1); in get_cur_symbol_rate()
480 read_reg(state, RSTV0910_P2_SFR0 + state->regoff, &symb_freq0); in get_cur_symbol_rate()
481 read_reg(state, RSTV0910_P2_TMGREG2 + state->regoff, &tim_offs2); in get_cur_symbol_rate()
482 read_reg(state, RSTV0910_P2_TMGREG1 + state->regoff, &tim_offs1); in get_cur_symbol_rate()
483 read_reg(state, RSTV0910_P2_TMGREG0 + state->regoff, &tim_offs0); in get_cur_symbol_rate()
509 read_reg(state, RSTV0910_P2_DMDMODCOD + state->regoff, &tmp); in get_signal_parameters()
515 read_reg(state, RSTV0910_P2_VITCURPUN + state->regoff, &tmp); in get_signal_parameters()
[all …]
/linux-6.1.9/arch/x86/lib/
Dinsn-eval.c154 static bool check_seg_overrides(struct insn *insn, int regoff) in check_seg_overrides() argument
156 if (regoff == offsetof(struct pt_regs, di) && is_string_insn(insn)) in check_seg_overrides()
281 static int resolve_seg_reg(struct insn *insn, struct pt_regs *regs, int regoff) in resolve_seg_reg() argument
291 if (regoff == offsetof(struct pt_regs, ip)) { in resolve_seg_reg()
301 if (!check_seg_overrides(insn, regoff)) in resolve_seg_reg()
302 return resolve_default_seg(insn, regs, regoff); in resolve_seg_reg()
309 return resolve_default_seg(insn, regs, regoff); in resolve_seg_reg()
917 int regoff, unsigned long *base, in get_seg_base_limit() argument
925 seg_reg_idx = resolve_seg_reg(insn, regs, regoff); in get_seg_base_limit()
967 int *regoff, long *eff_addr) in get_eff_addr_reg() argument
[all …]
/linux-6.1.9/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.c105 int cs, int regoff) in xlp_spi_reg_read() argument
107 return readl(priv->base + regoff + cs * SPI_CS_OFFSET); in xlp_spi_reg_read()
111 int regoff, u32 val) in xlp_spi_reg_write() argument
113 writel(val, priv->base + regoff + cs * SPI_CS_OFFSET); in xlp_spi_reg_write()
117 int regoff, u32 val) in xlp_spi_sysctl_write() argument
119 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-6.1.9/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-6.1.9/arch/m68k/kernel/
Dptrace.c50 static const int regoff[] = { variable
81 else if (regno < ARRAY_SIZE(regoff)) in get_reg()
82 addr = (unsigned long *)(task->thread.esp0 + regoff[regno]); in get_reg()
106 else if (regno < ARRAY_SIZE(regoff)) in put_reg()
107 addr = (unsigned long *)(task->thread.esp0 + regoff[regno]); in put_reg()
/linux-6.1.9/drivers/gpio/
Dgpio-xlp.c176 int gpio, regoff; in xlp_gpio_generic_handler() local
179 regoff = -1; in xlp_gpio_generic_handler()
184 if (regoff != gpio / XLP_GPIO_REGSZ) { in xlp_gpio_generic_handler()
185 regoff = gpio / XLP_GPIO_REGSZ; in xlp_gpio_generic_handler()
186 gpio_stat = readl(priv->gpio_intr_stat + regoff * 4); in xlp_gpio_generic_handler()
/linux-6.1.9/include/linux/spi/
Daltera.h44 u32 regoff; member
/linux-6.1.9/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-6.1.9/drivers/pinctrl/
Dpinctrl-microchip-sgpio.c59 u8 regoff[MAXREG]; member
91 .regoff = { 0x00, 0x09, 0x29, 0x2a, 0x2b },
96 .regoff = { 0x00, 0x06, 0x26, 0x04, 0x05 },
102 .regoff = { 0x00, 0x06, 0x26, 0x04, 0x05, 0x2a, 0x32, 0x3a, 0x3e, 0x42 },
147 return (priv->properties->regoff[rno] + off) * in sgpio_get_addr()
/linux-6.1.9/arch/alpha/kernel/
Dptrace.c81 static int regoff[] = { variable
119 addr = task_stack_page(task) + regoff[regno]; in get_reg_addr()
/linux-6.1.9/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-6.1.9/drivers/infiniband/hw/hfi1/
Dchip.c14384 unsigned idx, regoff, regidx; in init_qos() local
14388 regoff = (idx % 8) * 8; in init_qos()
14393 << regoff); in init_qos()
14394 reg |= (u64)(tctxt++) << regoff; in init_qos()
14434 int i, idx, regoff, regidx, start; in init_fecn_handling() local
14467 regoff = (idx % 8) * 8; in init_fecn_handling()
14470 reg &= ~(RCV_RSM_MAP_TABLE_RCV_CONTEXT_A_MASK << regoff); in init_fecn_handling()
14471 reg |= (u64)i << regoff; in init_fecn_handling()
14513 u32 regoff; in hfi1_netdev_update_rmt() local
14534 regoff = RCV_RSM_MAP_TABLE + (rmt_start / 8) * 8; in hfi1_netdev_update_rmt()
[all …]