Searched refs:ret_queue (Results 1 – 4 of 4) sorted by relevance
/hal_espressif-3.6.0/components/driver/ |
D | spi_slave.c | 61 QueueHandle_t ret_queue; member 186 …spihost[host]->ret_queue = xQueueCreate(slave_config->queue_size, sizeof(spi_slave_transaction_t *… in spi_slave_initialize() 187 if (!spihost[host]->trans_queue || !spihost[host]->ret_queue) { in spi_slave_initialize() 231 if (spihost[host]->ret_queue) vQueueDelete(spihost[host]->ret_queue); in spi_slave_initialize() 258 if (spihost[host]->ret_queue) vQueueDelete(spihost[host]->ret_queue); in spi_slave_free() 301 r = xQueueReceive(spihost[host]->ret_queue, (void *)trans_desc, ticks_to_wait); in spi_slave_get_trans_result() 354 xQueueSendFromISR(host->ret_queue, &host->cur_trans, &do_yield); in spi_intr()
|
D | spi_slave_hd.c | 301 bool ret_queue = true; in spi_slave_hd_intr_segment() local 308 ret_queue = callback->cb_sent(callback->arg, &ev, &cb_awoken); in spi_slave_hd_intr_segment() 311 if (ret_queue) { in spi_slave_hd_intr_segment() 319 bool ret_queue = true; in spi_slave_hd_intr_segment() local 327 ret_queue = callback->cb_recv(callback->arg, &ev, &cb_awoken); in spi_slave_hd_intr_segment() 330 if (ret_queue) { in spi_slave_hd_intr_segment() 415 bool ret_queue = true; in spi_slave_hd_intr_append() local 422 ret_queue = callback->cb_sent(callback->arg, &ev, &cb_awoken); in spi_slave_hd_intr_append() 426 if (ret_queue) { in spi_slave_hd_intr_append() 447 bool ret_queue = true; in spi_slave_hd_intr_append() local [all …]
|
D | sdio_slave.c | 144 QueueHandle_t ret_queue; member 157 .ret_queue = NULL, \ 206 if (context.ret_queue != NULL) { in deinit_context() 207 vQueueDelete(context.ret_queue); in deinit_context() 208 context.ret_queue = NULL; in deinit_context() 264 context.ret_queue = xQueueCreate(config->send_queue_size, sizeof(void *)); in init_context() 265 if (context.ret_queue == NULL) { in init_context() 570 ret = xQueueSendFromISR(context.ret_queue, &finished_arg, &yield); in sdio_intr_send() 611 portBASE_TYPE err = xQueueReceive(context.ret_queue, &arg, wait); in sdio_slave_send_get_finished() 650 ret = xQueueSend(context.ret_queue, &finished_arg, portMAX_DELAY); in send_flush_data()
|
D | spi_master.c | 158 QueueHandle_t ret_queue; member 372 dev->ret_queue = xQueueCreate(dev_config->queue_size, sizeof(spi_trans_priv_t)); in spi_bus_add_device() 373 if (!dev->trans_queue || !dev->ret_queue) { in spi_bus_add_device() 422 if (dev->ret_queue) vQueueDelete(dev->ret_queue); in spi_bus_add_device() 436 …SPI_CHECK(uxQueueMessagesWaiting(handle->ret_queue)==0, "Have unfinished transactions", ESP_ERR_IN… in spi_bus_remove_device() 444 vQueueDelete(handle->ret_queue); in spi_bus_remove_device() 616 xQueueSendFromISR(host->device[cs]->ret_queue, &host->cur_trans_buf, &do_yield); in spi_intr() 839 r=xQueueReceive(handle->ret_queue, (void*)&trans_buf, ticks_to_wait); in spi_device_get_trans_result()
|