Lines Matching defs:cx
102 struct cx18 *cx = to_cx18(cxsc->v4l2_dev);
110 cx->instance);
115 cx->instance, cx->card_name);
122 struct cx18 *cx = to_cx18(v4l2_dev);
130 /* This is a no-op for us. We'll use the cx->instance */
133 ret = snd_card_new(&cx->pci_dev->dev,
165 cx->alsa = cxsc;
170 cx->alsa = NULL;
186 static int cx18_alsa_load(struct cx18 *cx)
188 struct v4l2_device *v4l2_dev = &cx->v4l2_dev;
197 cx = to_cx18(v4l2_dev);
198 if (cx == NULL) {
199 printk(KERN_ERR "cx18-alsa cx is NULL\n");
203 s = &cx->streams[CX18_ENC_STREAM_TYPE_PCM];
210 if (cx->alsa != NULL) {
235 struct cx18 *cx = to_cx18(cxsc->v4l2_dev);
240 cx->alsa = NULL;