Searched refs:mipi_tx (Results 1 – 1 of 1) sorted by relevance
140 static void mtk_mipi_tx_clear_bits(struct mtk_mipi_tx *mipi_tx, u32 offset, in mtk_mipi_tx_clear_bits() argument143 u32 temp = readl(mipi_tx->regs + offset); in mtk_mipi_tx_clear_bits()145 writel(temp & ~bits, mipi_tx->regs + offset); in mtk_mipi_tx_clear_bits()148 static void mtk_mipi_tx_set_bits(struct mtk_mipi_tx *mipi_tx, u32 offset, in mtk_mipi_tx_set_bits() argument151 u32 temp = readl(mipi_tx->regs + offset); in mtk_mipi_tx_set_bits()153 writel(temp | bits, mipi_tx->regs + offset); in mtk_mipi_tx_set_bits()156 static void mtk_mipi_tx_update_bits(struct mtk_mipi_tx *mipi_tx, u32 offset, in mtk_mipi_tx_update_bits() argument159 u32 temp = readl(mipi_tx->regs + offset); in mtk_mipi_tx_update_bits()161 writel((temp & ~mask) | (data & mask), mipi_tx->regs + offset); in mtk_mipi_tx_update_bits()166 struct mtk_mipi_tx *mipi_tx = mtk_mipi_tx_from_clk_hw(hw); in mtk_mipi_tx_pll_prepare() local[all …]