Lines Matching refs:kp
559 static int get_video_tuner32(struct video_tuner *kp, struct video_tuner32 *up) in get_video_tuner32() argument
563 if(get_user(kp->tuner, &up->tuner)) in get_video_tuner32()
566 __get_user(kp->name[i], &up->name[i]); in get_video_tuner32()
567 __get_user(kp->rangelow, &up->rangelow); in get_video_tuner32()
568 __get_user(kp->rangehigh, &up->rangehigh); in get_video_tuner32()
569 __get_user(kp->flags, &up->flags); in get_video_tuner32()
570 __get_user(kp->mode, &up->mode); in get_video_tuner32()
571 __get_user(kp->signal, &up->signal); in get_video_tuner32()
575 static int put_video_tuner32(struct video_tuner *kp, struct video_tuner32 *up) in put_video_tuner32() argument
579 if(put_user(kp->tuner, &up->tuner)) in put_video_tuner32()
582 __put_user(kp->name[i], &up->name[i]); in put_video_tuner32()
583 __put_user(kp->rangelow, &up->rangelow); in put_video_tuner32()
584 __put_user(kp->rangehigh, &up->rangehigh); in put_video_tuner32()
585 __put_user(kp->flags, &up->flags); in put_video_tuner32()
586 __put_user(kp->mode, &up->mode); in put_video_tuner32()
587 __put_user(kp->signal, &up->signal); in put_video_tuner32()
596 static int get_video_buffer32(struct video_buffer *kp, struct video_buffer32 *up) in get_video_buffer32() argument
602 kp->base = (void *) ((unsigned long)tmp); in get_video_buffer32()
603 __get_user(kp->height, &up->height); in get_video_buffer32()
604 __get_user(kp->width, &up->width); in get_video_buffer32()
605 __get_user(kp->depth, &up->depth); in get_video_buffer32()
606 __get_user(kp->bytesperline, &up->bytesperline); in get_video_buffer32()
610 static int put_video_buffer32(struct video_buffer *kp, struct video_buffer32 *up) in put_video_buffer32() argument
612 u32 tmp = (u32)((unsigned long)kp->base); in put_video_buffer32()
616 __put_user(kp->height, &up->height); in put_video_buffer32()
617 __put_user(kp->width, &up->width); in put_video_buffer32()
618 __put_user(kp->depth, &up->depth); in put_video_buffer32()
619 __put_user(kp->bytesperline, &up->bytesperline); in put_video_buffer32()
634 static void free_kvideo_clips(struct video_window *kp) in free_kvideo_clips() argument
638 cp = kp->clips; in free_kvideo_clips()
643 static int get_video_window32(struct video_window *kp, struct video_window32 *up) in get_video_window32() argument
650 if(get_user(kp->x, &up->x)) in get_video_window32()
652 __get_user(kp->y, &up->y); in get_video_window32()
653 __get_user(kp->width, &up->width); in get_video_window32()
654 __get_user(kp->height, &up->height); in get_video_window32()
655 __get_user(kp->chromakey, &up->chromakey); in get_video_window32()
656 __get_user(kp->flags, &up->flags); in get_video_window32()
657 __get_user(kp->clipcount, &up->clipcount); in get_video_window32()
660 kp->clips = NULL; in get_video_window32()
662 nclips = kp->clipcount; in get_video_window32()
678 kp->clips = kcp; in get_video_window32()
690 free_kvideo_clips(kp); in get_video_window32()
695 static int put_video_window32(struct video_window *kp, struct video_window32 *up) in put_video_window32() argument
697 if(put_user(kp->x, &up->x)) in put_video_window32()
699 __put_user(kp->y, &up->y); in put_video_window32()
700 __put_user(kp->width, &up->width); in put_video_window32()
701 __put_user(kp->height, &up->height); in put_video_window32()
702 __put_user(kp->chromakey, &up->chromakey); in put_video_window32()
703 __put_user(kp->flags, &up->flags); in put_video_window32()
704 __put_user(kp->clipcount, &up->clipcount); in put_video_window32()