Searched refs:bus_driver_ctx (Results 1 – 1 of 1) sorted by relevance
170 static spi_host_t* bus_driver_ctx[SOC_SPI_PERIPH_NUM] = {}; variable273 bus_driver_ctx[host_id] = host; in spi_master_init_driver()306 bus_driver_ctx[host_id] = NULL; in spi_master_deinit_driver()346 if (bus_driver_ctx[host_id] == NULL) { in spi_bus_add_device()354 spi_host_t *host = bus_driver_ctx[host_id]; in spi_bus_add_device()1119 if (bus_driver_ctx[host_id] == NULL || max_bytes == NULL) { in spi_bus_get_max_transaction_len()1123 spi_host_t *host = bus_driver_ctx[host_id]; in spi_bus_get_max_transaction_len()