Lines Matching refs:pdata_buffer
658 struct data_buffer *pdata_buffer;
685 pdata_buffer = &peasycap->audio_buffer[peasycap->audio_read];
686 if ((struct data_buffer *)NULL == pdata_buffer) {
687 SAY("ERROR: pdata_buffer is NULL\n");
696 (0 == (PAGE_SIZE - (pdata_buffer->pto - pdata_buffer->pgo)))) {
705 (0 < (PAGE_SIZE - (pdata_buffer->pto - pdata_buffer->pgo))))));
733 if (NULL == pdata_buffer->pgo) {
734 SAY("ERROR: pdata_buffer->pgo is NULL\n");
737 if (NULL == pdata_buffer->pto) {
738 SAY("ERROR: pdata_buffer->pto is NULL\n");
741 kount1 = PAGE_SIZE - (pdata_buffer->pto - pdata_buffer->pgo);
763 pdata_buffer = &peasycap->audio_buffer[peasycap->audio_read];
764 if ((struct data_buffer *)NULL == pdata_buffer) {
765 SAY("ERROR: pdata_buffer is NULL\n");
768 if (NULL == pdata_buffer->pgo) {
769 SAY("ERROR: pdata_buffer->pgo is NULL\n");
772 if (NULL == pdata_buffer->pto) {
773 SAY("ERROR: pdata_buffer->pto is NULL\n");
776 kount1 = PAGE_SIZE - (pdata_buffer->pto - pdata_buffer->pgo);
793 p0 = (unsigned char *)pdata_buffer->pgo; l0 = 0; lm = more/2;
799 rc = copy_to_user(puserspacebuffer, pdata_buffer->pto, more);
806 pdata_buffer->pto += more;