Home
last modified time | relevance | path

Searched refs:itvsc (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/media/pci/ivtv/
H A Divtv-alsa-pcm.c54 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->capture_transfer_done -= in ivtv_alsa_announce_pcm_data()
[all …]
H A Divtv-alsa-main.c51 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)->sc = sc; in snd_ivtv_card_create()
[all …]
H A Divtv-alsa.h26 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()
H A Divtv-alsa-pcm.h9 int snd_ivtv_pcm_create(struct snd_ivtv_card *itvsc);