Home
last modified time | relevance | path

Searched refs:ac97_frame (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/sound/soc/blackfin/
Dbf5xx-ac97.c46 void bf5xx_pcm_to_ac97(struct ac97_frame *dst, const __u16 *src, in bf5xx_pcm_to_ac97()
83 void bf5xx_ac97_to_pcm(const struct ac97_frame *src, __u16 *dst, in bf5xx_ac97_to_pcm()
105 struct ac97_frame *nextwrite; in enqueue_cmd()
109 nextwrite = (struct ac97_frame *)(sport->tx_buf + in enqueue_cmd()
125 struct ac97_frame out_frame[2], in_frame[2]; in bf5xx_ac97_read()
136 memset(&out_frame, 0, 2 * sizeof(struct ac97_frame)); in bf5xx_ac97_read()
137 memset(&in_frame, 0, 2 * sizeof(struct ac97_frame)); in bf5xx_ac97_read()
142 2 * sizeof(struct ac97_frame)); in bf5xx_ac97_read()
157 struct ac97_frame frame; in bf5xx_ac97_write()
158 memset(&frame, 0, sizeof(struct ac97_frame)); in bf5xx_ac97_write()
[all …]
Dbf5xx-ac97-pcm.c62 bf5xx_pcm_to_ac97((struct ac97_frame *)sport->tx_dma_buf + in bf5xx_mmap_copy()
70 bf5xx_ac97_to_pcm((struct ac97_frame *)sport->rx_dma_buf + in bf5xx_mmap_copy()
122 * sizeof(struct ac97_frame) / 4; in bf5xx_pcm_hw_params()
140 sizeof(struct ac97_frame)); in bf5xx_pcm_hw_free()
143 sizeof(struct ac97_frame)); in bf5xx_pcm_hw_free()
161 runtime->period_size * sizeof(struct ac97_frame)); in bf5xx_pcm_prepare()
165 runtime->period_size * sizeof(struct ac97_frame)); in bf5xx_pcm_prepare()
171 runtime->period_size * sizeof(struct ac97_frame)); in bf5xx_pcm_prepare()
175 runtime->period_size * sizeof(struct ac97_frame)); in bf5xx_pcm_prepare()
234 curr = sport_curr_offset_tx(sport) / sizeof(struct ac97_frame); in bf5xx_pcm_pointer()
[all …]
Dbf5xx-ac97.h13 struct ac97_frame { struct
51 void bf5xx_pcm_to_ac97(struct ac97_frame *dst, const __u16 *src, \
54 void bf5xx_ac97_to_pcm(const struct ac97_frame *src, __u16 *dst, \