Home
last modified time | relevance | path

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

/linux/drivers/spi/
H A Dspi-mtk-snfi.c346 static inline void nfi_write32(struct mtk_snand *snf, u32 reg, u32 val) in nfi_write32() function
383 nfi_write32(snf, NFI_CON, CON_FIFO_FLUSH | CON_NFI_RST); in mtk_nfi_reset()
425 nfi_write32(snf, SNF_MISC_CTL, in mtk_snand_mac_reset()
436 nfi_write32(snf, SNF_MAC_CTL, SF_MAC_EN); in mtk_snand_mac_trigger()
437 nfi_write32(snf, SNF_MAC_OUTL, outlen); in mtk_snand_mac_trigger()
438 nfi_write32(snf, SNF_MAC_INL, inlen); in mtk_snand_mac_trigger()
440 nfi_write32(snf, SNF_MAC_CTL, SF_MAC_EN | SF_TRIG); in mtk_snand_mac_trigger()
455 nfi_write32(snf, SNF_MAC_CTL, 0); in mtk_snand_mac_trigger()
483 nfi_write32(snf, SNF_GPRAM + reg_offs - 3, val); in mtk_snand_mac_io()
492 nfi_write32(snf, SNF_GPRAM + reg_offs - 3, val); in mtk_snand_mac_io()
[all …]