Lines Matching refs:itv
92 struct ivtv *itv = to_ivtv(itvsc->v4l2_dev); in snd_ivtv_card_set_names() local
100 itv->instance); in snd_ivtv_card_set_names()
105 itv->instance, itv->card_name); in snd_ivtv_card_set_names()
112 struct ivtv *itv = to_ivtv(v4l2_dev); in snd_ivtv_init() local
124 idx = index[itv->instance] == -1 ? SNDRV_DEFAULT_IDX1 : index[itv->instance]; in snd_ivtv_init()
125 ret = snd_card_new(&itv->pdev->dev, in snd_ivtv_init()
157 itv->alsa = itvsc; in snd_ivtv_init()
162 itv->alsa = NULL; in snd_ivtv_init()
169 __func__, itv->instance, sc->number); in snd_ivtv_init()
181 static int ivtv_alsa_load(struct ivtv *itv) in ivtv_alsa_load() argument
183 struct v4l2_device *v4l2_dev = &itv->v4l2_dev; in ivtv_alsa_load()
192 itv = to_ivtv(v4l2_dev); in ivtv_alsa_load()
193 if (itv == NULL) { in ivtv_alsa_load()
198 s = &itv->streams[IVTV_ENC_STREAM_TYPE_PCM]; in ivtv_alsa_load()
204 if (itv->alsa != NULL) { in ivtv_alsa_load()
228 struct ivtv *itv = to_ivtv(itvsc->v4l2_dev); in snd_ivtv_exit() local
233 itv->alsa = NULL; in snd_ivtv_exit()