Lines Matching refs:bits_per_word
914 u8 word_len = spi->bits_per_word;
919 if (t != NULL && t->bits_per_word)
920 word_len = t->bits_per_word;
1180 (t->bits_per_word != spi->bits_per_word)) {
1186 t->bits_per_word == spi->bits_per_word)
1265 u8 bits_per_word;
1273 if (!tr->bits_per_word)
1274 bits_per_word = msg->spi->bits_per_word;
1276 bits_per_word = tr->bits_per_word;
1280 * OR contains 1 to 4 words, with bits_per_word == 8 and no delay between each word
1281 * OR contains 1 to 2 words, with bits_per_word == 16 and no delay between each word
1283 * If one of the two last case is true, this also change the bits_per_word of this
1285 * It's not an issue to change the bits_per_word here even if the multi-mode is not
1288 if (bits_per_word < 8 && tr->len == 1) {
1290 } else if (tr->word_delay.value == 0 && bits_per_word == 8 && tr->len <= 4) {
1292 tr->bits_per_word = tr->len * bits_per_word;
1293 } else if (tr->word_delay.value == 0 && bits_per_word == 16 && tr->len <= 2) {
1295 tr->bits_per_word = tr->len * bits_per_word / 2;
1296 } else if (bits_per_word >= 8 && tr->len == bits_per_word / 8) {
1310 * The bits_per_word of certain transfer can be different, but it will have no