Lines Matching refs:data_buffer
47 char *data_buffer, *buffer_begin, *buffer_end; member
68 chip->buffer_begin = chip->buffer_end = chip->data_buffer; in dac_audio_reset()
107 chip->buffer_begin = chip->buffer_end = chip->data_buffer; in snd_sh_dac_pcm_open()
146 memset(chip->data_buffer, 0, chip->pdata->buffer_size); in snd_sh_dac_pcm_prepare()
160 chip->buffer_begin = chip->buffer_end = chip->data_buffer; in snd_sh_dac_pcm_trigger()
180 if (copy_from_user_toio(chip->data_buffer + pos, src, count)) in snd_sh_dac_pcm_copy()
182 chip->buffer_end = chip->data_buffer + pos + count; in snd_sh_dac_pcm_copy()
200 memcpy_toio(chip->data_buffer + pos, src, count); in snd_sh_dac_pcm_copy_kernel()
201 chip->buffer_end = chip->data_buffer + pos + count; in snd_sh_dac_pcm_copy_kernel()
219 memset_io(chip->data_buffer + pos, 0, count); in snd_sh_dac_pcm_silence()
220 chip->buffer_end = chip->data_buffer + pos + count; in snd_sh_dac_pcm_silence()
234 int pointer = chip->buffer_begin - chip->data_buffer; in snd_sh_dac_pcm_pointer()
291 kfree(chip->data_buffer); in snd_sh_dac_free()
321 if (chip->buffer_begin == (chip->data_buffer + in sh_dac_audio_timer()
323 chip->buffer_begin = chip->data_buffer; in sh_dac_audio_timer()
366 chip->data_buffer = kmalloc(chip->pdata->buffer_size, GFP_KERNEL); in snd_sh_dac_create()
367 if (chip->data_buffer == NULL) { in snd_sh_dac_create()