Home
last modified time | relevance | path

Searched refs:HPM_BREAK_IF (Results 1 – 18 of 18) sorted by relevance

/bsp/hpmicro/libraries/hpm_sdk/soc/HPM6800/HPM6880/
A Dhpm_otp_drv.c59HPM_BREAK_IF((addr >= fuse_idx_max) || (num_of_words > fuse_idx_max) || (addr + num_of_words > fus… in otp_program()
100 HPM_BREAK_IF(addr >= ARRAY_SIZE(HPM_OTP->SHADOW) || (lock_option > otp_lock_option_max)); in otp_lock_otp()
122 HPM_BREAK_IF(addr >= ARRAY_SIZE(HPM_OTP->SHADOW) || (lock_option > otp_lock_option_max)); in otp_lock_shadow()
145HPM_BREAK_IF((start >= max_fuse_idx) || (num_of_words > max_fuse_idx) || ((start + num_of_words) … in otp_set_configurable_region()
160 HPM_BREAK_IF(addr >= ARRAY_SIZE(HPM_OTP->SHADOW)); in otp_write_shadow_register()
/bsp/hpmicro/libraries/hpm_sdk/soc/HPM6E00/HPM6E80/
A Dhpm_otp_drv.c59HPM_BREAK_IF((addr >= fuse_idx_max) || (num_of_words > fuse_idx_max) || (addr + num_of_words > fus… in otp_program()
100 HPM_BREAK_IF(addr >= ARRAY_SIZE(HPM_OTP->SHADOW) || (lock_option > otp_lock_option_max)); in otp_lock_otp()
122 HPM_BREAK_IF(addr >= ARRAY_SIZE(HPM_OTP->SHADOW) || (lock_option > otp_lock_option_max)); in otp_lock_shadow()
145HPM_BREAK_IF((start >= max_fuse_idx) || (num_of_words > max_fuse_idx) || ((start + num_of_words) … in otp_set_configurable_region()
160 HPM_BREAK_IF(addr >= ARRAY_SIZE(HPM_OTP->SHADOW)); in otp_write_shadow_register()
/bsp/hpmicro/libraries/hpm_sdk/soc/HPM5300/HPM5301/
A Dhpm_otp_drv.c59HPM_BREAK_IF((addr >= fuse_idx_max) || (num_of_words > fuse_idx_max) || (addr + num_of_words > fus… in otp_program()
100 HPM_BREAK_IF(addr >= ARRAY_SIZE(HPM_OTP->SHADOW) || (lock_option > otp_lock_option_max)); in otp_lock_otp()
122 HPM_BREAK_IF(addr >= ARRAY_SIZE(HPM_OTP->SHADOW) || (lock_option > otp_lock_option_max)); in otp_lock_shadow()
145HPM_BREAK_IF((start >= max_fuse_idx) || (num_of_words > max_fuse_idx) || ((start + num_of_words) … in otp_set_configurable_region()
160 HPM_BREAK_IF(addr >= ARRAY_SIZE(HPM_OTP->SHADOW)); in otp_write_shadow_register()
/bsp/hpmicro/libraries/hpm_sdk/soc/HPM5300/HPM5361/
A Dhpm_otp_drv.c59HPM_BREAK_IF((addr >= fuse_idx_max) || (num_of_words > fuse_idx_max) || (addr + num_of_words > fus… in otp_program()
100 HPM_BREAK_IF(addr >= ARRAY_SIZE(HPM_OTP->SHADOW) || (lock_option > otp_lock_option_max)); in otp_lock_otp()
122 HPM_BREAK_IF(addr >= ARRAY_SIZE(HPM_OTP->SHADOW) || (lock_option > otp_lock_option_max)); in otp_lock_shadow()
145HPM_BREAK_IF((start >= max_fuse_idx) || (num_of_words > max_fuse_idx) || ((start + num_of_words) … in otp_set_configurable_region()
160 HPM_BREAK_IF(addr >= ARRAY_SIZE(HPM_OTP->SHADOW)); in otp_write_shadow_register()
/bsp/hpmicro/libraries/hpm_sdk/soc/HPM6700/HPM6750/
A Dhpm_otp_drv.c60HPM_BREAK_IF((addr >= fuse_idx_max) || (num_of_words > fuse_idx_max) || (addr + num_of_words > fus… in otp_program()
100 HPM_BREAK_IF(addr >= ARRAY_SIZE(HPM_OTP->SHADOW) || (lock_option > otp_lock_option_max)); in otp_lock_otp()
122 HPM_BREAK_IF(addr >= ARRAY_SIZE(HPM_OTP->SHADOW) || (lock_option > otp_lock_option_max)); in otp_lock_shadow()
145HPM_BREAK_IF((start >= max_fuse_idx) || (num_of_words > max_fuse_idx) || ((start + num_of_words) … in otp_set_configurable_region()
160 HPM_BREAK_IF(addr >= ARRAY_SIZE(HPM_OTP->SHADOW)); in otp_write_shadow_register()
/bsp/hpmicro/libraries/hpm_sdk/soc/HPM6300/HPM6360/
A Dhpm_otp_drv.c59HPM_BREAK_IF((addr >= fuse_idx_max) || (num_of_words > fuse_idx_max) || (addr + num_of_words > fus… in otp_program()
100 HPM_BREAK_IF(addr >= ARRAY_SIZE(HPM_OTP->SHADOW) || (lock_option > otp_lock_option_max)); in otp_lock_otp()
122 HPM_BREAK_IF(addr >= ARRAY_SIZE(HPM_OTP->SHADOW) || (lock_option > otp_lock_option_max)); in otp_lock_shadow()
145HPM_BREAK_IF((start >= max_fuse_idx) || (num_of_words > max_fuse_idx) || ((start + num_of_words) … in otp_set_configurable_region()
160 HPM_BREAK_IF(addr >= ARRAY_SIZE(HPM_OTP->SHADOW)); in otp_write_shadow_register()
/bsp/hpmicro/libraries/hpm_sdk/soc/HPM6200/HPM6280/
A Dhpm_otp_drv.c59HPM_BREAK_IF((addr >= fuse_idx_max) || (num_of_words > fuse_idx_max) || (addr + num_of_words > fus… in otp_program()
100 HPM_BREAK_IF(addr >= ARRAY_SIZE(HPM_OTP->SHADOW) || (lock_option > otp_lock_option_max)); in otp_lock_otp()
122 HPM_BREAK_IF(addr >= ARRAY_SIZE(HPM_OTP->SHADOW) || (lock_option > otp_lock_option_max)); in otp_lock_shadow()
145HPM_BREAK_IF((start >= max_fuse_idx) || (num_of_words > max_fuse_idx) || ((start + num_of_words) … in otp_set_configurable_region()
160 HPM_BREAK_IF(addr >= ARRAY_SIZE(HPM_OTP->SHADOW)); in otp_write_shadow_register()
/bsp/hpmicro/libraries/hpm_sdk/components/serial_nor/
A Dhpm_serial_nor.c283 HPM_BREAK_IF(flash_size < 1U); in get_page_sector_block_size_from_sfdp()
461 HPM_BREAK_IF(status != status_success); in prepare_quad_mode_enable_sequence()
474 HPM_BREAK_IF(status != status_success); in prepare_quad_mode_enable_sequence()
485 HPM_BREAK_IF(status != status_success); in prepare_quad_mode_enable_sequence()
494 HPM_BREAK_IF(status != status_success); in prepare_quad_mode_enable_sequence()
529 HPM_BREAK_IF(status != status_success); in hpm_serial_nor_read_sfdp_info()
547 HPM_BREAK_IF(status != status_success); in hpm_serial_nor_read_sfdp_info()
907 HPM_BREAK_IF(status != status_success); in hpm_serial_nor_erase_blocking()
912 HPM_BREAK_IF(status != status_success); in hpm_serial_nor_erase_blocking()
1002 HPM_BREAK_IF(stat != status_success); in hpm_serial_nor_program_blocking()
[all …]
/bsp/hpmicro/libraries/hpm_sdk/drivers/src/
A Dhpm_can_drv.c436 HPM_BREAK_IF((base == NULL) || (message == NULL)); in can_send_high_priority_message_blocking()
491 HPM_BREAK_IF((base == NULL) || (message == NULL)); in can_send_high_priority_message_nonblocking()
515 HPM_BREAK_IF((base == NULL) || (message == NULL)); in can_receive_message_blocking()
661HPM_BREAK_IF((base == NULL) || (config == NULL) || (src_clk_freq == 0U) || (config->filter_list_nu… in can_init()
676 HPM_BREAK_IF(status != status_success); in can_init()
720 HPM_BREAK_IF(status != status_success); in can_init()
781 HPM_BREAK_IF(base == NULL); in can_deinit()
A Dhpm_ffa_drv.c122HPM_BREAK_IF((ptr == NULL) || (fft_xfer == NULL) || !is_point_num_valid(fft_xfer->num_points)); in ffa_calculate_fft_blocking()
142 HPM_BREAK_IF((ptr == NULL) || (fir_xfer == NULL)); in ffa_calculate_fir_blocking()
A Dhpm_sdp_drv.c177 HPM_BREAK_IF((key_bits != sdp_aes_keybits_128) && (key_bits != sdp_aes_keybits_256)); in sdp_aes_set_key()
394 HPM_BREAK_IF( in sdp_aes_crypt_ctr()
402 HPM_BREAK_IF(status != status_success); in sdp_aes_crypt_ctr()
501HPM_BREAK_IF((base == NULL) || (aes_ctx == NULL) || (input == NULL) || (output == NULL) || (tag ==… in aes_ccm_auth_crypt()
507 HPM_BREAK_IF((tag_len % 2U != 0U) || (tag_len / 2U < 2) || (tag_len / 2U > 8)); in aes_ccm_auth_crypt()
509 HPM_BREAK_IF((iv_len < 7U) || (iv_len > 13U)); in aes_ccm_auth_crypt()
684 HPM_BREAK_IF(status != status_success); in sdp_aes_ccm_decrypt_verify()
868 HPM_BREAK_IF(status != status_success); in sdp_hash_finish()
A Dhpm_wdg_drv.c62 HPM_BREAK_IF((base == NULL) || (wdg_ctrl == NULL)); in wdg_init()
64 HPM_BREAK_IF((wdg_ctrl->reset_interval > reset_interval_max) || in wdg_init()
A Dhpm_mcan_drv.c1084 HPM_BREAK_IF(status != status_success); in mcan_init()
1099 HPM_BREAK_IF(status != status_success); in mcan_init()
1214 HPM_BREAK_IF(status != status_success); in mcan_init()
1221 HPM_BREAK_IF(status != status_success); in mcan_init()
1230 HPM_BREAK_IF(status != status_success); in mcan_init()
1234 HPM_BREAK_IF(status != status_success); in mcan_init()
1667 HPM_BREAK_IF(status != status_success); in mcan_transmit_via_txbuf_nonblocking()
1725 HPM_BREAK_IF(status != status_success); in mcan_request_and_fill_txfifo()
1742 HPM_BREAK_IF(status != status_success); in mcan_transmit_via_txfifo_nonblocking()
1895 HPM_BREAK_IF((ptr == NULL) || (tx_evt == NULL) || (timestamp == NULL)); in mcan_get_timestamp_from_tx_event()
[all …]
A Dhpm_pmp_drv.c335 HPM_BREAK_IF((entry == NULL) || (entry_index > 15U)); in pmp_config_entry()
365 HPM_BREAK_IF((entry == NULL) || (num_of_entries < 1U) || (num_of_entries > 15U)); in pmp_config()
A Dhpm_sdxc_drv.c276 HPM_BREAK_IF((base == NULL) || (capabilities == NULL)); in sdxc_get_capabilities()
422 HPM_BREAK_IF(status != status_success); in sdxc_wait_cmd_done()
900 HPM_BREAK_IF(status != status_success); in sdxc_transfer_blocking()
/bsp/hpmicro/libraries/hpm_sdk/drivers/inc/
A Dhpm_common.h66 #define HPM_BREAK_IF(cond) if (cond) { break; } macro
/bsp/hpmicro/libraries/drivers/
A Ddrv_sdio.c347 HPM_BREAK_IF(status != status_success); in hpm_sdmmc_transfer()
367 HPM_BREAK_IF(status != status_success); in hpm_sdmmc_transfer()
/bsp/hpmicro/libraries/hpm_sdk/components/serial_nor/interface/spi/
A Dhpm_serial_nor_host_spi.c352 HPM_BREAK_IF(stat != status_success); in read()

Completed in 63 milliseconds