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