Searched refs:nxhandle (Results 1 – 1 of 1) sorted by relevance
92 struct nx_handle *nxhandle; in nx_function_begin() local101 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() local124 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()[all …]