Lines Matching refs:location
107 if (length == sizeof(inst->location)) { in vocs_client_notify_handler()
108 memcpy(&inst->location, data, length); in vocs_client_notify_handler()
109 LOG_DBG("Inst %p: Location %u", inst, inst->location); in vocs_client_notify_handler()
110 if (inst->cb && inst->cb->location) { in vocs_client_notify_handler()
111 inst->cb->location(&inst->vocs, 0, inst->location); in vocs_client_notify_handler()
182 if (length == sizeof(inst->location)) { in vocs_client_read_location_cb()
183 memcpy(&inst->location, data, length); in vocs_client_read_location_cb()
184 LOG_DBG("Location %u", inst->location); in vocs_client_read_location_cb()
187 sizeof(inst->location)); in vocs_client_read_location_cb()
195 if (inst->cb && inst->cb->location) { in vocs_client_read_location_cb()
196 inst->cb->location(&inst->vocs, cb_err, cb_err ? 0 : inst->location); in vocs_client_read_location_cb()
477 int bt_vocs_client_location_set(struct bt_vocs_client *inst, uint32_t location) in bt_vocs_client_location_set() argument
489 CHECKIF(location > BT_AUDIO_LOCATION_ANY) { in bt_vocs_client_location_set()
490 LOG_DBG("Invalid location 0x%08X", location); in bt_vocs_client_location_set()
509 &location, sizeof(location), in bt_vocs_client_location_set()
705 inst->location = 0; in vocs_client_reset()