Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/drivers/video/fbdev/sis/
Dsis_main.c1751 ivideo->sisfb_infoblock.memory = ivideo->video_size / 1024; in sisfb_ioctl()
1976 ivideo->video_size = 0; in sisfb_get_dram_size()
1983 ivideo->video_size = ((reg & 0x3F) + 1) << 20; in sisfb_get_dram_size()
1991 ivideo->video_size = 1 << (((reg & 0x70) >> 4) + 21); in sisfb_get_dram_size()
1999 ivideo->video_size = (1 << ((reg & 0xf0) >> 4)) << 20; in sisfb_get_dram_size()
2003 ivideo->video_size <<= 1; in sisfb_get_dram_size()
2006 ivideo->video_size += (ivideo->video_size/2); in sisfb_get_dram_size()
2011 ivideo->video_size = (1 << ((reg & 0xf0) >> 4)) << 20; in sisfb_get_dram_size()
2012 if(reg & 0x0c) ivideo->video_size <<= 1; in sisfb_get_dram_size()
2018 ivideo->video_size = (((reg & 0x3f) + 1) << 2) << 20; in sisfb_get_dram_size()
[all …]
Dsis.h512 unsigned long video_size; member
/linux-6.1.9/drivers/staging/media/deprecated/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-6.1.9/drivers/staging/media/deprecated/saa7146/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()