Searched refs:SNF_MAC_CTL (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/spi/ |
H A D | spi-mtk-snfi.c | 166 #define SNF_MAC_CTL 0x500 macro 436 nfi_write32(snf, SNF_MAC_CTL, SF_MAC_EN); in mtk_snand_mac_trigger() 440 nfi_write32(snf, SNF_MAC_CTL, SF_MAC_EN | SF_TRIG); in mtk_snand_mac_trigger() 442 ret = readl_poll_timeout(snf->nfi_base + SNF_MAC_CTL, val, in mtk_snand_mac_trigger() 449 ret = readl_poll_timeout(snf->nfi_base + SNF_MAC_CTL, val, !(val & WIP), in mtk_snand_mac_trigger() 455 nfi_write32(snf, SNF_MAC_CTL, 0); in mtk_snand_mac_trigger()
|