Searched refs:byte_length (Results 1 – 1 of 1) sorted by relevance
408 static int afe_spi_transceive(uint8_t *data, int byte_length) in afe_spi_transceive() argument413 if (byte_length > AFE_SPI_MAX_DATA_LEN) { in afe_spi_transceive()468 pSPIm->ctrl1 = ((((byte_length) << MXC_F_SPI_CTRL1_TX_NUM_CHAR_POS)) | in afe_spi_transceive()469 (byte_length << MXC_F_SPI_CTRL1_RX_NUM_CHAR_POS)); in afe_spi_transceive()485 for (i = 0; i < byte_length; i++) { in afe_spi_transceive()506 } while ((i < byte_length) && (status == E_BUSY)); in afe_spi_transceive()517 if ((i < byte_length) || (status != E_BUSY)) { in afe_spi_transceive()530 static int afe_spi_transceive(uint8_t *data, int byte_length) in afe_spi_transceive() argument534 if (byte_length > AFE_SPI_MAX_DATA_LEN) { in afe_spi_transceive()558 pSPIm->ctrl1 = ((((byte_length) << MXC_F_SPI_CTRL1_TX_NUM_CHAR_POS)) | in afe_spi_transceive()[all …]