snd_pcm_sgbuf_ops_page (9) - Linux Manuals

snd_pcm_sgbuf_ops_page: get the page struct at the given offset

NAME

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.

COPYRIGHT