Searched refs:tiop (Results 1 – 2 of 2) sorted by relevance
41 int register_trapped_io(struct trapped_io *tiop) in register_trapped_io() argument52 if ((unsigned long)tiop & (PAGE_SIZE - 1)) in register_trapped_io()55 for (k = 0; k < tiop->num_resources; k++) { in register_trapped_io()56 res = tiop->resource + k; in register_trapped_io()71 pages[k] = virt_to_page(tiop); in register_trapped_io()73 tiop->virt_base = vmap(pages, n, VM_MAP, PAGE_NONE); in register_trapped_io()74 if (!tiop->virt_base) in register_trapped_io()78 for (k = 0; k < tiop->num_resources; k++) { in register_trapped_io()79 res = tiop->resource + k; in register_trapped_io()81 (unsigned long)(tiop->virt_base + len), in register_trapped_io()[all …]
21 int register_trapped_io(struct trapped_io *tiop);53 #define register_trapped_io(tiop) (-1) argument54 #define handle_trapped_io(tiop, address) 0 argument