34 int max_loop = 64 * 1024;
132 #ifdef SNDRV_LITTLE_ENDIAN
141 if (pdacf_pcm_clear_sram(chip) < 0)
146 switch (runtime->
format) {
156 switch (runtime->
format) {
216 .period_bytes_min = 8*1024,
217 .period_bytes_max = (64*1024),
235 runtime->
hw = pdacf_pcm_capture_hw;
269 static struct snd_pcm_ops pdacf_pcm_capture_ops = {
270 .open = pdacf_pcm_capture_open,
271 .close = pdacf_pcm_capture_close,
273 .hw_params = pdacf_pcm_hw_params,
274 .hw_free = pdacf_pcm_hw_free,
275 .prepare = pdacf_pcm_prepare,
276 .trigger = pdacf_pcm_trigger,
277 .pointer = pdacf_pcm_capture_pointer,