Lines Matching refs:vb32
408 struct v4l2_buffer32 vb32; in get_v4l2_buffer32() local
410 if (copy_from_user(&vb32, arg, sizeof(vb32))) in get_v4l2_buffer32()
415 .index = vb32.index, in get_v4l2_buffer32()
416 .type = vb32.type, in get_v4l2_buffer32()
417 .bytesused = vb32.bytesused, in get_v4l2_buffer32()
418 .flags = vb32.flags, in get_v4l2_buffer32()
419 .field = vb32.field, in get_v4l2_buffer32()
420 .timestamp.tv_sec = vb32.timestamp.tv_sec, in get_v4l2_buffer32()
421 .timestamp.tv_usec = vb32.timestamp.tv_usec, in get_v4l2_buffer32()
422 .timecode = vb32.timecode, in get_v4l2_buffer32()
423 .sequence = vb32.sequence, in get_v4l2_buffer32()
424 .memory = vb32.memory, in get_v4l2_buffer32()
425 .m.offset = vb32.m.offset, in get_v4l2_buffer32()
426 .length = vb32.length, in get_v4l2_buffer32()
427 .request_fd = vb32.request_fd, in get_v4l2_buffer32()
433 vb->m.offset = vb32.m.offset; in get_v4l2_buffer32()
436 vb->m.userptr = (unsigned long)compat_ptr(vb32.m.userptr); in get_v4l2_buffer32()
439 vb->m.fd = vb32.m.fd; in get_v4l2_buffer32()
445 compat_ptr(vb32.m.planes); in get_v4l2_buffer32()
454 struct v4l2_buffer32_time32 vb32; in get_v4l2_buffer32_time32() local
456 if (copy_from_user(&vb32, arg, sizeof(vb32))) in get_v4l2_buffer32_time32()
460 .index = vb32.index, in get_v4l2_buffer32_time32()
461 .type = vb32.type, in get_v4l2_buffer32_time32()
462 .bytesused = vb32.bytesused, in get_v4l2_buffer32_time32()
463 .flags = vb32.flags, in get_v4l2_buffer32_time32()
464 .field = vb32.field, in get_v4l2_buffer32_time32()
465 .timestamp.tv_sec = vb32.timestamp.tv_sec, in get_v4l2_buffer32_time32()
466 .timestamp.tv_usec = vb32.timestamp.tv_usec, in get_v4l2_buffer32_time32()
467 .timecode = vb32.timecode, in get_v4l2_buffer32_time32()
468 .sequence = vb32.sequence, in get_v4l2_buffer32_time32()
469 .memory = vb32.memory, in get_v4l2_buffer32_time32()
470 .m.offset = vb32.m.offset, in get_v4l2_buffer32_time32()
471 .length = vb32.length, in get_v4l2_buffer32_time32()
472 .request_fd = vb32.request_fd, in get_v4l2_buffer32_time32()
477 vb->m.offset = vb32.m.offset; in get_v4l2_buffer32_time32()
480 vb->m.userptr = (unsigned long)compat_ptr(vb32.m.userptr); in get_v4l2_buffer32_time32()
483 vb->m.fd = vb32.m.fd; in get_v4l2_buffer32_time32()
489 compat_ptr(vb32.m.planes); in get_v4l2_buffer32_time32()
498 struct v4l2_buffer32 vb32; in put_v4l2_buffer32() local
500 memset(&vb32, 0, sizeof(vb32)); in put_v4l2_buffer32()
501 vb32 = (struct v4l2_buffer32) { in put_v4l2_buffer32()
520 vb32.m.offset = vb->m.offset; in put_v4l2_buffer32()
523 vb32.m.userptr = (uintptr_t)(vb->m.userptr); in put_v4l2_buffer32()
526 vb32.m.fd = vb->m.fd; in put_v4l2_buffer32()
531 vb32.m.planes = (uintptr_t)vb->m.planes; in put_v4l2_buffer32()
533 if (copy_to_user(arg, &vb32, sizeof(vb32))) in put_v4l2_buffer32()
543 struct v4l2_buffer32_time32 vb32; in put_v4l2_buffer32_time32() local
545 memset(&vb32, 0, sizeof(vb32)); in put_v4l2_buffer32_time32()
546 vb32 = (struct v4l2_buffer32_time32) { in put_v4l2_buffer32_time32()
564 vb32.m.offset = vb->m.offset; in put_v4l2_buffer32_time32()
567 vb32.m.userptr = (uintptr_t)(vb->m.userptr); in put_v4l2_buffer32_time32()
570 vb32.m.fd = vb->m.fd; in put_v4l2_buffer32_time32()
575 vb32.m.planes = (uintptr_t)vb->m.planes; in put_v4l2_buffer32_time32()
577 if (copy_to_user(arg, &vb32, sizeof(vb32))) in put_v4l2_buffer32_time32()