Lines Matching refs:recv_states

81 	struct bass_recv_state_internal recv_states  member
272 for (size_t i = 0; i < ARRAY_SIZE(scan_delegator.recv_states); i++) { in scan_delegator_security_changed()
274 &scan_delegator.recv_states[i]; in scan_delegator_security_changed()
306 for (size_t i = 0; i < ARRAY_SIZE(scan_delegator.recv_states); i++) { in next_src_id()
307 if (scan_delegator.recv_states[i].active && in next_src_id()
308 scan_delegator.recv_states[i].state.src_id == next_src_id) { in next_src_id()
320 for (size_t i = 0; i < ARRAY_SIZE(scan_delegator.recv_states); i++) { in bass_lookup_src_id()
321 if (scan_delegator.recv_states[i].active && in bass_lookup_src_id()
322 scan_delegator.recv_states[i].state.src_id == src_id) { in bass_lookup_src_id()
323 return &scan_delegator.recv_states[i]; in bass_lookup_src_id()
332 for (size_t i = 0; i < ARRAY_SIZE(scan_delegator.recv_states); i++) { in bass_lookup_pa_sync()
333 if (scan_delegator.recv_states[i].pa_sync == sync) { in bass_lookup_pa_sync()
334 return &scan_delegator.recv_states[i]; in bass_lookup_pa_sync()
343 for (size_t i = 0; i < ARRAY_SIZE(scan_delegator.recv_states); i++) { in bass_lookup_addr()
344 if (bt_addr_le_eq(&scan_delegator.recv_states[i].state.addr, in bass_lookup_addr()
346 return &scan_delegator.recv_states[i]; in bass_lookup_addr()
355 for (size_t i = 0U; i < ARRAY_SIZE(scan_delegator.recv_states); i++) { in get_free_recv_state()
357 &scan_delegator.recv_states[i]; in get_free_recv_state()
472 for (size_t i = 0; i < ARRAY_SIZE(scan_delegator.recv_states); i++) { in bass_source_is_duplicate()
473 state = &scan_delegator.recv_states[i]; in bass_source_is_duplicate()
1090 struct bass_recv_state_internal *recv_state = &scan_delegator.recv_states[idx]; in read_recv_state()
1194 scan_delegator.recv_states[0].attr = &bass_svc.attrs[3]; in bt_bap_scan_delegator_register()
1195 scan_delegator.recv_states[0].index = 0; in bt_bap_scan_delegator_register()
1197 scan_delegator.recv_states[1].attr = &bass_svc.attrs[6]; in bt_bap_scan_delegator_register()
1198 scan_delegator.recv_states[1].index = 1; in bt_bap_scan_delegator_register()
1200 scan_delegator.recv_states[2].attr = &bass_svc.attrs[9]; in bt_bap_scan_delegator_register()
1201 scan_delegator.recv_states[2].index = 2; in bt_bap_scan_delegator_register()
1591 for (size_t i = 0U; i < ARRAY_SIZE(scan_delegator.recv_states); i++) { in bt_bap_scan_delegator_foreach_state()
1592 if (scan_delegator.recv_states[i].active) { in bt_bap_scan_delegator_foreach_state()
1595 stop = func(&scan_delegator.recv_states[i].state, user_data); in bt_bap_scan_delegator_foreach_state()