Lines Matching refs:core_lock
61 static DEFINE_MUTEX(core_lock);
1512 mutex_lock(&core_lock); in i2c_register_adapter()
1514 mutex_unlock(&core_lock); in i2c_register_adapter()
1523 mutex_lock(&core_lock); in i2c_register_adapter()
1525 mutex_unlock(&core_lock); in i2c_register_adapter()
1540 mutex_lock(&core_lock); in __i2c_add_numbered_adapter()
1542 mutex_unlock(&core_lock); in __i2c_add_numbered_adapter()
1576 mutex_lock(&core_lock); in i2c_add_adapter()
1579 mutex_unlock(&core_lock); in i2c_add_adapter()
1673 mutex_lock(&core_lock); in i2c_del_adapter()
1675 mutex_unlock(&core_lock); in i2c_del_adapter()
1683 mutex_lock(&core_lock); in i2c_del_adapter()
1686 mutex_unlock(&core_lock); in i2c_del_adapter()
1732 mutex_lock(&core_lock); in i2c_del_adapter()
1734 mutex_unlock(&core_lock); in i2c_del_adapter()
1829 mutex_lock(&core_lock); in i2c_for_each_dev()
1831 mutex_unlock(&core_lock); in i2c_for_each_dev()
2447 mutex_lock(&core_lock); in i2c_get_adapter()
2458 mutex_unlock(&core_lock); in i2c_get_adapter()