Lines Matching refs:buffer_status
102 unsigned int *buffer_status; member
184 if (d->buffer_status) in free_dma_iso_ctx()
185 kfree(d->buffer_status); in free_dma_iso_ctx()
338 d->buffer_status = kmalloc(d->num_desc * sizeof(unsigned int), in alloc_dma_iso_ctx()
347 if (d->buffer_status == NULL) { in alloc_dma_iso_ctx()
367 memset(d->buffer_status, 0, d->num_desc * sizeof(unsigned int)); in alloc_dma_iso_ctx()
508 d->buffer_status[i] = VIDEO1394_BUFFER_READY; in wakeup_dma_ir_ctx()
585 d->buffer_status[i] = VIDEO1394_BUFFER_READY; in wakeup_dma_it_ctx()
890 if (d->buffer_status[v.buffer]==VIDEO1394_BUFFER_QUEUED) { in video1394_ioctl()
897 d->buffer_status[v.buffer]=VIDEO1394_BUFFER_QUEUED; in video1394_ioctl()
957 switch(d->buffer_status[v.buffer]) { in video1394_ioctl()
959 d->buffer_status[v.buffer]=VIDEO1394_BUFFER_FREE; in video1394_ioctl()
970 while (d->buffer_status[v.buffer]!= in video1394_ioctl()
982 d->buffer_status[v.buffer] in video1394_ioctl()
987 d->buffer_status[v.buffer]=VIDEO1394_BUFFER_FREE; in video1394_ioctl()
1004 while (d->buffer_status[(v.buffer+1)%d->num_desc]== in video1394_ioctl()
1058 if (d->buffer_status[v.buffer]!=VIDEO1394_BUFFER_FREE) { in video1394_ioctl()
1073 d->buffer_status[v.buffer]=VIDEO1394_BUFFER_QUEUED; in video1394_ioctl()
1141 switch(d->buffer_status[v.buffer]) { in video1394_ioctl()
1143 d->buffer_status[v.buffer]=VIDEO1394_BUFFER_FREE; in video1394_ioctl()
1147 while (d->buffer_status[v.buffer]!= in video1394_ioctl()
1154 d->buffer_status[v.buffer] in video1394_ioctl()
1159 d->buffer_status[v.buffer]=VIDEO1394_BUFFER_FREE; in video1394_ioctl()