Lines Matching full:notify

167 static const char *aics_notify_str(enum bt_aics_notify notify)  in aics_notify_str()  argument
169 switch (notify) { in aics_notify_str()
181 static void notify_work_reschedule(struct bt_aics *inst, enum bt_aics_notify notify, in notify_work_reschedule() argument
186 atomic_set_bit(inst->srv.notify, notify); in notify_work_reschedule()
191 aics_notify_str(notify), err); in notify_work_reschedule()
195 static void notify(struct bt_aics *inst, enum bt_aics_notify notify, const struct bt_uuid *uuid, in notify() argument
202 notify_work_reschedule(inst, notify, K_USEC(BT_AUDIO_NOTIFY_RETRY_DELAY_US)); in notify()
204 LOG_ERR("Notify %s err %d", aics_notify_str(notify), err); in notify()
213 if (atomic_test_and_clear_bit(inst->srv.notify, AICS_NOTIFY_STATE)) { in notify_work_handler()
214 notify(inst, AICS_NOTIFY_STATE, BT_UUID_AICS_STATE, &inst->srv.state, in notify_work_handler()
218 if (atomic_test_and_clear_bit(inst->srv.notify, AICS_NOTIFY_DESCRIPTION)) { in notify_work_handler()
219 notify(inst, AICS_NOTIFY_DESCRIPTION, BT_UUID_AICS_DESCRIPTION, in notify_work_handler()
223 if (atomic_test_and_clear_bit(inst->srv.notify, AICS_NOTIFY_STATUS)) { in notify_work_handler()
224 notify(inst, AICS_NOTIFY_STATUS, BT_UUID_AICS_INPUT_STATUS, &inst->srv.status, in notify_work_handler()
229 static void value_changed(struct bt_aics *inst, enum bt_aics_notify notify) in value_changed() argument
231 notify_work_reschedule(inst, notify, K_NO_WAIT); in value_changed()
244 bool notify = false; in write_aics_control() local
281 notify = true; in write_aics_control()
291 notify = true; in write_aics_control()
301 notify = true; in write_aics_control()
311 notify = true; in write_aics_control()
321 notify = true; in write_aics_control()
328 if (notify) { in write_aics_control()
511 atomic_clear(aics->srv.notify); in bt_aics_register()