From patchwork Mon May 24 12:21:40 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matti Aaltonen X-Patchwork-Id: 101863 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o4OCM8Ma028447 for ; Mon, 24 May 2010 12:22:09 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757017Ab0EXMV7 (ORCPT ); Mon, 24 May 2010 08:21:59 -0400 Received: from smtp.nokia.com ([192.100.122.233]:47025 "EHLO mgw-mx06.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757011Ab0EXMV5 (ORCPT ); Mon, 24 May 2010 08:21:57 -0400 Received: from vaebh105.NOE.Nokia.com (vaebh105.europe.nokia.com [10.160.244.31]) by mgw-mx06.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id o4OCLnYL023856; Mon, 24 May 2010 15:21:54 +0300 Received: from vaebh104.NOE.Nokia.com ([10.160.244.30]) by vaebh105.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 24 May 2010 15:21:46 +0300 Received: from mgw-sa01.ext.nokia.com ([147.243.1.47]) by vaebh104.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Mon, 24 May 2010 15:21:46 +0300 Received: from localhost.localdomain (masi.nmp.nokia.com [172.22.211.19]) by mgw-sa01.ext.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id o4OCLidU009822; Mon, 24 May 2010 15:21:45 +0300 From: "Matti J. Aaltonen" To: linux-media@vger.kernel.org, hverkuil@xs4all.nl, eduardo.valentin@nokia.com Cc: "Matti J. Aaltonen" Subject: [PATCH v3 1/4] V4L2: Add features to the interface. Date: Mon, 24 May 2010 15:21:40 +0300 Message-Id: <1274703703-11670-2-git-send-email-matti.j.aaltonen@nokia.com> X-Mailer: git-send-email 1.6.1.3 In-Reply-To: <1274703703-11670-1-git-send-email-matti.j.aaltonen@nokia.com> References: <1274703703-11670-1-git-send-email-matti.j.aaltonen@nokia.com> X-OriginalArrivalTime: 24 May 2010 12:21:46.0067 (UTC) FILETIME=[AD2F2230:01CAFB3B] X-Nokia-AV: Clean Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Mon, 24 May 2010 12:22:09 +0000 (UTC) diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h index 418dacf..7a81a9c 100644 --- a/include/linux/videodev2.h +++ b/include/linux/videodev2.h @@ -1377,7 +1377,11 @@ struct v4l2_hw_freq_seek { enum v4l2_tuner_type type; __u32 seek_upward; __u32 wrap_around; - __u32 reserved[8]; + __u32 spacing; + __s32 level_min; + __s32 level_max; + __s32 level; + __u32 reserved[4]; }; /* diff --git a/include/media/v4l2-ioctl.h b/include/media/v4l2-ioctl.h index e8ba0f2..828cf13 100644 --- a/include/media/v4l2-ioctl.h +++ b/include/media/v4l2-ioctl.h @@ -220,6 +220,8 @@ struct v4l2_ioctl_ops { /* Log status ioctl */ int (*vidioc_log_status) (struct file *file, void *fh); + int (*vidioc_g_hw_freq_seek) (struct file *file, void *fh, + struct v4l2_hw_freq_seek *a); int (*vidioc_s_hw_freq_seek) (struct file *file, void *fh, struct v4l2_hw_freq_seek *a);