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()
202 memcpy_toio(chip->data_buffer + b_pos, src, b_count); in snd_sh_dac_pcm_copy()
203 chip->buffer_end = chip->data_buffer + b_pos + b_count; in snd_sh_dac_pcm_copy()
229 memset_io(chip->data_buffer + b_pos, 0, b_count); in snd_sh_dac_pcm_silence()
230 chip->buffer_end = chip->data_buffer + b_pos + b_count; in snd_sh_dac_pcm_silence()
244 int pointer = chip->buffer_begin - chip->data_buffer; in snd_sh_dac_pcm_pointer()
300 kfree(chip->data_buffer); in snd_sh_dac_free()
330 if (chip->buffer_begin == (chip->data_buffer + in sh_dac_audio_timer()
332 chip->buffer_begin = chip->data_buffer; in sh_dac_audio_timer()
375 chip->data_buffer = kmalloc(chip->pdata->buffer_size, GFP_KERNEL); in snd_sh_dac_create()
376 if (chip->data_buffer == NULL) { in snd_sh_dac_create()