Lines Matching full:format

26 	const struct shmob_drm_format_info *format;  member
46 bpp = splane->format->yuv ? 8 : splane->format->bpp; in shmob_drm_plane_compute_base()
51 if (splane->format->yuv) { in shmob_drm_plane_compute_base()
52 bpp = splane->format->bpp - 8; in shmob_drm_plane_compute_base()
64 u32 format; in __shmob_drm_plane_setup() local
67 format = LDBBSIFR_EN | (splane->alpha << LDBBSIFR_LAY_SHIFT); in __shmob_drm_plane_setup()
69 switch (splane->format->fourcc) { in __shmob_drm_plane_setup()
74 format |= LDBBSIFR_SWPL | LDBBSIFR_SWPW; in __shmob_drm_plane_setup()
80 format |= LDBBSIFR_SWPL | LDBBSIFR_SWPW | LDBBSIFR_SWPB; in __shmob_drm_plane_setup()
84 format |= LDBBSIFR_SWPL; in __shmob_drm_plane_setup()
88 switch (splane->format->fourcc) { in __shmob_drm_plane_setup()
90 format |= LDBBSIFR_AL_1 | LDBBSIFR_RY | LDBBSIFR_RPKF_RGB16; in __shmob_drm_plane_setup()
93 format |= LDBBSIFR_AL_1 | LDBBSIFR_RY | LDBBSIFR_RPKF_RGB24; in __shmob_drm_plane_setup()
96 format |= LDBBSIFR_AL_PK | LDBBSIFR_RY | LDDFR_PKF_ARGB32; in __shmob_drm_plane_setup()
100 format |= LDBBSIFR_AL_1 | LDBBSIFR_CHRR_420; in __shmob_drm_plane_setup()
104 format |= LDBBSIFR_AL_1 | LDBBSIFR_CHRR_422; in __shmob_drm_plane_setup()
108 format |= LDBBSIFR_AL_1 | LDBBSIFR_CHRR_444; in __shmob_drm_plane_setup()
129 lcdc_write(sdev, LDBnBSIFR(splane->index), format); in __shmob_drm_plane_setup()
143 if (splane->format->yuv) in __shmob_drm_plane_setup()
179 const struct shmob_drm_format_info *format; in shmob_drm_plane_update() local
181 format = shmob_drm_format_info(fb->format->format); in shmob_drm_plane_update()
182 if (format == NULL) { in shmob_drm_plane_update()
183 dev_dbg(sdev->dev, "update_plane: unsupported format %08x\n", in shmob_drm_plane_update()
184 fb->format->format); in shmob_drm_plane_update()
193 splane->format = format; in shmob_drm_plane_update()
212 splane->format = NULL; in shmob_drm_plane_disable()