Home
last modified time | relevance | path

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

/drivers/staging/comedi/kcomedilib/
Dkcomedilib_main.c54 down_read(&dev->attach_lock); in comedi_open()
59 up_read(&dev->attach_lock); in comedi_open()
225 down_read(&dev->attach_lock); in comedi_find_subdevice_by_type()
234 up_read(&dev->attach_lock); in comedi_find_subdevice_by_type()
243 down_read(&dev->attach_lock); in comedi_get_n_channels()
248 up_read(&dev->attach_lock); in comedi_get_n_channels()
/drivers/iommu/
Dshmobile-iommu.c34 spinlock_t attach_lock; member
138 spin_lock(&archdata->attach_lock); in shmobile_iommu_attach_device()
152 spin_unlock(&archdata->attach_lock); in shmobile_iommu_attach_device()
166 spin_lock(&archdata->attach_lock); in shmobile_iommu_detach_device()
174 spin_unlock(&archdata->attach_lock); in shmobile_iommu_detach_device()
397 spin_lock_init(&archdata->attach_lock); in ipmmu_iommu_init()
/drivers/staging/comedi/
Dproc.c45 down_read(&dev->attach_lock); in comedi_read()
52 up_read(&dev->attach_lock); in comedi_read()
Ddrivers.c209 down_write(&dev->attach_lock); in comedi_device_detach()
215 up_write(&dev->attach_lock); in comedi_device_detach()
718 down_write(&dev->attach_lock); in comedi_device_postconfig()
720 up_write(&dev->attach_lock); in comedi_device_postconfig()
Dcomedi_fops.c119 init_rwsem(&dev->attach_lock); in comedi_device_init()
2188 if (!down_read_trylock(&dev->attach_lock)) in comedi_mmap()
2255 up_read(&dev->attach_lock); in comedi_mmap()
2267 down_read(&dev->attach_lock); in comedi_poll()
2297 up_read(&dev->attach_lock); in comedi_poll()
2315 down_read(&dev->attach_lock); in comedi_write()
2369 up_read(&dev->attach_lock); in comedi_write()
2443 up_read(&dev->attach_lock); in comedi_write()
2464 down_read(&dev->attach_lock); in comedi_read()
2553 up_read(&dev->attach_lock); in comedi_read()
[all …]
Dcomedidev.h542 struct rw_semaphore attach_lock; member