Lines Matching refs:dphy
647 #define SET_DPHY_INIT_CTRL0(dev, dphy, offset) \ argument
649 ((dphy) + (offset)))
650 #define CLR_DPHY_INIT_CTRL0(dev, dphy, offset) \ argument
652 ((dphy) + (offset)))
659 #define SET_DPHY_FREQ_CTRL0_3(dev, dphy, val) \ argument
661 + (((dphy) / 4) * 4), (dphy % 4) * 8, 6, val)
667 #define GET_STOPSTATE_DATA(dev, dphy) \ argument
669 ((dphy) / 4) * 4)) >> \
670 (((dphy % 4) * 8) + 4)) & 0x03)
675 #define SET_DPHY_TEST_CTRL0(dev, dphy) \ argument
676 kmb_set_bit_mipi(dev, DPHY_TEST_CTRL0, (dphy))
677 #define CLR_DPHY_TEST_CTRL0(dev, dphy) \ argument
679 (dphy))
681 #define SET_DPHY_TEST_CTRL1_CLK(dev, dphy) \ argument
682 kmb_set_bit_mipi(dev, DPHY_TEST_CTRL1, (dphy))
683 #define CLR_DPHY_TEST_CTRL1_CLK(dev, dphy) \ argument
684 kmb_clr_bit_mipi(dev, DPHY_TEST_CTRL1, (dphy))
685 #define SET_DPHY_TEST_CTRL1_EN(dev, dphy) \ argument
686 kmb_set_bit_mipi(dev, DPHY_TEST_CTRL1, ((dphy) + 12))
687 #define CLR_DPHY_TEST_CTRL1_EN(dev, dphy) \ argument
688 kmb_clr_bit_mipi(dev, DPHY_TEST_CTRL1, ((dphy) + 12))
690 #define SET_TEST_DIN0_3(dev, dphy, val) \ argument
692 4, ((val) << (((dphy) % 4) * 8)))
694 #define GET_TEST_DOUT0_3(dev, dphy) \ argument
696 >> (((dphy) % 4) * 8) & 0xff)
698 #define GET_TEST_DOUT4_7(dev, dphy) \ argument
700 >> (((dphy) % 4) * 8) & 0xff)
705 #define GET_PLL_LOCK(dev, dphy) \ argument
707 & (1 << ((dphy) - MIPI_DPHY6)))