Changeset cf78637 in mainline for uspace/drv/audio/hdaudio/stream.c
- Timestamp:
- 2019-12-15T11:57:25Z (4 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9e45a41
- Parents:
- 894afff
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/audio/hdaudio/stream.c
r894afff rcf78637 101 101 goto error; 102 102 103 ddf_msg(LVL_ NOTE, "Stream buf phys=0x%llx virt=%p",103 ddf_msg(LVL_DEBUG, "Stream buf phys=0x%llx virt=%p", 104 104 (unsigned long long)buffer_phys, buffer); 105 105 … … 123 123 0, &buffer_phys, &buffer); 124 124 if (rc != EOK) { 125 ddf_msg(LVL_ NOTE, "dmamem_map_anon -> %s", str_error_name(rc));125 ddf_msg(LVL_DEBUG, "dmamem_map_anon -> %s", str_error_name(rc)); 126 126 goto error; 127 127 } … … 131 131 bufs->buf_phys[i] = buffer_phys + i * bufs->bufsize; 132 132 133 ddf_msg(LVL_ NOTE, "Stream buf phys=0x%llx virt=%p",133 ddf_msg(LVL_DEBUG, "Stream buf phys=0x%llx virt=%p", 134 134 (long long unsigned)(uintptr_t)bufs->buf[i], 135 135 (void *)bufs->buf_phys[i]); … … 246 246 stream->buffers = bufs; 247 247 248 ddf_msg(LVL_ NOTE, "snum=%d sdidx=%d", stream->sid, stream->sdid);249 250 ddf_msg(LVL_ NOTE, "Configure stream descriptor");248 ddf_msg(LVL_DEBUG, "snum=%d sdidx=%d", stream->sid, stream->sdid); 249 250 ddf_msg(LVL_DEBUG, "Configure stream descriptor"); 251 251 hda_stream_desc_configure(stream); 252 252 return stream; … … 255 255 void hda_stream_destroy(hda_stream_t *stream) 256 256 { 257 ddf_msg(LVL_ NOTE, "hda_stream_destroy()");257 ddf_msg(LVL_DEBUG, "hda_stream_destroy()"); 258 258 hda_stream_reset_noinit(stream); 259 259 free(stream); … … 262 262 void hda_stream_start(hda_stream_t *stream) 263 263 { 264 ddf_msg(LVL_ NOTE, "hda_stream_start()");264 ddf_msg(LVL_DEBUG, "hda_stream_start()"); 265 265 hda_stream_set_run(stream, true); 266 266 } … … 268 268 void hda_stream_stop(hda_stream_t *stream) 269 269 { 270 ddf_msg(LVL_ NOTE, "hda_stream_stop()");270 ddf_msg(LVL_DEBUG, "hda_stream_stop()"); 271 271 hda_stream_set_run(stream, false); 272 272 } … … 274 274 void hda_stream_reset(hda_stream_t *stream) 275 275 { 276 ddf_msg(LVL_ NOTE, "hda_stream_reset()");276 ddf_msg(LVL_DEBUG, "hda_stream_reset()"); 277 277 hda_stream_reset_noinit(stream); 278 278 hda_stream_desc_configure(stream);
Note:
See TracChangeset
for help on using the changeset viewer.