Home
last modified time | relevance | path

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

/freebsd/stand/libofw/
H A Dofw_net.c76 static ihandle_t netinstance; variable
120 rv = OF_write(netinstance, pkt, len); in ofwn_put()
154 length = OF_read(netinstance, ptr, len); in ofwn_get()
211 if ((netinstance = OF_open(path)) == -1) { in ofwn_init()
217 printf("ofwn_init: Open Firmware instance handle: %08x\n", netinstance); in ofwn_init()
220 if (OF_call_method("dma-alloc", netinstance, 1, 1, (64 * 1024), &dmabuf) in ofwn_init()
242 OF_call_method("dma-free", netinstance, 2, 0, dmabuf, MAXPHYS); in ofwn_end()
244 OF_close(netinstance); in ofwn_end()