Lines Matching refs:data_buffer
62 char *data_buffer, *buffer_begin, *buffer_end; member
83 chip->buffer_begin = chip->buffer_end = chip->data_buffer; in dac_audio_reset()
122 chip->buffer_begin = chip->buffer_end = chip->data_buffer; in snd_sh_dac_pcm_open()
161 memset(chip->data_buffer, 0, chip->pdata->buffer_size); in snd_sh_dac_pcm_prepare()
175 chip->buffer_begin = chip->buffer_end = chip->data_buffer; in snd_sh_dac_pcm_trigger()
195 if (copy_from_user_toio(chip->data_buffer + pos, src, count)) in snd_sh_dac_pcm_copy()
197 chip->buffer_end = chip->data_buffer + pos + count; in snd_sh_dac_pcm_copy()
215 memcpy_toio(chip->data_buffer + pos, src, count); in snd_sh_dac_pcm_copy_kernel()
216 chip->buffer_end = chip->data_buffer + pos + count; in snd_sh_dac_pcm_copy_kernel()
234 memset_io(chip->data_buffer + pos, 0, count); in snd_sh_dac_pcm_silence()
235 chip->buffer_end = chip->data_buffer + pos + count; in snd_sh_dac_pcm_silence()
249 int pointer = chip->buffer_begin - chip->data_buffer; in snd_sh_dac_pcm_pointer()
306 kfree(chip->data_buffer); in snd_sh_dac_free()
336 if (chip->buffer_begin == (chip->data_buffer + in sh_dac_audio_timer()
338 chip->buffer_begin = chip->data_buffer; in sh_dac_audio_timer()
381 chip->data_buffer = kmalloc(chip->pdata->buffer_size, GFP_KERNEL); in snd_sh_dac_create()
382 if (chip->data_buffer == NULL) { in snd_sh_dac_create()