Lines Matching refs:itv
92 struct ivtv *itv = to_ivtv(itvsc->v4l2_dev);
100 itv->instance);
105 itv->instance, itv->card_name);
112 struct ivtv *itv = to_ivtv(v4l2_dev);
120 /* This is a no-op for us. We'll use the itv->instance */
124 idx = index[itv->instance] == -1 ? SNDRV_DEFAULT_IDX1 : index[itv->instance];
125 ret = snd_card_new(&itv->pdev->dev,
157 itv->alsa = itvsc;
162 itv->alsa = NULL;
169 __func__, itv->instance, sc->number);
181 static int ivtv_alsa_load(struct ivtv *itv)
183 struct v4l2_device *v4l2_dev = &itv->v4l2_dev;
192 itv = to_ivtv(v4l2_dev);
193 if (itv == NULL) {
194 pr_err("ivtv-alsa itv is NULL\n");
198 s = &itv->streams[IVTV_ENC_STREAM_TYPE_PCM];
204 if (itv->alsa != NULL) {
228 struct ivtv *itv = to_ivtv(itvsc->v4l2_dev);
233 itv->alsa = NULL;