Lines Matching refs:handle
114 s->handle = CX18_INVALID_TASK_HANDLE; in cx18_stream_init()
366 data[0] = s->handle; in cx18_vbi_setup()
398 if (s->handle == CX18_INVALID_TASK_HANDLE || in cx18_stream_put_buf_fw()
407 cx18_vapi(cx, CX18_CPU_DE_SET_MDL, 5, s->handle, in cx18_stream_put_buf_fw()
478 s->handle, !!test_bit(CX18_F_I_RADIO_USER, &cx->i_flags)); in cx18_start_v4l2_encode_stream()
484 s->handle = data[0]; in cx18_start_v4l2_encode_stream()
485 cx18_vapi(cx, CX18_CPU_SET_CHANNEL_TYPE, 2, s->handle, captype); in cx18_start_v4l2_encode_stream()
491 cx18_vapi(cx, CX18_CPU_SET_VER_CROP_LINE, 2, s->handle, 0); in cx18_start_v4l2_encode_stream()
492 cx18_vapi(cx, CX18_CPU_SET_MISC_PARAMETERS, 3, s->handle, 3, 1); in cx18_start_v4l2_encode_stream()
493 cx18_vapi(cx, CX18_CPU_SET_MISC_PARAMETERS, 3, s->handle, 8, 0); in cx18_start_v4l2_encode_stream()
494 cx18_vapi(cx, CX18_CPU_SET_MISC_PARAMETERS, 3, s->handle, 4, 1); in cx18_start_v4l2_encode_stream()
495 cx18_vapi(cx, CX18_CPU_SET_MISC_PARAMETERS, 2, s->handle, 12); in cx18_start_v4l2_encode_stream()
498 s->handle, cx->digitizer, cx->digitizer); in cx18_start_v4l2_encode_stream()
519 cx18_vapi(cx, CX18_CPU_DE_SET_MDL_ACK, 3, s->handle, in cx18_start_v4l2_encode_stream()
535 if (cx18_vapi(cx, CX18_CPU_CAPTURE_START, 1, s->handle)) { in cx18_start_v4l2_encode_stream()
539 cx18_vapi(cx, CX18_CPU_CAPTURE_STOP, 2, s->handle, 1); in cx18_start_v4l2_encode_stream()
541 cx18_vapi(cx, CX18_CPU_CAPTURE_STOP, 1, s->handle); in cx18_start_v4l2_encode_stream()
544 cx18_vapi(cx, CX18_CPU_DE_RELEASE_MDL, 1, s->handle); in cx18_start_v4l2_encode_stream()
545 cx18_vapi(cx, CX18_DESTROY_TASK, 1, s->handle); in cx18_start_v4l2_encode_stream()
546 s->handle = CX18_INVALID_TASK_HANDLE; in cx18_start_v4l2_encode_stream()
592 cx18_vapi(cx, CX18_CPU_CAPTURE_STOP, 2, s->handle, !gop_end); in cx18_stop_v4l2_encode_stream()
594 cx18_vapi(cx, CX18_CPU_CAPTURE_STOP, 1, s->handle); in cx18_stop_v4l2_encode_stream()
610 cx18_vapi(cx, CX18_CPU_DE_RELEASE_MDL, 1, s->handle); in cx18_stop_v4l2_encode_stream()
612 cx18_vapi(cx, CX18_DESTROY_TASK, 1, s->handle); in cx18_stop_v4l2_encode_stream()
613 s->handle = CX18_INVALID_TASK_HANDLE; in cx18_stop_v4l2_encode_stream()
632 if (s->v4l2dev && (s->handle != CX18_INVALID_TASK_HANDLE)) in cx18_find_handle()
633 return s->handle; in cx18_find_handle()
638 struct cx18_stream *cx18_handle_to_stream(struct cx18 *cx, u32 handle) in cx18_handle_to_stream() argument
643 if (handle == CX18_INVALID_TASK_HANDLE) in cx18_handle_to_stream()
648 if (s->handle != handle) in cx18_handle_to_stream()