Home
last modified time | relevance | path

Searched refs:mtk_rmw (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/rtc/
H A Drtc-mt7622.c118 static void mtk_rmw(struct mtk_rtc *rtc, u32 reg, u32 mask, u32 set) in mtk_rmw() function
130 mtk_rmw(rtc, reg, 0, val); in mtk_set()
135 mtk_rmw(rtc, reg, val, 0); in mtk_clr()
148 mtk_rmw(hw, MTK_RTC_DEBNCE, RTC_DEBNCE_MASK, 0); in mtk_rtc_hw_init()
/openbmc/u-boot/drivers/pinctrl/mediatek/
H A Dpinctrl-mtk-common.c69 void mtk_rmw(struct udevice *dev, u32 reg, u32 mask, u32 set) in mtk_rmw() function
150 mtk_rmw(dev, pf->offset, pf->mask << pf->bitpos, in mtk_hw_write_cross_field()
153 mtk_rmw(dev, pf->offset + pf->next, BIT(nbits_h) - 1, in mtk_hw_write_cross_field()
181 mtk_rmw(dev, pf.offset, pf.mask << pf.bitpos, in mtk_hw_set_value()
H A Dpinctrl-mtk-common.h180 void mtk_rmw(struct udevice *dev, u32 reg, u32 mask, u32 set);
H A Dpinctrl-mt7623.c1254 mtk_rmw(dev, PIN_BOND_REG0, BOND_PCIE_CLR, BOND_PCIE_CLR); in mt7623_bonding_disable()
1255 mtk_rmw(dev, PIN_BOND_REG1, BOND_I2S_CLR, BOND_I2S_CLR); in mt7623_bonding_disable()
1256 mtk_rmw(dev, PIN_BOND_REG2, BOND_MSDC0E_CLR, BOND_MSDC0E_CLR); in mt7623_bonding_disable()
/openbmc/linux/drivers/pinctrl/mediatek/
H A Dpinctrl-mtk-common-v2.c57 void mtk_rmw(struct mtk_pinctrl *pctl, u8 i, u32 reg, u32 mask, u32 set) in mtk_rmw() function
170 mtk_rmw(hw, pf->index, pf->offset, pf->mask << pf->bitpos, in mtk_hw_write_cross_field()
173 mtk_rmw(hw, pf->index, pf->offset + pf->next, BIT(nbits_h) - 1, in mtk_hw_write_cross_field()
206 mtk_rmw(hw, pf.index, pf.offset, pf.mask << pf.bitpos, in mtk_hw_set_value()
H A Dpinctrl-mt7623.c1407 mtk_rmw(hw, 0, PIN_BOND_REG0, BOND_PCIE_CLR, BOND_PCIE_CLR); in mt7623_bonding_disable()
1408 mtk_rmw(hw, 0, PIN_BOND_REG1, BOND_I2S_CLR, BOND_I2S_CLR); in mt7623_bonding_disable()
1409 mtk_rmw(hw, 0, PIN_BOND_REG2, BOND_MSDC0E_CLR, BOND_MSDC0E_CLR); in mt7623_bonding_disable()
H A Dpinctrl-mtk-common-v2.h305 void mtk_rmw(struct mtk_pinctrl *pctl, u8 i, u32 reg, u32 mask, u32 set);