Home
last modified time | relevance | path

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

/u-boot/drivers/spi/
A Dmtk_snor.c58 #define MTK_NOR_REG_CFG2 0x64 macro
324 val = readl(priv->base + MTK_NOR_REG_CFG2); in mtk_snor_write_buffer_enable()
325 writel(val | MTK_NOR_WR_BUF_EN, priv->base + MTK_NOR_REG_CFG2); in mtk_snor_write_buffer_enable()
326 ret = readl_poll_timeout(priv->base + MTK_NOR_REG_CFG2, val, in mtk_snor_write_buffer_enable()
340 val = readl(priv->base + MTK_NOR_REG_CFG2); in mtk_snor_write_buffer_disable()
341 writel(val & ~MTK_NOR_WR_BUF_EN, priv->base + MTK_NOR_REG_CFG2); in mtk_snor_write_buffer_disable()
342 ret = readl_poll_timeout(priv->base + MTK_NOR_REG_CFG2, val, in mtk_snor_write_buffer_disable()
504 mtk_snor_rmw(priv, MTK_NOR_REG_CFG2, MTK_NOR_WR_CUSTOM_OP_EN, 0); in mtk_snor_probe()

Completed in 3 milliseconds