Changeset 703 for GPL/trunk/alsa-kernel/include/sound/pcm.h
- Timestamp:
- Sep 26, 2021, 6:18:40 PM (4 years ago)
- Location:
- GPL/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk
- Property svn:mergeinfo changed
/GPL/branches/uniaud32-next merged: 696-702
- Property svn:mergeinfo changed
-
GPL/trunk/alsa-kernel/include/sound/pcm.h
r695 r703 1087 1087 int snd_pcm_lib_ioctl(struct snd_pcm_substream *substream, 1088 1088 unsigned int cmd, void *arg); 1089 void snd_pcm_period_elapsed_under_stream_lock(struct snd_pcm_substream *substream); 1089 1090 void snd_pcm_period_elapsed(struct snd_pcm_substream *substream); 1090 1091 snd_pcm_sframes_t __snd_pcm_lib_xfer(struct snd_pcm_substream *substream, … … 1274 1275 #define snd_pcm_get_dma_buf(substream) ((substream)->runtime->dma_buffer_p) 1275 1276 1276 #ifdef CONFIG_SND_DMA_SGBUF1277 /*1278 * SG-buffer handling1279 */1280 #define snd_pcm_substream_sgbuf(substream) \1281 snd_pcm_get_dma_buf(substream)->private_data1282 #endif /* SND_DMA_SGBUF */1283 1284 1277 /** 1285 1278 * snd_pcm_sgbuf_get_addr - Get the DMA address at the corresponding offset … … 1291 1284 { 1292 1285 return snd_sgbuf_get_addr(snd_pcm_get_dma_buf(substream), ofs); 1293 }1294 1295 /**1296 * snd_pcm_sgbuf_get_ptr - Get the virtual address at the corresponding offset1297 * @substream: PCM substream1298 * @ofs: byte offset1299 */1300 static inline void *1301 snd_pcm_sgbuf_get_ptr(struct snd_pcm_substream *substream, unsigned int ofs)1302 {1303 return snd_sgbuf_get_ptr(snd_pcm_get_dma_buf(substream), ofs);1304 1286 } 1305 1287
Note:
See TracChangeset
for help on using the changeset viewer.