Searched refs:regoff (Results 1 – 9 of 9) sorted by relevance
/linux-4.4.14/drivers/bcma/ |
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()
|
/linux-4.4.14/arch/m68k/kernel/ |
D | ptrace.c | 49 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-4.4.14/drivers/spi/ |
D | spi-xlp.c | 113 int cs, int regoff) in xlp_spi_reg_read() argument 115 return readl(priv->base + regoff + cs * SPI_CS_OFFSET); in xlp_spi_reg_read() 119 int regoff, u32 val) in xlp_spi_reg_write() argument 121 writel(val, priv->base + regoff + cs * SPI_CS_OFFSET); in xlp_spi_reg_write() 125 int regoff, u32 val) in xlp_spi_sysctl_write() argument 127 writel(val, priv->base + regoff); in xlp_spi_sysctl_write()
|
/linux-4.4.14/drivers/gpio/ |
D | gpio-xlp.c | 216 int gpio, regoff; in xlp_gpio_generic_handler() local 219 regoff = -1; in xlp_gpio_generic_handler() 224 if (regoff != gpio / XLP_GPIO_REGSZ) { in xlp_gpio_generic_handler() 225 regoff = gpio / XLP_GPIO_REGSZ; in xlp_gpio_generic_handler() 226 gpio_stat = readl(priv->gpio_intr_stat + regoff * 4); in xlp_gpio_generic_handler()
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/ |
D | aiutils.c | 543 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()
|
D | aiutils.h | 180 uint ai_cc_reg(struct si_pub *sih, uint regoff, u32 mask, u32 val);
|
/linux-4.4.14/arch/alpha/kernel/ |
D | ptrace.c | 81 static int regoff[] = { variable 119 addr = task_stack_page(task) + regoff[regno]; in get_reg_addr()
|
/linux-4.4.14/arch/x86/mm/ |
D | mpx.c | 73 static const int regoff[] = { in get_reg_offset() local 93 int nr_registers = ARRAY_SIZE(regoff); in get_reg_offset() 130 return regoff[regno]; in get_reg_offset()
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | chip.c | 10097 unsigned idx, regoff, regidx; in init_qos() local 10101 regoff = (idx % 8) * 8; in init_qos() 10106 << regoff); in init_qos() 10107 reg |= (u64)(tctxt++) << regoff; in init_qos()
|