Lines Matching full:flip
43 u32 flip = FIMC_REG_MSCTRL_FLIP_NORMAL; in fimc_hw_get_in_flip() local
46 flip = FIMC_REG_MSCTRL_FLIP_Y_MIRROR; in fimc_hw_get_in_flip()
48 flip = FIMC_REG_MSCTRL_FLIP_X_MIRROR; in fimc_hw_get_in_flip()
51 return flip; in fimc_hw_get_in_flip()
53 return (flip ^ FIMC_REG_MSCTRL_FLIP_180) & FIMC_REG_MSCTRL_FLIP_180; in fimc_hw_get_in_flip()
58 u32 flip = FIMC_REG_CITRGFMT_FLIP_NORMAL; in fimc_hw_get_target_flip() local
61 flip |= FIMC_REG_CITRGFMT_FLIP_Y_MIRROR; in fimc_hw_get_target_flip()
63 flip |= FIMC_REG_CITRGFMT_FLIP_X_MIRROR; in fimc_hw_get_target_flip()
66 return flip; in fimc_hw_get_target_flip()
68 return (flip ^ FIMC_REG_CITRGFMT_FLIP_180) & FIMC_REG_CITRGFMT_FLIP_180; in fimc_hw_get_target_flip()
73 u32 cfg, flip; in fimc_hw_set_rotation() local
97 flip = readl(dev->regs + FIMC_REG_MSCTRL); in fimc_hw_set_rotation()
98 flip &= ~FIMC_REG_MSCTRL_FLIP_MASK; in fimc_hw_set_rotation()
99 flip |= fimc_hw_get_in_flip(ctx); in fimc_hw_set_rotation()
100 writel(flip, dev->regs + FIMC_REG_MSCTRL); in fimc_hw_set_rotation()