Lines Matching refs:vsw
788 void nx_dpc_set_vsync(u32 module_index, u32 avheight, u32 vsw, u32 vfp, u32 vbp, in nx_dpc_set_vsync() argument
799 writel((u32)(vsw + vbp + avheight + vfp - 1), &pregister->dpcvtotal); in nx_dpc_set_vsync()
801 writel((u32)(vsw - 1), &pregister->dpcvswidth); in nx_dpc_set_vsync()
803 writel((u32)(vsw + vbp - 1), &pregister->dpcvastart); in nx_dpc_set_vsync()
805 writel((u32)(vsw + vbp + avheight - 1), &pregister->dpcvaend); in nx_dpc_set_vsync()
830 u32 vtotal, vsw, vab, vae; in nx_dpc_get_vsync() local
836 vsw = (u32)pregister->dpcvswidth + 1; in nx_dpc_get_vsync()
839 vbp = vab - vsw; in nx_dpc_get_vsync()
845 *pvsw = vsw; in nx_dpc_get_vsync()
851 vsw = (u32)pregister->dpcevswidth + 1; in nx_dpc_get_vsync()
854 vbp = vab - vsw; in nx_dpc_get_vsync()
860 *pevsw = vsw; in nx_dpc_get_vsync()
955 u32 vsw, u32 vfp, u32 vbp, enum polarity field_polarity, in nx_dpc_set_sync() argument
969 writel((u32)(vfp + vsw + vbp + avheight - 1), &pregister->dpcvtotal); in nx_dpc_set_sync()
970 writel((u32)(vsw - 1), &pregister->dpcvswidth); in nx_dpc_set_sync()
971 writel((u32)(vsw + vbp - 1), &pregister->dpcvastart); in nx_dpc_set_sync()
972 writel((u32)(vsw + vbp + avheight - 1), &pregister->dpcvaend); in nx_dpc_set_sync()