Home
last modified time | relevance | path

Searched refs:newsize (Results 1 – 4 of 4) sorted by relevance

/drivers/media/video/usbvideo/
Dkonicawc.c655 int newsize; in konicawc_set_video_mode() local
662 for(newsize = 0; newsize <= MAX_FRAME_SIZE; newsize++) { in konicawc_set_video_mode()
663 if((camera_sizes[newsize].width == x) && (camera_sizes[newsize].height == y)) in konicawc_set_video_mode()
667 newsize = cam->size; in konicawc_set_video_mode()
670 if(newsize > MAX_FRAME_SIZE) { in konicawc_set_video_mode()
677 newspeed = konicawc_find_fps(newsize, fps); in konicawc_set_video_mode()
678 DEBUG(1, "find_fps returned %d (%d)", newspeed, spd_to_fps[newsize][newspeed]); in konicawc_set_video_mode()
684 DEBUG(1, "setting size to %d speed to %d", newsize, newspeed); in konicawc_set_video_mode()
685 if((newsize == cam->size) && (newspeed == cam->speed)) { in konicawc_set_video_mode()
689 DEBUG(0, "setting to %dx%d @ %d fps", camera_sizes[newsize].width, in konicawc_set_video_mode()
[all …]
Dquickcam_messenger.c831 int newsize; in qcm_set_video_mode() local
839 for (newsize = 0; newsize <= MAX_FRAME_SIZE; newsize++) { in qcm_set_video_mode()
840 if ((camera_sizes[newsize].width == x) && in qcm_set_video_mode()
841 (camera_sizes[newsize].height == y)) in qcm_set_video_mode()
845 newsize = cam->size; in qcm_set_video_mode()
847 if (newsize > MAX_FRAME_SIZE) { in qcm_set_video_mode()
852 if (newsize == cam->size) { in qcm_set_video_mode()
859 if (cam->size != newsize) { in qcm_set_video_mode()
861 cam->size = newsize; in qcm_set_video_mode()
/drivers/md/
Draid5.c915 static int resize_stripes(raid5_conf_t *conf, int newsize) in resize_stripes() argument
947 if (newsize <= conf->pool_size) in resize_stripes()
956 sizeof(struct stripe_head)+(newsize-1)*sizeof(struct r5dev), in resize_stripes()
966 memset(nsh, 0, sizeof(*nsh) + (newsize-1)*sizeof(struct r5dev)); in resize_stripes()
999 for( ; i<newsize; i++) in resize_stripes()
1010 ndisks = kzalloc(newsize * sizeof(struct disk_info), GFP_NOIO); in resize_stripes()
1023 for (i=conf->raid_disks; i < newsize; i++) in resize_stripes()
1036 conf->pool_size = newsize; in resize_stripes()
/drivers/scsi/
Ddpt_i2o.c3366 int newsize = pHba->hrt->num_entries * pHba->hrt->entry_len << 2; in adpt_i2o_hrt_get() local
3369 size = newsize; in adpt_i2o_hrt_get()