Home
last modified time | relevance | path

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

/sound/usb/usx2y/
Dusbusx2yaudio.c156 urb->transfer_buffer = subs->tmpbuf; in usX2Y_urb_play_prepare()
157 memcpy(subs->tmpbuf, runtime->dma_area + in usX2Y_urb_play_prepare()
159 memcpy(subs->tmpbuf + len * usX2Y->stride, in usX2Y_urb_play_prepare()
170 urb->transfer_buffer = subs->tmpbuf; in usX2Y_urb_play_prepare()
415 kfree(subs->tmpbuf); in usX2Y_urbs_release()
416 subs->tmpbuf = NULL; in usX2Y_urbs_release()
434 if (is_playback && NULL == subs->tmpbuf) { /* allocate a temporary buffer for playback */ in usX2Y_urbs_allocate()
435 subs->tmpbuf = kcalloc(nr_of_packs(), subs->maxpacksize, GFP_KERNEL); in usX2Y_urbs_allocate()
436 if (NULL == subs->tmpbuf) { in usX2Y_urbs_allocate()
Dusbusx2y.h70 char *tmpbuf; /* temporary buffer for playback */ member