Lines Matching defs:input

45 static void rv605_muxsel(struct bttv *btv, unsigned int input);
46 static void eagle_muxsel(struct bttv *btv, unsigned int input);
47 static void xguard_muxsel(struct bttv *btv, unsigned int input);
48 static void ivc120_muxsel(struct bttv *btv, unsigned int input);
49 static void gvc1100_muxsel(struct bttv *btv, unsigned int input);
51 static void PXC200_muxsel(struct bttv *btv, unsigned int input);
53 static void picolo_tetra_muxsel(struct bttv *btv, unsigned int input);
56 static void tibetCS16_muxsel(struct bttv *btv, unsigned int input);
59 static void kodicom4400r_muxsel(struct bttv *btv, unsigned int input);
62 static void sigmaSLC_muxsel(struct bttv *btv, unsigned int input);
63 static void sigmaSQ_muxsel(struct bttv *btv, unsigned int input);
65 static void geovision_muxsel(struct bttv *btv, unsigned int input);
67 static void phytec_muxsel(struct bttv *btv, unsigned int input);
69 static void gv800s_muxsel(struct bttv *btv, unsigned int input);
72 static void td3116_muxsel(struct bttv *btv, unsigned int input);
645 .muxsel = MUXSEL(2, 3, 0), /* input 2 is digital */
744 00000 : Cdrom (internal audio input)
745 10000 : ext. Video audio input
2179 /*EURESYS Picolo Tetra : 4 Conexant Fusion 878A, no audio, video input set with analog multiplexers GPIO controlled*/
2190 /*878A input is always MUX0, see above.*/
2194 .muxsel_hook = picolo_tetra_muxsel,/*Required as it doesn't follow the classic input selection policy*/
2372 * bit 16 is input from sync separator for the channel
2503 one external BNC composite input (mux 2)
2508 input is selected via gpio to a 14052B mux
2513 There is neither a tuner nor an svideo input. */
2683 01 -> enable external audio input
2684 10 -> internal audio input (mono?)
2685 11 -> internal audio input
2740 * 1 audio input per BT878A = 4 audio inputs
2747 * The audio input is not working yet.
2767 * 1 audio input per BT878A = 4 audio inputs
2771 * The audio input is not working yet.
2870 /* The second input is available on CN4, if populated.
3165 static void eagle_muxsel(struct bttv *btv, unsigned int input)
3167 gpio_bits(3, input & 3);
3180 static void gvc1100_muxsel(struct bttv *btv, unsigned int input)
3183 gpio_write(masks[input%4]);
3186 /* LMLBT4x initialization - to allow access to GPIO bits for sensors input and
3207 static void sigmaSQ_muxsel(struct bttv *btv, unsigned int input)
3209 unsigned int inmux = input % 8;
3214 static void sigmaSLC_muxsel(struct bttv *btv, unsigned int input)
3216 unsigned int inmux = input % 4;
3221 static void geovision_muxsel(struct bttv *btv, unsigned int input)
3223 unsigned int inmux = input % 16;
3229 * The TD3116 has 2 74HC4051 muxes wired to the MUX0 input of a bt878.
3233 * Q0 of the latch is connected to the Enable (~E) input of the first
3246 static void td3116_muxsel(struct bttv *btv, unsigned int input)
3251 highbit = (input & 0x8) >> 3 ;
3255 value |= ((input & 0x7) << 1) << (4 * highbit);
4086 * TDA9887 series. Instead it has two tri-state input pins, S0 and S1,
4368 * between Xn (input) and Yn (output) pins. We need to clear any existing
4388 static void rv605_muxsel(struct bttv *btv, unsigned int input)
4393 gpio_bits(0x07f, muxgpio[input]);
4412 * chips, ten eight input analog multiplexors, a not chip and a few
4416 * from each of the four capture chips. Two of the eight input
4417 * multiplexors are used to select from any of the 16 input signals.
4426 * The on chip input mux should always be set to 2.
4427 * GPIO[16:19] - Video input selection
4436 static void tibetCS16_muxsel(struct bttv *btv, unsigned int input)
4439 gpio_bits(0x0f0000, input << 16);
4493 * the local copy of the switch information. The parameter 'input' is the
4496 static void kodicom4400r_muxsel(struct bttv *btv, unsigned int input)
4508 xaddr = input & 0xf;
4568 static void xguard_muxsel(struct bttv *btv, unsigned int input)
4576 gpio_write(masks[input%16]);
4580 /*This is the video input redirection functionality : I DID NOT USE IT. */
4584 static void picolo_tetra_muxsel (struct bttv* btv, unsigned int input)
4587 dprintk("%d : picolo_tetra_muxsel => input = %d\n", btv->c.nr, input);
4589 /*GPIO[20]&GPIO[21] used to choose the right input*/
4590 btwrite (input<<20,BT848_GPIO_DATA);
4601 * at one input while the monitor is looking at another.
4626 static void ivc120_muxsel(struct bttv *btv, unsigned int input)
4629 int key = input % 4;
4630 int matrix = input / 4;
4633 btv->c.nr, input, matrix, key);
4635 /* Handles the input selection on the TDA8540's */
4655 /* 878's MUX0 is already selected for input via muxsel values */
4676 static void PXC200_muxsel(struct bttv *btv, unsigned int input)
4705 /* mux = bttv_tvcards[btv->type].muxsel[input] & 3; */
4707 mux = input;
4727 * Was "to be safe, set the bt848 to input 0"
4738 pr_debug("%d: setting input channel to:%d\n", btv->c.nr, (int)mux);
4741 static void phytec_muxsel(struct bttv *btv, unsigned int input)
4743 unsigned int mux = input % 4;
4745 if (input == btv->svhs)
4794 * The controller using this function selects the input through the GPIO pins
4797 * The parameter 'input' is the requested camera number (0-4) on the controller.
4798 * The map array has the address of each input. Note that the addresses in the
4800 * every controller to input 0, then to input 1, 2, 3, repeat. This means that
4801 * the physical "camera 1" connector corresponds to controller 0 input 0,
4802 * "camera 2" corresponds to controller 1 input 0, and so on.
4804 * After getting the input address, the function then writes the appropriate
4808 static void gv800s_muxsel(struct bttv *btv, unsigned int input)
4816 input = input%4;
4823 xaddr = map[yaddr][input] & 0xf;