Home
last modified time | relevance | path

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

/Linux-v5.4/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.4/arch/x86/lib/
Dinsn-eval.c131 static bool check_seg_overrides(struct insn *insn, int regoff) in check_seg_overrides() argument
133 if (regoff == offsetof(struct pt_regs, di) && is_string_insn(insn)) in check_seg_overrides()
258 static int resolve_seg_reg(struct insn *insn, struct pt_regs *regs, int regoff) in resolve_seg_reg() argument
268 if (regoff == offsetof(struct pt_regs, ip)) { in resolve_seg_reg()
278 if (!check_seg_overrides(insn, regoff)) in resolve_seg_reg()
279 return resolve_default_seg(insn, regs, regoff); in resolve_seg_reg()
286 return resolve_default_seg(insn, regs, regoff); in resolve_seg_reg()
401 static const int regoff[] = { in get_reg_offset() local
421 int nr_registers = ARRAY_SIZE(regoff); in get_reg_offset()
482 return regoff[regno]; in get_reg_offset()
[all …]
/Linux-v5.4/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.4/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-v5.4/drivers/spi/
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()
/Linux-v5.4/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.4/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Daiutils.c543 uint ai_cc_reg(struct si_pub *sih, uint regoff, u32 mask, u32 val) in ai_cc_reg() argument
554 bcma_maskset32(cc, regoff, ~mask, val); in ai_cc_reg()
557 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.4/arch/alpha/kernel/
Dptrace.c83 static int regoff[] = { variable
121 addr = task_stack_page(task) + regoff[regno]; in get_reg_addr()
/Linux-v5.4/drivers/infiniband/hw/hfi1/
Dchip.c14265 unsigned idx, regoff, regidx; in init_qos() local
14269 regoff = (idx % 8) * 8; in init_qos()
14274 << regoff); in init_qos()
14275 reg |= (u64)(tctxt++) << regoff; in init_qos()
14315 int i, idx, regoff, regidx, start; in init_fecn_handling() local
14348 regoff = (idx % 8) * 8; in init_fecn_handling()
14351 reg &= ~(RCV_RSM_MAP_TABLE_RCV_CONTEXT_A_MASK << regoff); in init_fecn_handling()
14352 reg |= (u64)i << regoff; in init_fecn_handling()
14390 u32 regoff; in hfi1_init_vnic_rsm() local
14404 regoff = RCV_RSM_MAP_TABLE + (dd->vnic.rmt_start / 8) * 8; in hfi1_init_vnic_rsm()
[all …]