Lines Matching refs:itv
122 struct ivtv *itv = to_ivtv(itvsc->v4l2_dev); in snd_ivtv_card_set_names() local
130 itv->instance); in snd_ivtv_card_set_names()
135 itv->instance, itv->card_name); in snd_ivtv_card_set_names()
142 struct ivtv *itv = to_ivtv(v4l2_dev); in snd_ivtv_init() local
154 idx = index[itv->instance] == -1 ? SNDRV_DEFAULT_IDX1 : index[itv->instance]; in snd_ivtv_init()
155 ret = snd_card_new(&itv->pdev->dev, in snd_ivtv_init()
195 itv->alsa = itvsc; in snd_ivtv_init()
200 itv->alsa = NULL; in snd_ivtv_init()
207 __func__, itv->instance, sc->number); in snd_ivtv_init()
219 static int ivtv_alsa_load(struct ivtv *itv) in ivtv_alsa_load() argument
221 struct v4l2_device *v4l2_dev = &itv->v4l2_dev; in ivtv_alsa_load()
230 itv = to_ivtv(v4l2_dev); in ivtv_alsa_load()
231 if (itv == NULL) { in ivtv_alsa_load()
236 s = &itv->streams[IVTV_ENC_STREAM_TYPE_PCM]; in ivtv_alsa_load()
243 if (itv->alsa != NULL) { in ivtv_alsa_load()
268 struct ivtv *itv = to_ivtv(itvsc->v4l2_dev); in snd_ivtv_exit() local
273 itv->alsa = NULL; in snd_ivtv_exit()