Lines Matching refs:flip
46 u32 flip = FIMC_REG_MSCTRL_FLIP_NORMAL; in fimc_hw_get_in_flip() local
49 flip = FIMC_REG_MSCTRL_FLIP_Y_MIRROR; in fimc_hw_get_in_flip()
51 flip = FIMC_REG_MSCTRL_FLIP_X_MIRROR; in fimc_hw_get_in_flip()
54 return flip; in fimc_hw_get_in_flip()
56 return (flip ^ FIMC_REG_MSCTRL_FLIP_180) & FIMC_REG_MSCTRL_FLIP_180; in fimc_hw_get_in_flip()
61 u32 flip = FIMC_REG_CITRGFMT_FLIP_NORMAL; in fimc_hw_get_target_flip() local
64 flip |= FIMC_REG_CITRGFMT_FLIP_Y_MIRROR; in fimc_hw_get_target_flip()
66 flip |= FIMC_REG_CITRGFMT_FLIP_X_MIRROR; in fimc_hw_get_target_flip()
69 return flip; in fimc_hw_get_target_flip()
71 return (flip ^ FIMC_REG_CITRGFMT_FLIP_180) & FIMC_REG_CITRGFMT_FLIP_180; in fimc_hw_get_target_flip()
76 u32 cfg, flip; in fimc_hw_set_rotation() local
100 flip = readl(dev->regs + FIMC_REG_MSCTRL); in fimc_hw_set_rotation()
101 flip &= ~FIMC_REG_MSCTRL_FLIP_MASK; in fimc_hw_set_rotation()
102 flip |= fimc_hw_get_in_flip(ctx); in fimc_hw_set_rotation()
103 writel(flip, dev->regs + FIMC_REG_MSCTRL); in fimc_hw_set_rotation()