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