Lines Matching refs:val32
70 u32 val32; in pata_bk3710_setudmamode() local
82 val32 = ioread32(base + BK3710_UDMASTB) & (0xFF << (dev ? 0 : 8)); in pata_bk3710_setudmamode()
83 val32 |= t0 << (dev ? 8 : 0); in pata_bk3710_setudmamode()
84 iowrite32(val32, base + BK3710_UDMASTB); in pata_bk3710_setudmamode()
87 val32 = ioread32(base + BK3710_UDMATRP) & (0xFF << (dev ? 0 : 8)); in pata_bk3710_setudmamode()
88 val32 |= trp << (dev ? 8 : 0); in pata_bk3710_setudmamode()
89 iowrite32(val32, base + BK3710_UDMATRP); in pata_bk3710_setudmamode()
92 val32 = ioread32(base + BK3710_UDMAENV) & (0xFF << (dev ? 0 : 8)); in pata_bk3710_setudmamode()
93 val32 |= tenv << (dev ? 8 : 0); in pata_bk3710_setudmamode()
94 iowrite32(val32, base + BK3710_UDMAENV); in pata_bk3710_setudmamode()
107 u32 val32; in pata_bk3710_setmwdmamode() local
120 val32 = ioread32(base + BK3710_DMASTB) & (0xFF << (dev ? 0 : 8)); in pata_bk3710_setmwdmamode()
121 val32 |= td << (dev ? 8 : 0); in pata_bk3710_setmwdmamode()
122 iowrite32(val32, base + BK3710_DMASTB); in pata_bk3710_setmwdmamode()
124 val32 = ioread32(base + BK3710_DMARCVR) & (0xFF << (dev ? 0 : 8)); in pata_bk3710_setmwdmamode()
125 val32 |= tkw << (dev ? 8 : 0); in pata_bk3710_setmwdmamode()
126 iowrite32(val32, base + BK3710_DMARCVR); in pata_bk3710_setmwdmamode()
154 u32 val32; in pata_bk3710_setpiomode() local
166 val32 = ioread32(base + BK3710_DATSTB) & (0xFF << (dev ? 0 : 8)); in pata_bk3710_setpiomode()
167 val32 |= t2 << (dev ? 8 : 0); in pata_bk3710_setpiomode()
168 iowrite32(val32, base + BK3710_DATSTB); in pata_bk3710_setpiomode()
170 val32 = ioread32(base + BK3710_DATRCVR) & (0xFF << (dev ? 0 : 8)); in pata_bk3710_setpiomode()
171 val32 |= t2i << (dev ? 8 : 0); in pata_bk3710_setpiomode()
172 iowrite32(val32, base + BK3710_DATRCVR); in pata_bk3710_setpiomode()
189 val32 = ioread32(base + BK3710_REGSTB) & (0xFF << (dev ? 0 : 8)); in pata_bk3710_setpiomode()
190 val32 |= t2 << (dev ? 8 : 0); in pata_bk3710_setpiomode()
191 iowrite32(val32, base + BK3710_REGSTB); in pata_bk3710_setpiomode()
193 val32 = ioread32(base + BK3710_REGRCVR) & (0xFF << (dev ? 0 : 8)); in pata_bk3710_setpiomode()
194 val32 |= t2i << (dev ? 8 : 0); in pata_bk3710_setpiomode()
195 iowrite32(val32, base + BK3710_REGRCVR); in pata_bk3710_setpiomode()