Lines Matching refs:itv

16 	struct ivtv *itv = container_of(cxhdl, struct ivtv, cxhdl);
19 if (fmt && itv->vbi.sliced_mpeg_data[0] == NULL) {
24 itv->vbi.sliced_mpeg_data[i] = kmalloc(2049, GFP_KERNEL);
25 if (itv->vbi.sliced_mpeg_data[i] == NULL) {
27 kfree(itv->vbi.sliced_mpeg_data[i]);
28 itv->vbi.sliced_mpeg_data[i] = NULL;
35 itv->vbi.insert_mpeg = fmt;
37 if (itv->vbi.insert_mpeg == 0) {
41 if (ivtv_get_service_set(itv->vbi.sliced_in) == 0) {
42 if (itv->is_60hz)
43 itv->vbi.sliced_in->service_set = V4L2_SLICED_CAPTION_525;
45 itv->vbi.sliced_in->service_set = V4L2_SLICED_WSS_625;
46 ivtv_expand_service_set(itv->vbi.sliced_in, itv->is_50hz);
53 struct ivtv *itv = container_of(cxhdl, struct ivtv, cxhdl);
63 v4l2_subdev_call(itv->sd_video, pad, set_fmt, NULL, &format);
70 struct ivtv *itv = container_of(cxhdl, struct ivtv, cxhdl);
75 ivtv_call_all(itv, audio, s_clock_freq, freqs[idx]);
81 struct ivtv *itv = container_of(cxhdl, struct ivtv, cxhdl);
83 itv->dualwatch_stereo_mode = val;
94 int ivtv_g_pts_frame(struct ivtv *itv, s64 *pts, s64 *frame)
98 if (test_bit(IVTV_F_I_VALID_DEC_TIMINGS, &itv->i_flags)) {
99 *pts = (s64)((u64)itv->last_dec_timing[2] << 32) |
100 (u64)itv->last_dec_timing[1];
101 *frame = itv->last_dec_timing[0];
106 if (atomic_read(&itv->decoding)) {
107 if (ivtv_api(itv, CX2341X_DEC_GET_TIMING_INFO, 5, data)) {
111 memcpy(itv->last_dec_timing, data, sizeof(itv->last_dec_timing));
112 set_bit(IVTV_F_I_VALID_DEC_TIMINGS, &itv->i_flags);
122 struct ivtv *itv = container_of(ctrl->handler, struct ivtv, cxhdl.hdl);
128 return ivtv_g_pts_frame(itv, itv->ctrl_pts->p_new.p_s64,
129 itv->ctrl_frame->p_new.p_s64);
136 struct ivtv *itv = container_of(ctrl->handler, struct ivtv, cxhdl.hdl);
142 itv->audio_stereo_mode = itv->ctrl_audio_playback->val - 1;
143 itv->audio_bilingual_mode = itv->ctrl_audio_multilingual_playback->val - 1;
144 ivtv_vapi(itv, CX2341X_DEC_SET_AUDIO_MODE, 2, itv->audio_bilingual_mode, itv->audio_stereo_mode);