1. 22 7月, 2014 3 次提交
  2. 17 7月, 2014 17 次提交
  3. 13 3月, 2014 2 次提交
    • A
      [media] v4l: add control for RF tuner PLL lock flag · 9aa4357e
      Antti Palosaari 提交于
      Add volatile boolean control to indicate if tuner frequency synthesizer
      is locked to requested frequency. That means tuner is able to receive
      given frequency. Control is named as "PLL lock", since frequency
      synthesizers are based of phase-locked-loop. Maybe more general name
      could be wise still?
      
      Cc: Hans Verkuil <hverkuil@xs4all.nl>
      Signed-off-by: NAntti Palosaari <crope@iki.fi>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      9aa4357e
    • A
      [media] v4l: add RF tuner channel bandwidth control · 3ce569fd
      Antti Palosaari 提交于
      Modern silicon RF tuners has one or more adjustable filters on
      signal path, in order to filter noise from desired radio channel.
      
      Add channel bandwidth control to tell the driver which is radio
      channel width we want receive. Filters could be then adjusted by
      the driver or hardware, using RF frequency and channel bandwidth
      as a base of filter calculations.
      
      On automatic mode (normal mode), bandwidth is calculated from sampling
      rate or tuning info got from userspace. That new control gives
      possibility to set manual mode and let user have more control for
      filters.
      
      Cc: Hans Verkuil <hverkuil@xs4all.nl>
      Signed-off-by: NAntti Palosaari <crope@iki.fi>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      3ce569fd
  4. 11 3月, 2014 1 次提交
  5. 06 3月, 2014 1 次提交
    • A
      [media] v4l: add RF tuner gain controls · 80807fad
      Antti Palosaari 提交于
      Modern silicon RF tuners used nowadays has many controllable gain
      stages on signal path. Usually, but not always, there is at least
      3 gain stages. Also on some cases there could be multiple gain
      stages within the ones specified here. However, I think that having
      these three controllable gain stages offers enough fine-tuning for
      real use cases.
      
      1) LNA gain. That is first gain just after antenna input.
      2) Mixer gain. It is located quite middle of the signal path, where
      RF signal is down-converted to IF/BB.
      3) IF gain. That is last gain in order to adjust output signal level
      to optimal level for receiving party (usually demodulator ADC).
      
      Each gain stage could be set rather often both manual or automatic
      (AGC) mode. Due to that add separate controls for controlling
      operation mode.
      Signed-off-by: NAntti Palosaari <crope@iki.fi>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      80807fad
  6. 01 3月, 2014 1 次提交
  7. 13 1月, 2014 2 次提交
  8. 10 12月, 2013 1 次提交
  9. 30 11月, 2013 1 次提交
  10. 17 10月, 2013 2 次提交
  11. 24 8月, 2013 1 次提交
  12. 18 8月, 2013 2 次提交
  13. 09 6月, 2013 1 次提交
  14. 31 3月, 2013 1 次提交
  15. 29 3月, 2013 1 次提交
  16. 24 3月, 2013 2 次提交
    • H
      [media] v4l2-ctrls: add V4L2_CID_MPEG_VIDEO_REPEAT_SEQ_HEADER control · 9ca5470c
      Hans Verkuil 提交于
      Control whether video sequence headers should be repeated.
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      9ca5470c
    • A
      [media] v4l2-ctrls: eliminate lockdep false alarms for struct v4l2_ctrl_handler.lock · 6cd247ef
      Andy Walls 提交于
      When calling v4l2_ctrl_add_handler(), lockdep would detect a potential
      recursive locking problem on a situation that is by design intended and
      not a recursive lock.  This happened because all struct
      v4l2_ctrl_handler.lock mutexes were created as members of the same lock
      class in v4l2_ctrl_handler_init(), and v4l2_ctrl_add_handler() takes the
      hdl->lock on two different v4l2_ctrl_handler instances.
      This change breaks the large lockdep lock class for struct
      v4l2_ctrl_handler.lock and breaks it into v4l2_ctrl_handler
      instantiation specific lock classes with meaningful class names.
      This will validly eliminate lockdep alarms for v4l2_ctrl_handler locking
      validation, as long as the relationships between drivers adding v4l2
      controls to their own handler from other v4l2 drivers' control handlers
      remains straightforward.
      struct v4l2_ctrl_handler.lock lock classes are created with names such
      that the output of cat /proc/lockdep indicates where in the v4l2 driver
      code v4l2_ctrl_handle_init() is being called on instantiations:
      ffffffffa045f490 FD:   10 BD:    8 +.+...: cx2341x:1534:(hdl)->lock
      ffffffffa0497d20 FD:   12 BD:    2 +.+.+.: saa7115:1581:(hdl)->lock
      ffffffffa04ac660 FD:   14 BD:    2 +.+.+.: msp3400_driver:756:(hdl)->lock
      ffffffffa0484b90 FD:   12 BD:    1 +.+.+.: ivtv_gpio:366:(&itv->hdl_gpio)->lock
      ffffffffa04eb530 FD:   11 BD:    2 +.+.+.: cx25840_core:1982:(&state->hdl)->lock
      ffffffffa04fbc80 FD:   11 BD:    3 +.+.+.: wm8775:246:(&state->hdl)->lock
      Some lock chains, that were previously causing the recursion alarms, are
      now visible in the output of cat /proc/lockdep_chains:
      irq_context: 0
      [ffffffffa0497d20] saa7115:1581:(hdl)->lock
      [ffffffffa045f490] cx2341x:1534:(hdl)->lock
      irq_context: 0
      [ffffffffa04ac660] msp3400_driver:756:(hdl)->lock
      [ffffffffa045f490] cx2341x:1534:(hdl)->lock
      irq_context: 0
      [ffffffffa0484b90] ivtv_gpio:366:(&itv->hdl_gpio)->lock
      [ffffffffa045f490] cx2341x:1534:(hdl)->lock
      irq_context: 0
      [ffffffffa04eb530] cx25840_core:1982:(&state->hdl)->lock
      [ffffffffa045f490] cx2341x:1534:(hdl)->lock
      irq_context: 0
      [ffffffffa04fbc80] wm8775:246:(&state->hdl)->lock
      [ffffffffa045f490] cx2341x:1534:(hdl)->lock
      Signed-off-by: NAndy Walls <awalls@md.metrocast.net>
      [hans.verkuil@cisco.com: keep mutex_init in v4l2_ctrl_handler_init_class]
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      6cd247ef
  17. 06 2月, 2013 1 次提交