Lines Matching refs:buf_num
96 while (stream->buf_num) { in usb_free_stream_buffers()
97 stream->buf_num--; in usb_free_stream_buffers()
98 deb_mem("freeing buffer %d\n",stream->buf_num); in usb_free_stream_buffers()
100 stream->buf_list[stream->buf_num], in usb_free_stream_buffers()
101 stream->dma_addr[stream->buf_num]); in usb_free_stream_buffers()
112 stream->buf_num = 0; in usb_allocate_stream_buffers()
117 for (stream->buf_num = 0; stream->buf_num < num; stream->buf_num++) { in usb_allocate_stream_buffers()
118 deb_mem("allocating buffer %d\n",stream->buf_num); in usb_allocate_stream_buffers()
119 if (( stream->buf_list[stream->buf_num] = in usb_allocate_stream_buffers()
121 &stream->dma_addr[stream->buf_num]) ) == NULL) { in usb_allocate_stream_buffers()
127 stream->buf_num, in usb_allocate_stream_buffers()
128 stream->buf_list[stream->buf_num], (long long)stream->dma_addr[stream->buf_num]); in usb_allocate_stream_buffers()
129 memset(stream->buf_list[stream->buf_num],0,size); in usb_allocate_stream_buffers()