Home
last modified time | relevance | path

Searched refs:found_idx (Results 1 – 2 of 2) sorted by relevance

/hal_infineon-3.7.0/mtb-hal-cat1/source/
Dcyhal_spi.c497 uint8_t found_idx = 0; in _cyhal_spi_ssel_config() local
506 found_idx = i; in _cyhal_spi_ssel_config()
516 found_idx = i; in _cyhal_spi_ssel_config()
524 … if (CY_RSLT_SUCCESS == _cyhal_spi_get_ssel_map_idx(ssel, &ssel_map, &found_idx, &(obj->resource))) in _cyhal_spi_ssel_config()
527 if ((NULL != ssel_map) && (NC == obj->pin_ssel[found_idx]) && in _cyhal_spi_ssel_config()
540 obj->pin_ssel[found_idx] = ssel; in _cyhal_spi_ssel_config()
541 obj->ssel_pol[found_idx] = _cyhal_spi_pol_from_hal_to_pdl(polarity); in _cyhal_spi_ssel_config()
544 …eSlaveSelectPolarity(obj->base, (cy_en_scb_spi_slave_select_t)found_idx, obj->ssel_pol[found_idx]); in _cyhal_spi_ssel_config()
547 _cyhal_ssel_switch_state(obj, found_idx, _CYHAL_SPI_SSEL_DEACTIVATE); in _cyhal_spi_ssel_config()
Dcyhal_qspi.c650 …_t _cyhal_qspi_slave_select_check_reserve(cyhal_qspi_t *obj, cyhal_gpio_t ssel, uint8_t *found_idx, in _cyhal_qspi_slave_select_check_reserve() argument
654 const cyhal_resource_pin_mapping_t *ssel_map = _cyhal_qspi_get_slaveselect(ssel, found_idx); in _cyhal_qspi_slave_select_check_reserve()
661 if (NC != obj->pin_ssel[*found_idx]) in _cyhal_qspi_slave_select_check_reserve()
673 obj->pin_ssel[*found_idx] = ssel; in _cyhal_qspi_slave_select_check_reserve()