Lines Matching refs:cx
117 struct cx18 *cx = to_cx18(cxsc->v4l2_dev); in snd_cx18_card_set_names() local
125 cx->instance); in snd_cx18_card_set_names()
130 cx->instance, cx->card_name); in snd_cx18_card_set_names()
137 struct cx18 *cx = to_cx18(v4l2_dev); in snd_cx18_init() local
148 ret = snd_card_new(&cx->pci_dev->dev, in snd_cx18_init()
180 cx->alsa = cxsc; in snd_cx18_init()
185 cx->alsa = NULL; in snd_cx18_init()
201 static int cx18_alsa_load(struct cx18 *cx) in cx18_alsa_load() argument
203 struct v4l2_device *v4l2_dev = &cx->v4l2_dev; in cx18_alsa_load()
212 cx = to_cx18(v4l2_dev); in cx18_alsa_load()
213 if (cx == NULL) { in cx18_alsa_load()
218 s = &cx->streams[CX18_ENC_STREAM_TYPE_PCM]; in cx18_alsa_load()
225 if (cx->alsa != NULL) { in cx18_alsa_load()
250 struct cx18 *cx = to_cx18(cxsc->v4l2_dev); in snd_cx18_exit() local
255 cx->alsa = NULL; in snd_cx18_exit()