Lines Matching refs:ps
1807 static s32 pixinc(int pixels, u8 ps) in pixinc() argument
1812 return 1 + (pixels - 1) * ps; in pixinc()
1814 return 1 - (-pixels + 1) * ps; in pixinc()
1828 u8 ps; in calc_vrfb_rotation_offset() local
1840 ps = 4; in calc_vrfb_rotation_offset()
1843 ps = color_mode_to_bpp(color_mode) / 8; in calc_vrfb_rotation_offset()
1868 *offset0 = field_offset * screen_width * ps; in calc_vrfb_rotation_offset()
1874 (fieldmode ? screen_width : 0), ps); in calc_vrfb_rotation_offset()
1875 *pix_inc = pixinc(x_predecim, ps); in calc_vrfb_rotation_offset()
1890 *offset0 = field_offset * screen_width * ps; in calc_vrfb_rotation_offset()
1895 (fieldmode ? screen_width : 0), ps); in calc_vrfb_rotation_offset()
1896 *pix_inc = pixinc(x_predecim, ps); in calc_vrfb_rotation_offset()
1913 u8 ps; in calc_dma_rotation_offset() local
1925 ps = color_mode_to_bpp(color_mode) / 8; in calc_dma_rotation_offset()
1950 *offset0 = *offset1 + field_offset * screen_width * ps; in calc_dma_rotation_offset()
1955 (fieldmode ? screen_width : 0), ps); in calc_dma_rotation_offset()
1958 *pix_inc = pixinc(x_predecim, 2 * ps); in calc_dma_rotation_offset()
1960 *pix_inc = pixinc(x_predecim, ps); in calc_dma_rotation_offset()
1963 *offset1 = screen_width * (fbh - 1) * ps; in calc_dma_rotation_offset()
1965 *offset0 = *offset1 + field_offset * ps; in calc_dma_rotation_offset()
1969 y_predecim + (fieldmode ? 1 : 0), ps); in calc_dma_rotation_offset()
1970 *pix_inc = pixinc(-x_predecim * screen_width, ps); in calc_dma_rotation_offset()
1973 *offset1 = (screen_width * (fbh - 1) + fbw - 1) * ps; in calc_dma_rotation_offset()
1975 *offset0 = *offset1 - field_offset * screen_width * ps; in calc_dma_rotation_offset()
1980 (fieldmode ? screen_width : 0), ps); in calc_dma_rotation_offset()
1983 *pix_inc = pixinc(-x_predecim, 2 * ps); in calc_dma_rotation_offset()
1985 *pix_inc = pixinc(-x_predecim, ps); in calc_dma_rotation_offset()
1988 *offset1 = (fbw - 1) * ps; in calc_dma_rotation_offset()
1990 *offset0 = *offset1 - field_offset * ps; in calc_dma_rotation_offset()
1994 y_predecim - (fieldmode ? 1 : 0), ps); in calc_dma_rotation_offset()
1995 *pix_inc = pixinc(x_predecim * screen_width, ps); in calc_dma_rotation_offset()
2000 *offset1 = (fbw - 1) * ps; in calc_dma_rotation_offset()
2002 *offset0 = *offset1 + field_offset * screen_width * ps; in calc_dma_rotation_offset()
2007 ps); in calc_dma_rotation_offset()
2010 *pix_inc = pixinc(-x_predecim, 2 * ps); in calc_dma_rotation_offset()
2012 *pix_inc = pixinc(-x_predecim, ps); in calc_dma_rotation_offset()
2018 *offset0 = *offset1 + field_offset * ps; in calc_dma_rotation_offset()
2023 ps); in calc_dma_rotation_offset()
2024 *pix_inc = pixinc(x_predecim * screen_width, ps); in calc_dma_rotation_offset()
2028 *offset1 = screen_width * (fbh - 1) * ps; in calc_dma_rotation_offset()
2030 *offset0 = *offset1 - field_offset * screen_width * ps; in calc_dma_rotation_offset()
2035 ps); in calc_dma_rotation_offset()
2038 *pix_inc = pixinc(x_predecim, 2 * ps); in calc_dma_rotation_offset()
2040 *pix_inc = pixinc(x_predecim, ps); in calc_dma_rotation_offset()
2044 *offset1 = (screen_width * (fbh - 1) + fbw - 1) * ps; in calc_dma_rotation_offset()
2046 *offset0 = *offset1 - field_offset * ps; in calc_dma_rotation_offset()
2051 ps); in calc_dma_rotation_offset()
2052 *pix_inc = pixinc(-x_predecim * screen_width, ps); in calc_dma_rotation_offset()
2066 u8 ps; in calc_tiler_rotation_offset() local
2076 ps = color_mode_to_bpp(color_mode) / 8; in calc_tiler_rotation_offset()
2088 *offset0 = *offset1 + field_offset * screen_width * ps; in calc_tiler_rotation_offset()
2092 (fieldmode ? screen_width : 0), ps); in calc_tiler_rotation_offset()
2095 *pix_inc = pixinc(x_predecim, 2 * ps); in calc_tiler_rotation_offset()
2097 *pix_inc = pixinc(x_predecim, ps); in calc_tiler_rotation_offset()