Lines Matching defs:bits_per_word
140 unsigned int bits_per_word = spi->bits_per_word;
148 if ((t != NULL) && t->bits_per_word)
149 bits_per_word = t->bits_per_word;
155 return orion_spi_set_transfer_size(orion_spi, bits_per_word);
250 word_len = spi->bits_per_word;
307 if (par_override || t->speed_hz || t->bits_per_word) {
312 if (!t->speed_hz && !t->bits_per_word)
398 unsigned int bits_per_word = spi->bits_per_word;
407 if ((t != NULL) && t->bits_per_word)
408 bits_per_word = t->bits_per_word;
410 if ((bits_per_word != 8) && (bits_per_word != 16)) {
413 "invalid transfer bits_per_word (%d bits)\n",
414 bits_per_word);
418 if ((t != NULL) && (t->bits_per_word == 16) && (t->len & 1)) {