Lines Matching refs:regBase
40 volatile unsigned char *regBase;
57 ctlValue = (unsigned int)OSAL_READL(hwdt->regBase + HIWDT_CTRL);
72 OSAL_WRITEL(HIWDT_UNLOCK_VAL, hwdt->regBase + HIWDT_LOCK);
74 OSAL_WRITEL(0x00, hwdt->regBase + HIWDT_CTRL);
76 OSAL_WRITEL(0x00, hwdt->regBase + HIWDT_INTCLR);
78 OSAL_WRITEL(HIWDT_EN_RST_INTR, hwdt->regBase + HIWDT_CTRL);
80 OSAL_WRITEL(0x00, hwdt->regBase + HIWDT_LOCK);
95 OSAL_WRITEL(HIWDT_UNLOCK_VAL, hwdt->regBase + HIWDT_LOCK);
97 OSAL_WRITEL(0x00, hwdt->regBase + HIWDT_CTRL);
99 OSAL_WRITEL(0x00, hwdt->regBase + HIWDT_INTCLR);
101 OSAL_WRITEL(0x00, hwdt->regBase + HIWDT_LOCK);
128 OSAL_WRITEL(HIWDT_UNLOCK_VAL, hwdt->regBase + HIWDT_LOCK);
129 OSAL_WRITEL(value, hwdt->regBase + HIWDT_LOAD);
130 OSAL_WRITEL(value, hwdt->regBase + HIWDT_VALUE);
132 OSAL_WRITEL(0x00, hwdt->regBase + HIWDT_LOCK);
148 value = (unsigned int)OSAL_READL(hwdt->regBase + HIWDT_LOAD);
164 OSAL_WRITEL(HIWDT_UNLOCK_VAL, hwdt->regBase + HIWDT_LOCK);
166 OSAL_WRITEL(0x00, hwdt->regBase + HIWDT_INTCLR);
168 OSAL_WRITEL(0x00, hwdt->regBase + HIWDT_LOCK);
193 ret = drsOps->GetUint32(node, "regBase", &hwdt->phyBase, 0);
195 HDF_LOGE("%s: read regBase fail!", __func__);
231 hwdt->regBase = OsalIoRemap(hwdt->phyBase, hwdt->regStep);
232 if (hwdt->regBase == NULL) {
244 OsalIoUnmap((void *)hwdt->regBase);
277 if (hwdt->regBase != NULL) {
278 OsalIoUnmap((void *)hwdt->regBase);
279 hwdt->regBase = NULL;