Searched refs:mtk_w32 (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/drivers/rtc/ |
D | rtc-mt7622.c | 108 static void mtk_w32(struct mtk_rtc *rtc, u32 reg, u32 val) in mtk_w32() function 125 mtk_w32(rtc, reg, val); in mtk_rmw() 141 mtk_w32(hw, MTK_RTC_PWRCHK1, RTC_PWRCHK1_MAGIC); in mtk_rtc_hw_init() 142 mtk_w32(hw, MTK_RTC_PWRCHK2, RTC_PWRCHK2_MAGIC); in mtk_rtc_hw_init() 143 mtk_w32(hw, MTK_RTC_KEY, RTC_KEY_MAGIC); in mtk_rtc_hw_init() 144 mtk_w32(hw, MTK_RTC_PROT1, RTC_PROT1_MAGIC); in mtk_rtc_hw_init() 145 mtk_w32(hw, MTK_RTC_PROT2, RTC_PROT2_MAGIC); in mtk_rtc_hw_init() 146 mtk_w32(hw, MTK_RTC_PROT3, RTC_PROT3_MAGIC); in mtk_rtc_hw_init() 147 mtk_w32(hw, MTK_RTC_PROT4, RTC_PROT4_MAGIC); in mtk_rtc_hw_init() 192 mtk_w32(hw, MTK_RTC_TREG(time_alarm, MTK_YEA), year); in mtk_rtc_set_alarm_or_time() [all …]
|
/linux-6.12.1/drivers/net/ethernet/mediatek/ |
D | mtk_eth_soc.c | 292 void mtk_w32(struct mtk_eth *eth, u32 val, unsigned reg) in mtk_w32() function 309 mtk_w32(eth, val, reg); in mtk_m32() 338 mtk_w32(eth, PHY_IAC_ACCESS | in _mtk_mdio_write_c22() 362 mtk_w32(eth, PHY_IAC_ACCESS | in _mtk_mdio_write_c45() 374 mtk_w32(eth, PHY_IAC_ACCESS | in _mtk_mdio_write_c45() 397 mtk_w32(eth, PHY_IAC_ACCESS | in _mtk_mdio_read_c22() 420 mtk_w32(eth, PHY_IAC_ACCESS | in _mtk_mdio_read_c45() 432 mtk_w32(eth, PHY_IAC_ACCESS | in _mtk_mdio_read_c45() 497 mtk_w32(eth, TRGMII_MODE, INTF_MODE); in mtk_gmac0_rgmii_adjust() 600 mtk_w32(mac->hw, in mtk_mac_config() [all …]
|
D | mtk_eth_soc.h | 1423 void mtk_w32(struct mtk_eth *eth, u32 val, unsigned reg);
|
/linux-6.12.1/drivers/media/rc/ |
D | mtk-cir.c | 180 static void mtk_w32(struct mtk_ir *ir, u32 val, unsigned int reg) in mtk_w32() function 195 mtk_w32(ir, val & ~mask, ir->data->regs[MTK_IRINT_EN_REG]); in mtk_irq_disable() 203 mtk_w32(ir, val | mask, ir->data->regs[MTK_IRINT_EN_REG]); in mtk_irq_enable() 408 mtk_w32(ir, val, MTK_CONFIG_HIGH_REG); in mtk_ir_probe()
|
/linux-6.12.1/drivers/pinctrl/mediatek/ |
D | pinctrl-mtk-common-v2.c | 47 static void mtk_w32(struct mtk_pinctrl *pctl, u8 i, u32 reg, u32 val) in mtk_w32() function 67 mtk_w32(pctl, i, reg, val); in mtk_rmw()
|