Searched refs:pixel_rep (Results 1 – 3 of 3) sorted by relevance
/drivers/gpu/drm/vc4/ |
D | vc4_crtc.c | 325 u32 pixel_rep = ((mode->flags & DRM_MODE_FLAG_DBLCLK) && !is_hdmi) ? 2 : 1; in vc4_crtc_config_pv() local 347 VC4_SET_FIELD((mode->htotal - mode->hsync_end) * pixel_rep / ppc, in vc4_crtc_config_pv() 349 VC4_SET_FIELD((mode->hsync_end - mode->hsync_start) * pixel_rep / ppc, in vc4_crtc_config_pv() 353 VC4_SET_FIELD((mode->hsync_start - mode->hdisplay) * pixel_rep / ppc, in vc4_crtc_config_pv() 355 VC4_SET_FIELD(mode->hdisplay * pixel_rep / ppc, in vc4_crtc_config_pv() 392 VC4_SET_FIELD(mode->htotal * pixel_rep / (2 * ppc), in vc4_crtc_config_pv() 402 CRTC_WRITE(PV_HACT_ACT, mode->hdisplay * pixel_rep); in vc4_crtc_config_pv() 412 VC4_SET_FIELD(pixel_rep - 1, PV_CONTROL_PIXEL_REP) | in vc4_crtc_config_pv()
|
D | vc4_hdmi.c | 1235 u32 pixel_rep = (mode->flags & DRM_MODE_FLAG_DBLCLK) ? 2 : 1; in vc4_hdmi_set_timings() local 1261 VC4_SET_FIELD(mode->hdisplay * pixel_rep, in vc4_hdmi_set_timings() 1266 mode->hsync_end) * pixel_rep, in vc4_hdmi_set_timings() 1269 mode->hsync_start) * pixel_rep, in vc4_hdmi_set_timings() 1272 mode->hdisplay) * pixel_rep, in vc4_hdmi_set_timings() 1283 reg |= VC4_SET_FIELD(pixel_rep - 1, VC4_HDMI_MISC_CONTROL_PIXEL_REP); in vc4_hdmi_set_timings() 1301 u32 pixel_rep = (mode->flags & DRM_MODE_FLAG_DBLCLK) ? 2 : 1; in vc5_hdmi_set_timings() local 1307 u32 vertb = (VC4_SET_FIELD(mode->htotal >> (2 - pixel_rep), in vc5_hdmi_set_timings() 1330 VC4_SET_FIELD(mode->hdisplay * pixel_rep, in vc5_hdmi_set_timings() 1333 mode->hdisplay) * pixel_rep, in vc5_hdmi_set_timings() [all …]
|
/drivers/video/fbdev/aty/ |
D | mach64_gx.c | 87 u8 pixel_rep; in aty_set_dac_514() member 117 aty_st_514(0x0a, tab[i].pixel_rep, par); /* Pixel Format */ in aty_set_dac_514()
|