Home
last modified time | relevance | path

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

/openbmc/linux/drivers/spi/
H A Dspi-npcm-pspi.c40 #define NPCM_PSPI_CTL1 0x02 macro
70 val = ioread16(priv->base + NPCM_PSPI_CTL1); in npcm_pspi_irq_enable()
72 iowrite16(val, priv->base + NPCM_PSPI_CTL1); in npcm_pspi_irq_enable()
79 val = ioread16(priv->base + NPCM_PSPI_CTL1); in npcm_pspi_irq_disable()
81 iowrite16(val, priv->base + NPCM_PSPI_CTL1); in npcm_pspi_irq_disable()
88 val = ioread16(priv->base + NPCM_PSPI_CTL1); in npcm_pspi_enable()
90 iowrite16(val, priv->base + NPCM_PSPI_CTL1); in npcm_pspi_enable()
97 val = ioread16(priv->base + NPCM_PSPI_CTL1); in npcm_pspi_disable()
99 iowrite16(val, priv->base + NPCM_PSPI_CTL1); in npcm_pspi_disable()
123 regtemp = ioread16(priv->base + NPCM_PSPI_CTL1); in npcm_pspi_set_mode()
[all …]