Lines Matching refs:itv
99 struct ivtv *itv = to_ivtv(itvsc->v4l2_dev); in snd_ivtv_card_set_names() local
107 itv->instance); in snd_ivtv_card_set_names()
112 itv->instance, itv->card_name); in snd_ivtv_card_set_names()
119 struct ivtv *itv = to_ivtv(v4l2_dev); in snd_ivtv_init() local
131 idx = index[itv->instance] == -1 ? SNDRV_DEFAULT_IDX1 : index[itv->instance]; in snd_ivtv_init()
132 ret = snd_card_new(&itv->pdev->dev, in snd_ivtv_init()
164 itv->alsa = itvsc; in snd_ivtv_init()
169 itv->alsa = NULL; in snd_ivtv_init()
176 __func__, itv->instance, sc->number); in snd_ivtv_init()
188 static int ivtv_alsa_load(struct ivtv *itv) in ivtv_alsa_load() argument
190 struct v4l2_device *v4l2_dev = &itv->v4l2_dev; in ivtv_alsa_load()
199 itv = to_ivtv(v4l2_dev); in ivtv_alsa_load()
200 if (itv == NULL) { in ivtv_alsa_load()
205 s = &itv->streams[IVTV_ENC_STREAM_TYPE_PCM]; in ivtv_alsa_load()
211 if (itv->alsa != NULL) { in ivtv_alsa_load()
235 struct ivtv *itv = to_ivtv(itvsc->v4l2_dev); in snd_ivtv_exit() local
240 itv->alsa = NULL; in snd_ivtv_exit()