Lines Matching refs:CY_ASSERT

248     CY_ASSERT(sdxx != NULL);  in _cyhal_sdxx_is_smfr_ready_for_set()
254 CY_ASSERT(sdxx != NULL); in _cyhal_sdxx_is_smfr_ready_for_get()
263 CY_ASSERT(sdxx != NULL); in _cyhal_sdxx_prepare_for_transfer()
314 CY_ASSERT(NULL != callback_arg); in _cyhal_sdhc_gpio_card_detect_callback()
352 CY_ASSERT(NULL != sdxx); in _cyhal_sdxx_handle_weak_func()
359CY_ASSERT((weak_function == _CYHAL_SDHC_CARD_VDD) || (weak_function == _CYHAL_SDHC_CARD_IO_VOLTAGE… in _cyhal_sdxx_handle_weak_func()
474 CY_ASSERT(false); in _cyhal_sdxx_handle_weak_func()
537 CY_ASSERT(false); /* Should never be called with a non-SDHC IRQn */ in _cyhal_sdhc_get_block_from_irqn()
569 CY_ASSERT(false); /* Should never get here. */ in _cyhal_sdxx_setup_pin()
575CY_ASSERT(1 / (sizeof(struct cyhal_sdhc_t_gpio_cb) == sizeof(cyhal_gpio_callback_data_t))); in _cyhal_sdxx_setup_pin()
626 CY_ASSERT(sdxx != NULL); in _cyhal_sdio_syspm_callback()
689 CY_ASSERT(false); in _cyhal_sdio_syspm_callback()
700 CY_ASSERT(sdxx != NULL); in _cyhal_sdhc_syspm_callback()
744 CY_ASSERT(false); in _cyhal_sdhc_syspm_callback()
763 CY_ASSERT(false); in _cyhal_sdhc_buswidth_hal_to_pdl()
779 CY_ASSERT(false); in _cyhal_sdhc_buswidth_pdl_to_hal()
898 CY_ASSERT(NULL != sdxx); in _cyhal_sdxx_sdcardchangeclock()
899 CY_ASSERT(NULL != frequency); in _cyhal_sdxx_sdcardchangeclock()
900 CY_ASSERT(NULL != sdxx->base); in _cyhal_sdxx_sdcardchangeclock()
1055 CY_ASSERT((SCB->ICSR & SCB_ICSR_VECTACTIVE_Msk) == 0); in _cyhal_sdxx_setup_smphr()
1266 CY_ASSERT(NULL != sdxx); in _cyhal_sdxx_reset()
1267 CY_ASSERT(NULL != sdxx->base); in _cyhal_sdxx_reset()
1285 CY_ASSERT(timeout_us != 0); in _cyhal_sdxx_reset()
1290 CY_ASSERT(NULL != obj); in _cyhal_sdhc_init_common_hw()
1291 CY_ASSERT(NULL != cfg); in _cyhal_sdhc_init_common_hw()
1597 CY_ASSERT(NULL != obj); in cyhal_sdhc_init_hw()
1627 CY_ASSERT(NULL != obj); in _cyhal_sdhc_init_card_common()
1628 CY_ASSERT(NULL != obj->sdxx.base); in _cyhal_sdhc_init_card_common()
1715 CY_ASSERT(NULL != obj); in cyhal_sdhc_free()
1812 CY_ASSERT(_CYHAL_SDXX_NOT_RUNNING == sdxx->data_transfer_status); in cyhal_sdhc_read()
1830 CY_ASSERT(_CYHAL_SDXX_NOT_RUNNING == sdxx->data_transfer_status); in cyhal_sdhc_write()
2023 CY_ASSERT(NULL != obj); in cyhal_sdhc_is_busy()
2088 CY_ASSERT(NULL != obj); in cyhal_sdhc_is_card_inserted()
2089 CY_ASSERT(NULL != obj->sdxx.base); in cyhal_sdhc_is_card_inserted()
2095 CY_ASSERT(NULL != obj); in cyhal_sdhc_is_card_mech_write_protected()
2096 CY_ASSERT(NULL != obj->sdxx.base); in cyhal_sdhc_is_card_mech_write_protected()
2102 CY_ASSERT(NULL != obj); in cyhal_sdhc_get_block_count()
2117 CY_ASSERT(NULL != obj); in cyhal_sdhc_set_frequency()
2148 CY_ASSERT(NULL != obj); in cyhal_sdhc_get_frequency()
2154 CY_ASSERT(NULL != obj); in cyhal_sdhc_set_data_read_timeout()
2182 CY_ASSERT(NULL != obj); in cyhal_sdhc_config_data_transfer()
2183 CY_ASSERT(NULL != data_config); in cyhal_sdhc_config_data_transfer()
2186 CY_ASSERT(NULL != sdxx->base); in cyhal_sdhc_config_data_transfer()
2223 CY_ASSERT(NULL != obj); in cyhal_sdhc_send_cmd()
2224 CY_ASSERT(NULL != cmd_config); in cyhal_sdhc_send_cmd()
2227 CY_ASSERT(NULL != sdxx->base); in cyhal_sdhc_send_cmd()
2284 CY_ASSERT(NULL != obj); in cyhal_sdhc_get_response()
2285 CY_ASSERT(NULL != obj->sdxx.base); in cyhal_sdhc_get_response()
2286 CY_ASSERT(NULL != response); in cyhal_sdhc_get_response()
2292 CY_ASSERT(NULL != obj); in cyhal_sdhc_wait_transfer_complete()
2293 CY_ASSERT(NULL != obj->sdxx.base); in cyhal_sdhc_wait_transfer_complete()
2299 CY_ASSERT(NULL != base); in _cyhal_sdxx_io_volt_switch_seq()
2496 CY_ASSERT(NULL != sdxx); in _cyhal_sdxx_set_io_voltage()
2497 CY_ASSERT(NULL != sdxx->base); in _cyhal_sdxx_set_io_voltage()
2565 CY_ASSERT(false); in _cyhal_sdxx_set_io_voltage()
2573 CY_ASSERT(NULL != obj); in cyhal_sdhc_set_io_voltage()
2587 CY_ASSERT(NULL != obj); in cyhal_sdhc_get_io_voltage()
2598 CY_ASSERT(NULL != obj); in cyhal_sdhc_set_bus_width()
2601 CY_ASSERT(NULL != sdxx->base); in cyhal_sdhc_set_bus_width()
2635 CY_ASSERT(NULL != obj); in cyhal_sdhc_get_bus_width()
2641 CY_ASSERT(NULL != obj); in cyhal_sdhc_clear_errors()
2642 CY_ASSERT(NULL != obj->sdxx.base); in cyhal_sdhc_clear_errors()
2648 CY_ASSERT(NULL != obj); in cyhal_sdhc_get_last_command_errors()
2649 CY_ASSERT(NULL != obj->sdxx.base); in cyhal_sdhc_get_last_command_errors()
2655 CY_ASSERT(NULL != obj); in cyhal_sdhc_software_reset()
2661 CY_ASSERT(NULL != obj); in cyhal_sdhc_enable_card_power()
2664 CY_ASSERT(NULL != sdxx->base); in cyhal_sdhc_enable_card_power()
2685 CY_ASSERT(NULL != obj); in _cyhal_sdio_init_common()
2686 CY_ASSERT(NULL != cfg); in _cyhal_sdio_init_common()
2687 CY_ASSERT(NULL != cfg->host_config); in _cyhal_sdio_init_common()
2688 CY_ASSERT(NULL != cfg->card_config); in _cyhal_sdio_init_common()
2942 CY_ASSERT(NULL != obj); in cyhal_sdio_free()
3309 CY_ASSERT(NULL != obj); in cyhal_sdio_is_busy()
3383 CY_ASSERT(NULL != obj); in cyhal_sdio_host_set_io_voltage()
3423 CY_ASSERT(NULL != obj); in cyhal_sdio_init_cfg()
3424 CY_ASSERT(NULL != cfg); in cyhal_sdio_init_cfg()