/Zephyr-Core-3.5.0/subsys/bluetooth/audio/ |
D | codec.c | 135 CHECKIF(codec_cfg == NULL) { in bt_audio_codec_cfg_get_val() 140 CHECKIF(data == NULL) { in bt_audio_codec_cfg_get_val() 164 CHECKIF(codec_cfg == NULL) { in bt_audio_codec_cfg_set_val() 169 CHECKIF(data == NULL) { in bt_audio_codec_cfg_set_val() 174 CHECKIF(data_len == 0U || data_len > UINT8_MAX) { in bt_audio_codec_cfg_set_val() 273 CHECKIF(codec_cfg == NULL) { in bt_audio_codec_cfg_get_freq() 317 CHECKIF(codec_cfg == NULL) { in bt_audio_codec_cfg_get_frame_duration_us() 349 CHECKIF(codec_cfg == NULL) { in bt_audio_codec_cfg_get_chan_allocation() 354 CHECKIF(chan_allocation == NULL) { in bt_audio_codec_cfg_get_chan_allocation() 395 CHECKIF(codec_cfg == NULL) { in bt_audio_codec_cfg_get_octets_per_frame() [all …]
|
D | bap_broadcast_source.c | 484 CHECKIF(param == NULL) { in valid_broadcast_source_param() 489 CHECKIF(!IN_RANGE(param->params_count, 1U, CONFIG_BT_BAP_BROADCAST_SRC_SUBGROUP_COUNT)) { in valid_broadcast_source_param() 494 CHECKIF(param->packing != BT_ISO_PACKING_SEQUENTIAL && in valid_broadcast_source_param() 501 CHECKIF(qos == NULL) { in valid_broadcast_source_param() 506 CHECKIF(bt_audio_verify_qos(qos) != BT_BAP_ASCS_REASON_NONE) { in valid_broadcast_source_param() 511 CHECKIF(param->qos->rtn > BT_ISO_BROADCAST_RTN_MAX) { in valid_broadcast_source_param() 516 CHECKIF(param->params == NULL) { in valid_broadcast_source_param() 521 CHECKIF(param->params_count == 0) { in valid_broadcast_source_param() 531 CHECKIF(subgroup_param->params == NULL) { in valid_broadcast_source_param() 536 CHECKIF(!IN_RANGE(subgroup_param->params_count, 1U, in valid_broadcast_source_param() [all …]
|
D | cap_initiator.c | 26 CHECKIF(cb == NULL) { in bt_cap_initiator_register_cb() 31 CHECKIF(cap_cb != NULL) { in bt_cap_initiator_register_cb() 98 CHECKIF(codec_cfg == NULL) { in cap_initiator_broadcast_audio_start_valid_param() 106 CHECKIF(!valid_metadata) { in cap_initiator_broadcast_audio_start_valid_param() 175 CHECKIF(param == NULL) { in bt_cap_initiator_broadcast_audio_create() 180 CHECKIF(broadcast_source == NULL) { in bt_cap_initiator_broadcast_audio_create() 206 CHECKIF(adv == NULL) { in bt_cap_initiator_broadcast_audio_start() 211 CHECKIF(broadcast_source == NULL) { in bt_cap_initiator_broadcast_audio_start() 222 CHECKIF(broadcast_source == NULL) { in bt_cap_initiator_broadcast_audio_update() 227 CHECKIF(meta == NULL) { in bt_cap_initiator_broadcast_audio_update() [all …]
|
D | vocs_client.c | 428 CHECKIF(!inst) { in bt_vocs_client_state_get() 433 CHECKIF(inst->conn == NULL) { in bt_vocs_client_state_get() 463 CHECKIF(!inst) { in bt_vocs_client_location_set() 468 CHECKIF(inst->conn == NULL) { in bt_vocs_client_location_set() 473 CHECKIF(location == BT_AUDIO_LOCATION_PROHIBITED || location > BT_AUDIO_LOCATION_ANY) { in bt_vocs_client_location_set() 498 CHECKIF(!inst) { in bt_vocs_client_location_get() 503 CHECKIF(inst->conn == NULL) { in bt_vocs_client_location_get() 532 CHECKIF(!inst) { in bt_vocs_client_state_set() 537 CHECKIF(inst->conn == NULL) { in bt_vocs_client_state_set() 542 CHECKIF(!IN_RANGE(offset, BT_VOCS_MIN_OFFSET, BT_VOCS_MAX_OFFSET)) { in bt_vocs_client_state_set() [all …]
|
D | aics.c | 429 CHECKIF(!aics) { in bt_aics_svc_decl_get() 449 CHECKIF(!aics) { in bt_aics_register() 454 CHECKIF(!param) { in bt_aics_register() 464 CHECKIF(aics->srv.initialized) { in bt_aics_register() 468 CHECKIF(param->mute > BT_AICS_STATE_MUTE_DISABLED) { in bt_aics_register() 473 CHECKIF(param->gain_mode > BT_AICS_MODE_AUTO) { in bt_aics_register() 478 CHECKIF(param->type > BT_AICS_INPUT_TYPE_STREAMING) { in bt_aics_register() 483 CHECKIF(param->units == 0) { in bt_aics_register() 488 CHECKIF(!(param->min_gain <= param->max_gain)) { in bt_aics_register() 494 CHECKIF(param->gain < param->min_gain || param->gain > param->max_gain) { in bt_aics_register() [all …]
|
D | aics_client.c | 445 CHECKIF(!inst) { in aics_client_common_control() 450 CHECKIF(!inst->client_instance) { in aics_client_common_control() 455 CHECKIF(inst->cli.conn == NULL) { in aics_client_common_control() 676 CHECKIF(!inst || !conn || !param) { in bt_aics_discover() 683 CHECKIF(param->end_handle <= param->start_handle) { in bt_aics_discover() 689 CHECKIF(!inst->cli.active) { in bt_aics_discover() 734 CHECKIF(aics == NULL) { in bt_aics_client_conn_get() 758 CHECKIF(!inst) { in bt_aics_client_state_get() 763 CHECKIF(!inst->client_instance) { in bt_aics_client_state_get() 768 CHECKIF(inst->cli.conn == NULL) { in bt_aics_client_state_get() [all …]
|
D | vocs.c | 348 CHECKIF(!vocs) { in bt_vocs_svc_decl_get() 353 CHECKIF(vocs->client_instance) { in bt_vocs_svc_decl_get() 379 CHECKIF(!vocs) { in bt_vocs_register() 384 CHECKIF(vocs->client_instance) { in bt_vocs_register() 391 CHECKIF(!param) { in bt_vocs_register() 401 CHECKIF(inst->initialized) { in bt_vocs_register() 406 CHECKIF(param->offset > BT_VOCS_MAX_OFFSET || param->offset < BT_VOCS_MIN_OFFSET) { in bt_vocs_register() 465 CHECKIF(!inst) { in bt_vocs_state_get() 488 CHECKIF(!inst) { in bt_vocs_location_get() 511 CHECKIF(!inst) { in bt_vocs_location_set() [all …]
|
D | media_proxy.c | 629 CHECKIF(ctrl_cbs == NULL) { in media_proxy_ctrl_register() 664 CHECKIF(!conn) { in media_proxy_ctrl_discover_player() 732 CHECKIF(player == NULL) { in media_proxy_ctrl_get_player_name() 769 CHECKIF(player == NULL) { in media_proxy_ctrl_get_icon_id() 804 CHECKIF(player == NULL) { in media_proxy_ctrl_get_icon_url() 839 CHECKIF(player == NULL) { in media_proxy_ctrl_get_track_title() 874 CHECKIF(player == NULL) { in media_proxy_ctrl_get_track_duration() 910 CHECKIF(player == NULL) { in media_proxy_ctrl_get_track_position() 946 CHECKIF(player == NULL) { in media_proxy_ctrl_set_track_position() 981 CHECKIF(player == NULL) { in media_proxy_ctrl_get_playback_speed() [all …]
|
D | bap_stream.c | 286 CHECKIF(stream == NULL) { in bt_bap_stream_get_tx_sync() 292 CHECKIF(info == NULL) { in bt_bap_stream_get_tx_sync() 455 CHECKIF(conn == NULL || stream == NULL || codec_cfg == NULL) { in bt_bap_stream_config() 502 CHECKIF(conn == NULL) { in bt_bap_stream_qos() 507 CHECKIF(group == NULL) { in bt_bap_stream_qos() 612 CHECKIF(stream == NULL || stream->ep == NULL || stream->conn == NULL) { in bt_bap_stream_reconfig() 617 CHECKIF(codec_cfg == NULL) { in bt_bap_stream_reconfig() 662 CHECKIF(stream == NULL || stream->ep == NULL || stream->conn == NULL) { in bt_bap_stream_start() 702 CHECKIF(stream == NULL || stream->ep == NULL || stream->conn == NULL) { in bt_bap_stream_metadata() 707 CHECKIF((meta == NULL && meta_len != 0U) || (meta != NULL && meta_len == 0U)) { in bt_bap_stream_metadata() [all …]
|
D | micp_mic_ctlr.c | 388 CHECKIF(conn == NULL) { in bt_micp_mic_ctlr_discover() 440 CHECKIF(cb->aics_cb.discover != NULL && in bt_micp_mic_ctlr_cb_register() 469 CHECKIF(mic_ctlr == NULL) { in bt_micp_mic_ctlr_included_get() 474 CHECKIF(included == NULL) { in bt_micp_mic_ctlr_included_get() 486 CHECKIF(mic_ctlr == NULL) { in bt_micp_mic_ctlr_conn_get() 505 CHECKIF(mic_ctlr == NULL) { in bt_micp_mic_ctlr_mute_get() 534 CHECKIF(mic_ctlr == NULL) { in bt_micp_mic_ctlr_write_mute()
|
D | mcc.c | 1923 CHECKIF(!conn) { in bt_mcc_discover_mcs() 1956 CHECKIF(conn == NULL) { in bt_mcc_read_player_name() 1996 CHECKIF(conn == NULL) { in bt_mcc_read_icon_obj_id() 2035 CHECKIF(conn == NULL) { in bt_mcc_read_icon_url() 2073 CHECKIF(conn == NULL) { in bt_mcc_read_track_title() 2111 CHECKIF(conn == NULL) { in bt_mcc_read_track_duration() 2149 CHECKIF(conn == NULL) { in bt_mcc_read_track_position() 2187 CHECKIF(conn == NULL) { in bt_mcc_set_track_position() 2230 CHECKIF(conn == NULL) { in bt_mcc_read_playback_speed() 2268 CHECKIF(conn == NULL) { in bt_mcc_set_playback_speed() [all …]
|
D | vcp_vol_ctlr.c | 516 CHECKIF(vol_ctlr == NULL) { in vcp_vol_ctlr_common_vcs_cp() 726 CHECKIF(conn == NULL) { in bt_vcp_vol_ctlr_discover() 731 CHECKIF(out_vol_ctlr == NULL) { in bt_vcp_vol_ctlr_discover() 772 CHECKIF(cb->vocs_cb.discover != NULL && in bt_vcp_vol_ctlr_cb_register() 798 CHECKIF(cb->aics_cb.discover != NULL && in bt_vcp_vol_ctlr_cb_register() 827 CHECKIF(!included || vol_ctlr == NULL) { in bt_vcp_vol_ctlr_included_get() 842 CHECKIF(vol_ctlr == NULL) { in bt_vcp_vol_ctlr_conn_get() 847 CHECKIF(conn == NULL) { in bt_vcp_vol_ctlr_conn_get() 866 CHECKIF(vol_ctlr == NULL) { in bt_vcp_vol_ctlr_read_state() 900 CHECKIF(vol_ctlr == NULL) { in bt_vcp_vol_ctlr_read_flags() [all …]
|
/Zephyr-Core-3.5.0/subsys/bluetooth/lib/ |
D | ead.c | 108 CHECKIF(session_key == NULL) { in bt_ead_encrypt() 113 CHECKIF(iv == NULL) { in bt_ead_encrypt() 118 CHECKIF(payload == NULL) { in bt_ead_encrypt() 123 CHECKIF(encrypted_payload == NULL) { in bt_ead_encrypt() 143 CHECKIF(session_key == NULL) { in bt_test_ead_encrypt() 148 CHECKIF(iv == NULL) { in bt_test_ead_encrypt() 153 CHECKIF(randomizer == NULL) { in bt_test_ead_encrypt() 158 CHECKIF(payload == NULL) { in bt_test_ead_encrypt() 163 CHECKIF(encrypted_payload == NULL) { in bt_test_ead_encrypt() 212 CHECKIF(session_key == NULL) { in bt_ead_decrypt() [all …]
|
/Zephyr-Core-3.5.0/include/zephyr/sys/ |
D | check.h | 14 #define CHECKIF(expr) \ macro 18 #define CHECKIF(...) \ macro 21 #define CHECKIF(expr) \ macro
|
/Zephyr-Core-3.5.0/kernel/ |
D | mem_domain.c | 94 CHECKIF(domain == NULL) { in k_mem_domain_init() 99 CHECKIF(!(num_parts == 0U || parts != NULL)) { in k_mem_domain_init() 105 CHECKIF(!(num_parts <= max_partitions)) { in k_mem_domain_init() 132 CHECKIF(!check_add_partition(domain, parts[i])) { in k_mem_domain_init() 145 CHECKIF(ret2 != 0) { in k_mem_domain_init() 166 CHECKIF(domain == NULL) { in k_mem_domain_add_partition() 171 CHECKIF(!check_add_partition(domain, part)) { in k_mem_domain_add_partition() 186 CHECKIF(!(p_idx < max_partitions)) { in k_mem_domain_add_partition() 219 CHECKIF((domain == NULL) || (part == NULL)) { in k_mem_domain_remove_partition() 234 CHECKIF(!(p_idx < max_partitions)) { in k_mem_domain_remove_partition()
|
/Zephyr-Core-3.5.0/subsys/fs/ |
D | fs.c | 159 CHECKIF(mp->fs->open == NULL) { in fs_open() 185 CHECKIF(zfp->mp->fs->close == NULL) { in fs_close() 208 CHECKIF(zfp->mp->fs->read == NULL) { in fs_read() 228 CHECKIF(zfp->mp->fs->write == NULL) { in fs_write() 248 CHECKIF(zfp->mp->fs->lseek == NULL) { in fs_seek() 268 CHECKIF(zfp->mp->fs->tell == NULL) { in fs_tell() 288 CHECKIF(zfp->mp->fs->truncate == NULL) { in fs_truncate() 308 CHECKIF(zfp->mp->fs->sync == NULL) { in fs_sync() 355 CHECKIF(mp->fs->opendir == NULL) { in fs_opendir() 376 CHECKIF(zdp->mp->fs->readdir == NULL) { in fs_readdir() [all …]
|
/Zephyr-Core-3.5.0/drivers/mm/ |
D | mm_drv_intel_adsp_tlb.c | 89 CHECKIF(!sys_mm_drv_is_addr_aligned(pa) || in sys_mm_drv_map_page() 96 CHECKIF((pa < L2_SRAM_BASE) || in sys_mm_drv_map_page() 103 CHECKIF((va < CONFIG_KERNEL_VM_BASE) || in sys_mm_drv_map_page() 172 CHECKIF((va < CONFIG_KERNEL_VM_BASE) || in sys_mm_drv_unmap_page() 179 CHECKIF(!sys_mm_drv_is_addr_aligned(va)) { in sys_mm_drv_unmap_page() 219 CHECKIF(!sys_mm_drv_is_addr_aligned(va)) { in sys_mm_drv_page_phys_get() 225 CHECKIF((va < CONFIG_KERNEL_VM_BASE) || in sys_mm_drv_page_phys_get()
|
D | mm_drv_intel_adsp_mtl_tlb.c | 190 CHECKIF(!sys_mm_drv_is_addr_aligned(va)) { in sys_mm_drv_map_page() 196 CHECKIF((va < UNUSED_L2_START_ALIGNED) || in sys_mm_drv_map_page() 220 CHECKIF((pa < L2_SRAM_BASE) || in sys_mm_drv_map_page() 227 CHECKIF(!sys_mm_drv_is_addr_aligned(pa)) { in sys_mm_drv_map_page() 290 CHECKIF(!sys_mm_drv_is_addr_aligned(phys) || in sys_mm_drv_map_region() 343 CHECKIF((va < UNUSED_L2_START_ALIGNED) || in sys_mm_drv_unmap_page() 350 CHECKIF(!sys_mm_drv_is_addr_aligned(va)) { in sys_mm_drv_unmap_page() 411 CHECKIF(!sys_mm_drv_is_addr_aligned(va)) { in sys_mm_drv_page_phys_get() 417 CHECKIF((va < CONFIG_KERNEL_VM_BASE) || in sys_mm_drv_page_phys_get() 452 CHECKIF(!sys_mm_drv_is_addr_aligned(va)) { in sys_mm_drv_page_flag_get() [all …]
|
D | mm_drv_common.c | 88 CHECKIF(!sys_mm_drv_is_addr_aligned(phys) || in sys_mm_drv_simple_map_region() 126 CHECKIF(!sys_mm_drv_is_addr_array_aligned(phys, cnt) || in sys_mm_drv_simple_map_array() 165 CHECKIF(!sys_mm_drv_is_virt_addr_aligned(virt) || in sys_mm_drv_simple_unmap_region() 201 CHECKIF(!sys_mm_drv_is_virt_addr_aligned(virt_old) || in sys_mm_drv_simple_remap_region() 286 CHECKIF(!sys_mm_drv_is_addr_aligned(phys_new) || in sys_mm_drv_simple_move_region() 363 CHECKIF(!sys_mm_drv_is_addr_array_aligned(phys_new, phys_cnt) || in sys_mm_drv_simple_move_array() 444 CHECKIF(!sys_mm_drv_is_virt_addr_aligned(virt) || in sys_mm_drv_simple_update_region_flags()
|
/Zephyr-Core-3.5.0/subsys/bluetooth/services/ias/ |
D | ias_client.c | 70 CHECKIF(conn == NULL) { in bt_ias_client_alert_write() 154 CHECKIF(!conn || !ias_client_cb || !ias_client_cb->discover) { in bt_ias_discover() 181 CHECKIF(!cb) { in bt_ias_client_cb_register() 185 CHECKIF(cb->discover == NULL) { in bt_ias_client_cb_register() 189 CHECKIF(ias_client_cb) { in bt_ias_client_cb_register()
|
/Zephyr-Core-3.5.0/subsys/bluetooth/host/ |
D | crypto.c | 83 CHECKIF(buf == NULL || len == 0) { in bt_rand() 106 CHECKIF(buf == NULL || len == 0) { in bt_rand() 120 CHECKIF(key == NULL || plaintext == NULL || enc_data == NULL) { in bt_encrypt_le() 151 CHECKIF(key == NULL || plaintext == NULL || enc_data == NULL) { in bt_encrypt_be()
|
D | data.c | 61 CHECKIF(input == NULL) { in bt_data_serialize() 66 CHECKIF(output == NULL) { in bt_data_serialize()
|
D | iso.c | 552 CHECKIF(chan == NULL) { in bt_iso_chan_get_info() 557 CHECKIF(chan->iso == NULL) { in bt_iso_chan_get_info() 562 CHECKIF(info == NULL) { in bt_iso_chan_get_info() 759 CHECKIF(!chan || !buf) { in bt_iso_chan_send() 890 CHECKIF(chan == NULL) { in bt_iso_chan_get_tx_sync() 895 CHECKIF(chan->iso == NULL) { in bt_iso_chan_get_tx_sync() 900 CHECKIF(info == NULL) { in bt_iso_chan_get_tx_sync() 905 CHECKIF(chan->state != BT_ISO_STATE_CONNECTED) { in bt_iso_chan_get_tx_sync() 943 CHECKIF(!chan) { in bt_iso_chan_disconnect() 948 CHECKIF(chan->iso == NULL) { in bt_iso_chan_disconnect() [all …]
|
D | id.c | 48 CHECKIF(id >= CONFIG_BT_ID_MAX || addr == NULL) { in bt_lookup_id_addr() 159 CHECKIF(adv == NULL || addr == NULL) { in bt_id_set_adv_random_addr() 294 CHECKIF(id >= CONFIG_BT_ID_MAX) { in bt_id_set_private_addr() 328 CHECKIF(adv == NULL) { in bt_id_set_adv_private_addr() 408 CHECKIF(id >= CONFIG_BT_ID_MAX) { in bt_id_set_private_addr() 436 CHECKIF(adv == NULL) { in bt_id_set_adv_private_addr() 677 CHECKIF(param == NULL) { in bt_id_adv_random_addr_check() 915 CHECKIF(keys == NULL) { in bt_id_add() 1067 CHECKIF(keys == NULL) { in bt_id_del() 1441 CHECKIF(addr == NULL) { in bt_id_read_public_addr() [all …]
|
/Zephyr-Core-3.5.0/soc/xtensa/intel_adsp/ace/ |
D | multiprocessing.c | 188 CHECKIF(arch_proc_id() != 0) { in soc_adsp_halt_cpu() 192 CHECKIF(id <= 0 || id >= arch_num_cpus()) { in soc_adsp_halt_cpu() 196 CHECKIF(soc_cpus_active[id]) { in soc_adsp_halt_cpu()
|