/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | stv0910.c | 85 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 …]
|
/openbmc/linux/arch/x86/lib/ |
H A D | insn-eval.c | 154 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 …]
|
/openbmc/linux/drivers/spi/ |
H A D | spi-altera-platform.c | 81 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()
|
H A D | spi-xlp.c | 105 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()
|
H A D | spi-altera-core.c | 48 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()
|
/openbmc/linux/drivers/bcma/ |
H A D | driver_pci.c | 155 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()
|
/openbmc/u-boot/drivers/pinctrl/mscc/ |
H A D | mscc-common.c | 91 int f, offset, regoff; in mscc_pinmux_set_mux() local 104 regoff = info->mscc_gpios[MSCC_GPIO_ALT0]; in mscc_pinmux_set_mux() 107 regoff = info->mscc_gpios[MSCC_GPIO_ALT1]; in mscc_pinmux_set_mux() 111 mscc_setbits(offset, info->regs + regoff); in mscc_pinmux_set_mux() 113 mscc_clrbits(offset, info->regs + regoff); in mscc_pinmux_set_mux() 116 mscc_setbits(offset, info->regs + regoff + 4); in mscc_pinmux_set_mux() 118 mscc_clrbits(offset, info->regs + regoff + 4); in mscc_pinmux_set_mux()
|
/openbmc/u-boot/drivers/gpio/ |
H A D | mscc_sgpio.c | 35 u8 regoff[MAXREG]; member 55 .regoff = { 0x00, 0x09, 0x29, 0x2a, 0x2b }, 63 .regoff = { 0x00, 0x06, 0x26, 0x04, 0x05 }, 81 u32 __iomem *reg = &priv->regs[priv->props->regoff[rno] + off]; in sgpio_readl() 89 u32 __iomem *reg = &priv->regs[priv->props->regoff[rno] + off]; in sgpio_writel() 97 u32 __iomem *reg = &priv->regs[priv->props->regoff[rno] + off]; in sgpio_clrsetbits()
|
/openbmc/linux/arch/m68k/kernel/ |
H A D | ptrace.c | 50 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()
|
/openbmc/u-boot/board/gdsys/common/ |
H A D | fpga.c | 12 int fpga_set_reg(u32 fpga, u16 *reg, off_t regoff, u16 data) in fpga_set_reg() argument 19 int fpga_get_reg(u32 fpga, u16 *reg, off_t regoff, u16 *data) in fpga_get_reg() argument
|
/openbmc/u-boot/board/gdsys/mpc8308/ |
H A D | strider.c | 61 int fpga_set_reg(u32 fpga, u16 *reg, off_t regoff, u16 data) in fpga_set_reg() argument 70 res = mclink_send(fpga - 1, regoff, data); in fpga_set_reg() 73 regoff, data, res); in fpga_set_reg() 82 int fpga_get_reg(u32 fpga, u16 *reg, off_t regoff, u16 *data) in fpga_get_reg() argument 93 res = mclink_receive(fpga - 1, regoff, data); in fpga_get_reg() 96 regoff, res); in fpga_get_reg()
|
H A D | hrcon.c | 58 int fpga_set_reg(u32 fpga, u16 *reg, off_t regoff, u16 data) in fpga_set_reg() argument 67 res = mclink_send(fpga - 1, regoff, data); in fpga_set_reg() 70 regoff, data, res); in fpga_set_reg() 79 int fpga_get_reg(u32 fpga, u16 *reg, off_t regoff, u16 *data) in fpga_get_reg() argument 90 res = mclink_receive(fpga - 1, regoff, data); in fpga_get_reg() 93 regoff, res); in fpga_get_reg()
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-xlp.c | 186 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()
|
/openbmc/linux/include/linux/spi/ |
H A D | altera.h | 44 u32 regoff; member
|
/openbmc/u-boot/include/ |
H A D | gdsys_fpga.h | 20 int fpga_set_reg(u32 fpga, u16 *reg, off_t regoff, u16 data); 21 int fpga_get_reg(u32 fpga, u16 *reg, off_t regoff, u16 *data);
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A D | aiutils.c | 540 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()
|
H A D | aiutils.h | 172 uint ai_cc_reg(struct si_pub *sih, uint regoff, u32 mask, u32 val);
|
/openbmc/linux/drivers/pinctrl/ |
H A D | pinctrl-microchip-sgpio.c | 61 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()
|
/openbmc/linux/arch/alpha/kernel/ |
H A D | ptrace.c | 83 static int regoff[] = { variable 121 addr = task_stack_page(task) + regoff[regno]; in get_reg_addr()
|
/openbmc/linux/drivers/hwmon/ |
H A D | intel-m10-bmc-hwmon.c | 590 unsigned int regoff, long *val) in do_sensor_read() argument 595 ret = m10bmc_sys_read(hw->m10bmc, regoff, ®val); in do_sensor_read()
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | chip.c | 14393 unsigned idx, regoff, regidx; in init_qos() local 14397 regoff = (idx % 8) * 8; in init_qos() 14402 << regoff); in init_qos() 14403 reg |= (u64)(tctxt++) << regoff; in init_qos() 14443 int i, idx, regoff, regidx, start; in init_fecn_handling() local 14476 regoff = (idx % 8) * 8; in init_fecn_handling() 14479 reg &= ~(RCV_RSM_MAP_TABLE_RCV_CONTEXT_A_MASK << regoff); in init_fecn_handling() 14480 reg |= (u64)i << regoff; in init_fecn_handling() 14522 u32 regoff; in hfi1_netdev_update_rmt() local 14543 regoff = RCV_RSM_MAP_TABLE + (rmt_start / 8) * 8; in hfi1_netdev_update_rmt() [all …]
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_nix.c | 2191 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()
|
/openbmc/qemu/tcg/aarch64/ |
H A D | tcg-target.c.inc | 867 TCGReg regoff) 870 tcg_out32(s, insn | I3312_TO_I3310 | regoff << 16 |
|