Lines Matching refs:buf_num
145 int buf_num; member
323 while (dev->buf_num) { in rtl2832_sdr_free_stream_bufs()
324 dev->buf_num--; in rtl2832_sdr_free_stream_bufs()
325 dev_dbg(&pdev->dev, "free buf=%d\n", dev->buf_num); in rtl2832_sdr_free_stream_bufs()
327 dev->buf_list[dev->buf_num], in rtl2832_sdr_free_stream_bufs()
328 dev->dma_addr[dev->buf_num]); in rtl2832_sdr_free_stream_bufs()
340 dev->buf_num = 0; in rtl2832_sdr_alloc_stream_bufs()
346 for (dev->buf_num = 0; dev->buf_num < MAX_BULK_BUFS; dev->buf_num++) { in rtl2832_sdr_alloc_stream_bufs()
347 dev->buf_list[dev->buf_num] = usb_alloc_coherent(dev->udev, in rtl2832_sdr_alloc_stream_bufs()
349 &dev->dma_addr[dev->buf_num]); in rtl2832_sdr_alloc_stream_bufs()
350 if (!dev->buf_list[dev->buf_num]) { in rtl2832_sdr_alloc_stream_bufs()
352 dev->buf_num); in rtl2832_sdr_alloc_stream_bufs()
358 dev->buf_num, dev->buf_list[dev->buf_num], in rtl2832_sdr_alloc_stream_bufs()
359 (long long)dev->dma_addr[dev->buf_num]); in rtl2832_sdr_alloc_stream_bufs()