Lines Matching defs:reqnr
775 int reqnr;
790 if (kfifo_out_locked(&meye.grabq, (unsigned char *)&reqnr,
795 mchip_cont_read_frame(v, meye.grab_fbuffer + gbufsize * reqnr,
797 meye.grab_buffer[reqnr].size = mchip_hsize() * mchip_vsize() * 2;
798 meye.grab_buffer[reqnr].state = MEYE_BUF_DONE;
799 do_gettimeofday(&meye.grab_buffer[reqnr].timestamp);
800 meye.grab_buffer[reqnr].sequence = sequence++;
801 kfifo_in_locked(&meye.doneq, (unsigned char *)&reqnr,
811 if (kfifo_out_locked(&meye.grabq, (unsigned char *)&reqnr,
816 memcpy(meye.grab_fbuffer + gbufsize * reqnr, meye.grab_temp,
818 meye.grab_buffer[reqnr].size = size;
819 meye.grab_buffer[reqnr].state = MEYE_BUF_DONE;
820 do_gettimeofday(&meye.grab_buffer[reqnr].timestamp);
821 meye.grab_buffer[reqnr].sequence = sequence++;
822 kfifo_in_locked(&meye.doneq, (unsigned char *)&reqnr,
1456 int reqnr;
1474 if (!kfifo_out_locked(&meye.doneq, (unsigned char *)&reqnr,
1480 if (meye.grab_buffer[reqnr].state != MEYE_BUF_DONE) {
1485 buf->index = reqnr;
1486 buf->bytesused = meye.grab_buffer[reqnr].size;
1489 buf->timestamp = meye.grab_buffer[reqnr].timestamp;
1490 buf->sequence = meye.grab_buffer[reqnr].sequence;
1492 buf->m.offset = reqnr * gbufsize;
1494 meye.grab_buffer[reqnr].state = MEYE_BUF_UNUSED;