Searched refs:ctrl (Results 1 – 1 of 1) sorted by relevance
2608 … bool _spi_rx_check_and_receive(void *const hw, const uint32_t iflag, struct _spi_trans_ctrl *ctrl) in _spi_rx_check_and_receive() argument2618 if (ctrl->rxbuf) { in _spi_rx_check_and_receive()2619 *ctrl->rxbuf++ = (uint8_t)data; in _spi_rx_check_and_receive()2621 if (ctrl->char_size > 1) { in _spi_rx_check_and_receive()2622 *ctrl->rxbuf++ = (uint8_t)(data >> 8); in _spi_rx_check_and_receive()2626 ctrl->rxcnt++; in _spi_rx_check_and_receive()2632 …ine void _spi_tx_check_and_send(void *const hw, const uint32_t iflag, struct _spi_trans_ctrl *ctrl, in _spi_tx_check_and_send() argument2641 if (ctrl->txbuf) { in _spi_tx_check_and_send()2642 data = *ctrl->txbuf++; in _spi_tx_check_and_send()2644 if (ctrl->char_size > 1) { in _spi_tx_check_and_send()[all …]