Home
last modified time | relevance | path

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

/sound/usb/usx2y/
Dusbusx2yaudio.c158 urb->transfer_buffer = subs->tmpbuf; in usX2Y_urb_play_prepare()
159 memcpy(subs->tmpbuf, runtime->dma_area + in usX2Y_urb_play_prepare()
161 memcpy(subs->tmpbuf + len * usX2Y->stride, in usX2Y_urb_play_prepare()
172 urb->transfer_buffer = subs->tmpbuf; in usX2Y_urb_play_prepare()
401 kfree(subs->tmpbuf); in usX2Y_urbs_release()
402 subs->tmpbuf = NULL; in usX2Y_urbs_release()
420 if (is_playback && NULL == subs->tmpbuf) { /* allocate a temporary buffer for playback */ in usX2Y_urbs_allocate()
421 subs->tmpbuf = kcalloc(nr_of_packs(), subs->maxpacksize, GFP_KERNEL); in usX2Y_urbs_allocate()
422 if (NULL == subs->tmpbuf) { in usX2Y_urbs_allocate()
Dusbusx2y.h75 char *tmpbuf; /* temporary buffer for playback */ member