Lines Matching full:va
121 void *va; in dio_find() local
133 va = (void *)(pa + DIO_VIRADDRBASE); in dio_find()
135 va = ioremap(pa, PAGE_SIZE); in dio_find()
138 (unsigned char *)va + DIO_IDOFF, 1)) { in dio_find()
140 iounmap(va); in dio_find()
144 prid = DIO_ID(va); in dio_find()
147 secid = DIO_SECID(va); in dio_find()
154 iounmap(va); in dio_find()
194 u_char *va; in dio_init() local
206 va = (void *)(pa + DIO_VIRADDRBASE); in dio_init()
208 va = ioremap(pa, PAGE_SIZE); in dio_init()
211 (unsigned char *)va + DIO_IDOFF, 1)) { in dio_init()
213 iounmap(va); in dio_init()
221 iounmap(va); in dio_init()
230 dev->resource.end = pa + DIO_SIZE(scode, va); in dio_init()
234 prid = DIO_ID(va); in dio_init()
237 secid = DIO_SECID(va); in dio_init()
242 dev->ipl = DIO_IPL(va); in dio_init()
250 iounmap(va); in dio_init()