Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/vc04_services/bcm2835-camera/
H A Dbcm2835-camera.h63 int camera_use_count; member
H A Dbcm2835-camera.c421 if (!dev->camera_use_count) { in enable_camera()
441 dev->camera_use_count++; in enable_camera()
444 dev->camera_use_count); in enable_camera()
452 if (!dev->camera_use_count) { in disable_camera()
457 dev->camera_use_count--; in disable_camera()
458 if (!dev->camera_use_count) { in disable_camera()
477 "Camera refcount now %d\n", dev->camera_use_count); in disable_camera()