Lines Matching refs:recv_state
126 static void bt_debug_dump_recv_state(const struct bass_recv_state_internal *recv_state)
128 if (recv_state->active) {
129 const struct bt_bap_scan_delegator_recv_state *state = &recv_state->state;
134 recv_state->index, state->src_id, bt_addr_le_str(&state->addr),
145 i, subgroup->bis_sync, recv_state->requested_bis_sync[i],
183 static void net_buf_put_recv_state(const struct bass_recv_state_internal *recv_state)
185 const struct bt_bap_scan_delegator_recv_state *state = &recv_state->state;
189 __ASSERT(recv_state, "NULL receive state");
191 if (!recv_state->active) {
477 LOG_DBG("recv_state already exists at src_id=0x%02X", state->state.src_id);
1090 struct bass_recv_state_internal *recv_state = &scan_delegator.recv_states[idx];
1091 struct bt_bap_scan_delegator_recv_state *state = &recv_state->state;
1093 if (recv_state->active) {
1106 bt_debug_dump_recv_state(recv_state);
1107 net_buf_put_recv_state(recv_state);
1248 struct bt_bap_scan_delegator_recv_state *recv_state;
1251 LOG_DBG("Could not find recv_state by src_id %u", src_id);
1255 recv_state = &internal_state->state;
1257 if (recv_state->pa_sync_state != pa_state) {
1258 recv_state->pa_sync_state = pa_state;
1273 LOG_DBG("Could not find recv_state by src_id %u", src_id);
1604 const struct bt_bap_scan_delegator_recv_state *recv_state;
1610 scan_delegator_state_find_state_cb(const struct bt_bap_scan_delegator_recv_state *recv_state,
1616 found = param->func(recv_state, param->user_data);
1618 param->recv_state = recv_state;
1630 .recv_state = NULL,
1637 return param.recv_state;