Searched refs:i2c_bus_lock (Results 1 – 6 of 6) sorted by relevance
547 if (!rt_mutex_trylock(&dev->i2c_bus_lock)) in em28xx_i2c_xfer()591 rt_mutex_unlock(&dev->i2c_bus_lock); in em28xx_i2c_xfer()602 rt_mutex_unlock(&dev->i2c_bus_lock); in em28xx_i2c_xfer()
694 struct rt_mutex i2c_bus_lock; member
3589 rt_mutex_init(&dev->i2c_bus_lock); in em28xx_init_dev()
585 mutex_lock(&itv->i2c_bus_lock); in ivtv_xfer()596 mutex_unlock(&itv->i2c_bus_lock); in ivtv_xfer()
713 struct mutex i2c_bus_lock; /* lock i2c bus */ member
745 mutex_init(&itv->i2c_bus_lock); in ivtv_init_struct1()