Lines Matching refs:raw_buf
67 if (dmap->raw_buf != NULL) in sound_alloc_dmap()
80 dmap->raw_buf = NULL; in sound_alloc_dmap()
116 dmap->raw_buf = start_addr; in sound_alloc_dmap()
130 if (dmap->raw_buf == NULL) in sound_free_dmap()
136 start_addr = (unsigned long) dmap->raw_buf; in sound_free_dmap()
143 free_pages((unsigned long) dmap->raw_buf, sz); in sound_free_dmap()
144 dmap->raw_buf = NULL; in sound_free_dmap()
195 if (dmap->raw_buf == NULL) { in open_dmap()
321 memset(adev->dmap_out->raw_buf, adev->dmap_out->neutral_byte, in DMAbuf_open()
499 memset(adev->dmap_out->raw_buf, adev->dmap_out->neutral_byte, adev->dmap_out->bytes_in_use); in DMAbuf_release()
606 *buf = &dmap->raw_buf[dmap->qhead * dmap->fragment_size + dmap->counts[dmap->qhead]]; in DMAbuf_getrdbuffer()
793 *buf = dmap->raw_buf; in find_output_space()
813 *buf = dmap->raw_buf + offs; in find_output_space()
890 dmap->neutral_byte = dmap->raw_buf[p]; in DMAbuf_move_wrpointer()
922 if (dmap->raw_buf == NULL) { in DMAbuf_start_dma()
938 if (dmap->raw_buf == NULL) { in local_start_dma()
968 if (dmap->raw_buf == NULL) { in do_outputintr()
1019 memset(adev->dmap_out->raw_buf, adev->dmap_out->neutral_byte, in do_outputintr()
1070 if (dmap->raw_buf == NULL) { in do_inputintr()
1190 if (adev->dmap_in->raw_buf == NULL) in DMAbuf_init()
1192 if (adev->dmap_out->raw_buf == NULL) in DMAbuf_init()