Searched refs:cxsc (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/media/pci/cx18/ |
H A D | cx18-alsa-pcm.c | 58 void cx18_alsa_announce_pcm_data(struct snd_cx18_card *cxsc, u8 *pcm_data, in cx18_alsa_announce_pcm_data() argument 68 dprintk("cx18 alsa announce ptr=%p data=%p num_bytes=%zu\n", cxsc, in cx18_alsa_announce_pcm_data() 71 substream = cxsc->capture_pcm_substream; in cx18_alsa_announce_pcm_data() 100 oldptr = cxsc->hwptr_done_capture; in cx18_alsa_announce_pcm_data() 114 cxsc->hwptr_done_capture += length; in cx18_alsa_announce_pcm_data() 115 if (cxsc->hwptr_done_capture >= in cx18_alsa_announce_pcm_data() 117 cxsc->hwptr_done_capture -= in cx18_alsa_announce_pcm_data() 120 cxsc->capture_transfer_done += length; in cx18_alsa_announce_pcm_data() 121 if (cxsc->capture_transfer_done >= in cx18_alsa_announce_pcm_data() 123 cxsc in cx18_alsa_announce_pcm_data() 136 struct snd_cx18_card *cxsc = snd_pcm_substream_chip(substream); snd_cx18_pcm_capture_open() local 184 struct snd_cx18_card *cxsc = snd_pcm_substream_chip(substream); snd_cx18_pcm_capture_close() local 205 struct snd_cx18_card *cxsc = snd_pcm_substream_chip(substream); snd_cx18_pcm_prepare() local 223 struct snd_cx18_card *cxsc = snd_pcm_substream_chip(substream); snd_cx18_pcm_pointer() local 240 snd_cx18_pcm_create(struct snd_cx18_card *cxsc) snd_cx18_pcm_create() argument [all...] |
H A D | cx18-alsa-main.c | 61 static void snd_cx18_card_free(struct snd_cx18_card *cxsc) in snd_cx18_card_free() argument 63 if (cxsc == NULL) in snd_cx18_card_free() 66 if (cxsc->v4l2_dev != NULL) in snd_cx18_card_free() 67 to_cx18(cxsc->v4l2_dev)->alsa = NULL; in snd_cx18_card_free() 71 kfree(cxsc); in snd_cx18_card_free() 85 struct snd_cx18_card **cxsc) in snd_cx18_card_create() 87 *cxsc = kzalloc(sizeof(struct snd_cx18_card), GFP_KERNEL); in snd_cx18_card_create() 88 if (*cxsc == NULL) in snd_cx18_card_create() 91 (*cxsc)->v4l2_dev = v4l2_dev; in snd_cx18_card_create() 92 (*cxsc) in snd_cx18_card_create() 83 snd_cx18_card_create(struct v4l2_device *v4l2_dev, struct snd_card *sc, struct snd_cx18_card **cxsc) snd_cx18_card_create() argument 100 snd_cx18_card_set_names(struct snd_cx18_card *cxsc) snd_cx18_card_set_names() argument 124 struct snd_cx18_card *cxsc; snd_cx18_init() local 233 snd_cx18_exit(struct snd_cx18_card *cxsc) snd_cx18_exit() argument 246 struct snd_cx18_card *cxsc; cx18_alsa_exit_callback() local [all...] |
H A D | cx18-alsa.h | 25 static inline void snd_cx18_lock(struct snd_cx18_card *cxsc) in snd_cx18_lock() argument 27 struct cx18 *cx = to_cx18(cxsc->v4l2_dev); in snd_cx18_lock() 31 static inline void snd_cx18_unlock(struct snd_cx18_card *cxsc) in snd_cx18_unlock() argument 33 struct cx18 *cx = to_cx18(cxsc->v4l2_dev); in snd_cx18_unlock()
|
/kernel/linux/linux-6.6/drivers/media/pci/cx18/ |
H A D | cx18-alsa-pcm.c | 58 void cx18_alsa_announce_pcm_data(struct snd_cx18_card *cxsc, u8 *pcm_data, in cx18_alsa_announce_pcm_data() argument 68 dprintk("cx18 alsa announce ptr=%p data=%p num_bytes=%zu\n", cxsc, in cx18_alsa_announce_pcm_data() 71 substream = cxsc->capture_pcm_substream; in cx18_alsa_announce_pcm_data() 100 oldptr = cxsc->hwptr_done_capture; in cx18_alsa_announce_pcm_data() 114 cxsc->hwptr_done_capture += length; in cx18_alsa_announce_pcm_data() 115 if (cxsc->hwptr_done_capture >= in cx18_alsa_announce_pcm_data() 117 cxsc->hwptr_done_capture -= in cx18_alsa_announce_pcm_data() 120 cxsc->capture_transfer_done += length; in cx18_alsa_announce_pcm_data() 121 if (cxsc->capture_transfer_done >= in cx18_alsa_announce_pcm_data() 123 cxsc in cx18_alsa_announce_pcm_data() 136 struct snd_cx18_card *cxsc = snd_pcm_substream_chip(substream); snd_cx18_pcm_capture_open() local 184 struct snd_cx18_card *cxsc = snd_pcm_substream_chip(substream); snd_cx18_pcm_capture_close() local 205 struct snd_cx18_card *cxsc = snd_pcm_substream_chip(substream); snd_cx18_pcm_prepare() local 223 struct snd_cx18_card *cxsc = snd_pcm_substream_chip(substream); snd_cx18_pcm_pointer() local 240 snd_cx18_pcm_create(struct snd_cx18_card *cxsc) snd_cx18_pcm_create() argument [all...] |
H A D | cx18-alsa-main.c | 54 static void snd_cx18_card_free(struct snd_cx18_card *cxsc) in snd_cx18_card_free() argument 56 if (cxsc == NULL) in snd_cx18_card_free() 59 if (cxsc->v4l2_dev != NULL) in snd_cx18_card_free() 60 to_cx18(cxsc->v4l2_dev)->alsa = NULL; in snd_cx18_card_free() 64 kfree(cxsc); in snd_cx18_card_free() 78 struct snd_cx18_card **cxsc) in snd_cx18_card_create() 80 *cxsc = kzalloc(sizeof(struct snd_cx18_card), GFP_KERNEL); in snd_cx18_card_create() 81 if (*cxsc == NULL) in snd_cx18_card_create() 84 (*cxsc)->v4l2_dev = v4l2_dev; in snd_cx18_card_create() 85 (*cxsc) in snd_cx18_card_create() 76 snd_cx18_card_create(struct v4l2_device *v4l2_dev, struct snd_card *sc, struct snd_cx18_card **cxsc) snd_cx18_card_create() argument 93 snd_cx18_card_set_names(struct snd_cx18_card *cxsc) snd_cx18_card_set_names() argument 117 struct snd_cx18_card *cxsc; snd_cx18_init() local 226 snd_cx18_exit(struct snd_cx18_card *cxsc) snd_cx18_exit() argument 239 struct snd_cx18_card *cxsc; cx18_alsa_exit_callback() local [all...] |
H A D | cx18-alsa.h | 25 static inline void snd_cx18_lock(struct snd_cx18_card *cxsc) in snd_cx18_lock() argument 27 struct cx18 *cx = to_cx18(cxsc->v4l2_dev); in snd_cx18_lock() 31 static inline void snd_cx18_unlock(struct snd_cx18_card *cxsc) in snd_cx18_unlock() argument 33 struct cx18 *cx = to_cx18(cxsc->v4l2_dev); in snd_cx18_unlock()
|
Completed in 3 milliseconds