Searched refs:spifi (Results 1 – 2 of 2) sorted by relevance
68 static int nxp_spifi_wait_for_cmd(struct nxp_spifi *spifi) in nxp_spifi_wait_for_cmd() argument73 ret = readb_poll_timeout(spifi->io_base + SPIFI_STAT, stat, in nxp_spifi_wait_for_cmd()76 dev_warn(spifi->dev, "command timed out\n"); in nxp_spifi_wait_for_cmd()81 static int nxp_spifi_reset(struct nxp_spifi *spifi) in nxp_spifi_reset() argument86 writel(SPIFI_STAT_RESET, spifi->io_base + SPIFI_STAT); in nxp_spifi_reset()87 ret = readb_poll_timeout(spifi->io_base + SPIFI_STAT, stat, in nxp_spifi_reset()90 dev_warn(spifi->dev, "state reset timed out\n"); in nxp_spifi_reset()95 static int nxp_spifi_set_memory_mode_off(struct nxp_spifi *spifi) in nxp_spifi_set_memory_mode_off() argument99 if (!spifi->memory_mode) in nxp_spifi_set_memory_mode_off()102 ret = nxp_spifi_reset(spifi); in nxp_spifi_set_memory_mode_off()[all …]
3 obj-$(CONFIG_SPI_NXP_SPIFI) += nxp-spifi.o