Home
last modified time | relevance | path

Searched refs:phy_chin_state (Results 1 – 8 of 8) sorted by relevance

/hal_stm32-latest/stm32cube/stm32c0xx/drivers/src/
Dstm32c0xx_hal_hcd.c231 hhcd->phy_chin_state[0U] = (((uint16_t)ch_num + 1U) << 4U) | in HAL_HCD_HC_Init()
457 hhcd->phy_chin_state[hhcd->hc[ch_num & 0xFU].phy_ch_num] = 0U; in HAL_HCD_HC_Close()
519 hhcd->phy_chin_state[idx] = 0U; in HAL_HCD_DeInit()
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()
2342 if (((hhcd->phy_chin_state[phy_chnum & 0x7U] & 0x00F0U) >> 4U) != 0U) in HAL_HCD_GetLogical_Channel()
2344 return ((uint8_t)((hhcd->phy_chin_state[phy_chnum & 0x7U] & 0x00F0U) >> 4U) - 1U); in HAL_HCD_GetLogical_Channel()
2382 if (hhcd->phy_chin_state[idx] == 0U) in HAL_HCD_Get_FreePhyChannel()
2386 hhcd->phy_chin_state[idx] = (((uint16_t)ch_num + 1U) << 4U) | in HAL_HCD_Get_FreePhyChannel()
2404 if (((hhcd->phy_chin_state[idx] & 0xF0U) >> 4U) != ((uint16_t)ch_num + 1U)) in HAL_HCD_Get_FreePhyChannel()
[all …]
/hal_stm32-latest/stm32cube/stm32g0xx/drivers/src/
Dstm32g0xx_hal_hcd.c428 hhcd->phy_chin_state[hhcd->hc[ch_num & 0xFU].phy_ch_num] = 0U; in HAL_HCD_HC_Close()
490 hhcd->phy_chin_state[idx] = 0U; in HAL_HCD_DeInit()
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()
2342 if (((hhcd->phy_chin_state[phy_chnum & 0x7U] & 0x00F0U) >> 4U) != 0U) in HAL_HCD_GetLogical_Channel()
2344 return ((uint8_t)((hhcd->phy_chin_state[phy_chnum & 0x7U] & 0x00F0U) >> 4U) - 1U); in HAL_HCD_GetLogical_Channel()
2382 if (hhcd->phy_chin_state[idx] == 0U) in HAL_HCD_Get_FreePhyChannel()
2386 hhcd->phy_chin_state[idx] = (((uint16_t)ch_num + 1U) << 4U) | in HAL_HCD_Get_FreePhyChannel()
2404 if (((hhcd->phy_chin_state[idx] & 0xF0U) >> 4U) != ((uint16_t)ch_num + 1U)) in HAL_HCD_Get_FreePhyChannel()
2408 hhcd->phy_chin_state[idx] = (((uint16_t)ch_num + 1U) << 4U) | in HAL_HCD_Get_FreePhyChannel()
[all …]
/hal_stm32-latest/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_hcd.c2155 hhcd->phy_chin_state[0U] = (((uint16_t)ch_num + 1U) << 4U) | in HAL_HCD_HC_Init()
2381 hhcd->phy_chin_state[hhcd->hc[ch_num & 0xFU].phy_ch_num] = 0U; in HAL_HCD_HC_Close()
2443 hhcd->phy_chin_state[idx] = 0U; in HAL_HCD_DeInit()
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()
4267 if (((hhcd->phy_chin_state[phy_chnum & 0x7U] & 0x00F0U) >> 4U) != 0U) in HAL_HCD_GetLogical_Channel()
4269 return ((uint8_t)((hhcd->phy_chin_state[phy_chnum & 0x7U] & 0x00F0U) >> 4U) - 1U); in HAL_HCD_GetLogical_Channel()
4307 if (hhcd->phy_chin_state[idx] == 0U) in HAL_HCD_Get_FreePhyChannel()
4311 hhcd->phy_chin_state[idx] = (((uint16_t)ch_num + 1U) << 4U) | in HAL_HCD_Get_FreePhyChannel()
4329 if (((hhcd->phy_chin_state[idx] & 0xF0U) >> 4U) != ((uint16_t)ch_num + 1U)) in HAL_HCD_Get_FreePhyChannel()
[all …]
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_hal_hcd.c2155 hhcd->phy_chin_state[0U] = (((uint16_t)ch_num + 1U) << 4U) | in HAL_HCD_HC_Init()
2381 hhcd->phy_chin_state[hhcd->hc[ch_num & 0xFU].phy_ch_num] = 0U; in HAL_HCD_HC_Close()
2443 hhcd->phy_chin_state[idx] = 0U; in HAL_HCD_DeInit()
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()
4267 if (((hhcd->phy_chin_state[phy_chnum & 0x7U] & 0x00F0U) >> 4U) != 0U) in HAL_HCD_GetLogical_Channel()
4269 return ((uint8_t)((hhcd->phy_chin_state[phy_chnum & 0x7U] & 0x00F0U) >> 4U) - 1U); in HAL_HCD_GetLogical_Channel()
4307 if (hhcd->phy_chin_state[idx] == 0U) in HAL_HCD_Get_FreePhyChannel()
4311 hhcd->phy_chin_state[idx] = (((uint16_t)ch_num + 1U) << 4U) | in HAL_HCD_Get_FreePhyChannel()
4329 if (((hhcd->phy_chin_state[idx] & 0xF0U) >> 4U) != ((uint16_t)ch_num + 1U)) in HAL_HCD_Get_FreePhyChannel()
[all …]
/hal_stm32-latest/stm32cube/stm32c0xx/drivers/include/
Dstm32c0xx_hal_hcd.h95 uint16_t phy_chin_state[8]; /*!< Physical Channel in State (Used/Free) */ member
/hal_stm32-latest/stm32cube/stm32g0xx/drivers/include/
Dstm32g0xx_hal_hcd.h95 uint16_t phy_chin_state[8]; /*!< Physical Channel in State (Used/Free) */ member
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/include/
Dstm32h5xx_hal_hcd.h103 uint16_t phy_chin_state[8]; /*!< Physical Channel in State (Used/Free) */ member
/hal_stm32-latest/stm32cube/stm32u5xx/drivers/include/
Dstm32u5xx_hal_hcd.h103 uint16_t phy_chin_state[8]; /*!< Physical Channel in State (Used/Free) */ member