Home
last modified time | relevance | path

Searched refs:tb0219_base (Results 1 – 1 of 1) sorted by relevance

/linux-4.19.296/drivers/char/
Dtb0219.c40 static void __iomem *tb0219_base; variable
43 #define tb0219_read(offset) readw(tb0219_base + (offset))
44 #define tb0219_write(offset, value) writew((value), tb0219_base + (offset))
295 tb0219_base = ioremap(TB0219_START, TB0219_SIZE); in tb0219_probe()
296 if (tb0219_base == NULL) { in tb0219_probe()
303 iounmap(tb0219_base); in tb0219_probe()
304 tb0219_base = NULL; in tb0219_probe()
326 iounmap(tb0219_base); in tb0219_remove()
327 tb0219_base = NULL; in tb0219_remove()