Searched refs:max_bytes (Results 1 – 3 of 3) sorted by relevance
404 esp_err_t spi_bus_get_max_transaction_len(spi_host_device_t host_id, size_t *max_bytes);
141 const size_t max_bytes = 0; in multi_heap_register_impl() local143 result->heap_data = tlsf_create_with_pool(start_ptr + sizeof(heap_t), size, max_bytes); in multi_heap_register_impl()
1116 esp_err_t spi_bus_get_max_transaction_len(spi_host_device_t host_id, size_t *max_bytes) in spi_bus_get_max_transaction_len() argument1119 if (bus_driver_ctx[host_id] == NULL || max_bytes == NULL) { in spi_bus_get_max_transaction_len()1125 *max_bytes = MIN(host->bus_attr->max_transfer_sz, (SPI_LL_DMA_MAX_BIT_LEN / 8)); in spi_bus_get_max_transaction_len()1127 *max_bytes = MIN(host->bus_attr->max_transfer_sz, (SPI_LL_CPU_MAX_BIT_LEN / 8)); in spi_bus_get_max_transaction_len()