Home
last modified time | relevance | path

Searched refs:access_ref (Results 1 – 2 of 2) sorted by relevance

/drivers/staging/most/cdev/
Dcdev.c43 int access_ref; member
143 if (c->access_ref) { in comp_open()
152 c->access_ref = 1; in comp_open()
170 c->access_ref = 0; in comp_close()
345 if (c->access_ref) { in comp_disconnect_channel()
375 if (!c->access_ref || !c->dev) { in comp_rx_completion()
462 c->access_ref = 0; in comp_probe()
/drivers/staging/most/video/
Dvideo.c40 atomic_t access_ref; member
87 if (!atomic_inc_and_test(&mdev->access_ref)) { in comp_vdev_open()
112 atomic_dec(&mdev->access_ref); in comp_vdev_open()
147 atomic_dec(&mdev->access_ref); in comp_vdev_close()
479 atomic_set(&mdev->access_ref, -1); in comp_probe_channel()