Lines Matching refs:val32
68 u32 val32; in palm_bk3710_setudmamode() local
79 val32 = readl(base + BK3710_UDMASTB) & (0xFF << (dev ? 0 : 8)); in palm_bk3710_setudmamode()
80 val32 |= (t0 << (dev ? 8 : 0)); in palm_bk3710_setudmamode()
81 writel(val32, base + BK3710_UDMASTB); in palm_bk3710_setudmamode()
84 val32 = readl(base + BK3710_UDMATRP) & (0xFF << (dev ? 0 : 8)); in palm_bk3710_setudmamode()
85 val32 |= (trp << (dev ? 8 : 0)); in palm_bk3710_setudmamode()
86 writel(val32, base + BK3710_UDMATRP); in palm_bk3710_setudmamode()
89 val32 = readl(base + BK3710_UDMAENV) & (0xFF << (dev ? 0 : 8)); in palm_bk3710_setudmamode()
90 val32 |= (tenv << (dev ? 8 : 0)); in palm_bk3710_setudmamode()
91 writel(val32, base + BK3710_UDMAENV); in palm_bk3710_setudmamode()
103 u32 val32; in palm_bk3710_setdmamode() local
117 val32 = readl(base + BK3710_DMASTB) & (0xFF << (dev ? 0 : 8)); in palm_bk3710_setdmamode()
118 val32 |= (td << (dev ? 8 : 0)); in palm_bk3710_setdmamode()
119 writel(val32, base + BK3710_DMASTB); in palm_bk3710_setdmamode()
121 val32 = readl(base + BK3710_DMARCVR) & (0xFF << (dev ? 0 : 8)); in palm_bk3710_setdmamode()
122 val32 |= (tkw << (dev ? 8 : 0)); in palm_bk3710_setdmamode()
123 writel(val32, base + BK3710_DMARCVR); in palm_bk3710_setdmamode()
135 u32 val32; in palm_bk3710_setpiomode() local
147 val32 = readl(base + BK3710_DATSTB) & (0xFF << (dev ? 0 : 8)); in palm_bk3710_setpiomode()
148 val32 |= (t2 << (dev ? 8 : 0)); in palm_bk3710_setpiomode()
149 writel(val32, base + BK3710_DATSTB); in palm_bk3710_setpiomode()
151 val32 = readl(base + BK3710_DATRCVR) & (0xFF << (dev ? 0 : 8)); in palm_bk3710_setpiomode()
152 val32 |= (t2i << (dev ? 8 : 0)); in palm_bk3710_setpiomode()
153 writel(val32, base + BK3710_DATRCVR); in palm_bk3710_setpiomode()
169 val32 = readl(base + BK3710_REGSTB) & (0xFF << (dev ? 0 : 8)); in palm_bk3710_setpiomode()
170 val32 |= (t2 << (dev ? 8 : 0)); in palm_bk3710_setpiomode()
171 writel(val32, base + BK3710_REGSTB); in palm_bk3710_setpiomode()
173 val32 = readl(base + BK3710_REGRCVR) & (0xFF << (dev ? 0 : 8)); in palm_bk3710_setpiomode()
174 val32 |= (t2i << (dev ? 8 : 0)); in palm_bk3710_setpiomode()
175 writel(val32, base + BK3710_REGRCVR); in palm_bk3710_setpiomode()