Lines Matching refs:async_len
123 s->async_len = 0; in esp_request_cancelled()
567 if (s->async_len == 0 && esp_get_tc(s)) { in esp_do_dma()
571 if (len > s->async_len) { in esp_do_dma()
572 len = s->async_len; in esp_do_dma()
582 len = MIN(s->async_len, ESP_FIFO_SZ); in esp_do_dma()
588 s->async_len -= len; in esp_do_dma()
595 len = MIN(s->async_len, ESP_FIFO_SZ); in esp_do_dma()
602 s->async_len -= len; in esp_do_dma()
607 if (s->async_len == 0 && fifo8_num_used(&s->fifo) < 2) { in esp_do_dma()
620 if (s->async_len == 0 && esp_get_tc(s)) { in esp_do_dma()
624 if (len > s->async_len) { in esp_do_dma()
625 len = s->async_len; in esp_do_dma()
639 s->async_len -= len; in esp_do_dma()
651 s->async_len -= len; in esp_do_dma()
657 if (s->async_len == 0 && s->ti_size == 0 && esp_get_tc(s)) { in esp_do_dma()
663 if (s->async_len == 0 && fifo8_num_used(&s->fifo) < 2) { in esp_do_dma()
739 if (s->async_len == 0) { in esp_nodma_ti_dataout()
743 len = MIN(s->async_len, ESP_FIFO_SZ); in esp_nodma_ti_dataout()
747 s->async_len -= len; in esp_nodma_ti_dataout()
750 if (s->async_len == 0) { in esp_nodma_ti_dataout()
884 if (s->async_len == 0) { in esp_do_nodma()
891 s->async_len--; in esp_do_nodma()
895 if (s->async_len == 0) { in esp_do_nodma()
952 s->async_len = 0; in esp_command_complete()
1001 s->async_len = len; in esp_transfer_data()
1091 s->async_len = 0; in esp_hard_reset()