cxhdl 1574 drivers/media/common/cx2341x.c int cx2341x_handler_init(struct cx2341x_handler *cxhdl, cxhdl 1577 drivers/media/common/cx2341x.c struct v4l2_ctrl_handler *hdl = &cxhdl->hdl; cxhdl 1578 drivers/media/common/cx2341x.c u32 caps = cxhdl->capabilities; cxhdl 1583 drivers/media/common/cx2341x.c cxhdl->width = 720; cxhdl 1584 drivers/media/common/cx2341x.c cxhdl->height = 480; cxhdl 1590 drivers/media/common/cx2341x.c cxhdl->stream_type = cx2341x_ctrl_new_menu(hdl, cxhdl 1594 drivers/media/common/cx2341x.c cxhdl->stream_vbi_fmt = cx2341x_ctrl_new_menu(hdl, cxhdl 1598 drivers/media/common/cx2341x.c cxhdl->audio_sampling_freq = cx2341x_ctrl_new_menu(hdl, cxhdl 1602 drivers/media/common/cx2341x.c cxhdl->audio_encoding = cx2341x_ctrl_new_menu(hdl, cxhdl 1606 drivers/media/common/cx2341x.c cxhdl->audio_l2_bitrate = cx2341x_ctrl_new_menu(hdl, cxhdl 1610 drivers/media/common/cx2341x.c cxhdl->audio_mode = cx2341x_ctrl_new_menu(hdl, cxhdl 1614 drivers/media/common/cx2341x.c cxhdl->audio_mode_extension = cx2341x_ctrl_new_menu(hdl, cxhdl 1618 drivers/media/common/cx2341x.c cxhdl->audio_emphasis = cx2341x_ctrl_new_menu(hdl, cxhdl 1622 drivers/media/common/cx2341x.c cxhdl->audio_crc = cx2341x_ctrl_new_menu(hdl, cxhdl 1629 drivers/media/common/cx2341x.c cxhdl->audio_ac3_bitrate = cx2341x_ctrl_new_menu(hdl, cxhdl 1633 drivers/media/common/cx2341x.c cxhdl->video_encoding = cx2341x_ctrl_new_menu(hdl, cxhdl 1641 drivers/media/common/cx2341x.c cxhdl->video_b_frames = cx2341x_ctrl_new_std(hdl, cxhdl 1643 drivers/media/common/cx2341x.c cxhdl->video_gop_size = cx2341x_ctrl_new_std(hdl, cxhdl 1645 drivers/media/common/cx2341x.c 1, 34, 1, cxhdl->is_50hz ? 12 : 15); cxhdl 1647 drivers/media/common/cx2341x.c cxhdl->video_bitrate_mode = cx2341x_ctrl_new_menu(hdl, cxhdl 1651 drivers/media/common/cx2341x.c cxhdl->video_bitrate = cx2341x_ctrl_new_std(hdl, cxhdl 1654 drivers/media/common/cx2341x.c cxhdl->video_bitrate_peak = cx2341x_ctrl_new_std(hdl, cxhdl 1659 drivers/media/common/cx2341x.c cxhdl->video_mute = cx2341x_ctrl_new_std(hdl, cxhdl 1661 drivers/media/common/cx2341x.c cxhdl->video_mute_yuv = cx2341x_ctrl_new_std(hdl, cxhdl 1665 drivers/media/common/cx2341x.c cxhdl->video_spatial_filter_mode = cx2341x_ctrl_new_custom(hdl, cxhdl 1670 drivers/media/common/cx2341x.c cxhdl->video_spatial_filter = cx2341x_ctrl_new_custom(hdl, cxhdl 1673 drivers/media/common/cx2341x.c cxhdl->video_luma_spatial_filter_type = cx2341x_ctrl_new_custom(hdl, cxhdl 1679 drivers/media/common/cx2341x.c cxhdl->video_chroma_spatial_filter_type = cx2341x_ctrl_new_custom(hdl, cxhdl 1685 drivers/media/common/cx2341x.c cxhdl->video_temporal_filter_mode = cx2341x_ctrl_new_custom(hdl, cxhdl 1691 drivers/media/common/cx2341x.c cxhdl->video_temporal_filter = cx2341x_ctrl_new_custom(hdl, cxhdl 1694 drivers/media/common/cx2341x.c cxhdl->video_median_filter_type = cx2341x_ctrl_new_custom(hdl, cxhdl 1700 drivers/media/common/cx2341x.c cxhdl->video_luma_median_filter_bottom = cx2341x_ctrl_new_custom(hdl, cxhdl 1703 drivers/media/common/cx2341x.c cxhdl->video_luma_median_filter_top = cx2341x_ctrl_new_custom(hdl, cxhdl 1706 drivers/media/common/cx2341x.c cxhdl->video_chroma_median_filter_bottom = cx2341x_ctrl_new_custom(hdl, cxhdl 1709 drivers/media/common/cx2341x.c cxhdl->video_chroma_median_filter_top = cx2341x_ctrl_new_custom(hdl, cxhdl 1722 drivers/media/common/cx2341x.c v4l2_ctrl_cluster(8, &cxhdl->audio_sampling_freq); cxhdl 1723 drivers/media/common/cx2341x.c v4l2_ctrl_cluster(2, &cxhdl->video_b_frames); cxhdl 1724 drivers/media/common/cx2341x.c v4l2_ctrl_cluster(5, &cxhdl->stream_type); cxhdl 1725 drivers/media/common/cx2341x.c v4l2_ctrl_cluster(2, &cxhdl->video_mute); cxhdl 1726 drivers/media/common/cx2341x.c v4l2_ctrl_cluster(3, &cxhdl->video_spatial_filter_mode); cxhdl 1727 drivers/media/common/cx2341x.c v4l2_ctrl_cluster(2, &cxhdl->video_luma_spatial_filter_type); cxhdl 1728 drivers/media/common/cx2341x.c v4l2_ctrl_cluster(2, &cxhdl->video_spatial_filter); cxhdl 1729 drivers/media/common/cx2341x.c v4l2_ctrl_cluster(4, &cxhdl->video_luma_median_filter_top); cxhdl 1735 drivers/media/common/cx2341x.c void cx2341x_handler_set_50hz(struct cx2341x_handler *cxhdl, int is_50hz) cxhdl 1737 drivers/media/common/cx2341x.c cxhdl->is_50hz = is_50hz; cxhdl 1738 drivers/media/common/cx2341x.c cxhdl->video_gop_size->default_value = cxhdl->is_50hz ? 12 : 15; cxhdl 1742 drivers/media/common/cx2341x.c int cx2341x_handler_setup(struct cx2341x_handler *cxhdl) cxhdl 1744 drivers/media/common/cx2341x.c int h = cxhdl->height; cxhdl 1745 drivers/media/common/cx2341x.c int w = cxhdl->width; cxhdl 1748 drivers/media/common/cx2341x.c err = cx2341x_hdl_api(cxhdl, CX2341X_ENC_SET_OUTPUT_PORT, 2, cxhdl->port, 0); cxhdl 1751 drivers/media/common/cx2341x.c err = cx2341x_hdl_api(cxhdl, CX2341X_ENC_SET_FRAME_RATE, 1, cxhdl->is_50hz); cxhdl 1755 drivers/media/common/cx2341x.c if (v4l2_ctrl_g_ctrl(cxhdl->video_encoding) == V4L2_MPEG_VIDEO_ENCODING_MPEG_1) { cxhdl 1759 drivers/media/common/cx2341x.c err = cx2341x_hdl_api(cxhdl, CX2341X_ENC_SET_FRAME_SIZE, 2, h, w); cxhdl 1762 drivers/media/common/cx2341x.c return v4l2_ctrl_handler_setup(&cxhdl->hdl); cxhdl 1766 drivers/media/common/cx2341x.c void cx2341x_handler_set_busy(struct cx2341x_handler *cxhdl, int busy) cxhdl 1768 drivers/media/common/cx2341x.c v4l2_ctrl_grab(cxhdl->audio_sampling_freq, busy); cxhdl 1769 drivers/media/common/cx2341x.c v4l2_ctrl_grab(cxhdl->audio_encoding, busy); cxhdl 1770 drivers/media/common/cx2341x.c v4l2_ctrl_grab(cxhdl->audio_l2_bitrate, busy); cxhdl 1771 drivers/media/common/cx2341x.c v4l2_ctrl_grab(cxhdl->audio_ac3_bitrate, busy); cxhdl 1772 drivers/media/common/cx2341x.c v4l2_ctrl_grab(cxhdl->stream_vbi_fmt, busy); cxhdl 1773 drivers/media/common/cx2341x.c v4l2_ctrl_grab(cxhdl->stream_type, busy); cxhdl 1774 drivers/media/common/cx2341x.c v4l2_ctrl_grab(cxhdl->video_bitrate_mode, busy); cxhdl 1775 drivers/media/common/cx2341x.c v4l2_ctrl_grab(cxhdl->video_bitrate, busy); cxhdl 1776 drivers/media/common/cx2341x.c v4l2_ctrl_grab(cxhdl->video_bitrate_peak, busy); cxhdl 19 drivers/media/pci/cx18/cx18-controls.c static int cx18_s_stream_vbi_fmt(struct cx2341x_handler *cxhdl, u32 fmt) cxhdl 21 drivers/media/pci/cx18/cx18-controls.c struct cx18 *cx = container_of(cxhdl, struct cx18, cxhdl); cxhdl 22 drivers/media/pci/cx18/cx18-controls.c int type = cxhdl->stream_type->val; cxhdl 75 drivers/media/pci/cx18/cx18-controls.c static int cx18_s_video_encoding(struct cx2341x_handler *cxhdl, u32 val) cxhdl 77 drivers/media/pci/cx18/cx18-controls.c struct cx18 *cx = container_of(cxhdl, struct cx18, cxhdl); cxhdl 85 drivers/media/pci/cx18/cx18-controls.c fmt->width = cxhdl->width / (is_mpeg1 ? 2 : 1); cxhdl 86 drivers/media/pci/cx18/cx18-controls.c fmt->height = cxhdl->height; cxhdl 92 drivers/media/pci/cx18/cx18-controls.c static int cx18_s_audio_sampling_freq(struct cx2341x_handler *cxhdl, u32 idx) cxhdl 95 drivers/media/pci/cx18/cx18-controls.c struct cx18 *cx = container_of(cxhdl, struct cx18, cxhdl); cxhdl 104 drivers/media/pci/cx18/cx18-controls.c static int cx18_s_audio_mode(struct cx2341x_handler *cxhdl, u32 val) cxhdl 106 drivers/media/pci/cx18/cx18-controls.c struct cx18 *cx = container_of(cxhdl, struct cx18, cxhdl); cxhdl 735 drivers/media/pci/cx18/cx18-driver.c cx->cxhdl.port = CX2341X_PORT_MEMORY; cxhdl 736 drivers/media/pci/cx18/cx18-driver.c cx->cxhdl.capabilities = CX2341X_CAP_HAS_TS | CX2341X_CAP_HAS_SLICED_VBI; cxhdl 737 drivers/media/pci/cx18/cx18-driver.c cx->cxhdl.ops = &cx18_cxhdl_ops; cxhdl 738 drivers/media/pci/cx18/cx18-driver.c cx->cxhdl.func = cx18_api_func; cxhdl 739 drivers/media/pci/cx18/cx18-driver.c cx->cxhdl.priv = &cx->streams[CX18_ENC_STREAM_TYPE_MPG]; cxhdl 740 drivers/media/pci/cx18/cx18-driver.c ret = cx2341x_handler_init(&cx->cxhdl, 50); cxhdl 743 drivers/media/pci/cx18/cx18-driver.c cx->v4l2_dev.ctrl_handler = &cx->cxhdl.hdl; cxhdl 745 drivers/media/pci/cx18/cx18-driver.c cx->temporal_strength = cx->cxhdl.video_temporal_filter->cur.val; cxhdl 746 drivers/media/pci/cx18/cx18-driver.c cx->spatial_strength = cx->cxhdl.video_spatial_filter->cur.val; cxhdl 747 drivers/media/pci/cx18/cx18-driver.c cx->filter_mode = cx->cxhdl.video_spatial_filter_mode->cur.val | cxhdl 748 drivers/media/pci/cx18/cx18-driver.c (cx->cxhdl.video_temporal_filter_mode->cur.val << 1) | cxhdl 749 drivers/media/pci/cx18/cx18-driver.c (cx->cxhdl.video_median_filter_type->cur.val << 2); cxhdl 1062 drivers/media/pci/cx18/cx18-driver.c cx2341x_handler_set_50hz(&cx->cxhdl, !cx->is_60hz); cxhdl 586 drivers/media/pci/cx18/cx18-driver.h struct cx2341x_handler cxhdl; cxhdl 152 drivers/media/pci/cx18/cx18-fileops.c new_stereo_mode = v4l2_ctrl_g_ctrl(cx->cxhdl.audio_mode); cxhdl 164 drivers/media/pci/cx18/cx18-fileops.c if (v4l2_ctrl_s_ctrl(cx->cxhdl.audio_mode, new_stereo_mode)) cxhdl 762 drivers/media/pci/cx18/cx18-fileops.c (v4l2_ctrl_g_ctrl(cx->cxhdl.video_mute) | cxhdl 763 drivers/media/pci/cx18/cx18-fileops.c (v4l2_ctrl_g_ctrl(cx->cxhdl.video_mute_yuv) << 8))); cxhdl 142 drivers/media/pci/cx18/cx18-ioctl.c pixfmt->width = cx->cxhdl.width; cxhdl 143 drivers/media/pci/cx18/cx18-ioctl.c pixfmt->height = cx->cxhdl.height; cxhdl 269 drivers/media/pci/cx18/cx18-ioctl.c if (cx->cxhdl.width == w && cx->cxhdl.height == h && cxhdl 287 drivers/media/pci/cx18/cx18-ioctl.c format.format.width = cx->cxhdl.width = w; cxhdl 288 drivers/media/pci/cx18/cx18-ioctl.c format.format.height = cx->cxhdl.height = h; cxhdl 588 drivers/media/pci/cx18/cx18-ioctl.c cx2341x_handler_set_50hz(&cx->cxhdl, cx->is_50hz); cxhdl 589 drivers/media/pci/cx18/cx18-ioctl.c cx->cxhdl.width = 720; cxhdl 590 drivers/media/pci/cx18/cx18-ioctl.c cx->cxhdl.height = cx->is_50hz ? 576 : 480; cxhdl 1025 drivers/media/pci/cx18/cx18-ioctl.c v4l2_ctrl_handler_log_status(&cx->cxhdl.hdl, cx->v4l2_dev.name); cxhdl 187 drivers/media/pci/cx18/cx18-streams.c *size = 2 * cx->cxhdl.width * cx->cxhdl.height; cxhdl 210 drivers/media/pci/cx18/cx18-streams.c cx->cxhdl.width, cx->cxhdl.height, field); cxhdl 291 drivers/media/pci/cx18/cx18-streams.c s->vb_bytes_per_frame = cx->cxhdl.height * 720 * 3 / 2; cxhdl 737 drivers/media/pci/cx18/cx18-streams.c s->mdl_size = 720 * s->cx->cxhdl.height * 3 / 2; cxhdl 739 drivers/media/pci/cx18/cx18-streams.c s->mdl_size = 720 * s->cx->cxhdl.height * 2; cxhdl 786 drivers/media/pci/cx18/cx18-streams.c cx->dualwatch_stereo_mode = v4l2_ctrl_g_ctrl(cx->cxhdl.audio_mode); cxhdl 876 drivers/media/pci/cx18/cx18-streams.c cx->cxhdl.priv = s; cxhdl 877 drivers/media/pci/cx18/cx18-streams.c cx2341x_handler_setup(&cx->cxhdl); cxhdl 883 drivers/media/pci/cx18/cx18-streams.c if (!cx->cxhdl.video_mute && cxhdl 886 drivers/media/pci/cx18/cx18-streams.c (v4l2_ctrl_g_ctrl(cx->cxhdl.video_mute_yuv) << 8) | 1); cxhdl 903 drivers/media/pci/cx18/cx18-streams.c cx2341x_handler_set_busy(&cx->cxhdl, 1); cxhdl 1002 drivers/media/pci/cx18/cx18-streams.c cx2341x_handler_set_busy(&cx->cxhdl, 0); cxhdl 1021 drivers/media/pci/cx23885/cx23885-417.c dev->cxhdl.width = dev->ts1.width; cxhdl 1022 drivers/media/pci/cx23885/cx23885-417.c dev->cxhdl.height = dev->ts1.height; cxhdl 1023 drivers/media/pci/cx23885/cx23885-417.c dev->cxhdl.is_50hz = cxhdl 1026 drivers/media/pci/cx23885/cx23885-417.c cx2341x_handler_setup(&dev->cxhdl); cxhdl 1404 drivers/media/pci/cx23885/cx23885-417.c v4l2_ctrl_handler_log_status(&dev->cxhdl.hdl, name); cxhdl 1464 drivers/media/pci/cx23885/cx23885-417.c v4l2_ctrl_handler_free(&dev->cxhdl.hdl); cxhdl 1512 drivers/media/pci/cx23885/cx23885-417.c dev->cxhdl.port = CX2341X_PORT_SERIAL; cxhdl 1513 drivers/media/pci/cx23885/cx23885-417.c err = cx2341x_handler_init(&dev->cxhdl, 50); cxhdl 1516 drivers/media/pci/cx23885/cx23885-417.c dev->cxhdl.priv = dev; cxhdl 1517 drivers/media/pci/cx23885/cx23885-417.c dev->cxhdl.func = cx23885_api_func; cxhdl 1518 drivers/media/pci/cx23885/cx23885-417.c cx2341x_handler_set_50hz(&dev->cxhdl, tsport->height == 576); cxhdl 1519 drivers/media/pci/cx23885/cx23885-417.c v4l2_ctrl_add_handler(&dev->ctrl_handler, &dev->cxhdl.hdl, NULL, false); cxhdl 436 drivers/media/pci/cx23885/cx23885.h struct cx2341x_handler cxhdl; cxhdl 543 drivers/media/pci/cx88/cx88-blackbird.c dev->cxhdl.width = core->width; cxhdl 544 drivers/media/pci/cx88/cx88-blackbird.c dev->cxhdl.height = core->height; cxhdl 545 drivers/media/pci/cx88/cx88-blackbird.c cx2341x_handler_set_50hz(&dev->cxhdl, cxhdl 547 drivers/media/pci/cx88/cx88-blackbird.c cx2341x_handler_setup(&dev->cxhdl); cxhdl 635 drivers/media/pci/cx88/cx88-blackbird.c cx2341x_handler_set_busy(&dev->cxhdl, 1); cxhdl 651 drivers/media/pci/cx88/cx88-blackbird.c cx2341x_handler_set_busy(&dev->cxhdl, 0); cxhdl 921 drivers/media/pci/cx88/cx88-blackbird.c v4l2_ctrl_handler_log_status(&dev->cxhdl.hdl, name); cxhdl 1134 drivers/media/pci/cx88/cx88-blackbird.c dev->mpeg_dev.ctrl_handler = &dev->cxhdl.hdl; cxhdl 1171 drivers/media/pci/cx88/cx88-blackbird.c dev->cxhdl.port = CX2341X_PORT_STREAMING; cxhdl 1172 drivers/media/pci/cx88/cx88-blackbird.c dev->cxhdl.width = core->width; cxhdl 1173 drivers/media/pci/cx88/cx88-blackbird.c dev->cxhdl.height = core->height; cxhdl 1174 drivers/media/pci/cx88/cx88-blackbird.c dev->cxhdl.func = blackbird_mbox_func; cxhdl 1175 drivers/media/pci/cx88/cx88-blackbird.c dev->cxhdl.priv = dev; cxhdl 1176 drivers/media/pci/cx88/cx88-blackbird.c err = cx2341x_handler_init(&dev->cxhdl, 36); cxhdl 1179 drivers/media/pci/cx88/cx88-blackbird.c v4l2_ctrl_add_handler(&dev->cxhdl.hdl, &core->video_hdl, NULL, false); cxhdl 1191 drivers/media/pci/cx88/cx88-blackbird.c cx2341x_handler_set_50hz(&dev->cxhdl, core->height == 576); cxhdl 1192 drivers/media/pci/cx88/cx88-blackbird.c cx2341x_handler_setup(&dev->cxhdl); cxhdl 1226 drivers/media/pci/cx88/cx88-blackbird.c v4l2_ctrl_handler_free(&dev->cxhdl.hdl); cxhdl 559 drivers/media/pci/cx88/cx88.h struct cx2341x_handler cxhdl; cxhdl 14 drivers/media/pci/ivtv/ivtv-controls.c static int ivtv_s_stream_vbi_fmt(struct cx2341x_handler *cxhdl, u32 fmt) cxhdl 16 drivers/media/pci/ivtv/ivtv-controls.c struct ivtv *itv = container_of(cxhdl, struct ivtv, cxhdl); cxhdl 51 drivers/media/pci/ivtv/ivtv-controls.c static int ivtv_s_video_encoding(struct cx2341x_handler *cxhdl, u32 val) cxhdl 53 drivers/media/pci/ivtv/ivtv-controls.c struct ivtv *itv = container_of(cxhdl, struct ivtv, cxhdl); cxhdl 60 drivers/media/pci/ivtv/ivtv-controls.c format.format.width = cxhdl->width / (is_mpeg1 ? 2 : 1); cxhdl 61 drivers/media/pci/ivtv/ivtv-controls.c format.format.height = cxhdl->height; cxhdl 67 drivers/media/pci/ivtv/ivtv-controls.c static int ivtv_s_audio_sampling_freq(struct cx2341x_handler *cxhdl, u32 idx) cxhdl 70 drivers/media/pci/ivtv/ivtv-controls.c struct ivtv *itv = container_of(cxhdl, struct ivtv, cxhdl); cxhdl 79 drivers/media/pci/ivtv/ivtv-controls.c static int ivtv_s_audio_mode(struct cx2341x_handler *cxhdl, u32 val) cxhdl 81 drivers/media/pci/ivtv/ivtv-controls.c struct ivtv *itv = container_of(cxhdl, struct ivtv, cxhdl); cxhdl 122 drivers/media/pci/ivtv/ivtv-controls.c struct ivtv *itv = container_of(ctrl->handler, struct ivtv, cxhdl.hdl); cxhdl 136 drivers/media/pci/ivtv/ivtv-controls.c struct ivtv *itv = container_of(ctrl->handler, struct ivtv, cxhdl.hdl); cxhdl 767 drivers/media/pci/ivtv/ivtv-driver.c itv->cxhdl.port = CX2341X_PORT_MEMORY; cxhdl 768 drivers/media/pci/ivtv/ivtv-driver.c itv->cxhdl.capabilities = CX2341X_CAP_HAS_SLICED_VBI; cxhdl 1025 drivers/media/pci/ivtv/ivtv-driver.c retval = cx2341x_handler_init(&itv->cxhdl, 50); cxhdl 1028 drivers/media/pci/ivtv/ivtv-driver.c itv->v4l2_dev.ctrl_handler = &itv->cxhdl.hdl; cxhdl 1029 drivers/media/pci/ivtv/ivtv-driver.c itv->cxhdl.ops = &ivtv_cxhdl_ops; cxhdl 1030 drivers/media/pci/ivtv/ivtv-driver.c itv->cxhdl.priv = itv; cxhdl 1031 drivers/media/pci/ivtv/ivtv-driver.c itv->cxhdl.func = ivtv_api_func; cxhdl 1159 drivers/media/pci/ivtv/ivtv-driver.c cx2341x_handler_set_50hz(&itv->cxhdl, itv->is_50hz); cxhdl 1279 drivers/media/pci/ivtv/ivtv-driver.c v4l2_ctrl_handler_free(&itv->cxhdl.hdl); cxhdl 1388 drivers/media/pci/ivtv/ivtv-driver.c cx2341x_handler_setup(&itv->cxhdl); cxhdl 1438 drivers/media/pci/ivtv/ivtv-driver.c v4l2_ctrl_handler_free(&itv->cxhdl.hdl); cxhdl 635 drivers/media/pci/ivtv/ivtv-driver.h struct cx2341x_handler cxhdl; cxhdl 146 drivers/media/pci/ivtv/ivtv-fileops.c new_stereo_mode = v4l2_ctrl_g_ctrl(itv->cxhdl.audio_mode); cxhdl 157 drivers/media/pci/ivtv/ivtv-fileops.c if (v4l2_ctrl_s_ctrl(itv->cxhdl.audio_mode, new_stereo_mode)) cxhdl 895 drivers/media/pci/ivtv/ivtv-fileops.c v4l2_ctrl_g_ctrl(itv->cxhdl.video_mute) | cxhdl 896 drivers/media/pci/ivtv/ivtv-fileops.c (v4l2_ctrl_g_ctrl(itv->cxhdl.video_mute_yuv) << 8)); cxhdl 239 drivers/media/pci/ivtv/ivtv-firmware.c data[1] = itv->cxhdl.width; /* YUV source width */ cxhdl 240 drivers/media/pci/ivtv/ivtv-firmware.c data[2] = itv->cxhdl.height; cxhdl 241 drivers/media/pci/ivtv/ivtv-firmware.c data[3] = itv->cxhdl.audio_properties; /* Audio settings to use, cxhdl 152 drivers/media/pci/ivtv/ivtv-ioctl.c data[3] = v4l2_ctrl_g_ctrl(itv->cxhdl.video_b_frames); cxhdl 342 drivers/media/pci/ivtv/ivtv-ioctl.c pixfmt->width = itv->cxhdl.width; cxhdl 343 drivers/media/pci/ivtv/ivtv-ioctl.c pixfmt->height = itv->cxhdl.height; cxhdl 586 drivers/media/pci/ivtv/ivtv-ioctl.c if (itv->cxhdl.width == w && itv->cxhdl.height == h) cxhdl 592 drivers/media/pci/ivtv/ivtv-ioctl.c itv->cxhdl.width = w; cxhdl 593 drivers/media/pci/ivtv/ivtv-ioctl.c itv->cxhdl.height = h; cxhdl 594 drivers/media/pci/ivtv/ivtv-ioctl.c if (v4l2_ctrl_g_ctrl(itv->cxhdl.video_encoding) == V4L2_MPEG_VIDEO_ENCODING_MPEG_1) cxhdl 1102 drivers/media/pci/ivtv/ivtv-ioctl.c cx2341x_handler_set_50hz(&itv->cxhdl, itv->is_50hz); cxhdl 1103 drivers/media/pci/ivtv/ivtv-ioctl.c itv->cxhdl.width = 720; cxhdl 1104 drivers/media/pci/ivtv/ivtv-ioctl.c itv->cxhdl.height = itv->is_50hz ? 576 : 480; cxhdl 1571 drivers/media/pci/ivtv/ivtv-ioctl.c v4l2_ctrl_handler_log_status(&itv->cxhdl.hdl, itv->v4l2_dev.name); cxhdl 514 drivers/media/pci/ivtv/ivtv-streams.c itv->dualwatch_stereo_mode = v4l2_ctrl_g_ctrl(itv->cxhdl.audio_mode); cxhdl 602 drivers/media/pci/ivtv/ivtv-streams.c cx2341x_handler_setup(&itv->cxhdl); cxhdl 607 drivers/media/pci/ivtv/ivtv-streams.c 1 | (v4l2_ctrl_g_ctrl(itv->cxhdl.video_mute_yuv) << 8)); cxhdl 623 drivers/media/pci/ivtv/ivtv-streams.c cx2341x_handler_set_busy(&itv->cxhdl, 1); cxhdl 671 drivers/media/pci/ivtv/ivtv-streams.c width = itv->cxhdl.width; cxhdl 672 drivers/media/pci/ivtv/ivtv-streams.c height = itv->cxhdl.height; cxhdl 712 drivers/media/pci/ivtv/ivtv-streams.c width, height, itv->cxhdl.audio_properties)) { cxhdl 891 drivers/media/pci/ivtv/ivtv-streams.c cx2341x_handler_set_busy(&itv->cxhdl, 0); cxhdl 1014 drivers/media/pci/ivtv/ivtv-streams.c cx2341x_handler_setup(&itv->cxhdl); cxhdl 1015 drivers/media/pci/ivtv/ivtv-streams.c cx2341x_handler_set_busy(&itv->cxhdl, 1); cxhdl 1037 drivers/media/pci/ivtv/ivtv-streams.c cx2341x_handler_set_busy(&itv->cxhdl, 0); cxhdl 1918 drivers/media/usb/cx231xx/cx231xx-417.c static int cx231xx_s_video_encoding(struct cx2341x_handler *cxhdl, u32 val) cxhdl 1920 drivers/media/usb/cx231xx/cx231xx-417.c struct cx231xx *dev = container_of(cxhdl, struct cx231xx, mpeg_ctrl_handler); cxhdl 1927 drivers/media/usb/cx231xx/cx231xx-417.c format.format.width = cxhdl->width / (is_mpeg1 ? 2 : 1); cxhdl 1928 drivers/media/usb/cx231xx/cx231xx-417.c format.format.height = cxhdl->height; cxhdl 1934 drivers/media/usb/cx231xx/cx231xx-417.c static int cx231xx_s_audio_sampling_freq(struct cx2341x_handler *cxhdl, u32 idx) cxhdl 1937 drivers/media/usb/cx231xx/cx231xx-417.c struct cx231xx *dev = container_of(cxhdl, struct cx231xx, mpeg_ctrl_handler); cxhdl 181 include/media/drv-intf/cx2341x.h int cx2341x_handler_init(struct cx2341x_handler *cxhdl, cxhdl 183 include/media/drv-intf/cx2341x.h void cx2341x_handler_set_50hz(struct cx2341x_handler *cxhdl, int is_50hz); cxhdl 184 include/media/drv-intf/cx2341x.h int cx2341x_handler_setup(struct cx2341x_handler *cxhdl); cxhdl 185 include/media/drv-intf/cx2341x.h void cx2341x_handler_set_busy(struct cx2341x_handler *cxhdl, int busy);