Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/iio/common/ssp_sensors/
Dssp_dev.c262 if (atomic_inc_return(&data->enable_refcount) == 1) in ssp_enable_sensor()
333 if (atomic_dec_and_test(&data->enable_refcount)) in ssp_disable_sensor()
529 atomic_set(&data->enable_refcount, 0); in ssp_probe()
608 if (atomic_read(&data->enable_refcount) > 0) in ssp_suspend()
633 if (atomic_read(&data->enable_refcount) > 0) in ssp_resume()
Dssp.h222 atomic_t enable_refcount; member