Lines Matching defs:vi
398 auvitek_enum_input(void *opaque, uint32_t index, struct video_input *vi)
402 strlcpy(vi->name, "Composite", sizeof(vi->name));
403 vi->type = VIDEO_INPUT_TYPE_BASEBAND;
404 vi->standards = VIDEO_STANDARD_NTSC_M;
407 strlcpy(vi->name, "S-Video", sizeof(vi->name));
408 vi->type = VIDEO_INPUT_TYPE_BASEBAND;
409 vi->standards = VIDEO_STANDARD_NTSC_M;
412 strlcpy(vi->name, "Television", sizeof(vi->name));
413 vi->type = VIDEO_INPUT_TYPE_TUNER;
414 vi->standards = VIDEO_STANDARD_NTSC_M;
417 strlcpy(vi->name, "Cable TV", sizeof(vi->name));
418 vi->type = VIDEO_INPUT_TYPE_TUNER;
419 vi->standards = VIDEO_STANDARD_NTSC_M;
425 vi->index = index;
426 vi->tuner_index = AUVITEK_TUNER_DEFAULT;
432 auvitek_get_input(void *opaque, struct video_input *vi)
436 return auvitek_enum_input(opaque, sc->sc_vinput, vi);
440 auvitek_set_input(void *opaque, struct video_input *vi)
448 switch (vi->index) {
469 sc->sc_vinput = vi->index;