Lines Matching refs:t
160 struct spi_transfer *t) in npcm_pspi_setup_transfer() argument
164 priv->tx_buf = t->tx_buf; in npcm_pspi_setup_transfer()
165 priv->rx_buf = t->rx_buf; in npcm_pspi_setup_transfer()
166 priv->tx_bytes = t->len; in npcm_pspi_setup_transfer()
167 priv->rx_bytes = t->len; in npcm_pspi_setup_transfer()
178 if (priv->bits_per_word == 8 && !(t->len & 0x1)) in npcm_pspi_setup_transfer()
179 t->bits_per_word = 16; in npcm_pspi_setup_transfer()
181 if (!priv->is_save_param || priv->bits_per_word != t->bits_per_word) { in npcm_pspi_setup_transfer()
182 npcm_pspi_set_transfer_size(priv, t->bits_per_word); in npcm_pspi_setup_transfer()
183 priv->bits_per_word = t->bits_per_word; in npcm_pspi_setup_transfer()
186 if (!priv->is_save_param || priv->speed_hz != t->speed_hz) { in npcm_pspi_setup_transfer()
187 npcm_pspi_set_baudrate(priv, t->speed_hz); in npcm_pspi_setup_transfer()
188 priv->speed_hz = t->speed_hz; in npcm_pspi_setup_transfer()
250 struct spi_transfer *t) in npcm_pspi_transfer_one() argument
255 npcm_pspi_setup_transfer(spi, t); in npcm_pspi_transfer_one()