Searched refs:spi_chan_claimed (Results 1 – 3 of 3) sorted by relevance
109 bool spi_chan_claimed; in spi_slave_initialize() local128 spi_chan_claimed=spicommon_periph_claim(host, "spi slave"); in spi_slave_initialize()129 SPI_CHECK(spi_chan_claimed, "host already in use", ESP_ERR_INVALID_STATE); in spi_slave_initialize()
62 bool spi_chan_claimed; in spi_slave_hd_init() local79 spi_chan_claimed = spicommon_periph_claim(host_id, "slave_hd"); in spi_slave_hd_init()80 SPIHD_CHECK(spi_chan_claimed, "host already in use", ESP_ERR_INVALID_STATE); in spi_slave_hd_init()
769 bool spi_chan_claimed = spicommon_periph_claim(host_id, "spi master"); in spi_bus_initialize() local770 SPI_CHECK(spi_chan_claimed, "host_id already in use", ESP_ERR_INVALID_STATE); in spi_bus_initialize()