Home
last modified time | relevance | path

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

/drivers/iio/common/ssp_sensors/
Dssp_dev.c272 if (atomic_inc_return(&data->enable_refcount) == 1) in ssp_enable_sensor()
343 if (atomic_dec_and_test(&data->enable_refcount)) in ssp_disable_sensor()
569 atomic_set(&data->enable_refcount, 0); in ssp_probe()
651 if (atomic_read(&data->enable_refcount) > 0) in ssp_suspend()
676 if (atomic_read(&data->enable_refcount) > 0) in ssp_resume()
Dssp.h232 atomic_t enable_refcount; member