Searched refs:enable_refcount (Results 1 – 2 of 2) sorted by relevance
272 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()
232 atomic_t enable_refcount; member