Lines Matching refs:rc
94 int rc = 0; in add_handle_to_index() local
99 rc = -1; in add_handle_to_index()
102 rc = -1; in add_handle_to_index()
108 return rc; in add_handle_to_index()
113 int rc = 0; in find_empty_handle_index() local
118 rc = -1; in find_empty_handle_index()
124 rc = i; in find_empty_handle_index()
131 rc = -1; in find_empty_handle_index()
135 return rc; in find_empty_handle_index()
140 int rc = 0; in hypv_init() local
145 rc = -1; in hypv_init()
150 rc = -1; in hypv_init()
155 rc = -1; in hypv_init()
160 rc = -1; in hypv_init()
166 if (rc < 0 && hvfe_lib_handle) { in hypv_init()
171 return rc; in hypv_init()
184 int rc = 0; in hypv_open() local
199 if ((rc = hypv_init()) < 0) { in hypv_open()
202 return rc; in hypv_open()
208 rc = -1; in hypv_open()
219 rc = -1; in hypv_open()
224 rc = -1; in hypv_open()
226 rc = (HYPV_HANDLE_SIGNATURE | index); in hypv_open()
233 if (rc < 0) in hypv_open()
236 return rc; in hypv_open()
241 int rc = 0; in hypv_ioctl() local
252 rc = -1; in hypv_ioctl()
254 rc = video_fe_ioctl(g_hvfe_handle[fd_index].handle, cmd, data); in hypv_ioctl()
256 fd, fd_index, cmd, data, rc); in hypv_ioctl()
261 rc = ioctl(fd, cmd, data); in hypv_ioctl()
264 return rc; in hypv_ioctl()
380 int rc = 0; in hypv_close() local
392 rc = -1; in hypv_close()
395 rc = video_fe_close(g_hvfe_handle[fd_index].handle); in hypv_close()
404 rc = close(fd); in hypv_close()
407 return rc; in hypv_close()