Lines Matching refs:bits_per_word
283 u8 bits_per_word = 0;
292 bits_per_word = t->bits_per_word;
296 /* if bits_per_word is not set then set it default */
297 if (!bits_per_word)
298 bits_per_word = spi->bits_per_word;
304 if (bits_per_word <= 8 && bits_per_word >= 2) {
308 } else if (bits_per_word <= 16 && bits_per_word >= 2) {
324 spifmt = (prescale << SPIFMT_PRESCALE_SHIFT) | (bits_per_word & 0x1f);
402 if (!spi->bits_per_word)
403 spi->bits_per_word = 8;
544 /* convert len to words based on bits_per_word */