Lines Matching refs:CHECKIF

47 	CHECKIF(cb == NULL) {  in bt_cap_commander_register_cb()
53 CHECKIF(cap_cb != NULL) { in bt_cap_commander_register_cb()
66 CHECKIF(cb == NULL) { in bt_cap_commander_unregister_cb()
71 CHECKIF(cap_cb != cb) { in bt_cap_commander_unregister_cb()
93 CHECKIF(conn == NULL) { in bt_cap_commander_discover()
194 CHECKIF(param == NULL) { in valid_broadcast_reception_start_param()
199 CHECKIF(param->count == 0) { in valid_broadcast_reception_start_param()
204 CHECKIF(param->count > CONFIG_BT_MAX_CONN) { in valid_broadcast_reception_start_param()
210 CHECKIF(param->param == NULL) { in valid_broadcast_reception_start_param()
232 CHECKIF(start_param->addr.type > BT_ADDR_LE_RANDOM) { in valid_broadcast_reception_start_param()
237 CHECKIF(start_param->adv_sid > BT_GAP_SID_MAX) { in valid_broadcast_reception_start_param()
242 CHECKIF(!IN_RANGE(start_param->pa_interval, BT_GAP_PER_ADV_MIN_INTERVAL, in valid_broadcast_reception_start_param()
248 CHECKIF(start_param->broadcast_id > BT_AUDIO_BROADCAST_ID_MAX) { in valid_broadcast_reception_start_param()
254 CHECKIF(start_param->num_subgroups == 0) { in valid_broadcast_reception_start_param()
259 CHECKIF(start_param->num_subgroups > CONFIG_BT_BAP_BASS_MAX_SUBGROUPS) { in valid_broadcast_reception_start_param()
266 CHECKIF(start_param->subgroups == NULL) { in valid_broadcast_reception_start_param()
276 CHECKIF(!valid_bis_syncs(param_subgroups->bis_sync)) { in valid_broadcast_reception_start_param()
283 CHECKIF((total_bis_sync & param_subgroups->bis_sync) != 0) { in valid_broadcast_reception_start_param()
293 CHECKIF(param_subgroups->metadata_len > in valid_broadcast_reception_start_param()
303 CHECKIF(param_subgroups->metadata_len > 0 && in valid_broadcast_reception_start_param()
534 CHECKIF(param == NULL) { in valid_broadcast_reception_stop_param()
539 CHECKIF(param->count == 0) { in valid_broadcast_reception_stop_param()
544 CHECKIF(param->count > CONFIG_BT_MAX_CONN) { in valid_broadcast_reception_stop_param()
550 CHECKIF(param->param == NULL) { in valid_broadcast_reception_stop_param()
572 CHECKIF(stop_param->num_subgroups == 0) { in valid_broadcast_reception_stop_param()
577 CHECKIF(stop_param->num_subgroups > CONFIG_BT_BAP_BASS_MAX_SUBGROUPS) { in valid_broadcast_reception_stop_param()
728 CHECKIF(param == NULL) { in valid_distribute_broadcast_code_param()
733 CHECKIF(param->count == 0) { in valid_distribute_broadcast_code_param()
738 CHECKIF(param->count > CONFIG_BT_MAX_CONN) { in valid_distribute_broadcast_code_param()
744 CHECKIF(param->param == NULL) { in valid_distribute_broadcast_code_param()
966 CHECKIF(param == NULL) { in valid_change_volume_param()
971 CHECKIF(param->count == 0) { in valid_change_volume_param()
976 CHECKIF(param->members == NULL) { in valid_change_volume_param()
981 CHECKIF(param->count > CONFIG_BT_MAX_CONN) { in valid_change_volume_param()
1140 CHECKIF(param == NULL) { in valid_change_volume_mute_state_param()
1145 CHECKIF(param->count == 0) { in valid_change_volume_mute_state_param()
1150 CHECKIF(param->members == NULL) { in valid_change_volume_mute_state_param()
1155 CHECKIF(param->count > CONFIG_BT_MAX_CONN) { in valid_change_volume_mute_state_param()
1176 CHECKIF(bt_vcp_vol_ctlr_get_by_conn(member_conn) == NULL) { in valid_change_volume_mute_state_param()
1184 CHECKIF(other == member) { in valid_change_volume_mute_state_param()
1292 CHECKIF(member_conn == NULL) { in bt_cap_commander_change_volume_mute_state()
1326 CHECKIF(param == NULL) { in valid_change_offset_param()
1331 CHECKIF(param->count == 0) { in valid_change_offset_param()
1336 CHECKIF(param->param == NULL) { in valid_change_offset_param()
1341 CHECKIF(param->count > CONFIG_BT_MAX_CONN) { in valid_change_offset_param()
1563 CHECKIF(param == NULL) { in valid_change_microphone_mute_state_param()
1568 CHECKIF(param->count == 0) { in valid_change_microphone_mute_state_param()
1573 CHECKIF(param->members == NULL) { in valid_change_microphone_mute_state_param()
1578 CHECKIF(param->count > CONFIG_BT_MAX_CONN) { in valid_change_microphone_mute_state_param()
1599 CHECKIF(bt_micp_mic_ctlr_get_by_conn(member_conn) == NULL) { in valid_change_microphone_mute_state_param()
1607 CHECKIF(other == member) { in valid_change_microphone_mute_state_param()
1715 CHECKIF(member_conn == NULL) { in bt_cap_commander_change_microphone_mute_state()
1749 CHECKIF(param == NULL) { in valid_change_microphone_gain_param()
1754 CHECKIF(param->count == 0) { in valid_change_microphone_gain_param()
1759 CHECKIF(param->param == NULL) { in valid_change_microphone_gain_param()
1764 CHECKIF(param->count > CONFIG_BT_MAX_CONN) { in valid_change_microphone_gain_param()