Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/sprd/
Dsprd_dsi.c349 static u16 round_video_size(int coding, u16 video_size) in round_video_size() argument
357 if ((video_size % 2) != 0) in round_video_size()
358 video_size += 1; in round_video_size()
364 return video_size; in round_video_size()
453 u16 video_size; in sprd_dsi_dpi_video() local
470 video_size = round_video_size(coding, vm->hactive); in sprd_dsi_dpi_video()
508 dsi_reg_wr(ctx, VIDEO_PKT_CONFIG, VIDEO_PKT_SIZE, 0, video_size); in sprd_dsi_dpi_video()
533 for (video_size = video_size_step; in sprd_dsi_dpi_video()
534 video_size < vm->hactive; in sprd_dsi_dpi_video()
535 video_size += video_size_step) { in sprd_dsi_dpi_video()
[all …]
/linux-6.12.1/drivers/video/fbdev/sis/
Dsis_main.c1722 ivideo->sisfb_infoblock.memory = ivideo->video_size / 1024; in sisfb_ioctl()
1949 ivideo->video_size = 0; in sisfb_get_dram_size()
1956 ivideo->video_size = ((reg & 0x3F) + 1) << 20; in sisfb_get_dram_size()
1964 ivideo->video_size = 1 << (((reg & 0x70) >> 4) + 21); in sisfb_get_dram_size()
1972 ivideo->video_size = (1 << ((reg & 0xf0) >> 4)) << 20; in sisfb_get_dram_size()
1976 ivideo->video_size <<= 1; in sisfb_get_dram_size()
1979 ivideo->video_size += (ivideo->video_size/2); in sisfb_get_dram_size()
1984 ivideo->video_size = (1 << ((reg & 0xf0) >> 4)) << 20; in sisfb_get_dram_size()
1985 if(reg & 0x0c) ivideo->video_size <<= 1; in sisfb_get_dram_size()
1991 ivideo->video_size = (((reg & 0x3f) + 1) << 2) << 20; in sisfb_get_dram_size()
[all …]
Dsis.h512 unsigned long video_size; member
/linux-6.12.1/drivers/staging/media/av7110/
Dav7110.c489 av7110->video_size.w = irdebi(av7110, DEBINOSWAP, STATUS_MPEG_WIDTH, 0, 2); in gpioirq()
495 av7110->video_size.h = h_ar & 0xfff; in gpioirq()
498 event.u.size.w = av7110->video_size.w; in gpioirq()
499 event.u.size.h = av7110->video_size.h; in gpioirq()
502 av7110->video_size.aspect_ratio = VIDEO_FORMAT_16_9; in gpioirq()
507 av7110->video_size.aspect_ratio = VIDEO_FORMAT_221_1; in gpioirq()
512 av7110->video_size.aspect_ratio = VIDEO_FORMAT_4_3; in gpioirq()
518 av7110->video_size.w, av7110->video_size.h, in gpioirq()
519 av7110->video_size.aspect_ratio); in gpioirq()
Dav7110.h244 video_size_t video_size; member
Dav7110_av.c1228 memcpy(parg, &av7110->video_size, sizeof(video_size_t)); in dvb_video_ioctl()
1642 memset(&av7110->video_size, 0, sizeof(video_size_t)); in av7110_av_register()