Lines Matching refs:ps
1794 static s32 pixinc(int pixels, u8 ps) in pixinc() argument
1799 return 1 + (pixels - 1) * ps; in pixinc()
1801 return 1 - (-pixels + 1) * ps; in pixinc()
1815 u8 ps; in calc_vrfb_rotation_offset() local
1827 ps = 4; in calc_vrfb_rotation_offset()
1830 ps = color_mode_to_bpp(color_mode) / 8; in calc_vrfb_rotation_offset()
1855 *offset0 = field_offset * screen_width * ps; in calc_vrfb_rotation_offset()
1861 (fieldmode ? screen_width : 0), ps); in calc_vrfb_rotation_offset()
1862 *pix_inc = pixinc(x_predecim, ps); in calc_vrfb_rotation_offset()
1877 *offset0 = field_offset * screen_width * ps; in calc_vrfb_rotation_offset()
1882 (fieldmode ? screen_width : 0), ps); in calc_vrfb_rotation_offset()
1883 *pix_inc = pixinc(x_predecim, ps); in calc_vrfb_rotation_offset()
1900 u8 ps; in calc_dma_rotation_offset() local
1912 ps = color_mode_to_bpp(color_mode) / 8; in calc_dma_rotation_offset()
1937 *offset0 = *offset1 + field_offset * screen_width * ps; in calc_dma_rotation_offset()
1942 (fieldmode ? screen_width : 0), ps); in calc_dma_rotation_offset()
1945 *pix_inc = pixinc(x_predecim, 2 * ps); in calc_dma_rotation_offset()
1947 *pix_inc = pixinc(x_predecim, ps); in calc_dma_rotation_offset()
1950 *offset1 = screen_width * (fbh - 1) * ps; in calc_dma_rotation_offset()
1952 *offset0 = *offset1 + field_offset * ps; in calc_dma_rotation_offset()
1956 y_predecim + (fieldmode ? 1 : 0), ps); in calc_dma_rotation_offset()
1957 *pix_inc = pixinc(-x_predecim * screen_width, ps); in calc_dma_rotation_offset()
1960 *offset1 = (screen_width * (fbh - 1) + fbw - 1) * ps; in calc_dma_rotation_offset()
1962 *offset0 = *offset1 - field_offset * screen_width * ps; in calc_dma_rotation_offset()
1967 (fieldmode ? screen_width : 0), ps); in calc_dma_rotation_offset()
1970 *pix_inc = pixinc(-x_predecim, 2 * ps); in calc_dma_rotation_offset()
1972 *pix_inc = pixinc(-x_predecim, ps); in calc_dma_rotation_offset()
1975 *offset1 = (fbw - 1) * ps; in calc_dma_rotation_offset()
1977 *offset0 = *offset1 - field_offset * ps; in calc_dma_rotation_offset()
1981 y_predecim - (fieldmode ? 1 : 0), ps); in calc_dma_rotation_offset()
1982 *pix_inc = pixinc(x_predecim * screen_width, ps); in calc_dma_rotation_offset()
1987 *offset1 = (fbw - 1) * ps; in calc_dma_rotation_offset()
1989 *offset0 = *offset1 + field_offset * screen_width * ps; in calc_dma_rotation_offset()
1994 ps); in calc_dma_rotation_offset()
1997 *pix_inc = pixinc(-x_predecim, 2 * ps); in calc_dma_rotation_offset()
1999 *pix_inc = pixinc(-x_predecim, ps); in calc_dma_rotation_offset()
2005 *offset0 = *offset1 + field_offset * ps; in calc_dma_rotation_offset()
2010 ps); in calc_dma_rotation_offset()
2011 *pix_inc = pixinc(x_predecim * screen_width, ps); in calc_dma_rotation_offset()
2015 *offset1 = screen_width * (fbh - 1) * ps; in calc_dma_rotation_offset()
2017 *offset0 = *offset1 - field_offset * screen_width * ps; in calc_dma_rotation_offset()
2022 ps); in calc_dma_rotation_offset()
2025 *pix_inc = pixinc(x_predecim, 2 * ps); in calc_dma_rotation_offset()
2027 *pix_inc = pixinc(x_predecim, ps); in calc_dma_rotation_offset()
2031 *offset1 = (screen_width * (fbh - 1) + fbw - 1) * ps; in calc_dma_rotation_offset()
2033 *offset0 = *offset1 - field_offset * ps; in calc_dma_rotation_offset()
2038 ps); in calc_dma_rotation_offset()
2039 *pix_inc = pixinc(-x_predecim * screen_width, ps); in calc_dma_rotation_offset()
2053 u8 ps; in calc_tiler_rotation_offset() local
2063 ps = color_mode_to_bpp(color_mode) / 8; in calc_tiler_rotation_offset()
2075 *offset0 = *offset1 + field_offset * screen_width * ps; in calc_tiler_rotation_offset()
2079 (fieldmode ? screen_width : 0), ps); in calc_tiler_rotation_offset()
2082 *pix_inc = pixinc(x_predecim, 2 * ps); in calc_tiler_rotation_offset()
2084 *pix_inc = pixinc(x_predecim, ps); in calc_tiler_rotation_offset()