Lines Matching refs:gpd_service_status
47 static atomic_t gpd_service_status = ATOMIC_INIT(0); variable
125 atomic_clear_bit(&gpd_service_status, GPD_SERVICE_REQ_ERR); in nrf_gpd_sync()
126 atomic_clear_bit(&gpd_service_status, GPD_SERVICE_REQ_OK); in nrf_gpd_sync()
135 if (atomic_test_bit(&gpd_service_status, GPD_SERVICE_REQ_ERR)) { in nrf_gpd_sync()
139 if (atomic_test_bit(&gpd_service_status, GPD_SERVICE_REQ_OK)) { in nrf_gpd_sync()
151 if (atomic_test_bit(&gpd_service_status, GPD_SERVICE_READY)) { in evt_handler()
166 atomic_set_bit(&gpd_service_status, GPD_SERVICE_REQ_OK); in evt_handler()
170 atomic_set_bit(&gpd_service_status, GPD_SERVICE_REQ_ERR); in evt_handler()
182 if (!atomic_test_bit(&gpd_service_status, GPD_SERVICE_READY)) { in start()
201 if (!atomic_test_bit(&gpd_service_status, GPD_SERVICE_READY)) { in stop()
225 if (atomic_test_bit(&gpd_service_status, GPD_SERVICE_ERROR)) { in nrf_gpd_request()
265 if (atomic_test_bit(&gpd_service_status, GPD_SERVICE_ERROR)) { in nrf_gpd_release()
375 atomic_set_bit(&gpd_service_status, GPD_SERVICE_READY); in nrf_gpd_post_init()
380 atomic_set_bit(&gpd_service_status, GPD_SERVICE_ERROR); in nrf_gpd_post_init()