Lines Matching refs:vm
108 struct videomode vm; in hdlcd_crtc_mode_set_nofb() local
111 vm.vfront_porch = m->crtc_vsync_start - m->crtc_vdisplay; in hdlcd_crtc_mode_set_nofb()
112 vm.vback_porch = m->crtc_vtotal - m->crtc_vsync_end; in hdlcd_crtc_mode_set_nofb()
113 vm.vsync_len = m->crtc_vsync_end - m->crtc_vsync_start; in hdlcd_crtc_mode_set_nofb()
114 vm.hfront_porch = m->crtc_hsync_start - m->crtc_hdisplay; in hdlcd_crtc_mode_set_nofb()
115 vm.hback_porch = m->crtc_htotal - m->crtc_hsync_end; in hdlcd_crtc_mode_set_nofb()
116 vm.hsync_len = m->crtc_hsync_end - m->crtc_hsync_start; in hdlcd_crtc_mode_set_nofb()
130 hdlcd_write(hdlcd, HDLCD_REG_V_BACK_PORCH, vm.vback_porch - 1); in hdlcd_crtc_mode_set_nofb()
131 hdlcd_write(hdlcd, HDLCD_REG_V_FRONT_PORCH, vm.vfront_porch - 1); in hdlcd_crtc_mode_set_nofb()
132 hdlcd_write(hdlcd, HDLCD_REG_V_SYNC, vm.vsync_len - 1); in hdlcd_crtc_mode_set_nofb()
134 hdlcd_write(hdlcd, HDLCD_REG_H_BACK_PORCH, vm.hback_porch - 1); in hdlcd_crtc_mode_set_nofb()
135 hdlcd_write(hdlcd, HDLCD_REG_H_FRONT_PORCH, vm.hfront_porch - 1); in hdlcd_crtc_mode_set_nofb()
136 hdlcd_write(hdlcd, HDLCD_REG_H_SYNC, vm.hsync_len - 1); in hdlcd_crtc_mode_set_nofb()