Searched refs:mtk_rmw (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/rtc/ |
D | rtc-mt7622.c | 127 static void mtk_rmw(struct mtk_rtc *rtc, u32 reg, u32 mask, u32 set) in mtk_rmw() function 139 mtk_rmw(rtc, reg, 0, val); in mtk_set() 144 mtk_rmw(rtc, reg, val, 0); in mtk_clr() 157 mtk_rmw(hw, MTK_RTC_DEBNCE, RTC_DEBNCE_MASK, 0); in mtk_rtc_hw_init()
|
/Linux-v4.19/drivers/pinctrl/mediatek/ |
D | pinctrl-mt7622.c | 949 static void mtk_rmw(struct mtk_pinctrl *pctl, u32 reg, u32 mask, u32 set) in mtk_rmw() function 1030 mtk_rmw(hw, pf->offset, pf->mask << pf->bitpos, in mtk_hw_write_cross_field() 1033 mtk_rmw(hw, pf->offset + pf->next, BIT(nbits_h) - 1, in mtk_hw_write_cross_field() 1061 mtk_rmw(hw, pf.offset, pf.mask << pf.bitpos, in mtk_hw_set_value()
|