/Zephyr-Core-3.6.0/include/zephyr/drivers/sip_svc/ |
D | sip_svc_driver.h | 130 __ASSERT(dev, "dev shouldn't be NULL"); in z_impl_sip_supervisory_call() 133 __ASSERT(api->sip_supervisory_call, "sip_supervisory_call shouldn't be NULL"); in z_impl_sip_supervisory_call() 134 __ASSERT(res, "response pointer shouldn't be NULL"); in z_impl_sip_supervisory_call() 154 __ASSERT(dev, "dev shouldn't be NULL"); in z_impl_sip_svc_plat_func_id_valid() 157 __ASSERT(api->sip_svc_plat_func_id_valid, in z_impl_sip_svc_plat_func_id_valid() 177 __ASSERT(dev, "dev shouldn't be NULL"); in z_impl_sip_svc_plat_format_trans_id() 180 __ASSERT(api->sip_svc_plat_format_trans_id, in z_impl_sip_svc_plat_format_trans_id() 198 __ASSERT(dev, "dev shouldn't be NULL"); in z_impl_sip_svc_plat_get_trans_idx() 201 __ASSERT(api->sip_svc_plat_get_trans_idx, in z_impl_sip_svc_plat_get_trans_idx() 220 __ASSERT(dev, "dev shouldn't be NULL"); in z_impl_sip_svc_plat_update_trans_id() [all …]
|
/Zephyr-Core-3.6.0/drivers/smbus/ |
D | smbus_utils.h | 26 __ASSERT(callback, "No callback!"); in smbus_callback_set() 27 __ASSERT(callback->handler, "No callback handler!"); in smbus_callback_set() 49 __ASSERT(callback, "No callback!"); in smbus_callback_remove() 50 __ASSERT(callback->handler, "No callback handler!"); in smbus_callback_remove() 75 __ASSERT(cb->handler, "No callback handler!"); in smbus_fire_callbacks() 92 __ASSERT(callback, "Callback pointer should not be NULL"); in smbus_init_callback() 93 __ASSERT(handler, "Callback handler pointer should not be NULL"); in smbus_init_callback()
|
/Zephyr-Core-3.6.0/include/zephyr/crypto/ |
D | crypto.h | 118 __ASSERT((tmp & (CAP_OPAQUE_KEY_HNDL | CAP_RAW_KEY)) != 0, in crypto_query_hwcaps() 121 __ASSERT((tmp & (CAP_INPLACE_OPS | CAP_SEPARATE_IO_BUFS)) != 0, in crypto_query_hwcaps() 124 __ASSERT((tmp & (CAP_SYNC_OPS | CAP_ASYNC_OPS)) != 0, in crypto_query_hwcaps() 174 __ASSERT(flags != 0U, "Keytype missing: RAW Key or OPAQUE handle"); in cipher_begin_session() 175 __ASSERT(flags != (CAP_OPAQUE_KEY_HNDL | CAP_RAW_KEY), in cipher_begin_session() 179 __ASSERT(flags != 0U, "IO buffer type missing"); in cipher_begin_session() 180 __ASSERT(flags != (CAP_INPLACE_OPS | CAP_SEPARATE_IO_BUFS), in cipher_begin_session() 184 __ASSERT(flags != 0U, "sync/async type missing"); in cipher_begin_session() 185 __ASSERT(flags != (CAP_SYNC_OPS | CAP_ASYNC_OPS), in cipher_begin_session() 253 __ASSERT(ctx->ops.cipher_mode == CRYPTO_CIPHER_MODE_ECB, "ECB mode " in cipher_block_op() [all …]
|
/Zephyr-Core-3.6.0/drivers/gnss/ |
D | gnss_parse.c | 28 __ASSERT(str != NULL, "str argument must be provided"); in gnss_parse_dec_to_nano() 29 __ASSERT(nano != NULL, "nano argument must be provided"); in gnss_parse_dec_to_nano() 106 __ASSERT(str != NULL, "str argument must be provided"); in gnss_parse_dec_to_micro() 107 __ASSERT(micro != NULL, "micro argument must be provided"); in gnss_parse_dec_to_micro() 123 __ASSERT(str != NULL, "str argument must be provided"); in gnss_parse_dec_to_milli() 124 __ASSERT(milli != NULL, "milli argument must be provided"); in gnss_parse_dec_to_milli() 139 __ASSERT(str != NULL, "str argument must be provided"); in gnss_parse_atoi() 140 __ASSERT(integer != NULL, "integer argument must be provided"); in gnss_parse_atoi()
|
D | gnss_nmea0183.c | 116 __ASSERT(str != NULL, "str argument must be provided"); in gnss_nmea0183_checksum() 133 __ASSERT(str != NULL, "str argument must be provided"); in gnss_nmea0183_snprintk() 134 __ASSERT(fmt != NULL, "fmt argument must be provided"); in gnss_nmea0183_snprintk() 173 __ASSERT(ddmm_mmmm != NULL, "ddmm_mmmm argument must be provided"); in gnss_nmea0183_ddmm_mmmm_to_ndeg() 174 __ASSERT(ndeg != NULL, "ndeg argument must be provided"); in gnss_nmea0183_ddmm_mmmm_to_ndeg() 253 __ASSERT(argv != NULL, "argv argument must be provided"); in gnss_nmea0183_validate_message() 293 __ASSERT(str != NULL, "str argument must be provided"); in gnss_nmea0183_knots_to_mms() 294 __ASSERT(mms != NULL, "mms argument must be provided"); in gnss_nmea0183_knots_to_mms() 311 __ASSERT(hhmmss != NULL, "hhmmss argument must be provided"); in gnss_nmea0183_parse_hhmmss() 312 __ASSERT(utc != NULL, "utc argument must be provided"); in gnss_nmea0183_parse_hhmmss() [all …]
|
/Zephyr-Core-3.6.0/tests/drivers/gpio/gpio_basic_api/src/ |
D | gpio_emul_callback.c | 39 __ASSERT(pins & gpio_emul_callback.pin_mask, "invalid mask: %x", pins); in gpio_emul_callback_handler() 42 __ASSERT(r == 0, "gpio_emul_flags_get() failed: %d", r); in gpio_emul_callback_handler() 44 __ASSERT(r == 0, "gpio_emul_flags_get() failed: %d", r); in gpio_emul_callback_handler() 48 __ASSERT(r == 0 || r == 1, "gpio_emul_output_get() failed: %d", r); in gpio_emul_callback_handler() 51 __ASSERT(r == 0, "gpio_emul_input_set() failed: %d", r); in gpio_emul_callback_handler() 65 __ASSERT(r == 0, "gpio_emul_input_set() failed: %d", r); in gpio_emul_callback_handler()
|
/Zephyr-Core-3.6.0/samples/subsys/sip_svc/src/ |
D | main.c | 59 __ASSERT(resp_addr != NULL, "Failed to get memory"); in main() 62 __ASSERT(mb_smc_ctrl != NULL, "Failed to get the controller from sip_svc"); in main() 65 __ASSERT(mb_c_token != SIP_SVC_ID_INVALID, "Failed to register with sip_svc"); in main() 77 __ASSERT(err != SIP_SVC_ID_INVALID, "Failed to open with sip_svc"); in main() 80 __ASSERT(cmd_addr != NULL, "Failed to get memory"); in main() 99 __ASSERT(trans_id < 0, "Error in sending a request to SDM mailbox"); in main() 102 __ASSERT(err != 0, "Error in taking semaphore"); in main() 111 __ASSERT(err != SIP_SVC_ID_INVALID, "Failed to close with sip_svc"); in main()
|
/Zephyr-Core-3.6.0/tests/arch/arm/arm_no_multithreading/src/ |
D | main.c | 66 __ASSERT( in test_main() 72 __ASSERT((__get_FPSCR() & FPSCR_MASK) == 0, in test_main() 78 __ASSERT( in test_main() 85 __ASSERT(arch_irq_unlocked(key), in test_main() 99 __ASSERT(flag == 0, "Test flag not initialized to 0\n"); in test_main() 151 __ASSERT(flag > 0, "Test flag not set by IRQ\n"); in test_main() 155 __ASSERT(0, "No available IRQ line to use in the test\n"); in test_main()
|
/Zephyr-Core-3.6.0/drivers/misc/ft8xx/ |
D | ft8xx_common.c | 17 __ASSERT(err == 0, "Writing FT8xx data at 0x%x failed", address); in ft8xx_wr8() 27 __ASSERT(err == 0, "Writing FT8xx data at 0x%x failed", address); in ft8xx_wr16() 37 __ASSERT(err == 0, "Writing FT8xx data at 0x%x failed", address); in ft8xx_wr32() 46 __ASSERT(err == 0, "Reading FT8xx data from 0x%x failed", address); in ft8xx_rd8() 57 __ASSERT(err == 0, "Reading FT8xx data from 0x%x failed", address); in ft8xx_rd16() 68 __ASSERT(err == 0, "Reading FT8xx data from 0x%x failed", address); in ft8xx_rd32()
|
/Zephyr-Core-3.6.0/tests/subsys/sip_svc/src/ |
D | main.c | 62 __ASSERT(ctrl != NULL, "couldn't get the controller"); in sip_svc_send_sync_request() 65 __ASSERT(tot_time != NULL, "tot_time should not be NULL"); in sip_svc_send_sync_request() 68 __ASSERT(err == 0, "couldn't open channel"); in sip_svc_send_sync_request() 78 __ASSERT(trans_id >= 0, "error in sending request"); in sip_svc_send_sync_request() 81 __ASSERT(err == 0, "Error in taking semaphore"); in sip_svc_send_sync_request() 90 __ASSERT(err == 0, "error in closing channel"); in sip_svc_send_sync_request() 106 __ASSERT((resp_data[1] == TEST_VAL), "SDM response is not matching"); in get_async_callback() 133 __ASSERT(ctrl != NULL, "couldn't get the controller"); in sip_svc_send_async_request() 136 __ASSERT(err == 0, "couldn't open channel"); in sip_svc_send_async_request() 139 __ASSERT(tot_time != NULL, "tot_time should not be NULL"); in sip_svc_send_async_request() [all …]
|
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/gatt/settings/src/ |
D | utils.c | 70 __ASSERT(err == 0, "Error setting security (err %u)\n", err); in security_changed() 98 __ASSERT(!err, "Err bt_le_scan_stop %d", err); in scan_connect_to_first_result_device_found() 103 __ASSERT(!err, "Err bt_conn_le_create %d", err); in scan_connect_to_first_result_device_found() 113 __ASSERT(!err, "Err bt_le_scan_start %d", err); in scan_connect_to_first_result() 128 __ASSERT(err == 0, "Advertising failed to start (err %d)\n", err); in advertise_connectable() 136 __ASSERT(!err, "Failed to initate disconnection (err %d)", err); in disconnect() 156 __ASSERT(bonded, "Bonding failed\n"); in pairing_complete() 174 __ASSERT(!err, "Err bt_conn_set_security %d", err); in set_security() 191 __ASSERT(!err, "bt_conn_auth_info_cb_register failed.\n"); in bond() 205 __ASSERT(!err, "bt_conn_auth_info_cb_register failed.\n"); in wait_bonded()
|
/Zephyr-Core-3.6.0/include/zephyr/kernel/internal/ |
D | mm.h | 67 __ASSERT(sys_mm_is_virt_addr_in_range(virt), in z_mem_phys_addr() 70 __ASSERT( in z_mem_phys_addr() 83 __ASSERT( in z_mem_phys_addr() 108 __ASSERT(sys_mm_is_phys_addr_in_range(phys), in z_mem_virt_addr() 111 __ASSERT( in z_mem_virt_addr()
|
/Zephyr-Core-3.6.0/subsys/demand_paging/backing_store/ |
D | ram.c | 61 __ASSERT(location % CONFIG_MMU_PAGE_SIZE == 0, in location_to_slab() 63 __ASSERT(location < in location_to_slab() 75 __ASSERT(pos >= backing_store && in slab_to_location() 79 __ASSERT(offset % CONFIG_MMU_PAGE_SIZE == 0, in slab_to_location() 97 __ASSERT(ret == 0, "slab count mismatch"); in k_mem_paging_backing_store_location_get()
|
/Zephyr-Core-3.6.0/kernel/ |
D | mmu.c | 107 __ASSERT(page_frames_initialized, "%s called too early", __func__); in z_page_frames_dump() 250 __ASSERT((vaddr_u8 >= Z_VIRT_REGION_START_ADDR) in virt_region_free() 390 __ASSERT(expr, "page frame 0x%lx: " fmt, z_page_frame_to_phys(pf), \ 524 __ASSERT(pf != NULL, "failed to get a page frame"); in map_anon_page() 568 __ASSERT(!(((flags & K_MEM_PERM_USER) != 0U) && in k_mem_map() 571 __ASSERT(size % CONFIG_MMU_PAGE_SIZE == 0U, in k_mem_map() 573 __ASSERT(size != 0, "zero sized memory mapping"); in k_mem_map() 574 __ASSERT(page_frames_initialized, "%s called too early", __func__); in k_mem_map() 575 __ASSERT((flags & K_MEM_CACHE_MASK) == 0U, in k_mem_map() 645 __ASSERT(ret == 0, in k_mem_unmap() [all …]
|
D | poll.c | 46 __ASSERT(mode == K_POLL_MODE_NOTIFY_ONLY, in k_poll_event_init() 48 __ASSERT(type < (BIT(_POLL_NUM_TYPES)), "invalid type\n"); in k_poll_event_init() 49 __ASSERT(obj != NULL, "must provide an object\n"); in k_poll_event_init() 100 __ASSERT(false, "invalid event type (0x%x)\n", event->type); in is_condition_met() 142 __ASSERT(event->sem != NULL, "invalid semaphore\n"); in register_event() 146 __ASSERT(event->queue != NULL, "invalid queue\n"); in register_event() 150 __ASSERT(event->signal != NULL, "invalid poll signal\n"); in register_event() 154 __ASSERT(event->msgq != NULL, "invalid message queue\n"); in register_event() 159 __ASSERT(event->pipe != NULL, "invalid pipe\n"); in register_event() 167 __ASSERT(false, "invalid event type\n"); in register_event() [all …]
|
/Zephyr-Core-3.6.0/modules/fatfs/ |
D | zfs_diskio.c | 22 __ASSERT(pdrv < ARRAY_SIZE(pdrv_str), "pdrv out-of-range\n"); in disk_status() 34 __ASSERT(pdrv < ARRAY_SIZE(pdrv_str), "pdrv out-of-range\n"); in disk_initialize() 46 __ASSERT(pdrv < ARRAY_SIZE(pdrv_str), "pdrv out-of-range\n"); in disk_read() 59 __ASSERT(pdrv < ARRAY_SIZE(pdrv_str), "pdrv out-of-range\n"); in disk_write() 74 __ASSERT(pdrv < ARRAY_SIZE(pdrv_str), "pdrv out-of-range\n"); in disk_ioctl()
|
/Zephyr-Core-3.6.0/arch/riscv/core/ |
D | fpu.c | 67 __ASSERT((status & MSTATUS_IEN) == 0, "must be called with IRQs disabled"); in z_riscv_fpu_disable() 79 __ASSERT((csr_read(mstatus) & MSTATUS_IEN) == 0, in z_riscv_fpu_load() 81 __ASSERT((csr_read(mstatus) & MSTATUS_FS) == 0, in z_riscv_fpu_load() 103 __ASSERT((csr_read(mstatus) & MSTATUS_IEN) == 0, in arch_flush_local_fpu() 105 __ASSERT((csr_read(mstatus) & MSTATUS_FS) == 0, in arch_flush_local_fpu() 135 __ASSERT((csr_read(mstatus) & MSTATUS_IEN) == 0, in flush_owned_fpu() 209 __ASSERT((esf->mstatus & MSTATUS_FS) == 0 && in z_riscv_fpu_trap() 256 __ASSERT((csr_read(mstatus) & MSTATUS_IEN) == 0, in fpu_access_allowed()
|
/Zephyr-Core-3.6.0/subsys/portability/cmsis_rtos_v2/ |
D | thread.c | 148 __ASSERT(attr->stack_size <= CONFIG_CMSIS_V2_THREAD_MAX_STACK_SIZE, in osThreadNew() 151 __ASSERT((cv2_prio >= osPriorityIdle) && (cv2_prio <= osPriorityISR), in osThreadNew() 170 __ASSERT(CONFIG_CMSIS_V2_THREAD_DYNAMIC_STACK_SIZE > 0, in osThreadNew() 356 __ASSERT(tid, ""); in osThreadGetStackSize() 357 __ASSERT(is_cmsis_rtos_v2_thread(tid), ""); in osThreadGetStackSize() 358 __ASSERT(!k_is_in_isr(), ""); in osThreadGetStackSize() 373 __ASSERT(tid, ""); in osThreadGetStackSpace() 374 __ASSERT(is_cmsis_rtos_v2_thread(tid), ""); in osThreadGetStackSpace() 375 __ASSERT(!k_is_in_isr(), ""); in osThreadGetStackSpace() 453 __ASSERT(tid->attr_bits != osThreadDetached, in osThreadDetach() [all …]
|
/Zephyr-Core-3.6.0/drivers/espi/ |
D | espi_utils.h | 26 __ASSERT(callback, "No callback!"); in espi_manage_callback() 27 __ASSERT(callback->handler, "No callback handler!"); in espi_manage_callback() 61 __ASSERT(cb->handler, "No callback handler!"); in espi_send_callbacks()
|
/Zephyr-Core-3.6.0/drivers/dma/ |
D | dma_intel_adsp_hda.c | 39 __ASSERT(channel < cfg->dma_channels, "Channel does not exist"); in intel_adsp_hda_dma_host_in_config() 40 __ASSERT(dma_cfg->block_count == 1, in intel_adsp_hda_dma_host_in_config() 43 __ASSERT(dma_cfg->channel_direction == cfg->direction, in intel_adsp_hda_dma_host_in_config() 73 __ASSERT(channel < cfg->dma_channels, "Channel does not exist"); in intel_adsp_hda_dma_host_out_config() 74 __ASSERT(dma_cfg->block_count == 1, in intel_adsp_hda_dma_host_out_config() 77 __ASSERT(dma_cfg->channel_direction == cfg->direction, in intel_adsp_hda_dma_host_out_config() 107 __ASSERT(channel < cfg->dma_channels, "Channel does not exist"); in intel_adsp_hda_dma_link_in_config() 108 __ASSERT(dma_cfg->block_count == 1, in intel_adsp_hda_dma_link_in_config() 111 __ASSERT(dma_cfg->channel_direction == cfg->direction, in intel_adsp_hda_dma_link_in_config() 137 __ASSERT(channel < cfg->dma_channels, "Channel does not exist"); in intel_adsp_hda_dma_link_out_config() [all …]
|
/Zephyr-Core-3.6.0/subsys/bluetooth/audio/ |
D | bap_iso.c | 73 __ASSERT(old > 0, "iso reference counter is 0"); in bt_bap_iso_unref() 208 __ASSERT(ep->iso == NULL, "ep %p bound with iso %p already", ep, ep->iso); in bt_bap_iso_bind_ep() 209 __ASSERT(ep->dir == BT_AUDIO_DIR_SINK || ep->dir == BT_AUDIO_DIR_SOURCE, in bt_bap_iso_bind_ep() 215 __ASSERT(iso_dir->ep == NULL, "iso %p bound with ep %p", iso, iso_dir); in bt_bap_iso_bind_ep() 227 __ASSERT(ep->iso == iso, "ep %p not bound with iso %p, was bound to %p", in bt_bap_iso_unbind_ep() 229 __ASSERT(ep->dir == BT_AUDIO_DIR_SINK || ep->dir == BT_AUDIO_DIR_SOURCE, in bt_bap_iso_unbind_ep() 235 __ASSERT(iso_dir->ep == ep, "iso %p not bound with ep %p", iso, ep); in bt_bap_iso_unbind_ep() 247 __ASSERT(dir == BT_AUDIO_DIR_SINK || dir == BT_AUDIO_DIR_SOURCE, in bt_bap_iso_get_ep() 274 __ASSERT(stream->bap_iso == NULL, "stream %p bound with bap_iso %p already", stream, in bt_bap_iso_bind_stream() 286 __ASSERT(bap_iso_ep->stream == NULL, "bap_iso %p bound with stream %p", bap_iso, in bt_bap_iso_bind_stream() [all …]
|
/Zephyr-Core-3.6.0/subsys/sensing/ |
D | sensor_mgmt.h | 29 ({ __ASSERT(sensor >= STRUCT_SECTION_START(sensing_sensor) - 1, \ 69 __ASSERT(true, "device %s is not a sensing sensor", dev->name); in get_sensor_by_dev() 85 __ASSERT(conn, "get sensor info, connection not be NULL"); in get_sensor_info() 87 __ASSERT(conn->source, "get sensor info, sensing_sensor is NULL"); in get_sensor_info() 115 __ASSERT(sensitivity, "sensitivity should not be NULL"); in is_filtering_sensitivity()
|
/Zephyr-Core-3.6.0/soc/arm/atmel_sam/common/ |
D | soc_pmc.c | 21 __ASSERT(id < ID_PERIPH_COUNT, "Invalid peripheral id"); in soc_pmc_peripheral_enable() 38 __ASSERT(id < ID_PERIPH_COUNT, "Invalid peripheral id"); in soc_pmc_peripheral_disable() 55 __ASSERT(id < ID_PERIPH_COUNT, "Invalid peripheral id"); in soc_pmc_peripheral_is_enabled()
|
/Zephyr-Core-3.6.0/tests/bluetooth/common/testlib/include/testlib/ |
D | log_utils.h | 19 __ASSERT(source_id >= 0, "%d", source_id); in bt_testlib_log_level_set() 22 __ASSERT(result_level == new_level, "%u %u", result_level, new_level); in bt_testlib_log_level_set() 37 __ASSERT(result_level == new_level, "%u %u", result_level, new_level); in bt_testlib_log_level_set_all()
|
/Zephyr-Core-3.6.0/arch/arm/include/cortex_m/ |
D | dwt.h | 106 __ASSERT((DWT->CTRL & DWT_CTRL_NOCYCCNT_Msk) == 0, in z_arm_dwt_init_cycle_counter() 150 __ASSERT((CoreDebug->DHCSR & CoreDebug_DHCSR_C_DEBUGEN_Msk) == 0, in z_arm_dwt_enable_debug_monitor() 161 __ASSERT((CoreDebug->DEMCR & DCB_DEMCR_SDME_Msk) != 0, in z_arm_dwt_enable_debug_monitor()
|