Lines Matching refs:value

321 	int value;  in inno_hdmi_config_video_csc()  local
329 value = v_VIDEO_INPUT_BITS(VIDEO_INPUT_8BITS) | in inno_hdmi_config_video_csc()
332 hdmi_writeb(hdmi, HDMI_VIDEO_CONTRL2, value); in inno_hdmi_config_video_csc()
337 value = v_SOF_DISABLE | v_COLOR_DEPTH_NOT_INDICATED(1); in inno_hdmi_config_video_csc()
338 hdmi_writeb(hdmi, HDMI_VIDEO_CONTRL3, value); in inno_hdmi_config_video_csc()
382 value = v_SOF_DISABLE | csc_enable | v_COLOR_DEPTH_NOT_INDICATED(1); in inno_hdmi_config_video_csc()
383 hdmi_writeb(hdmi, HDMI_VIDEO_CONTRL3, value); in inno_hdmi_config_video_csc()
394 int value; in inno_hdmi_config_video_timing() local
397 value = v_EXTERANL_VIDEO(1); in inno_hdmi_config_video_timing()
398 value |= mode->flags & DRM_MODE_FLAG_PHSYNC ? in inno_hdmi_config_video_timing()
400 value |= mode->flags & DRM_MODE_FLAG_PVSYNC ? in inno_hdmi_config_video_timing()
402 value |= mode->flags & DRM_MODE_FLAG_INTERLACE ? in inno_hdmi_config_video_timing()
404 hdmi_writeb(hdmi, HDMI_VIDEO_TIMING_CTL, value); in inno_hdmi_config_video_timing()
407 value = mode->htotal; in inno_hdmi_config_video_timing()
408 hdmi_writeb(hdmi, HDMI_VIDEO_EXT_HTOTAL_L, value & 0xFF); in inno_hdmi_config_video_timing()
409 hdmi_writeb(hdmi, HDMI_VIDEO_EXT_HTOTAL_H, (value >> 8) & 0xFF); in inno_hdmi_config_video_timing()
411 value = mode->htotal - mode->hdisplay; in inno_hdmi_config_video_timing()
412 hdmi_writeb(hdmi, HDMI_VIDEO_EXT_HBLANK_L, value & 0xFF); in inno_hdmi_config_video_timing()
413 hdmi_writeb(hdmi, HDMI_VIDEO_EXT_HBLANK_H, (value >> 8) & 0xFF); in inno_hdmi_config_video_timing()
415 value = mode->htotal - mode->hsync_start; in inno_hdmi_config_video_timing()
416 hdmi_writeb(hdmi, HDMI_VIDEO_EXT_HDELAY_L, value & 0xFF); in inno_hdmi_config_video_timing()
417 hdmi_writeb(hdmi, HDMI_VIDEO_EXT_HDELAY_H, (value >> 8) & 0xFF); in inno_hdmi_config_video_timing()
419 value = mode->hsync_end - mode->hsync_start; in inno_hdmi_config_video_timing()
420 hdmi_writeb(hdmi, HDMI_VIDEO_EXT_HDURATION_L, value & 0xFF); in inno_hdmi_config_video_timing()
421 hdmi_writeb(hdmi, HDMI_VIDEO_EXT_HDURATION_H, (value >> 8) & 0xFF); in inno_hdmi_config_video_timing()
423 value = mode->vtotal; in inno_hdmi_config_video_timing()
424 hdmi_writeb(hdmi, HDMI_VIDEO_EXT_VTOTAL_L, value & 0xFF); in inno_hdmi_config_video_timing()
425 hdmi_writeb(hdmi, HDMI_VIDEO_EXT_VTOTAL_H, (value >> 8) & 0xFF); in inno_hdmi_config_video_timing()
427 value = mode->vtotal - mode->vdisplay; in inno_hdmi_config_video_timing()
428 hdmi_writeb(hdmi, HDMI_VIDEO_EXT_VBLANK, value & 0xFF); in inno_hdmi_config_video_timing()
430 value = mode->vtotal - mode->vsync_start; in inno_hdmi_config_video_timing()
431 hdmi_writeb(hdmi, HDMI_VIDEO_EXT_VDELAY, value & 0xFF); in inno_hdmi_config_video_timing()
433 value = mode->vsync_end - mode->vsync_start; in inno_hdmi_config_video_timing()
434 hdmi_writeb(hdmi, HDMI_VIDEO_EXT_VDURATION, value & 0xFF); in inno_hdmi_config_video_timing()