Lines Matching refs:notify
31 onoff_notify_fn notify; member
38 static void start(struct onoff_manager *mgr, onoff_notify_fn notify);
39 static void stop(struct onoff_manager *mgr, onoff_notify_fn notify);
156 gpd_mgr->notify(&gpd_mgr->mgr, 0); in evt_handler()
160 gpd_mgr->notify(&gpd_mgr->mgr, -EIO); in evt_handler()
176 static void start(struct onoff_manager *mgr, onoff_notify_fn notify) in start() argument
180 gpd_mgr->notify = notify; in start()
183 notify(mgr, 0); in start()
190 notify(mgr, -EIO); in start()
195 static void stop(struct onoff_manager *mgr, onoff_notify_fn notify) in stop() argument
199 gpd_mgr->notify = notify; in stop()
202 notify(mgr, 0); in stop()
209 notify(mgr, -EIO); in stop()
231 sys_notify_init_spinwait(&client.notify); in nrf_gpd_request()
238 while (sys_notify_fetch_result(&client.notify, &ret) == -EAGAIN) { in nrf_gpd_request()
241 sys_notify_init_callback(&client.notify, request_cb); in nrf_gpd_request()