Searched refs:mtk_w32 (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/rtc/ |
H A D | rtc-mt7622.c | 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() 209 mtk_w32(hw, MTK_RTC_AL_CTL, 0); in mtk_rtc_alarmirq() 213 mtk_w32(hw, MTK_RTC_INT, RTC_INT_AL_STA); in mtk_rtc_alarmirq() [all …]
|
/openbmc/linux/drivers/net/ethernet/mediatek/ |
H A D | mtk_eth_soc.c | 299 mtk_w32(eth, val, reg); in mtk_m32() 328 mtk_w32(eth, PHY_IAC_ACCESS | in _mtk_mdio_write_c22() 352 mtk_w32(eth, PHY_IAC_ACCESS | in _mtk_mdio_write_c45() 364 mtk_w32(eth, PHY_IAC_ACCESS | in _mtk_mdio_write_c45() 590 mtk_w32(mac->hw, in mtk_mac_config() 2521 mtk_w32(eth, in mtk_tx_alloc() 2712 mtk_w32(eth, ring->phys, in mtk_rx_alloc() 2714 mtk_w32(eth, rx_dma_size, in mtk_rx_alloc() 2719 mtk_w32(eth, ring->phys, in mtk_rx_alloc() 2721 mtk_w32(eth, rx_dma_size, in mtk_rx_alloc() [all …]
|
H A D | mtk_eth_soc.h | 1427 void mtk_w32(struct mtk_eth *eth, u32 val, unsigned reg);
|
/openbmc/linux/drivers/media/rc/ |
H A D | mtk-cir.c | 179 static void mtk_w32(struct mtk_ir *ir, u32 val, unsigned int reg) in mtk_w32() function 194 mtk_w32(ir, val & ~mask, ir->data->regs[MTK_IRINT_EN_REG]); in mtk_irq_disable() 202 mtk_w32(ir, val | mask, ir->data->regs[MTK_IRINT_EN_REG]); in mtk_irq_enable() 407 mtk_w32(ir, val, MTK_CONFIG_HIGH_REG); in mtk_ir_probe()
|
/openbmc/u-boot/drivers/pinctrl/mediatek/ |
H A D | pinctrl-mtk-common.c | 45 static void mtk_w32(struct udevice *dev, u32 reg, u32 val) in mtk_w32() function 76 mtk_w32(dev, reg, val); in mtk_rmw()
|
/openbmc/linux/drivers/pinctrl/mediatek/ |
H A 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()
|