1. 06 10月, 2012 1 次提交
  2. 26 9月, 2012 2 次提交
  3. 14 9月, 2012 1 次提交
  4. 12 8月, 2012 1 次提交
  5. 20 5月, 2012 1 次提交
  6. 14 5月, 2012 1 次提交
  7. 11 4月, 2012 3 次提交
  8. 04 11月, 2011 2 次提交
  9. 28 7月, 2011 5 次提交
  10. 08 7月, 2011 2 次提交
  11. 22 3月, 2011 13 次提交
  12. 19 1月, 2011 2 次提交
  13. 21 10月, 2010 2 次提交
  14. 09 8月, 2010 4 次提交
    • H
      V4L/DVB: v4l2: Add new control handling framework · 0996517c
      Hans Verkuil 提交于
      Add a new framework to handle controls which makes life for driver
      developers much easier.
      
      Note that this patch moves some of the control support that used to be in
      v4l2-common.c to v4l2-ctrls.c. The tables were copied unchanged. The body
      of v4l2_ctrl_query_fill() was copied to a new v4l2_ctrl_fill() function
      in v4l2-ctrls.c. This new function doesn't use the v4l2_queryctrl
      struct anymore, which makes it more general.
      
      The remainder of v4l2-ctrls.c is all new. Highlights include:
      
      - No need to implement VIDIOC_QUERYCTRL, QUERYMENU, S_CTRL, G_CTRL,
        S_EXT_CTRLS, G_EXT_CTRLS or TRY_EXT_CTRLS in either bridge drivers
        or subdevs. New wrapper functions are provided that can just be plugged in.
        Once everything has been converted these wrapper functions can be removed as well.
      
      - When subdevices are added their controls can be automatically merged
        with the bridge driver's controls.
      
      - Most drivers just need to implement s_ctrl to set the controls.
        The framework handles the locking and tries to be as 'atomic' as possible.
      
      - Ready for the subdev device nodes: the same mechanism applies to subdevs
        and their device nodes as well. Sub-device drivers can make controls
        local, preventing them from being merged with bridge drivers.
      
      - Takes care of backwards compatibility handling of VIDIOC_S_CTRL and
        VIDIOC_G_CTRL. Handling of V4L2_CID_PRIVATE_BASE is fully transparent.
        CTRL_CLASS controls are automatically added.
      Signed-off-by: NHans Verkuil <hverkuil@xs4all.nl>
      Reviewed-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      0996517c
    • A
    • A
      V4L/DVB: v4l2_subdev: Move interrupt_service_routine ptr to v4l2_subdev_core_ops · 260e689b
      Andy Walls 提交于
      The CX2584x and related cores are multifunction subdevices with a number
      of internal blocks that act as interrupt sources.  Move the v4L2_subdev
      interrupt_service_routine callback from v4l_subdev_ir_ops to
      v4l2_subdev_core_ops, as the video and audio blocks of a CX2584x and
      related cores can generate interrupts along with the IR block.  This
      change also makes sense for other subdev's that generate interrupts and
      do not have an IR block.
      Signed-off-by: NAndy Walls <awalls@md.metrocast.net>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      260e689b
    • A
      V4L/DVB: v4l2_subdev, cx23885: Differentiate IR carrier sense and I/O pin inversion · 5a28d9a3
      Andy Walls 提交于
      There is a distinction on IR Tx for the CX2388[578] chips of carrier
      sense inversion (space is a carrier burst and mark is no burst) and I/O
      pin level inversion (0 is high output level, 1 is low output level).
      Allow the caller to set these parameters distinctly as v4l2_subdevice
      IR parameters.  This permits the IR device to be configured and enabled
      without the IR Tx LED being on during idle/space time due to an external
      hardware level inversion
      Signed-off-by: NAndy Walls <awalls@md.metrocast.net>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      5a28d9a3