Lines Matching refs:wordlen
39 unsigned int wordlen; member
71 chconf |= (priv->wordlen - 1) << 7; in omap3_spi_write()
89 if (priv->wordlen > 16) in omap3_spi_write()
91 else if (priv->wordlen > 8) in omap3_spi_write()
126 chconf |= (priv->wordlen - 1) << 7; in omap3_spi_read()
151 if (priv->wordlen > 16) in omap3_spi_read()
153 else if (priv->wordlen > 8) in omap3_spi_read()
181 chconf |= (priv->wordlen - 1) << 7; in omap3_spi_txrx()
199 if (priv->wordlen > 16) in omap3_spi_txrx()
201 else if (priv->wordlen > 8) in omap3_spi_txrx()
218 if (priv->wordlen > 16) in omap3_spi_txrx()
220 else if (priv->wordlen > 8) in omap3_spi_txrx()
243 if (priv->wordlen < 4 || priv->wordlen > 32) { in _spi_xfer()
244 printf("omap3_spi: invalid wordlen %d\n", priv->wordlen); in _spi_xfer()
248 if (bitlen % priv->wordlen) in _spi_xfer()
251 len = bitlen / priv->wordlen; in _spi_xfer()
345 confr |= (priv->wordlen - 1) << 7; in _omap3_spi_set_wordlen()
411 static int omap3_spi_set_wordlen(struct udevice *dev, unsigned int wordlen) in omap3_spi_set_wordlen() argument
418 priv->wordlen = wordlen; in omap3_spi_set_wordlen()
431 priv->wordlen = SPI_DEFAULT_WORDLEN; in omap3_spi_probe()