*/ #if 0 static struct a4l_rngtab rng_ni_M_628x_ao = { 8, { RANGE(-10, 10), RANGE(-5, 5), RANGE(-2, 2), RANGE(-1, 1), RANGE(-5, 15), RANGE(0, 10), RANGE(3, 7), RANGE(4, 6), RANGE_ext(-1, 1) }}; static struct a4l_rngdesc range_ni_M_628x_ao = RNG_GLOBAL(rng_ni_M_628x_ao); #endif static struct a4l_rngtab rng_ni_M_625x_ao = { 3, { RANGE(-10, 10), RANGE(-5, 5), RANGE_ext(-1, 1) }}; static struct a4l_rngdesc range_ni_M_625x_ao = RNG_GLOBAL(rng_ni_M_625x_ao); static struct a4l_rngtab rng_ni_M_622x_ao = { 1, { RANGE(-10, 10), }}; static struct a4l_rngdesc range_ni_M_622x_ao = RNG_GLOBAL(rng_ni_M_622x_ao);
.length = 8, .chans = { {A4L_CHAN_AREF_GROUND, LOOP_NB_BITS}, }, }; /* Ranges tab */ static a4l_rngtab_t loop_rngtab = { .length = 2, .rngs = { RANGE_V(-5,5), RANGE_V(-10,10), }, }; /* Ranges descriptor */ a4l_rngdesc_t loop_rngdesc = RNG_GLOBAL(loop_rngtab); /* Command options mask */ static a4l_cmd_t loop_cmd_mask = { .idx_subd = 0, .start_src = TRIG_NOW, .scan_begin_src = TRIG_TIMER, .convert_src = TRIG_NOW|TRIG_TIMER, .scan_end_src = TRIG_COUNT, .stop_src = TRIG_COUNT|TRIG_NONE, }; /* Private data organization */ struct loop_priv { /* Task descriptor */
.length = 8, .chans = { {A4L_CHAN_AREF_GROUND, LOOP_NB_BITS}, }, }; /* Ranges tab */ static struct a4l_rngtab loop_rngtab = { .length = 2, .rngs = { RANGE_V(-5,5), RANGE_V(-10,10), }, }; /* Ranges descriptor */ struct a4l_rngdesc loop_rngdesc = RNG_GLOBAL(loop_rngtab); /* Command options mask */ static struct a4l_cmd_desc loop_cmd_mask = { .idx_subd = 0, .start_src = TRIG_NOW | TRIG_INT, .scan_begin_src = TRIG_TIMER, .convert_src = TRIG_NOW | TRIG_TIMER, .scan_end_src = TRIG_COUNT, .stop_src = TRIG_COUNT| TRIG_NONE, }; /* Private data organization */ struct loop_priv { /* Task descriptor */