/hal_infineon-3.6.0/mtb-hal-cat1/source/ |
D | cyhal_dac.c | 171 if (init && (CYHAL_RSC_INVALID != obj->resource_opamp.type)) in _cyhal_dac_configure_oa0() 197 if (init && (CYHAL_RSC_INVALID != obj->resource_aref_opamp.type)) in _cyhal_dac_configure_oa1() 247 obj->resource_dac.type = CYHAL_RSC_INVALID; in cyhal_dac_init() 248 obj->resource_opamp.type = CYHAL_RSC_INVALID; in cyhal_dac_init() 250 obj->resource_aref_opamp.type = CYHAL_RSC_INVALID; in cyhal_dac_init() 344 …config.outputBuffer = (obj->resource_opamp.type != CYHAL_RSC_INVALID) ? CY_CTDAC_OUTPUT_BUFFERED :… in cyhal_dac_init() 349 if ((CY_RSLT_SUCCESS == result) && (obj->resource_opamp.type != CYHAL_RSC_INVALID)) in cyhal_dac_init() 369 obj->resource_opamp.type = CYHAL_RSC_INVALID; in cyhal_dac_init_cfg() 370 obj->resource_aref_opamp.type = CYHAL_RSC_INVALID; in cyhal_dac_init_cfg() 414 if(CYHAL_RSC_INVALID != obj->resource_opamp.type) in cyhal_dac_free() [all …]
|
D | cyhal_pdmpcm.c | 580 if (obj->dma.resource.type == CYHAL_RSC_INVALID) in _cyhal_pdm_pcm_hw_irq_handler() 1000 bool has_pair = CYHAL_RSC_INVALID != obj->dma_paired.resource.type; in _cyhal_pdm_pcm_dma_callback() 1194 obj->resource.type = CYHAL_RSC_INVALID; in cyhal_pdm_pcm_init() 1197 obj->dma.resource.type = CYHAL_RSC_INVALID; in cyhal_pdm_pcm_init() 1199 obj->dma_paired.resource.type = CYHAL_RSC_INVALID; in cyhal_pdm_pcm_init() 1316 obj->dma.resource.type = CYHAL_RSC_INVALID; in cyhal_pdm_pcm_init_cfg() 1318 obj->dma_paired.resource.type = CYHAL_RSC_INVALID; in cyhal_pdm_pcm_init_cfg() 1357 if (CYHAL_RSC_INVALID != obj->resource.type) in cyhal_pdm_pcm_free() 1408 obj->resource.type = CYHAL_RSC_INVALID; in cyhal_pdm_pcm_free() 1421 if (CYHAL_RSC_INVALID != obj->dma.resource.type) in cyhal_pdm_pcm_free() [all …]
|
D | cyhal_uart.c | 613 obj->resource.type = CYHAL_RSC_INVALID; in _cyhal_uart_setup_resources() 803 obj->dma_tx.resource.type = CYHAL_RSC_INVALID; in cyhal_uart_init() 804 obj->dma_rx.resource.type = CYHAL_RSC_INVALID; in cyhal_uart_init() 870 obj->dma_tx.resource.type = CYHAL_RSC_INVALID; in cyhal_uart_init_cfg() 871 obj->dma_rx.resource.type = CYHAL_RSC_INVALID; in cyhal_uart_init_cfg() 899 if (obj->resource.type != CYHAL_RSC_INVALID) in cyhal_uart_free() 913 obj->resource.type = CYHAL_RSC_INVALID; in cyhal_uart_free() 932 if(CYHAL_RSC_INVALID != obj->dma_tx.resource.type) in cyhal_uart_free() 935 obj->dma_tx.resource.type = CYHAL_RSC_INVALID; in cyhal_uart_free() 937 if(CYHAL_RSC_INVALID != obj->dma_rx.resource.type) in cyhal_uart_free() [all …]
|
D | cyhal_opamp.c | 105 obj->resource.type = CYHAL_RSC_INVALID; in cyhal_opamp_init() 190 if((NULL != obj) && (CYHAL_RSC_INVALID != obj->resource.type)) in cyhal_opamp_free() 197 obj->resource.type = CYHAL_RSC_INVALID; in cyhal_opamp_free()
|
D | cyhal_audio_common.c | 554 obj->resource.type = CYHAL_RSC_INVALID; in _cyhal_audioss_init() 589 obj->tx_dma.resource.type = CYHAL_RSC_INVALID; in _cyhal_audioss_init() 591 obj->rx_dma.resource.type = CYHAL_RSC_INVALID; in _cyhal_audioss_init() 676 if((obj->resource.type != CYHAL_RSC_INVALID) in _cyhal_audioss_init() 687 …if(CYHAL_RSC_INVALID == obj->resource.type) /* If this happens it means neither rx nor tx was spec… in _cyhal_audioss_init() 741 obj->resource.type = CYHAL_RSC_INVALID; in _cyhal_audioss_init() 955 obj->tx_dma.resource.type = CYHAL_RSC_INVALID; in _cyhal_audioss_init_cfg() 974 obj->rx_dma.resource.type = CYHAL_RSC_INVALID; in _cyhal_audioss_init_cfg() 1005 if(CYHAL_RSC_INVALID != obj->resource.type) in _cyhal_audioss_free() 1039 obj->resource.type = CYHAL_RSC_INVALID; in _cyhal_audioss_free() [all …]
|
D | cyhal_lptimer.c | 535 obj->resource.type = CYHAL_RSC_INVALID; in cyhal_lptimer_init() 613 if (CYHAL_RSC_INVALID != obj->resource.type) in cyhal_lptimer_free() 619 obj->resource.type = CYHAL_RSC_INVALID; in cyhal_lptimer_free() 703 CY_ASSERT(CYHAL_RSC_INVALID != obj->resource.block_num); in cyhal_lptimer_register_callback() 760 CY_ASSERT(CYHAL_RSC_INVALID != obj->resource.block_num); in cyhal_lptimer_irq_trigger()
|
D | cyhal_comp_ctb.c | 207 obj->resource.type = CYHAL_RSC_INVALID; in _cyhal_comp_ctb_init() 276 if(CYHAL_RSC_INVALID != obj->resource.type) in _cyhal_comp_ctb_free() 300 obj->resource.type = CYHAL_RSC_INVALID; in _cyhal_comp_ctb_free()
|
D | cyhal_ezi2c.c | 145 obj->resource.type = CYHAL_RSC_INVALID; in _cyhal_ezi2c_setup_resources() 336 if (CYHAL_RSC_INVALID != obj->resource.type) in cyhal_ezi2c_free() 348 obj->resource.type = CYHAL_RSC_INVALID; in cyhal_ezi2c_free()
|
D | cyhal_usb_dev.c | 235 rsc->type = CYHAL_RSC_INVALID; in _cyhal_usb_dev_reserve_pll() 409 if (CYHAL_RSC_INVALID != obj->resource.type) in _cyhal_usb_dev_free_resources() 411 if (CYHAL_RSC_INVALID != obj->pll_resource.type) in _cyhal_usb_dev_free_resources() 442 obj->resource.type = CYHAL_RSC_INVALID; in cyhal_usb_dev_init() 443 obj->pll_resource.type = CYHAL_RSC_INVALID; in cyhal_usb_dev_init()
|
D | cyhal_analog_common.c | 161 rsc->type = CYHAL_RSC_INVALID; in _cyhal_opamp_init_common() 250 if(CYHAL_RSC_INVALID != rsc->type) in _cyhal_opamp_init_common()
|
D | cyhal_keyscan.c | 179 obj->resource.type = CYHAL_RSC_INVALID; in _cyhal_keyscan_init_resources() 198 if(CYHAL_RSC_INVALID == obj->resource.type) in _cyhal_keyscan_init_resources() 393 if (obj->resource.type != CYHAL_RSC_INVALID) in cyhal_keyscan_free()
|
D | cyhal_comp_lp.c | 244 obj->resource.type = CYHAL_RSC_INVALID; in _cyhal_comp_lp_init() 356 if(CYHAL_RSC_INVALID != obj->resource.type) in _cyhal_comp_lp_free() 377 obj->resource.type = CYHAL_RSC_INVALID; in _cyhal_comp_lp_free()
|
D | cyhal_trng.c | 51 if (obj->resource.type != CYHAL_RSC_INVALID) in cyhal_trng_free()
|
D | cyhal_crc.c | 57 if (obj->resource.type != CYHAL_RSC_INVALID) in cyhal_crc_free()
|
D | cyhal_adc_mic.c | 249 obj->resource.type = CYHAL_RSC_INVALID; in _cyhal_adc_config_hw() 269 if (obj->resource.type == CYHAL_RSC_INVALID) in _cyhal_adc_config_hw() 398 if (CYHAL_RSC_INVALID != obj->resource.type) in cyhal_adc_free()
|
D | cyhal_crypto_common.c | 133 resource->type = CYHAL_RSC_INVALID; in cyhal_crypto_free()
|
D | cyhal_udb_sdio.c | 264 obj->resource.type = CYHAL_RSC_INVALID; in cyhal_sdio_init() 381 if (obj->resource.type != CYHAL_RSC_INVALID) in cyhal_sdio_free()
|
D | cyhal_i2c.c | 249 obj->resource.type = CYHAL_RSC_INVALID; in _cyhal_i2c_init_resources() 477 if (CYHAL_RSC_INVALID != obj->resource.type) in cyhal_i2c_free() 490 obj->resource.type = CYHAL_RSC_INVALID; in cyhal_i2c_free()
|
D | cyhal_quaddec.c | 341 obj->tcpwm.resource.type = CYHAL_RSC_INVALID; in cyhal_quaddec_init() 503 if (obj->tcpwm.resource.type != CYHAL_RSC_INVALID) in cyhal_quaddec_free()
|
D | cyhal_hwmgr.c | 69 uint32_t dummy = 1 / (_CYHAL_RESOURCES == CYHAL_RSC_INVALID); in _check_array_size()
|
D | cyhal_sdhc.c | 1310 sdxx->resource.type = CYHAL_RSC_INVALID; in _cyhal_sdhc_init_common_hw() 1746 if (sdxx->resource.type != CYHAL_RSC_INVALID) in cyhal_sdhc_free() 1748 sdxx->resource.type = CYHAL_RSC_INVALID; in cyhal_sdhc_free() 2711 sdxx->resource.type = CYHAL_RSC_INVALID; in _cyhal_sdio_init_common() 2965 if (sdxx->resource.type != CYHAL_RSC_INVALID) in cyhal_sdio_free() 2967 sdxx->resource.type = CYHAL_RSC_INVALID; in cyhal_sdio_free()
|
D | cyhal_spi.c | 604 obj->resource.type = CYHAL_RSC_INVALID; in _cyhal_spi_setup_resources() 1089 if (obj->resource.type != CYHAL_RSC_INVALID) in cyhal_spi_free() 1100 obj->resource.type = CYHAL_RSC_INVALID; in cyhal_spi_free()
|
D | cyhal_timer.c | 186 obj->tcpwm.resource.type = CYHAL_RSC_INVALID; in cyhal_timer_init()
|
D | cyhal_qspi.c | 791 obj->resource.type = CYHAL_RSC_INVALID; in _cyhal_qspi_init_common() 1088 obj->resource.type = CYHAL_RSC_INVALID; in cyhal_qspi_free()
|
/hal_infineon-3.6.0/mtb-hal-cat1/include_pvt/ |
D | cyhal_hw_resources.h | 234 CYHAL_RSC_INVALID, /*!< Placeholder for invalid type */ enumerator
|