Lines Matching refs:regtemp
105 u16 regtemp; in npcm_pspi_set_mode() local
123 regtemp = ioread16(priv->base + NPCM_PSPI_CTL1); in npcm_pspi_set_mode()
124 regtemp &= ~(NPCM_PSPI_CTL1_SCM | NPCM_PSPI_CTL1_SCIDL); in npcm_pspi_set_mode()
125 iowrite16(regtemp | mode_val, priv->base + NPCM_PSPI_CTL1); in npcm_pspi_set_mode()
130 u16 regtemp; in npcm_pspi_set_transfer_size() local
132 regtemp = ioread16(NPCM_PSPI_CTL1 + priv->base); in npcm_pspi_set_transfer_size()
136 regtemp &= ~NPCM_PSPI_CTL1_MOD; in npcm_pspi_set_transfer_size()
139 regtemp |= NPCM_PSPI_CTL1_MOD; in npcm_pspi_set_transfer_size()
143 iowrite16(regtemp, NPCM_PSPI_CTL1 + priv->base); in npcm_pspi_set_transfer_size()
149 u16 regtemp; in npcm_pspi_set_baudrate() local
154 regtemp = ioread16(NPCM_PSPI_CTL1 + priv->base); in npcm_pspi_set_baudrate()
155 regtemp &= ~NPCM_PSPI_CTL1_SCDV6_0; in npcm_pspi_set_baudrate()
156 iowrite16(regtemp | (ckdiv << 9), NPCM_PSPI_CTL1 + priv->base); in npcm_pspi_set_baudrate()