Home
last modified time | relevance | path

Searched refs:video_size (Results 1 – 8 of 8) sorted by relevance

/linux-5.19.10/drivers/gpu/drm/sprd/
Dsprd_dsi.c352 static u16 round_video_size(int coding, u16 video_size) in round_video_size() argument
360 if ((video_size % 2) != 0) in round_video_size()
361 video_size += 1; in round_video_size()
367 return video_size; in round_video_size()
456 u16 video_size; in sprd_dsi_dpi_video() local
473 video_size = round_video_size(coding, vm->hactive); in sprd_dsi_dpi_video()
511 dsi_reg_wr(ctx, VIDEO_PKT_CONFIG, VIDEO_PKT_SIZE, 0, video_size); in sprd_dsi_dpi_video()
536 for (video_size = video_size_step; in sprd_dsi_dpi_video()
537 video_size < vm->hactive; in sprd_dsi_dpi_video()
538 video_size += video_size_step) { in sprd_dsi_dpi_video()
[all …]
/linux-5.19.10/drivers/video/fbdev/sis/
Dsis_main.c1750 ivideo->sisfb_infoblock.memory = ivideo->video_size / 1024; in sisfb_ioctl()
1975 ivideo->video_size = 0; in sisfb_get_dram_size()
1982 ivideo->video_size = ((reg & 0x3F) + 1) << 20; in sisfb_get_dram_size()
1990 ivideo->video_size = 1 << (((reg & 0x70) >> 4) + 21); in sisfb_get_dram_size()
1998 ivideo->video_size = (1 << ((reg & 0xf0) >> 4)) << 20; in sisfb_get_dram_size()
2002 ivideo->video_size <<= 1; in sisfb_get_dram_size()
2005 ivideo->video_size += (ivideo->video_size/2); in sisfb_get_dram_size()
2010 ivideo->video_size = (1 << ((reg & 0xf0) >> 4)) << 20; in sisfb_get_dram_size()
2011 if(reg & 0x0c) ivideo->video_size <<= 1; in sisfb_get_dram_size()
2017 ivideo->video_size = (((reg & 0x3f) + 1) << 2) << 20; in sisfb_get_dram_size()
[all …]
Dsis.h512 unsigned long video_size; member
/linux-5.19.10/drivers/media/usb/cpia2/
Dcpia2.h308 u8 video_size; /* Not a register, just a convenience for cropped sizes */ member
377 int video_size; /* VIDEO_SIZE_ */ member
Dcpia2_core.c1055 cam->params.vp_params.video_size = size; in set_vw_size()
2152 cam->video_size = VIDEOSIZE_VGA; in reset_camera_struct()
2157 cam->video_size = VIDEOSIZE_CIF; in reset_camera_struct()
/linux-5.19.10/drivers/staging/media/av7110/
Dav7110.c502 av7110->video_size.w = irdebi(av7110, DEBINOSWAP, STATUS_MPEG_WIDTH, 0, 2); in gpioirq()
508 av7110->video_size.h = h_ar & 0xfff; in gpioirq()
511 event.u.size.w = av7110->video_size.w; in gpioirq()
512 event.u.size.h = av7110->video_size.h; in gpioirq()
516 av7110->video_size.aspect_ratio = VIDEO_FORMAT_16_9; in gpioirq()
521 av7110->video_size.aspect_ratio = VIDEO_FORMAT_221_1; in gpioirq()
526 av7110->video_size.aspect_ratio = VIDEO_FORMAT_4_3; in gpioirq()
532 av7110->video_size.w, av7110->video_size.h, in gpioirq()
533 av7110->video_size.aspect_ratio); in gpioirq()
Dav7110.h246 video_size_t video_size; member
Dav7110_av.c1220 memcpy(parg, &av7110->video_size, sizeof(video_size_t)); in dvb_video_ioctl()
1634 memset(&av7110->video_size, 0, sizeof (video_size_t)); in av7110_av_register()