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);
648 .muxsel = MUXSEL(2, 3, 0), /* input 2 is digital */
747 00000 : Cdrom (internal audio input)
748 10000 : ext. Video audio input
2182 /*EURESYS Picolo Tetra : 4 Conexant Fusion 878A, no audio, video input set with analog multiplexers GPIO controlled*/
2193 /*878A input is always MUX0, see above.*/
2197 .muxsel_hook = picolo_tetra_muxsel,/*Required as it doesn't follow the classic input selection policy*/
2375 * bit 16 is input from sync separator for the channel
2506 one external BNC composite input (mux 2)
2511 input is selected via gpio to a 14052B mux
2516 There is neither a tuner nor an svideo input. */
2686 01 -> enable external audio input
2687 10 -> internal audio input (mono?)
2688 11 -> internal audio input
2743 * 1 audio input per BT878A = 4 audio inputs
2750 * The audio input is not working yet.
2770 * 1 audio input per BT878A = 4 audio inputs
2774 * The audio input is not working yet.
2873 /* The second input is available on CN4, if populated.
3168 static void eagle_muxsel(struct bttv *btv, unsigned int input)
3170 gpio_bits(3, input & 3);
3183 static void gvc1100_muxsel(struct bttv *btv, unsigned int input)
3186 gpio_write(masks[input%4]);
3189 /* LMLBT4x initialization - to allow access to GPIO bits for sensors input and
3210 static void sigmaSQ_muxsel(struct bttv *btv, unsigned int input)
3212 unsigned int inmux = input % 8;
3217 static void sigmaSLC_muxsel(struct bttv *btv, unsigned int input)
3219 unsigned int inmux = input % 4;
3224 static void geovision_muxsel(struct bttv *btv, unsigned int input)
3226 unsigned int inmux = input % 16;
3232 * The TD3116 has 2 74HC4051 muxes wired to the MUX0 input of a bt878.
3236 * Q0 of the latch is connected to the Enable (~E) input of the first
3249 static void td3116_muxsel(struct bttv *btv, unsigned int input)
3254 highbit = (input & 0x8) >> 3 ;
3258 value |= ((input & 0x7) << 1) << (4 * highbit);
4087 * TDA9887 series. Instead is has two tri-state input pins, S0 and S1,
4369 * between Xn (input) and Yn (output) pins. We need to clear any existing
4389 static void rv605_muxsel(struct bttv *btv, unsigned int input)
4394 gpio_bits(0x07f, muxgpio[input]);
4413 * chips, ten eight input analog multiplexors, a not chip and a few
4417 * from each of the four capture chips. Two of the eight input
4418 * multiplexors are used to select from any of the 16 input signals.
4427 * The on chip input mux should always be set to 2.
4428 * GPIO[16:19] - Video input selection
4437 static void tibetCS16_muxsel(struct bttv *btv, unsigned int input)
4440 gpio_bits(0x0f0000, input << 16);
4494 * the local copy of the switch information. The parameter 'input' is the
4497 static void kodicom4400r_muxsel(struct bttv *btv, unsigned int input)
4509 xaddr = input & 0xf;
4569 static void xguard_muxsel(struct bttv *btv, unsigned int input)
4577 gpio_write(masks[input%16]);
4581 /*This is the video input redirection fonctionality : I DID NOT USED IT. */
4585 static void picolo_tetra_muxsel (struct bttv* btv, unsigned int input)
4588 dprintk("%d : picolo_tetra_muxsel => input = %d\n", btv->c.nr, input);
4590 /*GPIO[20]&GPIO[21] used to choose the right input*/
4591 btwrite (input<<20,BT848_GPIO_DATA);
4602 * at one input while the monitor is looking at another.
4627 static void ivc120_muxsel(struct bttv *btv, unsigned int input)
4630 int key = input % 4;
4631 int matrix = input / 4;
4634 btv->c.nr, input, matrix, key);
4636 /* Handles the input selection on the TDA8540's */
4656 /* 878's MUX0 is already selected for input via muxsel values */
4677 static void PXC200_muxsel(struct bttv *btv, unsigned int input)
4706 /* mux = bttv_tvcards[btv->type].muxsel[input] & 3; */
4708 mux = input;
4728 * Was "to be safe, set the bt848 to input 0"
4739 pr_debug("%d: setting input channel to:%d\n", btv->c.nr, (int)mux);
4742 static void phytec_muxsel(struct bttv *btv, unsigned int input)
4744 unsigned int mux = input % 4;
4746 if (input == btv->svhs)
4795 * The controller using this function selects the input through the GPIO pins
4798 * The parameter 'input' is the requested camera number (0-4) on the controller.
4799 * The map array has the address of each input. Note that the addresses in the
4801 * every controller to input 0, then to input 1, 2, 3, repeat. This means that
4802 * the physical "camera 1" connector corresponds to controller 0 input 0,
4803 * "camera 2" corresponds to controller 1 input 0, and so on.
4805 * After getting the input address, the function then writes the appropriate
4809 static void gv800s_muxsel(struct bttv *btv, unsigned int input)
4817 input = input%4;
4824 xaddr = map[yaddr][input] & 0xf;