Lines Matching defs:trans

216 	struct spi_transfer *trans;
695 struct spi_transfer *trans)
699 xp.speed_hz = trans->speed_hz;
700 xp.bits_per_word = trans->bits_per_word;
735 spi_transfer_is_last(qspi->host, qt->trans))
747 if (qt->trans->bits_per_word <= 8)
749 else if (qt->trans->bits_per_word <= 16)
751 else if (qt->trans->bits_per_word <= 32)
753 else if (qt->trans->bits_per_word <= 64)
756 if (qt->byte >= qt->trans->len) {
759 if (qt->trans->delay.value &&
762 if (qt->trans->cs_change &&
771 qt->trans = NULL;
774 dev_dbg(&qspi->pdev->dev, "trans %p len %d byte %d ret %x\n",
775 qt->trans, qt->trans ? qt->trans->len : 0, qt->byte, ret);
840 if (tp.trans->bits_per_word <= 8) {
841 u8 *buf = tp.trans->rx_buf;
847 } else if (tp.trans->bits_per_word <= 16) {
848 u16 *buf = tp.trans->rx_buf;
855 } else if (tp.trans->bits_per_word <= 32) {
856 u32 *buf = tp.trans->rx_buf;
864 } else if (tp.trans->bits_per_word <= 64) {
865 u64 *buf = tp.trans->rx_buf;
944 bcm_qspi_update_parms(qspi, spi, tp.trans);
949 if (tp.trans->bits_per_word <= 8) {
950 const u8 *buf = tp.trans->tx_buf;
955 } else if (tp.trans->bits_per_word <= 16) {
956 const u16 *buf = tp.trans->tx_buf;
961 } else if (tp.trans->bits_per_word <= 32) {
962 const u32 *buf = tp.trans->tx_buf;
967 } else if (tp.trans->bits_per_word <= 64) {
968 const u64 *buf = tp.trans->tx_buf;
979 mspi_cdram |= ((tp.trans->bits_per_word <= 8) ? 0 :
983 if ((spi->mode & SPI_3WIRE) && tp.trans->tx_buf)
1123 struct spi_transfer *trans)
1131 qspi->trans_pos.trans = trans;
1134 while (qspi->trans_pos.byte < trans->len) {
1520 qspi->trans_pos.trans = NULL;