snd_pcm_sgbuf_ops_page(9)
snd_pcm_sgbuf_ops_page – get the page struct at the given offset
Synopsis
struct page *snd_pcm_sgbuf_ops_page(struct snd_pcm_substream *substream, unsigned long offset);Arguments
substream
- the pcm substream instance
offset
- the buffer offset
Description
Used as the page callback of PCM ops.
Return
The page struct at the given buffer offset. NULL on failure.