Searched refs:itvsc (Results 1 – 4 of 4) sorted by relevance
54 static void ivtv_alsa_announce_pcm_data(struct snd_ivtv_card *itvsc, in ivtv_alsa_announce_pcm_data() argument 65 dprintk("ivtv alsa announce ptr=%p data=%p num_bytes=%zu\n", itvsc, in ivtv_alsa_announce_pcm_data() 68 substream = itvsc->capture_pcm_substream; in ivtv_alsa_announce_pcm_data() 97 oldptr = itvsc->hwptr_done_capture; in ivtv_alsa_announce_pcm_data() 111 itvsc->hwptr_done_capture += length; in ivtv_alsa_announce_pcm_data() 112 if (itvsc->hwptr_done_capture >= in ivtv_alsa_announce_pcm_data() 114 itvsc->hwptr_done_capture -= in ivtv_alsa_announce_pcm_data() 117 itvsc->capture_transfer_done += length; in ivtv_alsa_announce_pcm_data() 118 if (itvsc->capture_transfer_done >= in ivtv_alsa_announce_pcm_data() 120 itvsc in ivtv_alsa_announce_pcm_data() 133 struct snd_ivtv_card *itvsc = snd_pcm_substream_chip(substream); snd_ivtv_pcm_capture_open() local 188 struct snd_ivtv_card *itvsc = snd_pcm_substream_chip(substream); snd_ivtv_pcm_capture_close() local 209 struct snd_ivtv_card *itvsc = snd_pcm_substream_chip(substream); snd_ivtv_pcm_prepare() local 227 struct snd_ivtv_card *itvsc = snd_pcm_substream_chip(substream); snd_ivtv_pcm_pointer() local 244 snd_ivtv_pcm_create(struct snd_ivtv_card * itvsc) snd_ivtv_pcm_create() argument [all...]
51 static void snd_ivtv_card_free(struct snd_ivtv_card *itvsc) in snd_ivtv_card_free() argument 53 if (itvsc == NULL) in snd_ivtv_card_free() 56 if (itvsc->v4l2_dev != NULL) in snd_ivtv_card_free() 57 to_ivtv(itvsc->v4l2_dev)->alsa = NULL; in snd_ivtv_card_free() 61 kfree(itvsc); in snd_ivtv_card_free() 75 struct snd_ivtv_card **itvsc) in snd_ivtv_card_create() argument 77 *itvsc = kzalloc(sizeof(struct snd_ivtv_card), GFP_KERNEL); in snd_ivtv_card_create() 78 if (*itvsc == NULL) in snd_ivtv_card_create() 81 (*itvsc)->v4l2_dev = v4l2_dev; in snd_ivtv_card_create() 82 (*itvsc) in snd_ivtv_card_create() 90 snd_ivtv_card_set_names(struct snd_ivtv_card * itvsc) snd_ivtv_card_set_names() argument 114 struct snd_ivtv_card *itvsc; snd_ivtv_init() local 226 snd_ivtv_exit(struct snd_ivtv_card * itvsc) snd_ivtv_exit() argument 239 struct snd_ivtv_card *itvsc; ivtv_alsa_exit_callback() local [all...]
26 static inline void snd_ivtv_lock(struct snd_ivtv_card *itvsc) in snd_ivtv_lock() argument 28 struct ivtv *itv = to_ivtv(itvsc->v4l2_dev); in snd_ivtv_lock() 32 static inline void snd_ivtv_unlock(struct snd_ivtv_card *itvsc) in snd_ivtv_unlock() argument 34 struct ivtv *itv = to_ivtv(itvsc->v4l2_dev); in snd_ivtv_unlock()
9 int snd_ivtv_pcm_create(struct snd_ivtv_card *itvsc);