Lines Matching refs:nxhandle
92 struct nx_handle *nxhandle; in nx_function_begin() local
101 nxhandle = malloc(sizeof(*nxhandle)); in nx_function_begin()
102 if (!nxhandle) { in nx_function_begin()
108 nxhandle->function = function; in nx_function_begin()
109 rc = open_device_nodes(devname, pri, nxhandle); in nx_function_begin()
116 return nxhandle; in nx_function_begin()
122 struct nx_handle *nxhandle = handle; in nx_function_end() local
124 rc = munmap(nxhandle->paste_addr - 0x400, 4096); in nx_function_end()
129 close(nxhandle->fd); in nx_function_end()
130 free(nxhandle); in nx_function_end()
198 struct nx_handle *nxhandle = handle; in nxu_run_job() local
206 ret = vas_paste(nxhandle->paste_addr, 0); in nxu_run_job()