Home
last modified time | relevance | path

Searched refs:is_valid_host (Results 1 – 3 of 3) sorted by relevance

/hal_espressif-2.7.6/components/driver/
Dspi_slave.c82 static inline bool is_valid_host(spi_host_device_t host) in is_valid_host() function
122 SPI_CHECK(is_valid_host(host), "invalid host", ESP_ERR_INVALID_ARG); in spi_slave_initialize()
263 SPI_CHECK(is_valid_host(host), "invalid host", ESP_ERR_INVALID_ARG); in spi_slave_free()
287 SPI_CHECK(is_valid_host(host), "invalid host", ESP_ERR_INVALID_ARG); in spi_slave_queue_trans()
307 SPI_CHECK(is_valid_host(host), "invalid host", ESP_ERR_INVALID_ARG); in spi_slave_get_trans_result()
Dspi_common.c102 static inline bool is_valid_host(spi_host_device_t host) in is_valid_host() function
196 assert(is_valid_host(host_id)); in spicommon_dma_chan_alloc()
239 assert(is_valid_host(host_id)); in spicommon_dma_chan_alloc()
284 assert(is_valid_host(host_id)); in spicommon_slave_dma_chan_alloc()
322 assert(is_valid_host(host_id)); in spicommon_dma_chan_free()
351 assert(is_valid_host(host_id)); in spicommon_slave_free_dma()
627 SPI_CHECK(is_valid_host(host_id), "invalid host_id", ESP_ERR_INVALID_ARG); in spi_bus_initialize()
Dspi_master.c189 static inline bool is_valid_host(spi_host_device_t host) in is_valid_host() function
276 SPI_CHECK(is_valid_host(host_id), "invalid host_id", ESP_ERR_INVALID_ARG); in spi_master_deinit_driver()
317 SPI_CHECK(is_valid_host(host_id), "invalid host", ESP_ERR_INVALID_ARG); in spi_bus_add_device()