Lines Matching full:cx
101 struct cx18 *cx = to_cx18(cxsc->v4l2_dev); in snd_cx18_card_set_names() local
109 cx->instance); in snd_cx18_card_set_names()
114 cx->instance, cx->card_name); in snd_cx18_card_set_names()
121 struct cx18 *cx = to_cx18(v4l2_dev); in snd_cx18_init() local
129 /* This is a no-op for us. We'll use the cx->instance */ in snd_cx18_init()
132 ret = snd_card_new(&cx->pci_dev->dev, in snd_cx18_init()
164 cx->alsa = cxsc; in snd_cx18_init()
169 cx->alsa = NULL; in snd_cx18_init()
185 static int cx18_alsa_load(struct cx18 *cx) in cx18_alsa_load() argument
187 struct v4l2_device *v4l2_dev = &cx->v4l2_dev; in cx18_alsa_load()
196 cx = to_cx18(v4l2_dev); in cx18_alsa_load()
197 if (cx == NULL) { in cx18_alsa_load()
198 printk(KERN_ERR "cx18-alsa cx is NULL\n"); in cx18_alsa_load()
202 s = &cx->streams[CX18_ENC_STREAM_TYPE_PCM]; in cx18_alsa_load()
209 if (cx->alsa != NULL) { in cx18_alsa_load()
234 struct cx18 *cx = to_cx18(cxsc->v4l2_dev); in snd_cx18_exit() local
239 cx->alsa = NULL; in snd_cx18_exit()