Home
last modified time | relevance | path

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

/hal_stm32-latest/stm32cube/stm32c0xx/drivers/src/
Dstm32c0xx_hal_hcd.c503 uint8_t idx; in HAL_HCD_DeInit() local
517 for (idx = 0U; idx < hhcd->Init.Host_channels; idx++) in HAL_HCD_DeInit()
519 hhcd->phy_chin_state[idx] = 0U; in HAL_HCD_DeInit()
520 hhcd->phy_chout_state[idx] = 0U; in HAL_HCD_DeInit()
2291 uint8_t idx; in HAL_HCD_Check_usedChannel() local
2294 for (idx = 0U; idx < hhcd->Init.Host_channels; idx++) in HAL_HCD_Check_usedChannel()
2296 if ((((hhcd->phy_chin_state[idx] & 0xF0U) >> 4U) == ((uint16_t)ch_num + 1U)) && in HAL_HCD_Check_usedChannel()
2297 (hhcd->phy_chin_state[idx] != 0U)) in HAL_HCD_Check_usedChannel()
2299 return (1U | (idx << 4U)); in HAL_HCD_Check_usedChannel()
2302 if ((((hhcd->phy_chout_state[idx] & 0xF0U) >> 4U) == ((uint16_t)ch_num + 1U)) && in HAL_HCD_Check_usedChannel()
[all …]
/hal_stm32-latest/stm32cube/stm32g0xx/drivers/src/
Dstm32g0xx_hal_hcd.c474 uint8_t idx; in HAL_HCD_DeInit() local
488 for (idx = 0U; idx < hhcd->Init.Host_channels; idx++) in HAL_HCD_DeInit()
490 hhcd->phy_chin_state[idx] = 0U; in HAL_HCD_DeInit()
491 hhcd->phy_chout_state[idx] = 0U; in HAL_HCD_DeInit()
2291 uint8_t idx; in HAL_HCD_Check_usedChannel() local
2294 for (idx = 0U; idx < hhcd->Init.Host_channels; idx++) in HAL_HCD_Check_usedChannel()
2296 if ((((hhcd->phy_chin_state[idx] & 0xF0U) >> 4U) == ((uint16_t)ch_num + 1U)) && in HAL_HCD_Check_usedChannel()
2297 (hhcd->phy_chin_state[idx] != 0U)) in HAL_HCD_Check_usedChannel()
2299 return (1U | (idx << 4U)); in HAL_HCD_Check_usedChannel()
2302 if ((((hhcd->phy_chout_state[idx] & 0xF0U) >> 4U) == ((uint16_t)ch_num + 1U)) && in HAL_HCD_Check_usedChannel()
[all …]
/hal_stm32-latest/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_hcd.c2427 uint8_t idx; in HAL_HCD_DeInit() local
2441 for (idx = 0U; idx < hhcd->Init.Host_channels; idx++) in HAL_HCD_DeInit()
2443 hhcd->phy_chin_state[idx] = 0U; in HAL_HCD_DeInit()
2444 hhcd->phy_chout_state[idx] = 0U; in HAL_HCD_DeInit()
4216 uint8_t idx; in HAL_HCD_Check_usedChannel() local
4219 for (idx = 0U; idx < hhcd->Init.Host_channels; idx++) in HAL_HCD_Check_usedChannel()
4221 if ((((hhcd->phy_chin_state[idx] & 0xF0U) >> 4U) == ((uint16_t)ch_num + 1U)) && in HAL_HCD_Check_usedChannel()
4222 (hhcd->phy_chin_state[idx] != 0U)) in HAL_HCD_Check_usedChannel()
4224 return (1U | (idx << 4U)); in HAL_HCD_Check_usedChannel()
4227 if ((((hhcd->phy_chout_state[idx] & 0xF0U) >> 4U) == ((uint16_t)ch_num + 1U)) && in HAL_HCD_Check_usedChannel()
[all …]
Dstm32u5xx_hal_tsc.c1099 uint32_t idx; in TSC_extract_groups() local
1101 for (idx = 0UL; idx < (uint32_t)TSC_NB_OF_GROUPS; idx++) in TSC_extract_groups()
1103 if ((iomask & (0x0FUL << (idx * 4UL))) != 0UL) in TSC_extract_groups()
1105 groups |= (1UL << idx); in TSC_extract_groups()
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_hal_hcd.c2427 uint8_t idx; in HAL_HCD_DeInit() local
2441 for (idx = 0U; idx < hhcd->Init.Host_channels; idx++) in HAL_HCD_DeInit()
2443 hhcd->phy_chin_state[idx] = 0U; in HAL_HCD_DeInit()
2444 hhcd->phy_chout_state[idx] = 0U; in HAL_HCD_DeInit()
4216 uint8_t idx; in HAL_HCD_Check_usedChannel() local
4219 for (idx = 0U; idx < hhcd->Init.Host_channels; idx++) in HAL_HCD_Check_usedChannel()
4221 if ((((hhcd->phy_chin_state[idx] & 0xF0U) >> 4U) == ((uint16_t)ch_num + 1U)) && in HAL_HCD_Check_usedChannel()
4222 (hhcd->phy_chin_state[idx] != 0U)) in HAL_HCD_Check_usedChannel()
4224 return (1U | (idx << 4U)); in HAL_HCD_Check_usedChannel()
4227 if ((((hhcd->phy_chout_state[idx] & 0xF0U) >> 4U) == ((uint16_t)ch_num + 1U)) && in HAL_HCD_Check_usedChannel()
[all …]
Dstm32h5xx_hal_eth.c1413 uint32_t idx = dmatxdesclist->releaseIndex; in HAL_ETH_ReleaseTxPacket() local
1426 if (dmatxdesclist->PacketAddress[idx] == NULL) in HAL_ETH_ReleaseTxPacket()
1429 INCR_TX_DESC_INDEX(idx, 1U); in HAL_ETH_ReleaseTxPacket()
1436 if ((heth->Init.TxDesc[idx].DESC3 & ETH_DMATXNDESCRF_OWN) == 0U) in HAL_ETH_ReleaseTxPacket()
1441 CLEAR_BIT(heth->Init.TxDesc[idx].DESC2, ETH_DMATXNDESCRF_TTSE); in HAL_ETH_ReleaseTxPacket()
1443 if ((heth->Init.TxDesc[idx].DESC3 & ETH_DMATXNDESCWBF_LD) in HAL_ETH_ReleaseTxPacket()
1444 && (heth->Init.TxDesc[idx].DESC3 & ETH_DMATXNDESCWBF_TTSS)) in HAL_ETH_ReleaseTxPacket()
1447 timestamp->TimeStampLow = heth->Init.TxDesc[idx].DESC0; in HAL_ETH_ReleaseTxPacket()
1449 timestamp->TimeStampHigh = heth->Init.TxDesc[idx].DESC1; in HAL_ETH_ReleaseTxPacket()
1463 heth->txPtpCallback(dmatxdesclist->PacketAddress[idx], timestamp); in HAL_ETH_ReleaseTxPacket()
[all …]
/hal_stm32-latest/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_hal_eth.c1449 uint32_t idx = dmatxdesclist->releaseIndex; in HAL_ETH_ReleaseTxPacket() local
1462 if (dmatxdesclist->PacketAddress[idx] == NULL) in HAL_ETH_ReleaseTxPacket()
1465 INCR_TX_DESC_INDEX(idx, 1U); in HAL_ETH_ReleaseTxPacket()
1472 if ((heth->Init.TxDesc[idx].DESC0 & ETH_DMATXDESC_OWN) == 0U) in HAL_ETH_ReleaseTxPacket()
1475 if ((heth->Init.TxDesc[idx].DESC0 & ETH_DMATXDESC_LS) in HAL_ETH_ReleaseTxPacket()
1476 && (heth->Init.TxDesc[idx].DESC0 & ETH_DMATXDESC_TTSS)) in HAL_ETH_ReleaseTxPacket()
1479 timestamp->TimeStampLow = heth->Init.TxDesc[idx].DESC6; in HAL_ETH_ReleaseTxPacket()
1481 timestamp->TimeStampHigh = heth->Init.TxDesc[idx].DESC7; in HAL_ETH_ReleaseTxPacket()
1495 heth->txPtpCallback(dmatxdesclist->PacketAddress[idx], timestamp); in HAL_ETH_ReleaseTxPacket()
1499 heth->txFreeCallback(dmatxdesclist->PacketAddress[idx]); in HAL_ETH_ReleaseTxPacket()
[all …]
/hal_stm32-latest/stm32cube/stm32f4xx/drivers/src/
Dstm32f4xx_hal_eth.c1449 uint32_t idx = dmatxdesclist->releaseIndex; in HAL_ETH_ReleaseTxPacket() local
1462 if (dmatxdesclist->PacketAddress[idx] == NULL) in HAL_ETH_ReleaseTxPacket()
1465 INCR_TX_DESC_INDEX(idx, 1U); in HAL_ETH_ReleaseTxPacket()
1472 if ((heth->Init.TxDesc[idx].DESC0 & ETH_DMATXDESC_OWN) == 0U) in HAL_ETH_ReleaseTxPacket()
1475 if ((heth->Init.TxDesc[idx].DESC3 & ETH_DMATXDESC_LS) in HAL_ETH_ReleaseTxPacket()
1476 && (heth->Init.TxDesc[idx].DESC3 & ETH_DMATXDESC_TTSS)) in HAL_ETH_ReleaseTxPacket()
1479 timestamp->TimeStampLow = heth->Init.TxDesc[idx].DESC6; in HAL_ETH_ReleaseTxPacket()
1481 timestamp->TimeStampHigh = heth->Init.TxDesc[idx].DESC7; in HAL_ETH_ReleaseTxPacket()
1495 heth->txPtpCallback(dmatxdesclist->PacketAddress[idx], timestamp); in HAL_ETH_ReleaseTxPacket()
1499 heth->txFreeCallback(dmatxdesclist->PacketAddress[idx]); in HAL_ETH_ReleaseTxPacket()
[all …]
/hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/src/
Dstm32h7rsxx_hal_eth.c1404 uint32_t idx = dmatxdesclist->releaseIndex; in HAL_ETH_ReleaseTxPacket() local
1417 if (dmatxdesclist->PacketAddress[idx] == NULL) in HAL_ETH_ReleaseTxPacket()
1420 INCR_TX_DESC_INDEX(idx, 1U); in HAL_ETH_ReleaseTxPacket()
1427 if ((heth->Init.TxDesc[idx].DESC3 & ETH_DMATXNDESCRF_OWN) == 0U) in HAL_ETH_ReleaseTxPacket()
1432 CLEAR_BIT(heth->Init.TxDesc[idx].DESC3, (0x40000000U)); in HAL_ETH_ReleaseTxPacket()
1434 if ((heth->Init.TxDesc[idx].DESC3 & ETH_DMATXNDESCWBF_LD) in HAL_ETH_ReleaseTxPacket()
1435 && (heth->Init.TxDesc[idx].DESC3 & ETH_DMATXNDESCWBF_TTSS)) in HAL_ETH_ReleaseTxPacket()
1438 timestamp->TimeStampLow = heth->Init.TxDesc[idx].DESC0; in HAL_ETH_ReleaseTxPacket()
1440 timestamp->TimeStampHigh = heth->Init.TxDesc[idx].DESC1; in HAL_ETH_ReleaseTxPacket()
1454 heth->txPtpCallback(dmatxdesclist->PacketAddress[idx], timestamp); in HAL_ETH_ReleaseTxPacket()
[all …]
/hal_stm32-latest/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_hal_eth.c1413 uint32_t idx = dmatxdesclist->releaseIndex; in HAL_ETH_ReleaseTxPacket() local
1426 if (dmatxdesclist->PacketAddress[idx] == NULL) in HAL_ETH_ReleaseTxPacket()
1429 INCR_TX_DESC_INDEX(idx, 1U); in HAL_ETH_ReleaseTxPacket()
1436 if ((heth->Init.TxDesc[idx].DESC3 & ETH_DMATXNDESCRF_OWN) == 0U) in HAL_ETH_ReleaseTxPacket()
1441 CLEAR_BIT(heth->Init.TxDesc[idx].DESC2, ETH_DMATXNDESCRF_TTSE); in HAL_ETH_ReleaseTxPacket()
1443 if ((heth->Init.TxDesc[idx].DESC3 & ETH_DMATXNDESCWBF_LD) in HAL_ETH_ReleaseTxPacket()
1444 && (heth->Init.TxDesc[idx].DESC3 & ETH_DMATXNDESCWBF_TTSS)) in HAL_ETH_ReleaseTxPacket()
1447 timestamp->TimeStampLow = heth->Init.TxDesc[idx].DESC0; in HAL_ETH_ReleaseTxPacket()
1449 timestamp->TimeStampHigh = heth->Init.TxDesc[idx].DESC1; in HAL_ETH_ReleaseTxPacket()
1463 heth->txPtpCallback(dmatxdesclist->PacketAddress[idx], timestamp); in HAL_ETH_ReleaseTxPacket()
[all …]
/hal_stm32-latest/stm32cube/stm32n6xx/drivers/src/
Dstm32n6xx_hal_eth.c1461 uint32_t idx = dmatxdesclist->releaseIndex; in HAL_ETH_ReleaseTxPacket() local
1474 if (dmatxdesclist->PacketAddress[idx] == NULL) in HAL_ETH_ReleaseTxPacket()
1477 INCR_TX_DESC_INDEX(idx, 1U); in HAL_ETH_ReleaseTxPacket()
1484 if ((heth->Init.TxDesc[ch][idx].DESC3 & ETH_DMATXNDESCRF_OWN) == 0U) in HAL_ETH_ReleaseTxPacket()
1488 CLEAR_BIT(heth->Init.TxDesc[ch][idx].DESC2, ETH_DMATXNDESCRF_TTSE); in HAL_ETH_ReleaseTxPacket()
1490 if ((heth->Init.TxDesc[ch][idx].DESC3 & ETH_DMATXNDESCWBF_LD) in HAL_ETH_ReleaseTxPacket()
1491 && (heth->Init.TxDesc[ch][idx].DESC3 & ETH_DMATXNDESCWBF_TTSS)) in HAL_ETH_ReleaseTxPacket()
1494 timestamp->TimeStampLow = heth->Init.TxDesc[ch][idx].DESC0; in HAL_ETH_ReleaseTxPacket()
1496 timestamp->TimeStampHigh = heth->Init.TxDesc[ch][idx].DESC1; in HAL_ETH_ReleaseTxPacket()
1511 heth->txPtpCallback(dmatxdesclist->PacketAddress[idx], timestamp); in HAL_ETH_ReleaseTxPacket()
[all …]
Dstm32n6xx_hal_eth_ex.c1074 uint32_t idx; in HAL_ETHEx_SetUserTagPriorityQueue() local
1078 for (idx = 0; idx < ETH_MTL_RX_Q_CNT; idx++) in HAL_ETHEx_SetUserTagPriorityQueue()
1080 pos = idx * 8U; in HAL_ETHEx_SetUserTagPriorityQueue()
1082 if (idx != queue) in HAL_ETHEx_SetUserTagPriorityQueue()
1085 if (HAL_ETHEx_GetUserTagPriorityQueue(heth, &tmppsrq, idx) != HAL_OK) in HAL_ETHEx_SetUserTagPriorityQueue()
/hal_stm32-latest/lib/stm32wba/BLE_TransparentMode/System/Modules/
Dscm.c88 uint8_t idx = 0; in scm_getmaxfreq() local
91 for(idx = 0; idx < sizeof(scm_system_clock_requests) ; idx++) in scm_getmaxfreq()
93 if(scm_system_clock_requests[idx] > max) in scm_getmaxfreq()
95 max = scm_system_clock_requests[idx]; in scm_getmaxfreq()
/hal_stm32-latest/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_hal_tsc.c1099 uint32_t idx; in TSC_extract_groups() local
1101 for (idx = 0UL; idx < (uint32_t)TSC_NB_OF_GROUPS; idx++) in TSC_extract_groups()
1103 if ((iomask & (0x0FUL << (idx * 4UL))) != 0UL) in TSC_extract_groups()
1105 groups |= (1UL << idx); in TSC_extract_groups()
/hal_stm32-latest/stm32cube/stm32f3xx/drivers/src/
Dstm32f3xx_hal_tsc.c1099 uint32_t idx; in TSC_extract_groups() local
1101 for (idx = 0UL; idx < (uint32_t)TSC_NB_OF_GROUPS; idx++) in TSC_extract_groups()
1103 if ((iomask & (0x0FUL << (idx * 4UL))) != 0UL) in TSC_extract_groups()
1105 groups |= (1UL << idx); in TSC_extract_groups()
/hal_stm32-latest/stm32cube/stm32l0xx/drivers/src/
Dstm32l0xx_hal_tsc.c1052 uint32_t idx; in TSC_extract_groups() local
1054 for (idx = 0UL; idx < (uint32_t)TSC_NB_OF_GROUPS; idx++) in TSC_extract_groups()
1056 if ((iomask & (0x0FUL << (idx * 4UL))) != 0UL) in TSC_extract_groups()
1058 groups |= (1UL << idx); in TSC_extract_groups()
/hal_stm32-latest/stm32cube/stm32wbxx/drivers/src/
Dstm32wbxx_hal_tsc.c1096 uint32_t idx; in TSC_extract_groups() local
1098 for (idx = 0UL; idx < (uint32_t)TSC_NB_OF_GROUPS; idx++) in TSC_extract_groups()
1100 if ((iomask & (0x0FUL << (idx * 4UL))) != 0UL) in TSC_extract_groups()
1102 groups |= (1UL << idx); in TSC_extract_groups()
/hal_stm32-latest/stm32cube/stm32f0xx/drivers/src/
Dstm32f0xx_hal_tsc.c1052 uint32_t idx; in TSC_extract_groups() local
1054 for (idx = 0UL; idx < (uint32_t)TSC_NB_OF_GROUPS; idx++) in TSC_extract_groups()
1056 if ((iomask & (0x0FUL << (idx * 4UL))) != 0UL) in TSC_extract_groups()
1058 groups |= (1UL << idx); in TSC_extract_groups()
/hal_stm32-latest/stm32cube/stm32wbaxx/drivers/src/
Dstm32wbaxx_hal_tsc.c1093 uint32_t idx; in TSC_extract_groups() local
1095 for (idx = 0UL; idx < (uint32_t)TSC_NB_OF_GROUPS; idx++) in TSC_extract_groups()
1097 if ((iomask & (0x0FUL << (idx * 4UL))) != 0UL) in TSC_extract_groups()
1099 groups |= (1UL << idx); in TSC_extract_groups()
/hal_stm32-latest/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_hal_tsc.c1100 uint32_t idx; in TSC_extract_groups() local
1102 for (idx = 0UL; idx < (uint32_t)TSC_NB_OF_GROUPS; idx++) in TSC_extract_groups()
1104 if ((iomask & (0x0FUL << (idx * 4UL))) != 0UL) in TSC_extract_groups()
1106 groups |= (1UL << idx); in TSC_extract_groups()
/hal_stm32-latest/stm32cube/stm32u0xx/drivers/src/
Dstm32u0xx_hal_tsc.c1095 uint32_t idx; in TSC_extract_groups() local
1097 for (idx = 0UL; idx < (uint32_t)TSC_NB_OF_GROUPS; idx++) in TSC_extract_groups()
1099 if ((iomask & (0x0FUL << (idx * 4UL))) != 0UL) in TSC_extract_groups()
1101 groups |= (1UL << idx); in TSC_extract_groups()
/hal_stm32-latest/lib/stm32wb0/BLE_TransparentMode/System/Interfaces/
Dhw_pka.c361 uint8_t idx; in HW_PKA_SetData() local
403 for (idx = 0; idx<8; idx++) in HW_PKA_SetData()
405 *(uint32_t *)(StartAddress + 4*idx) = srcData[idx]; in HW_PKA_SetData()
/hal_stm32-latest/lib/stm32wb0/STM32_BLE/stack/include/
Dble_stack_user_cfg.h1191 uint8_t idx);
1193 uint8_t idx);
1195 uint8_t idx);
1200 uint8_t idx,
1206 uint8_t idx,
1212 uint8_t idx,
1218 uint8_t idx);
1221 uint8_t idx);
1224 uint8_t idx);
1238 uint8_t idx,
[all …]
/hal_stm32-latest/lib/stm32wb0/STM32_BLE/stack/config/
Dble_stack_user_cfg.c2146 uint8_t idx) in llc_scan_conn_ind_sent_ucfg() argument
2149 idx); in llc_scan_conn_ind_sent_ucfg()
2159 uint8_t idx, in llc_scan_process_ext_adv_ucfg() argument
2166 idx, in llc_scan_process_ext_adv_ucfg()
2178 uint8_t idx) in llc_scan_aux_conn_rsp_rcvd_ucfg() argument
2182 idx); in llc_scan_aux_conn_rsp_rcvd_ucfg()
2207 uint8_t idx, in llc_scan_prepare_conn_ind_req_ucfg() argument
2211 idx, in llc_scan_prepare_conn_ind_req_ucfg()
/hal_stm32-latest/stm32cube/stm32h7xx/drivers/src/Legacy/
Dstm32h7xx_hal_eth.c2739 uint32_t descnbr = 0, idx; in ETH_Prepare_Tx_Descriptors() local
2904 for(idx = 0; idx < descnbr; idx ++) in ETH_Prepare_Tx_Descriptors()