Home
last modified time | relevance | path

Searched refs:baseaddr (Results 1 – 25 of 53) sorted by relevance

123

/linux-6.6.21/arch/arm/mach-versatile/
Dspc.c95 void __iomem *baseaddr; member
129 reg = readl_relaxed(info->baseaddr + WAKE_INT_MASK); in ve_spc_global_wakeup_irq()
136 writel_relaxed(reg, info->baseaddr + WAKE_INT_MASK); in ve_spc_global_wakeup_irq()
162 reg = readl_relaxed(info->baseaddr + WAKE_INT_MASK); in ve_spc_cpu_wakeup_irq()
169 writel_relaxed(reg, info->baseaddr + WAKE_INT_MASK); in ve_spc_cpu_wakeup_irq()
181 void __iomem *baseaddr; in ve_spc_set_resume_addr() local
187 baseaddr = info->baseaddr + A15_BX_ADDR0 + (cpu << 2); in ve_spc_set_resume_addr()
189 baseaddr = info->baseaddr + A7_BX_ADDR0 + (cpu << 2); in ve_spc_set_resume_addr()
191 writel_relaxed(addr, baseaddr); in ve_spc_set_resume_addr()
212 writel_relaxed(enable, info->baseaddr + pwdrn_reg); in ve_spc_powerdown()
[all …]
/linux-6.6.21/drivers/edac/
Dzynqmp_edac.c111 void __iomem *baseaddr; member
194 regval = readl(priv->baseaddr + OCM_ISR_OFST); in intr_handler()
200 get_error_info(priv->baseaddr, &priv->stat, regval); in intr_handler()
240 writel(ficount, priv->baseaddr + OCM_FIC_OFST); in write_fault_count()
268 writel(BIT(priv->ce_bitpos), priv->baseaddr + OCM_FID0_OFST); in inject_ce_write()
269 writel(0, priv->baseaddr + OCM_FID1_OFST); in inject_ce_write()
272 priv->baseaddr + OCM_FID1_OFST); in inject_ce_write()
273 writel(0, priv->baseaddr + OCM_FID0_OFST); in inject_ce_write()
335 writel((u32)ue_bitpos, priv->baseaddr + OCM_FID0_OFST); in inject_ue_write()
336 writel((u32)(ue_bitpos >> 32), priv->baseaddr + OCM_FID1_OFST); in inject_ue_write()
[all …]
Dsynopsys_edac.c315 void __iomem *baseaddr; member
359 base = priv->baseaddr; in zynq_get_error_info()
414 base = priv->baseaddr; in zynqmp_get_error_info()
521 priv->baseaddr + ECC_CLR_OFST); in enable_intr()
524 priv->baseaddr + DDR_QOS_IRQ_EN_OFST); in enable_intr()
532 writel(0x0, priv->baseaddr + ECC_CLR_OFST); in disable_intr()
535 priv->baseaddr + DDR_QOS_IRQ_DB_OFST); in disable_intr()
560 regval = readl(priv->baseaddr + DDR_QOS_IRQ_STAT_OFST); in intr_handler()
578 writel(regval, priv->baseaddr + DDR_QOS_IRQ_STAT_OFST); in intr_handler()
816 dimm->mtype = p_data->get_mtype(priv->baseaddr); in init_csrows()
[all …]
/linux-6.6.21/drivers/watchdog/
Dpm8916_wdt.c42 u32 baseaddr; member
50 wdt->baseaddr + PON_PMIC_WD_RESET_S2_CTL2, in pm8916_wdt_start()
59 wdt->baseaddr + PON_PMIC_WD_RESET_S2_CTL2, in pm8916_wdt_stop()
67 return regmap_write(wdt->regmap, wdt->baseaddr + PON_PMIC_WD_RESET_PET, in pm8916_wdt_ping()
77 wdt->baseaddr + PON_PMIC_WD_RESET_S1_TIMER, in pm8916_wdt_configure_timers()
83 wdt->baseaddr + PON_PMIC_WD_RESET_S2_TIMER, in pm8916_wdt_configure_timers()
108 err = regmap_read(wdt->regmap, wdt->baseaddr + PON_INT_RT_STS, &sts); in pm8916_wdt_isr()
167 err = device_property_read_u32(parent, "reg", &wdt->baseaddr); in pm8916_wdt_probe()
188 err = regmap_bulk_read(wdt->regmap, wdt->baseaddr + PON_POFF_REASON1, in pm8916_wdt_probe()
203 err = regmap_read(wdt->regmap, wdt->baseaddr + PON_PMIC_WD_RESET_S2_CTL2, in pm8916_wdt_probe()
[all …]
/linux-6.6.21/include/linux/
Ddio.h124 #define DIO_ID(baseaddr) in_8((baseaddr) + DIO_IDOFF) argument
125 #define DIO_SECID(baseaddr) in_8((baseaddr) + DIO_SECIDOFF) argument
128 #define DIO_IPL(baseaddr) (((in_8((baseaddr) + DIO_IPLOFF) >> 4) & 0x03) + 3) argument
133 #define DIOII_SIZE(baseaddr) ((in_8((baseaddr) + DIOII_SIZEOFF) + 1) * 0x100000) argument
/linux-6.6.21/arch/mips/include/asm/txx9/
Dgeneric.h50 void txx9_sio_init(unsigned long baseaddr, int irq,
54 void txx9_sio_putchar_init(unsigned long baseaddr);
56 static inline void txx9_sio_putchar_init(unsigned long baseaddr) in txx9_sio_putchar_init() argument
83 void txx9_iocled_init(unsigned long baseaddr,
92 void __init txx9_aclc_init(unsigned long baseaddr, int irq,
Ddmac.h45 void txx9_dmac_init(int id, unsigned long baseaddr, int irq,
/linux-6.6.21/drivers/input/misc/
Dpm8941-pwrkey.c70 u32 baseaddr; member
102 pwrkey->baseaddr + enable_reg, in pm8941_reboot_notify()
131 pwrkey->baseaddr + PON_PS_HOLD_RST_CTL, in pm8941_reboot_notify()
139 pwrkey->baseaddr + enable_reg, in pm8941_reboot_notify()
163 err = regmap_read(pwrkey->regmap, pwrkey->baseaddr + PON_RT_STS, &sts); in pm8941_pwrkey_irq()
203 addr = pwrkey->baseaddr + PON_DBC_CTL; in pm8941_pwrkey_sw_debounce_init()
294 pwrkey->baseaddr = be32_to_cpup(addr); in pm8941_pwrkey_probe()
307 error = regmap_read(pwrkey->regmap, pwrkey->baseaddr + PON_REV2, in pm8941_pwrkey_probe()
314 error = regmap_read(pwrkey->regmap, pwrkey->baseaddr + PON_SUBTYPE, in pm8941_pwrkey_probe()
353 pwrkey->baseaddr + PON_DBC_CTL, in pm8941_pwrkey_probe()
[all …]
/linux-6.6.21/drivers/scsi/megaraid/
Dmegaraid_mbox.h192 void __iomem * baseaddr; member
227 #define RDINDOOR(rdev) readl((rdev)->baseaddr + 0x20)
228 #define RDOUTDOOR(rdev) readl((rdev)->baseaddr + 0x2C)
229 #define WRINDOOR(rdev, value) writel(value, (rdev)->baseaddr + 0x20)
230 #define WROUTDOOR(rdev, value) writel(value, (rdev)->baseaddr + 0x2C)
/linux-6.6.21/arch/mips/kernel/
Dcevt-txx9.c55 void __init txx9_clocksource_init(unsigned long baseaddr, in txx9_clocksource_init() argument
62 tmrptr = ioremap(baseaddr, sizeof(struct txx9_tmr_reg)); in txx9_clocksource_init()
177 void __init txx9_clockevent_init(unsigned long baseaddr, int irq, in txx9_clockevent_init() argument
183 tmrptr = ioremap(baseaddr, sizeof(struct txx9_tmr_reg)); in txx9_clockevent_init()
202 baseaddr, irq); in txx9_clockevent_init()
205 void __init txx9_tmr_init(unsigned long baseaddr) in txx9_tmr_init() argument
209 tmrptr = ioremap(baseaddr, sizeof(struct txx9_tmr_reg)); in txx9_tmr_init()
Dgpio_txx9.c77 int __init txx9_gpio_init(unsigned long baseaddr, in txx9_gpio_init() argument
80 txx9_pioptr = ioremap(baseaddr, sizeof(struct txx9_pio_reg)); in txx9_gpio_init()
Dirq_txx9.c136 void __init txx9_irq_init(unsigned long baseaddr) in txx9_irq_init() argument
140 txx9_ircptr = ioremap(baseaddr, sizeof(struct txx9_irc_reg)); in txx9_irq_init()
/linux-6.6.21/arch/mips/txx9/generic/
Dsetup.c371 void __init txx9_sio_init(unsigned long baseaddr, int irq, in txx9_sio_init() argument
380 req.membase = ioremap(baseaddr, 0x24); in txx9_sio_init()
381 req.mapbase = baseaddr; in txx9_sio_init()
418 void __init txx9_sio_putchar_init(unsigned long baseaddr) in txx9_sio_putchar_init() argument
420 early_txx9_sio_port = ioremap(baseaddr, 0x24); in txx9_sio_putchar_init()
567 void __init txx9_ndfmc_init(unsigned long baseaddr, in txx9_ndfmc_init() argument
572 .start = baseaddr, in txx9_ndfmc_init()
573 .end = baseaddr + 0x1000 - 1, in txx9_ndfmc_init()
633 void __init txx9_iocled_init(unsigned long baseaddr, in txx9_iocled_init() argument
652 iocled->mmioaddr = ioremap(baseaddr, 1); in txx9_iocled_init()
[all …]
/linux-6.6.21/arch/mips/include/asm/
Dtxx9tmr.h55 void txx9_clocksource_init(unsigned long baseaddr,
57 void txx9_clockevent_init(unsigned long baseaddr, int irq,
59 void txx9_tmr_init(unsigned long baseaddr);
Dtxx9irq.h26 void txx9_irq_init(unsigned long baseaddr);
Dtxx9pio.h26 int txx9_gpio_init(unsigned long baseaddr,
/linux-6.6.21/drivers/firmware/google/
Dvpd.c43 char *baseaddr; member
164 return memory_read_from_buffer(buf, count, &pos, sec->baseaddr, in vpd_section_read()
175 ret = vpd_decode_string(sec->bin_attr.size, sec->baseaddr, in vpd_section_create_attribs()
187 sec->baseaddr = memremap(physaddr, size, MEMREMAP_WB); in vpd_section_init()
188 if (!sec->baseaddr) in vpd_section_init()
229 memunmap(sec->baseaddr); in vpd_section_init()
240 memunmap(sec->baseaddr); in vpd_section_destroy()
/linux-6.6.21/drivers/ssb/
Dscan.c224 unsigned long baseaddr) in ssb_ioremap() argument
233 mmio = ioremap(baseaddr, SSB_CORE_SIZE); in ssb_ioremap()
244 mmio = (void __iomem *)baseaddr; in ssb_ioremap()
272 unsigned long baseaddr) in ssb_bus_scan() argument
281 mmio = ssb_ioremap(bus, baseaddr); in ssb_bus_scan()
337 mmio = ioremap(baseaddr, SSB_CORE_SIZE * bus->nr_devices); in ssb_bus_scan()
/linux-6.6.21/drivers/power/reset/
Dqcom-pon.c25 u32 baseaddr; member
38 pon->baseaddr + PON_SOFT_RB_SPARE, in pm8916_reboot_mode_write()
66 &pon->baseaddr); in pm8916_pon_probe()
/linux-6.6.21/sound/soc/bcm/
Dcygnus-ssp.h28 unsigned baseaddr; member
38 .baseaddr = SRC_RBUF_ ##num## _BASEADDR_OFFSET, \
48 .baseaddr = DST_RBUF_ ##num## _BASEADDR_OFFSET, \
/linux-6.6.21/drivers/rtc/
Drtc-m48t35.c51 unsigned long baseaddr; member
167 priv->baseaddr = res->start; in m48t35_probe()
168 priv->reg = devm_ioremap(&pdev->dev, priv->baseaddr, priv->size); in m48t35_probe()
/linux-6.6.21/drivers/gpu/drm/sti/
Dsti_cursor.h15 void __iomem *baseaddr,
Dsti_gdp.h21 void __iomem *baseaddr,
/linux-6.6.21/drivers/char/agp/
Damd64-agp.c392 u32 httfea,baseaddr,enuscr; in uli_agp_init() local
426 pci_read_config_dword(pdev, ULI_X86_64_BASE_ADDR, &baseaddr); in uli_agp_init()
427 baseaddr&= ~PCI_BASE_ADDRESS_MEM_MASK; in uli_agp_init()
428 baseaddr|= httfea; in uli_agp_init()
429 pci_write_config_dword(pdev, ULI_X86_64_BASE_ADDR, baseaddr); in uli_agp_init()
/linux-6.6.21/include/linux/platform_data/txx9/
Dndfmc.h25 void txx9_ndfmc_init(unsigned long baseaddr,

123