Searched refs:cur_num (Results 1 – 1 of 1) sorted by relevance
213 uint32_t rem_num, cur_num = 0; in spi_ambiq_xfer_half_duplex() local232 cur_num = (rem_num > AM_HAL_IOM_MAX_TXNSIZE_SPI) ? AM_HAL_IOM_MAX_TXNSIZE_SPI in spi_ambiq_xfer_half_duplex()234 trans.ui32NumBytes = cur_num; in spi_ambiq_xfer_half_duplex()237 ctx_update(ctx, 1, cur_num); in spi_ambiq_xfer_half_duplex()254 rem_num -= cur_num; in spi_ambiq_xfer_half_duplex()