Lines Matching refs:trans_desc

366 …ave_queue_trans(spi_host_device_t host, const spi_slave_transaction_t *trans_desc, TickType_t tick…  in spi_slave_queue_trans()  argument
371 …SPI_CHECK(spihost[host]->dma_enabled == 0 || trans_desc->tx_buffer==NULL || esp_ptr_dma_capable(tr… in spi_slave_queue_trans()
373 SPI_CHECK(spihost[host]->dma_enabled == 0 || trans_desc->rx_buffer==NULL || in spi_slave_queue_trans()
374 … (esp_ptr_dma_capable(trans_desc->rx_buffer) && esp_ptr_word_aligned(trans_desc->rx_buffer) && in spi_slave_queue_trans()
375 (trans_desc->length%4==0)), in spi_slave_queue_trans()
378 …SPI_CHECK(trans_desc->length <= spihost[host]->max_transfer_sz * 8, "data transfer > host maximum"… in spi_slave_queue_trans()
379 r = xQueueSend(spihost[host]->trans_queue, (void *)&trans_desc, ticks_to_wait); in spi_slave_queue_trans()
385 …R_ATTR spi_slave_queue_trans_isr(spi_host_device_t host, const spi_slave_transaction_t *trans_desc) in spi_slave_queue_trans_isr() argument
391 …_FALSE_ISR(spihost[host]->dma_enabled == 0 || trans_desc->tx_buffer==NULL || esp_ptr_dma_capable(t… in spi_slave_queue_trans_isr()
393 ESP_RETURN_ON_FALSE_ISR(spihost[host]->dma_enabled == 0 || trans_desc->rx_buffer==NULL || in spi_slave_queue_trans_isr()
394 … (esp_ptr_dma_capable(trans_desc->rx_buffer) && esp_ptr_word_aligned(trans_desc->rx_buffer) && in spi_slave_queue_trans_isr()
395 (trans_desc->length%4==0)), in spi_slave_queue_trans_isr()
397 …ESP_RETURN_ON_FALSE_ISR(trans_desc->length <= spihost[host]->max_transfer_sz * 8, ESP_ERR_INVALID_… in spi_slave_queue_trans_isr()
399 r = xQueueSendFromISR(spihost[host]->trans_queue, (void *)&trans_desc, &do_yield); in spi_slave_queue_trans_isr()
409 …ave_get_trans_result(spi_host_device_t host, spi_slave_transaction_t **trans_desc, TickType_t tick… in spi_slave_get_trans_result() argument
417 r = xQueueReceive(spihost[host]->ret_queue, (void *)trans_desc, ticks_to_wait); in spi_slave_get_trans_result()
423 …TR spi_slave_transmit(spi_host_device_t host, spi_slave_transaction_t *trans_desc, TickType_t tick… in spi_slave_transmit() argument
428 ret = spi_slave_queue_trans(host, trans_desc, ticks_to_wait); in spi_slave_transmit()
432 assert(ret_trans == trans_desc); in spi_slave_transmit()