Lines Matching refs:va
127 void *va; in dio_find() local
139 va = (void *)(pa + DIO_VIRADDRBASE); in dio_find()
141 va = ioremap(pa, PAGE_SIZE); in dio_find()
144 (unsigned char *)va + DIO_IDOFF, 1)) { in dio_find()
146 iounmap(va); in dio_find()
150 prid = DIO_ID(va); in dio_find()
153 secid = DIO_SECID(va); in dio_find()
160 iounmap(va); in dio_find()
200 u_char *va; in dio_init() local
212 va = (void *)(pa + DIO_VIRADDRBASE); in dio_init()
214 va = ioremap(pa, PAGE_SIZE); in dio_init()
217 (unsigned char *)va + DIO_IDOFF, 1)) { in dio_init()
219 iounmap(va); in dio_init()
227 iounmap(va); in dio_init()
237 dev->resource.end = pa + DIO_SIZE(scode, va); in dio_init()
241 prid = DIO_ID(va); in dio_init()
244 secid = DIO_SECID(va); in dio_init()
249 dev->ipl = DIO_IPL(va); in dio_init()
257 iounmap(va); in dio_init()