Home
last modified time | relevance | path

Searched refs:patt_buf (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/sound/drivers/
H A Dpcmtest.c651 struct pattern_buf *patt_buf = file->f_inode->i_private; in pattern_write() local
661 if (copy_from_user(patt_buf->buf + *off, u_buff, to_write)) in pattern_write()
664 patt_buf->len = *off + to_write; in pattern_write()
672 struct pattern_buf *patt_buf = file->f_inode->i_private; in pattern_read() local
680 if (copy_to_user(u_buff, patt_buf->buf + *off, to_read)) in pattern_read()