Home
last modified time | relevance | path

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

123

/Linux-v5.4/arch/arm/mach-vexpress/
Dspc.c103 void __iomem *baseaddr; member
137 reg = readl_relaxed(info->baseaddr + WAKE_INT_MASK); in ve_spc_global_wakeup_irq()
144 writel_relaxed(reg, info->baseaddr + WAKE_INT_MASK); in ve_spc_global_wakeup_irq()
170 reg = readl_relaxed(info->baseaddr + WAKE_INT_MASK); in ve_spc_cpu_wakeup_irq()
177 writel_relaxed(reg, info->baseaddr + WAKE_INT_MASK); in ve_spc_cpu_wakeup_irq()
189 void __iomem *baseaddr; in ve_spc_set_resume_addr() local
195 baseaddr = info->baseaddr + A15_BX_ADDR0 + (cpu << 2); in ve_spc_set_resume_addr()
197 baseaddr = info->baseaddr + A7_BX_ADDR0 + (cpu << 2); in ve_spc_set_resume_addr()
199 writel_relaxed(addr, baseaddr); in ve_spc_set_resume_addr()
220 writel_relaxed(enable, info->baseaddr + pwdrn_reg); in ve_spc_powerdown()
[all …]
/Linux-v5.4/drivers/watchdog/
Dpm8916_wdt.c36 u32 baseaddr; member
44 wdt->baseaddr + PON_PMIC_WD_RESET_S2_CTL2, in pm8916_wdt_start()
53 wdt->baseaddr + PON_PMIC_WD_RESET_S2_CTL2, in pm8916_wdt_stop()
62 wdt->baseaddr + PON_PMIC_WD_RESET_PET, in pm8916_wdt_ping()
72 wdt->baseaddr + PON_PMIC_WD_RESET_S1_TIMER, in pm8916_wdt_configure_timers()
78 wdt->baseaddr + PON_PMIC_WD_RESET_S2_TIMER, in pm8916_wdt_configure_timers()
103 err = regmap_read(wdt->regmap, wdt->baseaddr + PON_INT_RT_STS, &sts); in pm8916_wdt_isr()
158 err = device_property_read_u32(parent, "reg", &wdt->baseaddr); in pm8916_wdt_probe()
181 wdt->baseaddr + PON_PMIC_WD_RESET_S2_CTL, in pm8916_wdt_probe()
/Linux-v5.4/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-v5.4/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-v5.4/drivers/input/misc/
Dpm8941-pwrkey.c48 u32 baseaddr; member
75 pwrkey->baseaddr + enable_reg, in pm8941_reboot_notify()
101 pwrkey->baseaddr + PON_PS_HOLD_RST_CTL, in pm8941_reboot_notify()
109 pwrkey->baseaddr + enable_reg, in pm8941_reboot_notify()
125 pwrkey->baseaddr + PON_RT_STS, &sts); in pm8941_pwrkey_irq()
199 "reg", &pwrkey->baseaddr); in pm8941_pwrkey_probe()
202 &pwrkey->baseaddr); in pm8941_pwrkey_probe()
211 error = regmap_read(pwrkey->regmap, pwrkey->baseaddr + PON_REV2, in pm8941_pwrkey_probe()
241 pwrkey->baseaddr + PON_DBC_CTL, in pm8941_pwrkey_probe()
250 pwrkey->baseaddr + PON_PULL_CTL, in pm8941_pwrkey_probe()
/Linux-v5.4/drivers/edac/
Dsynopsys_edac.c319 void __iomem *baseaddr; member
363 base = priv->baseaddr; in zynq_get_error_info()
418 base = priv->baseaddr; in zynqmp_get_error_info()
544 regval = readl(priv->baseaddr + DDR_QOS_IRQ_STAT_OFST); in intr_handler()
559 writel(regval, priv->baseaddr + DDR_QOS_IRQ_STAT_OFST); in intr_handler()
794 dimm->mtype = p_data->get_mtype(priv->baseaddr); in init_csrows()
797 dimm->dtype = p_data->get_dtype(priv->baseaddr); in init_csrows()
846 priv->baseaddr + DDR_QOS_IRQ_EN_OFST); in enable_intr()
853 priv->baseaddr + DDR_QOS_IRQ_DB_OFST); in disable_intr()
972 writel(regval, priv->baseaddr + ECC_POISON0_OFST); in ddr_poison_setup()
[all …]
/Linux-v5.4/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-v5.4/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()
184 void __init txx9_clockevent_init(unsigned long baseaddr, int irq, in txx9_clockevent_init() argument
190 tmrptr = ioremap(baseaddr, sizeof(struct txx9_tmr_reg)); in txx9_clockevent_init()
207 baseaddr, irq); in txx9_clockevent_init()
210 void __init txx9_tmr_init(unsigned long baseaddr) in txx9_tmr_init() argument
214 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.c149 void __init txx9_irq_init(unsigned long baseaddr) in txx9_irq_init() argument
153 txx9_ircptr = ioremap(baseaddr, sizeof(struct txx9_irc_reg)); in txx9_irq_init()
/Linux-v5.4/arch/mips/txx9/generic/
Dsetup.c440 void __init txx9_sio_init(unsigned long baseaddr, int irq, in txx9_sio_init() argument
449 req.membase = ioremap(baseaddr, 0x24); in txx9_sio_init()
450 req.mapbase = baseaddr; in txx9_sio_init()
487 void __init txx9_sio_putchar_init(unsigned long baseaddr) in txx9_sio_putchar_init() argument
489 early_txx9_sio_port = ioremap(baseaddr, 0x24); in txx9_sio_putchar_init()
651 void __init txx9_ndfmc_init(unsigned long baseaddr, in txx9_ndfmc_init() argument
656 .start = baseaddr, in txx9_ndfmc_init()
657 .end = baseaddr + 0x1000 - 1, in txx9_ndfmc_init()
717 void __init txx9_iocled_init(unsigned long baseaddr, in txx9_iocled_init() argument
736 iocled->mmioaddr = ioremap(baseaddr, 1); in txx9_iocled_init()
[all …]
/Linux-v5.4/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.h30 void txx9_irq_init(unsigned long baseaddr);
Dtxx9pio.h26 int txx9_gpio_init(unsigned long baseaddr,
/Linux-v5.4/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-v5.4/drivers/block/
Dxsysace.c198 void __iomem *baseaddr; member
233 void __iomem *r = ace->baseaddr + reg; in ace_in_8()
239 void __iomem *r = ace->baseaddr + reg; in ace_out_8()
246 void __iomem *r = ace->baseaddr + 0x40; in ace_datain_8()
256 void __iomem *r = ace->baseaddr + 0x40; in ace_dataout_8()
274 return in_be16(ace->baseaddr + reg); in ace_in_be16()
279 out_be16(ace->baseaddr + reg, val); in ace_out_be16()
287 *dst++ = in_le16(ace->baseaddr + 0x40); in ace_datain_be16()
296 out_le16(ace->baseaddr + 0x40, *src++); in ace_dataout_be16()
303 return in_le16(ace->baseaddr + reg); in ace_in_le16()
[all …]
/Linux-v5.4/drivers/power/reset/
Dqcom-pon.c23 u32 baseaddr; member
36 pon->baseaddr + PON_SOFT_RB_SPARE, in pm8916_reboot_mode_write()
62 &pon->baseaddr); in pm8916_pon_probe()
/Linux-v5.4/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()
336 mmio = ioremap(baseaddr, SSB_CORE_SIZE * bus->nr_devices); in ssb_bus_scan()
/Linux-v5.4/sound/soc/bcm/
Dcygnus-ssp.h38 unsigned baseaddr; member
48 .baseaddr = SRC_RBUF_ ##num## _BASEADDR_OFFSET, \
58 .baseaddr = DST_RBUF_ ##num## _BASEADDR_OFFSET, \
/Linux-v5.4/drivers/rtc/
Drtc-m48t35.c40 unsigned long baseaddr; member
161 priv->baseaddr = res->start; in m48t35_probe()
162 priv->reg = devm_ioremap(&pdev->dev, priv->baseaddr, priv->size); in m48t35_probe()
/Linux-v5.4/drivers/gpu/drm/sti/
Dsti_cursor.h15 void __iomem *baseaddr,
Dsti_gdp.h21 void __iomem *baseaddr,
/Linux-v5.4/include/linux/platform_data/txx9/
Dndfmc.h25 void txx9_ndfmc_init(unsigned long baseaddr,
/Linux-v5.4/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()

123