Searched refs:add_lock (Results 1 – 3 of 3) sorted by relevance
145 lockdep_set_subclass(&ctlr->add_lock, 1); in spi_mux_probe()
692 mutex_lock(&ctlr->add_lock); in spi_add_device()694 mutex_unlock(&ctlr->add_lock); in spi_add_device()714 WARN_ON(!mutex_is_locked(&ctlr->add_lock)); in spi_add_device_locked()2884 mutex_init(&ctlr->add_lock); in __spi_alloc_controller()3267 mutex_lock(&ctlr->add_lock); in spi_unregister_controller()3292 mutex_unlock(&ctlr->add_lock); in spi_unregister_controller()
552 struct mutex add_lock; member