Lines Matching refs:confr

357 	uint32_t confr, div = 0;  in _omap3_spi_set_speed()  local
359 confr = readl(&priv->regs->channel[priv->cs].chconf); in _omap3_spi_set_speed()
371 confr &= ~OMAP3_MCSPI_CHCONF_CLKD_MASK; in _omap3_spi_set_speed()
372 confr |= div << 2; in _omap3_spi_set_speed()
374 omap3_spi_write_chconf(priv, confr); in _omap3_spi_set_speed()
379 uint32_t confr; in _omap3_spi_set_mode() local
381 confr = readl(&priv->regs->channel[priv->cs].chconf); in _omap3_spi_set_mode()
387 confr &= ~(OMAP3_MCSPI_CHCONF_IS|OMAP3_MCSPI_CHCONF_DPE1); in _omap3_spi_set_mode()
388 confr |= OMAP3_MCSPI_CHCONF_DPE0; in _omap3_spi_set_mode()
390 confr &= ~OMAP3_MCSPI_CHCONF_DPE0; in _omap3_spi_set_mode()
391 confr |= OMAP3_MCSPI_CHCONF_IS|OMAP3_MCSPI_CHCONF_DPE1; in _omap3_spi_set_mode()
395 confr &= ~(OMAP3_MCSPI_CHCONF_POL | OMAP3_MCSPI_CHCONF_PHA); in _omap3_spi_set_mode()
397 confr |= OMAP3_MCSPI_CHCONF_PHA; in _omap3_spi_set_mode()
399 confr |= OMAP3_MCSPI_CHCONF_POL; in _omap3_spi_set_mode()
403 confr |= OMAP3_MCSPI_CHCONF_EPOL; /* active-low; normal */ in _omap3_spi_set_mode()
405 confr &= ~OMAP3_MCSPI_CHCONF_EPOL; in _omap3_spi_set_mode()
408 confr &= ~OMAP3_MCSPI_CHCONF_TRM_MASK; in _omap3_spi_set_mode()
410 omap3_spi_write_chconf(priv, confr); in _omap3_spi_set_mode()
415 unsigned int confr; in _omap3_spi_set_wordlen() local
418 confr = readl(&priv->regs->channel[priv->wordlen].chconf); in _omap3_spi_set_wordlen()
421 confr &= ~OMAP3_MCSPI_CHCONF_WL_MASK; in _omap3_spi_set_wordlen()
422 confr |= (priv->wordlen - 1) << 7; in _omap3_spi_set_wordlen()
424 omap3_spi_write_chconf(priv, confr); in _omap3_spi_set_wordlen()