Lines Matching full:cx
95 struct cx18 *cx = to_cx18(cxsc->v4l2_dev); in snd_cx18_card_set_names() local
103 cx->instance); in snd_cx18_card_set_names()
108 cx->instance, cx->card_name); in snd_cx18_card_set_names()
115 struct cx18 *cx = to_cx18(v4l2_dev); in snd_cx18_init() local
123 /* This is a no-op for us. We'll use the cx->instance */ in snd_cx18_init()
126 ret = snd_card_new(&cx->pci_dev->dev, in snd_cx18_init()
158 cx->alsa = cxsc; in snd_cx18_init()
163 cx->alsa = NULL; in snd_cx18_init()
179 static int cx18_alsa_load(struct cx18 *cx) in cx18_alsa_load() argument
181 struct v4l2_device *v4l2_dev = &cx->v4l2_dev; in cx18_alsa_load()
190 cx = to_cx18(v4l2_dev); in cx18_alsa_load()
191 if (cx == NULL) { in cx18_alsa_load()
192 printk(KERN_ERR "cx18-alsa cx is NULL\n"); in cx18_alsa_load()
196 s = &cx->streams[CX18_ENC_STREAM_TYPE_PCM]; in cx18_alsa_load()
203 if (cx->alsa != NULL) { in cx18_alsa_load()
228 struct cx18 *cx = to_cx18(cxsc->v4l2_dev); in snd_cx18_exit() local
233 cx->alsa = NULL; in snd_cx18_exit()