Lines Matching refs:height

163 		    se401->height[i]);  in se401_read_proc()
506 static void se401_send_size(struct usb_se401 *se401, int width, int height) in se401_send_size() argument
510 int sendheight=height; in se401_send_size()
519 while (i<se401->sizes && !(se401->width[i]==width && se401->height[i]==height)) in se401_send_size()
522 if (se401->width[i]==width*2 && se401->height[i]==height*2) { in se401_send_size()
523 sendheight=se401->height[i]; in se401_send_size()
527 if (se401->width[i]==width*4 && se401->height[i]==height*4) { in se401_send_size()
528 sendheight=se401->height[i]; in se401_send_size()
641 static int se401_set_size(struct usb_se401 *se401, int width, int height) in se401_set_size() argument
645 if (se401->cwidth==width && se401->cheight==height) in se401_set_size()
649 if (width <= 0 || height <= 0) in se401_set_size()
651 if ((width & 1) || (height & 1)) in se401_set_size()
655 if (height>se401->height[se401->sizes-1]) in se401_set_size()
662 se401->cheight=height; in se401_set_size()
1023 kfree(se401->height); in usb_se401_remove_disconnected()
1072 kfree(se401->height); in se401_close()
1112 b.maxheight = se401->height[se401->sizes-1]; in se401_ioctl()
1114 b.minheight = se401->height[0]; in se401_ioctl()
1183 if (se401_set_size(se401, vw.width, vw.height)) in se401_ioctl()
1198 vw.height = se401->cheight; in se401_ioctl()
1235 if (se401_set_size(se401, vm.width, vm.height)) in se401_ioctl()
1412 se401->height=kmalloc(se401->sizes*sizeof(int), GFP_KERNEL); in se401_init()
1413 if (!se401->height) { in se401_init()
1419 se401->height[i]=cp[6+i*4+2]+cp[6+i*4+3]*256; in se401_init()
1423 sprintf(temp, "%s %dx%d", temp, se401->width[i], se401->height[i]); in se401_init()
1426 se401->maxframesize=se401->width[se401->sizes-1]*se401->height[se401->sizes-1]*3; in se401_init()