Home
last modified time | relevance | path

Searched refs:image_size (Results 1 – 17 of 17) sorted by relevance

/drivers/staging/vme/devices/
Dvme_user.c323 size_t image_size; in vme_user_read() local
332 image_size = vme_get_size(image[minor].resource); in vme_user_read()
335 if ((*ppos < 0) || (*ppos > (image_size - 1))) { in vme_user_read()
341 if (*ppos + count > image_size) in vme_user_read()
342 okcount = image_size - *ppos; in vme_user_read()
369 size_t image_size; in vme_user_write() local
377 image_size = vme_get_size(image[minor].resource); in vme_user_write()
380 if ((*ppos < 0) || (*ppos > (image_size - 1))) { in vme_user_write()
386 if (*ppos + count > image_size) in vme_user_write()
387 okcount = image_size - *ppos; in vme_user_write()
[all …]
/drivers/gpu/drm/radeon/
Dradeon_uvd.c256 unsigned image_size, tmp, min_dpb_size; in radeon_uvd_cs_msg_decode() local
258 image_size = width * height; in radeon_uvd_cs_msg_decode()
259 image_size += image_size / 2; in radeon_uvd_cs_msg_decode()
260 image_size = ALIGN(image_size, 1024); in radeon_uvd_cs_msg_decode()
266 min_dpb_size = image_size * 17; in radeon_uvd_cs_msg_decode()
278 min_dpb_size = image_size * 3; in radeon_uvd_cs_msg_decode()
297 min_dpb_size = image_size * 3; in radeon_uvd_cs_msg_decode()
303 min_dpb_size = image_size * 3; in radeon_uvd_cs_msg_decode()
329 buf_sizes[0x2] = image_size; in radeon_uvd_cs_msg_decode()
/drivers/block/
Drbd_types.h58 __le64 image_size; member
72 __le64 image_size; member
Drbd.c146 u64 image_size; member
837 snap_sizes[i] = le64_to_cpu(snaps[i].image_size); in rbd_header_from_disk()
861 header->image_size = le64_to_cpu(ondisk->image_size); in rbd_header_from_disk()
869 if (rbd_dev->mapping.size != header->image_size) in rbd_header_from_disk()
870 rbd_dev->mapping.size = header->image_size; in rbd_header_from_disk()
965 *snap_size = rbd_dev->header.image_size; in rbd_snap_size()
3728 &rbd_dev->header.image_size); in rbd_dev_v2_image_size()
4288 if (rbd_dev->mapping.size != rbd_dev->header.image_size) in rbd_dev_v2_header_info()
4289 rbd_dev->mapping.size = rbd_dev->header.image_size; in rbd_dev_v2_header_info()
/drivers/staging/media/solo6x10/
Dsolo6x10-v4l2.c208 int image_size = solo_image_size(solo_dev); in solo_fillbuf() local
209 for (i = 0; i < image_size; i += 2) { in solo_fillbuf()
473 int image_size = solo_image_size(solo_dev); in solo_try_fmt_cap() local
480 pix->sizeimage = image_size; in solo_try_fmt_cap()
/drivers/media/i2c/
Dtcm825x.c386 static enum image_size tcm825x_find_size(struct v4l2_int_device *s, in tcm825x_find_size()
390 enum image_size isize; in tcm825x_find_size()
418 enum image_size isize = tcm825x_find_size(s, pix->width, pix->height); in tcm825x_configure()
600 enum image_size isize; in ioctl_try_fmt_cap()
Dtcm825x.h161 enum image_size { subQCIF = 0, QQVGA, QCIF, QVGA, CIF, VGA }; enum
/drivers/media/usb/cpia2/
Dcpia2_core.c1148 int image_size; in config_sensor_410() local
1161 image_size = cpia2_match_video_size(width, height); in config_sensor_410()
1164 DBG("Image size returned is %d\n", image_size); in config_sensor_410()
1165 if (image_size >= 0) { in config_sensor_410()
1166 set_vw_size(cam, image_size); in config_sensor_410()
1334 int image_size = VIDEOSIZE_CIF; in config_sensor_500() local
1340 image_size = cpia2_match_video_size(width, height); in config_sensor_500()
1351 if (image_size >= 0) { in config_sensor_500()
1352 set_vw_size(cam, image_size); in config_sensor_500()
1361 image_size, width, height, image_type); in config_sensor_500()
Dcpia2.h311 } image_size; member
/drivers/media/usb/usbvision/
Dusbvision-core.c705 int image_size; in usbvision_parse_compress() local
710 image_size = frame->frmwidth * frame->frmheight; in usbvision_parse_compress()
721 + image_size in usbvision_parse_compress()
723 v = u + (image_size >> 1); in usbvision_parse_compress()
725 v = frame->data + image_size + ((frame->curline * (frame->width)) >> 2); in usbvision_parse_compress()
726 u = v + (image_size >> 2); in usbvision_parse_compress()
765 U = usbvision->intra_frame_buffer + image_size + (frame->frmwidth / 2) * (frame->curline / 2); in usbvision_parse_compress()
766 …V = usbvision->intra_frame_buffer + image_size / 4 * 5 + (frame->frmwidth / 2) * (frame->curline /… in usbvision_parse_compress()
/drivers/staging/ft1000/ft1000-pcmcia/
Dft1000_dnld.c115 u32 image_size; /* Size of image. */ member
650 image_size; in card_download()
/drivers/staging/ft1000/ft1000-usb/
Dft1000_download.c107 long image_size; // Size of image. member
1085 image_size; in scram_dnldr()
/drivers/video/
Dfsl-diu-fb.c1060 unsigned int image_size = in fsl_diu_cursor() local
1063 DIV_ROUND_UP(image_size, sizeof(uint32_t)); in fsl_diu_cursor()
1066 uint8_t buffer[image_size]; in fsl_diu_cursor()
1078 image_size = DIV_ROUND_UP(cursor->image.width, 8) * in fsl_diu_cursor()
/drivers/net/ethernet/emulex/benet/
Dbe_hw.h528 u32 image_size; member
Dbe_main.c3239 const u8 *p, u32 img_start, int image_size, in be_flash_redboot() argument
3246 crc_offset = hdr_size + img_start + image_size - 4; in be_flash_redboot()
3251 (image_size - 4)); in be_flash_redboot()
3575 size_t image_size = 0; in lancer_fw_download() local
3602 image_size = fw->size; in lancer_fw_download()
3605 while (image_size) { in lancer_fw_download()
3606 chunk_size = min_t(u32, image_size, LANCER_FW_DOWNLOAD_CHUNK); in lancer_fw_download()
3621 image_size -= data_written; in lancer_fw_download()
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_kms.c95 u32 image_size = width * height * 4; in vmw_cursor_update_image() local
96 u32 cmd_size = sizeof(*cmd) + image_size; in vmw_cursor_update_image()
109 memcpy(&cmd[1], image, image_size); in vmw_cursor_update_image()
/drivers/scsi/aic94xx/
Daic94xx_sds.c395 __le32 image_size; member