Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/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.6.21/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.6.21/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.6.21/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.6.21/drivers/gpio/
Dgpio-xlp.c186 int gpio, regoff; in xlp_gpio_generic_handler() local
189 regoff = -1; in xlp_gpio_generic_handler()
194 if (regoff != gpio / XLP_GPIO_REGSZ) { in xlp_gpio_generic_handler()
195 regoff = gpio / XLP_GPIO_REGSZ; in xlp_gpio_generic_handler()
196 gpio_stat = readl(priv->gpio_intr_stat + regoff * 4); in xlp_gpio_generic_handler()
/linux-6.6.21/include/linux/spi/
Daltera.h44 u32 regoff; member
/linux-6.6.21/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.h172 uint ai_cc_reg(struct si_pub *sih, uint regoff, u32 mask, u32 val);
/linux-6.6.21/drivers/pinctrl/
Dpinctrl-microchip-sgpio.c61 u8 regoff[MAXREG]; member
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) * in sgpio_get_addr()
/linux-6.6.21/arch/alpha/kernel/
Dptrace.c83 static int regoff[] = { variable
121 addr = task_stack_page(task) + regoff[regno]; in get_reg_addr()
/linux-6.6.21/drivers/hwmon/
Dintel-m10-bmc-hwmon.c590 unsigned int regoff, long *val) in do_sensor_read() argument
595 ret = m10bmc_sys_read(hw->m10bmc, regoff, &regval); in do_sensor_read()
/linux-6.6.21/drivers/infiniband/hw/hfi1/
Dchip.c14392 unsigned idx, regoff, regidx; in init_qos() local
14396 regoff = (idx % 8) * 8; in init_qos()
14401 << regoff); in init_qos()
14402 reg |= (u64)(tctxt++) << regoff; in init_qos()
14442 int i, idx, regoff, regidx, start; in init_fecn_handling() local
14475 regoff = (idx % 8) * 8; in init_fecn_handling()
14478 reg &= ~(RCV_RSM_MAP_TABLE_RCV_CONTEXT_A_MASK << regoff); in init_fecn_handling()
14479 reg |= (u64)i << regoff; in init_fecn_handling()
14521 u32 regoff; in hfi1_netdev_update_rmt() local
14542 regoff = RCV_RSM_MAP_TABLE + (rmt_start / 8) * 8; in hfi1_netdev_update_rmt()
[all …]
/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_nix.c2191 u64 regoff; in nix_smq_flush_enadis_xoff() local
2213 regoff = NIX_AF_TL2X_SW_XOFF(tl2); in nix_smq_flush_enadis_xoff()
2215 rvu_write64(rvu, blkaddr, regoff, 0x1); in nix_smq_flush_enadis_xoff()
2217 rvu_write64(rvu, blkaddr, regoff, 0x0); in nix_smq_flush_enadis_xoff()