Searched refs:rem_num (Results 1 – 1 of 1) sorted by relevance
213 uint32_t rem_num, cur_num = 0; in spi_ambiq_xfer_half_duplex() local227 rem_num = ctx->rx_len; in spi_ambiq_xfer_half_duplex()229 rem_num = ctx->tx_len; in spi_ambiq_xfer_half_duplex()231 while (rem_num) { in spi_ambiq_xfer_half_duplex()232 cur_num = (rem_num > AM_HAL_IOM_MAX_TXNSIZE_SPI) ? AM_HAL_IOM_MAX_TXNSIZE_SPI in spi_ambiq_xfer_half_duplex()233 : rem_num; in spi_ambiq_xfer_half_duplex()254 rem_num -= cur_num; in spi_ambiq_xfer_half_duplex()