Lines Matching refs:baseaddr
316 void __iomem *baseaddr; member
360 base = priv->baseaddr; in zynq_get_error_info()
415 base = priv->baseaddr; in zynqmp_get_error_info()
522 priv->baseaddr + ECC_CLR_OFST); in enable_intr()
525 priv->baseaddr + DDR_QOS_IRQ_EN_OFST); in enable_intr()
533 writel(0x0, priv->baseaddr + ECC_CLR_OFST); in disable_intr()
536 priv->baseaddr + DDR_QOS_IRQ_DB_OFST); in disable_intr()
561 regval = readl(priv->baseaddr + DDR_QOS_IRQ_STAT_OFST); in intr_handler()
579 writel(regval, priv->baseaddr + DDR_QOS_IRQ_STAT_OFST); in intr_handler()
817 dimm->mtype = p_data->get_mtype(priv->baseaddr); in init_csrows()
820 dimm->dtype = p_data->get_dtype(priv->baseaddr); in init_csrows()
998 writel(regval, priv->baseaddr + ECC_POISON0_OFST); in ddr_poison_setup()
1003 writel(regval, priv->baseaddr + ECC_POISON1_OFST); in ddr_poison_setup()
1015 readl(priv->baseaddr + ECC_POISON0_OFST), in inject_data_error_show()
1016 readl(priv->baseaddr + ECC_POISON1_OFST), in inject_data_error_show()
1043 (((readl(priv->baseaddr + ECC_CFG1_OFST)) & 0x3) == 0x3) in inject_data_poison_show()
1054 writel(0, priv->baseaddr + DDRC_SWCTL); in inject_data_poison_store()
1056 writel(ECC_CEPOISON_MASK, priv->baseaddr + ECC_CFG1_OFST); in inject_data_poison_store()
1058 writel(ECC_UEPOISON_MASK, priv->baseaddr + ECC_CFG1_OFST); in inject_data_poison_store()
1059 writel(1, priv->baseaddr + DDRC_SWCTL); in inject_data_poison_store()
1150 memtype = readl(priv->baseaddr + CTRL_OFST); in setup_column_address_map()
1297 addrmap[index] = readl(priv->baseaddr + addrmap_offset); in setup_address_map()
1327 void __iomem *baseaddr; in mc_probe() local
1332 baseaddr = devm_ioremap_resource(&pdev->dev, res); in mc_probe()
1333 if (IS_ERR(baseaddr)) in mc_probe()
1334 return PTR_ERR(baseaddr); in mc_probe()
1340 if (!p_data->get_ecc_state(baseaddr)) { in mc_probe()
1361 priv->baseaddr = baseaddr; in mc_probe()
1398 writel(0x0, baseaddr + ECC_CTRL_OFST); in mc_probe()