Home
last modified time | relevance | path

Searched refs:i2c_bus_lock (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/media/usb/em28xx/
H A Dem28xx-i2c.c541 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()
H A Dem28xx.h683 struct rt_mutex i2c_bus_lock; member
H A Dem28xx-cards.c3634 rt_mutex_init(&dev->i2c_bus_lock); in em28xx_init_dev()
/openbmc/linux/drivers/media/pci/ivtv/
H A Divtv-i2c.c591 mutex_lock(&itv->i2c_bus_lock); in ivtv_xfer()
602 mutex_unlock(&itv->i2c_bus_lock); in ivtv_xfer()
H A Divtv-driver.h711 struct mutex i2c_bus_lock; /* lock i2c bus */ member
H A Divtv-driver.c742 mutex_init(&itv->i2c_bus_lock); in ivtv_init_struct1()