Lines Matching refs:cx
102 struct cx18 *cx = to_cx18(cxsc->v4l2_dev); in snd_cx18_card_set_names() local
110 cx->instance); in snd_cx18_card_set_names()
115 cx->instance, cx->card_name); in snd_cx18_card_set_names()
122 struct cx18 *cx = to_cx18(v4l2_dev); in snd_cx18_init() local
133 ret = snd_card_new(&cx->pci_dev->dev, in snd_cx18_init()
165 cx->alsa = cxsc; in snd_cx18_init()
170 cx->alsa = NULL; in snd_cx18_init()
186 static int cx18_alsa_load(struct cx18 *cx) in cx18_alsa_load() argument
188 struct v4l2_device *v4l2_dev = &cx->v4l2_dev; in cx18_alsa_load()
197 cx = to_cx18(v4l2_dev); in cx18_alsa_load()
198 if (cx == NULL) { in cx18_alsa_load()
203 s = &cx->streams[CX18_ENC_STREAM_TYPE_PCM]; in cx18_alsa_load()
210 if (cx->alsa != NULL) { in cx18_alsa_load()
235 struct cx18 *cx = to_cx18(cxsc->v4l2_dev); in snd_cx18_exit() local
240 cx->alsa = NULL; in snd_cx18_exit()