Ignore:
Timestamp:
Sep 26, 2021, 6:18:40 PM (4 years ago)
Author:
David Azarewicz
Message:

Merge changes from next branch.

Location:
GPL/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk

  • GPL/trunk/alsa-kernel/include/sound/pcm.h

    r695 r703  
    10871087int snd_pcm_lib_ioctl(struct snd_pcm_substream *substream,
    10881088                      unsigned int cmd, void *arg);                     
     1089void snd_pcm_period_elapsed_under_stream_lock(struct snd_pcm_substream *substream);
    10891090void snd_pcm_period_elapsed(struct snd_pcm_substream *substream);
    10901091snd_pcm_sframes_t __snd_pcm_lib_xfer(struct snd_pcm_substream *substream,
     
    12741275#define snd_pcm_get_dma_buf(substream) ((substream)->runtime->dma_buffer_p)
    12751276
    1276 #ifdef CONFIG_SND_DMA_SGBUF
    1277 /*
    1278  * SG-buffer handling
    1279  */
    1280 #define snd_pcm_substream_sgbuf(substream) \
    1281         snd_pcm_get_dma_buf(substream)->private_data
    1282 #endif /* SND_DMA_SGBUF */
    1283 
    12841277/**
    12851278 * snd_pcm_sgbuf_get_addr - Get the DMA address at the corresponding offset
     
    12911284{
    12921285        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 offset
    1297  * @substream: PCM substream
    1298  * @ofs: byte offset
    1299  */
    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);
    13041286}
    13051287
Note: See TracChangeset for help on using the changeset viewer.