Home
last modified time | relevance | path

Searched refs:CYHAL_RSC_INVALID (Results 1 – 25 of 28) sorted by relevance

12

/hal_infineon-3.6.0/mtb-hal-cat1/source/
Dcyhal_dac.c171 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 …]
Dcyhal_pdmpcm.c580 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 …]
Dcyhal_uart.c613 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 …]
Dcyhal_opamp.c105 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()
Dcyhal_audio_common.c554 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 …]
Dcyhal_lptimer.c535 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()
Dcyhal_comp_ctb.c207 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()
Dcyhal_ezi2c.c145 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()
Dcyhal_usb_dev.c235 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()
Dcyhal_analog_common.c161 rsc->type = CYHAL_RSC_INVALID; in _cyhal_opamp_init_common()
250 if(CYHAL_RSC_INVALID != rsc->type) in _cyhal_opamp_init_common()
Dcyhal_keyscan.c179 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()
Dcyhal_comp_lp.c244 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()
Dcyhal_trng.c51 if (obj->resource.type != CYHAL_RSC_INVALID) in cyhal_trng_free()
Dcyhal_crc.c57 if (obj->resource.type != CYHAL_RSC_INVALID) in cyhal_crc_free()
Dcyhal_adc_mic.c249 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()
Dcyhal_crypto_common.c133 resource->type = CYHAL_RSC_INVALID; in cyhal_crypto_free()
Dcyhal_udb_sdio.c264 obj->resource.type = CYHAL_RSC_INVALID; in cyhal_sdio_init()
381 if (obj->resource.type != CYHAL_RSC_INVALID) in cyhal_sdio_free()
Dcyhal_i2c.c249 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()
Dcyhal_quaddec.c341 obj->tcpwm.resource.type = CYHAL_RSC_INVALID; in cyhal_quaddec_init()
503 if (obj->tcpwm.resource.type != CYHAL_RSC_INVALID) in cyhal_quaddec_free()
Dcyhal_hwmgr.c69 uint32_t dummy = 1 / (_CYHAL_RESOURCES == CYHAL_RSC_INVALID); in _check_array_size()
Dcyhal_sdhc.c1310 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()
Dcyhal_spi.c604 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()
Dcyhal_timer.c186 obj->tcpwm.resource.type = CYHAL_RSC_INVALID; in cyhal_timer_init()
Dcyhal_qspi.c791 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/
Dcyhal_hw_resources.h234 CYHAL_RSC_INVALID, /*!< Placeholder for invalid type */ enumerator

12