Lines Matching refs:bits_per_word
281 unsigned bits_per_word ; in tegra_slink_calculate_curr_xfer_param() local
285 bits_per_word = t->bits_per_word; in tegra_slink_calculate_curr_xfer_param()
286 tspi->bytes_per_word = (bits_per_word - 1) / 8 + 1; in tegra_slink_calculate_curr_xfer_param()
288 if (bits_per_word == 8 || bits_per_word == 16) { in tegra_slink_calculate_curr_xfer_param()
290 tspi->words_per_32bit = 32/bits_per_word; in tegra_slink_calculate_curr_xfer_param()
438 unsigned int rx_mask, bits_per_word; in tegra_slink_copy_spi_rxbuf_to_client_rxbuf() local
440 bits_per_word = t->bits_per_word; in tegra_slink_copy_spi_rxbuf_to_client_rxbuf()
441 rx_mask = (1 << bits_per_word) - 1; in tegra_slink_copy_spi_rxbuf_to_client_rxbuf()
715 u8 bits_per_word; in tegra_slink_start_transfer_one() local
721 bits_per_word = t->bits_per_word; in tegra_slink_start_transfer_one()
739 command |= SLINK_BIT_LENGTH(bits_per_word - 1); in tegra_slink_start_transfer_one()
756 command |= SLINK_BIT_LENGTH(bits_per_word - 1); in tegra_slink_start_transfer_one()
798 spi->bits_per_word, in tegra_slink_setup()