| /external/platform/stm32f7xx/STM32F7xx_HAL_Driver/Src/ |
| A D | stm32f7xx_hal_gpio.c | 197 assert_param(IS_GPIO_MODE(GPIO_Init->Mode)); in HAL_GPIO_Init() 210 if ((GPIO_Init->Mode == GPIO_MODE_AF_PP) || (GPIO_Init->Mode == GPIO_MODE_AF_OD)) { in HAL_GPIO_Init() 224 temp |= ((GPIO_Init->Mode & GPIO_MODE) << (position * 2)); in HAL_GPIO_Init() 228 if ((GPIO_Init->Mode == GPIO_MODE_OUTPUT_PP) || (GPIO_Init->Mode == GPIO_MODE_AF_PP) || in HAL_GPIO_Init() 229 … (GPIO_Init->Mode == GPIO_MODE_OUTPUT_OD) || (GPIO_Init->Mode == GPIO_MODE_AF_OD)) { in HAL_GPIO_Init() 241 temp |= (((GPIO_Init->Mode & GPIO_OUTPUT_TYPE) >> 4) << position); in HAL_GPIO_Init() 253 if ((GPIO_Init->Mode & EXTI_MODE) == EXTI_MODE) { in HAL_GPIO_Init() 265 if ((GPIO_Init->Mode & GPIO_MODE_IT) == GPIO_MODE_IT) { in HAL_GPIO_Init() 272 if ((GPIO_Init->Mode & GPIO_MODE_EVT) == GPIO_MODE_EVT) { in HAL_GPIO_Init() 280 if ((GPIO_Init->Mode & RISING_EDGE) == RISING_EDGE) { in HAL_GPIO_Init() [all …]
|
| A D | stm32f7xx_hal_pwr.c | 282 assert_param(IS_PWR_PVD_MODE(sConfigPVD->Mode)); in HAL_PWR_ConfigPVD() 294 if ((sConfigPVD->Mode & PVD_MODE_IT) == PVD_MODE_IT) { in HAL_PWR_ConfigPVD() 299 if ((sConfigPVD->Mode & PVD_MODE_EVT) == PVD_MODE_EVT) { in HAL_PWR_ConfigPVD() 304 if ((sConfigPVD->Mode & PVD_RISING_EDGE) == PVD_RISING_EDGE) { in HAL_PWR_ConfigPVD() 308 if ((sConfigPVD->Mode & PVD_FALLING_EDGE) == PVD_FALLING_EDGE) { in HAL_PWR_ConfigPVD()
|
| A D | stm32f7xx_hal_dma2d.c | 192 assert_param(IS_DMA2D_MODE(hdma2d->Init.Mode)); in HAL_DMA2D_Init() 214 tmp |= hdma2d->Init.Mode; in HAL_DMA2D_Init() 821 if (hdma2d->Init.Mode != DMA2D_R2M) { in HAL_DMA2D_ConfigLayer() 823 if (hdma2d->Init.Mode != DMA2D_M2M) { in HAL_DMA2D_ConfigLayer() 1156 if (hdma2d->Init.Mode == DMA2D_R2M) { in DMA2D_SetConfig()
|
| A D | stm32f7xx_hal_spi.c | 204 assert_param(IS_SPI_MODE(hspi->Init.Mode)); in HAL_SPI_Init() 257 hspi->Instance->CR1 = (hspi->Init.Mode | hspi->Init.Direction | in HAL_SPI_Init() 524 if ((hspi->Init.Mode == SPI_MODE_MASTER) && (hspi->Init.Direction == SPI_DIRECTION_2LINES)) { in HAL_SPI_Receive() 950 … if ((hspi->Init.Mode == SPI_MODE_MASTER) && (hspi->Init.Direction == SPI_DIRECTION_2LINES)) { in HAL_SPI_Receive_IT() 1026 …((hspi->Init.Mode == SPI_MODE_MASTER) && (hspi->Init.Direction == SPI_DIRECTION_2LINES) && (hspi->… in HAL_SPI_TransmitReceive_IT() 1206 if ((hspi->Init.Mode == SPI_MODE_MASTER) && (hspi->Init.Direction == SPI_DIRECTION_2LINES)) { in HAL_SPI_Receive_DMA() 1283 …((hspi->Init.Mode == SPI_MODE_MASTER) && (hspi->Init.Direction == SPI_DIRECTION_2LINES) && (hspi->… in HAL_SPI_TransmitReceive_DMA() 2209 …if ((hspi->Init.Mode == SPI_MODE_MASTER)&&((hspi->Init.Direction == SPI_DIRECTION_1LINE)||(hspi->I… in SPI_WaitFlagStateUntilTimeout() 2261 …if ((hspi->Init.Mode == SPI_MODE_MASTER)&&((hspi->Init.Direction == SPI_DIRECTION_1LINE)||(hspi->I… in SPI_WaitFifoStateUntilTimeout() 2293 …if ((hspi->Init.Mode == SPI_MODE_MASTER)&&((hspi->Init.Direction == SPI_DIRECTION_1LINE)||(hspi->I… in SPI_EndRxTransaction()
|
| /external/platform/stm32f0xx/STM32F0xx_HAL_Driver/ |
| A D | stm32f0xx_hal_gpio.c | 195 assert_param(IS_GPIO_MODE(GPIO_Init->Mode)); in HAL_GPIO_Init() 208 if((GPIO_Init->Mode == GPIO_MODE_AF_PP) || (GPIO_Init->Mode == GPIO_MODE_AF_OD)) in HAL_GPIO_Init() 224 SET_BIT(temp, (GPIO_Init->Mode & GPIO_MODE) << (position * 2U)); in HAL_GPIO_Init() 228 if ((GPIO_Init->Mode == GPIO_MODE_OUTPUT_PP) || (GPIO_Init->Mode == GPIO_MODE_AF_PP) || in HAL_GPIO_Init() 229 (GPIO_Init->Mode == GPIO_MODE_OUTPUT_OD) || (GPIO_Init->Mode == GPIO_MODE_AF_OD)) in HAL_GPIO_Init() 242 SET_BIT(temp, ((GPIO_Init->Mode & GPIO_OUTPUT_TYPE) >> 4U) << position); in HAL_GPIO_Init() 254 if((GPIO_Init->Mode & EXTI_MODE) == EXTI_MODE) in HAL_GPIO_Init() 267 if((GPIO_Init->Mode & GPIO_MODE_IT) == GPIO_MODE_IT) in HAL_GPIO_Init() 275 if((GPIO_Init->Mode & GPIO_MODE_EVT) == GPIO_MODE_EVT) in HAL_GPIO_Init() 284 if((GPIO_Init->Mode & RISING_EDGE) == RISING_EDGE) in HAL_GPIO_Init() [all …]
|
| A D | stm32f0xx_ll_gpio.c | 180 assert_param(IS_LL_GPIO_MODE(GPIO_InitStruct->Mode)); in LL_GPIO_Init() 196 LL_GPIO_SetPinMode(GPIOx, currentpin, GPIO_InitStruct->Mode); in LL_GPIO_Init() 198 …if ((GPIO_InitStruct->Mode == LL_GPIO_MODE_OUTPUT) || (GPIO_InitStruct->Mode == LL_GPIO_MODE_ALTER… in LL_GPIO_Init() 210 if (GPIO_InitStruct->Mode == LL_GPIO_MODE_ALTERNATE) in LL_GPIO_Init() 229 …if ((GPIO_InitStruct->Mode == LL_GPIO_MODE_OUTPUT) || (GPIO_InitStruct->Mode == LL_GPIO_MODE_ALTER… in LL_GPIO_Init() 252 GPIO_InitStruct->Mode = LL_GPIO_MODE_ANALOG; in LL_GPIO_StructInit()
|
| A D | stm32f0xx_hal_pwr_ex.c | 128 assert_param(IS_PWR_PVD_MODE(sConfigPVD->Mode)); in HAL_PWR_ConfigPVD() 139 if((sConfigPVD->Mode & PVD_MODE_IT) == PVD_MODE_IT) in HAL_PWR_ConfigPVD() 145 if((sConfigPVD->Mode & PVD_MODE_EVT) == PVD_MODE_EVT) in HAL_PWR_ConfigPVD() 151 if((sConfigPVD->Mode & PVD_RISING_EDGE) == PVD_RISING_EDGE) in HAL_PWR_ConfigPVD() 156 if((sConfigPVD->Mode & PVD_FALLING_EDGE) == PVD_FALLING_EDGE) in HAL_PWR_ConfigPVD()
|
| A D | stm32f0xx_hal_i2c.c | 480 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Init() 513 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_DeInit() 727 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Master_Transmit() 852 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Master_Receive() 992 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Slave_Transmit() 2898 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_DisableListen_IT() 3230 return hi2c->Mode; in HAL_I2C_GetMode() 3856 hi2c->Mode = HAL_I2C_MODE_NONE; in I2C_ITMasterSequentialCplt() 3901 hi2c->Mode = HAL_I2C_MODE_NONE; in I2C_ITSlaveSequentialCplt() 4085 hi2c->Mode = HAL_I2C_MODE_NONE; in I2C_ITSlaveCplt() [all …]
|
| A D | stm32f0xx_ll_spi.c | 202 assert_param(IS_LL_SPI_MODE(SPI_InitStruct->Mode)); in LL_SPI_Init() 226 SPI_InitStruct->TransferDirection | SPI_InitStruct->Mode | in LL_SPI_Init() 269 SPI_InitStruct->Mode = LL_SPI_MODE_SLAVE; in LL_SPI_StructInit() 394 assert_param(IS_LL_I2S_MODE(I2S_InitStruct->Mode)); in LL_I2S_Init() 414 I2S_InitStruct->Mode | I2S_InitStruct->Standard | in LL_I2S_Init() 494 I2S_InitStruct->Mode = LL_I2S_MODE_SLAVE_TX; in LL_I2S_StructInit()
|
| A D | stm32f0xx_ll_exti.c | 135 assert_param(IS_LL_EXTI_MODE(EXTI_InitStruct->Mode)); in LL_EXTI_Init() 145 switch (EXTI_InitStruct->Mode) in LL_EXTI_Init() 214 EXTI_InitStruct->Mode = LL_EXTI_MODE_IT; in LL_EXTI_StructInit()
|
| A D | stm32f0xx_ll_dma.c | 309 assert_param(IS_LL_DMA_MODE(DMA_InitStruct->Mode)); in LL_DMA_Init() 333 DMA_InitStruct->Mode | \ in LL_DMA_Init() 380 DMA_InitStruct->Mode = LL_DMA_MODE_NORMAL; in LL_DMA_StructInit()
|
| A D | stm32f0xx_hal_spi.c | 293 assert_param(IS_SPI_MODE(hspi->Init.Mode)); in HAL_SPI_Init() 365 WRITE_REG(hspi->Instance->CR1, (hspi->Init.Mode | hspi->Init.Direction | in HAL_SPI_Init() 583 if ((hspi->Init.Mode == SPI_MODE_SLAVE) || (hspi->TxXferCount == 0x01U)) in HAL_SPI_Transmit() 613 if ((hspi->Init.Mode == SPI_MODE_SLAVE) || (hspi->TxXferCount == 0x01U)) in HAL_SPI_Transmit() 713 if ((hspi->Init.Mode == SPI_MODE_MASTER) && (hspi->Init.Direction == SPI_DIRECTION_2LINES)) in HAL_SPI_Receive() 966 tmp1 = hspi->Init.Mode; in HAL_SPI_TransmitReceive() 1030 if ((hspi->Init.Mode == SPI_MODE_SLAVE) || (hspi->TxXferCount == 0x01U)) in HAL_SPI_TransmitReceive() 1080 if ((hspi->Init.Mode == SPI_MODE_SLAVE) || (hspi->TxXferCount == 0x01U)) in HAL_SPI_TransmitReceive() 1335 if ((hspi->Init.Direction == SPI_DIRECTION_2LINES) && (hspi->Init.Mode == SPI_MODE_MASTER)) in HAL_SPI_Receive_IT() 1456 tmp1 = hspi->Init.Mode; in HAL_SPI_TransmitReceive_IT() [all …]
|
| A D | stm32f0xx_hal_comp.c | 253 assert_param(IS_COMP_MODE(hcomp->Init.Mode)); in HAL_COMP_Init() 299 hcomp->Init.Mode) << regshift); in HAL_COMP_Init()
|
| /external/platform/stm32f4xx/STM32F4xx_StdPeriph_Driver/inc/ |
| A D | stm32f4xx_cryp.h | 308 ErrorStatus CRYP_AES_ECB(uint8_t Mode, 313 ErrorStatus CRYP_AES_CBC(uint8_t Mode, 319 ErrorStatus CRYP_AES_CTR(uint8_t Mode, 325 ErrorStatus CRYP_AES_GCM(uint8_t Mode, uint8_t InitVectors[16], 331 ErrorStatus CRYP_AES_CCM(uint8_t Mode, 340 ErrorStatus CRYP_TDES_ECB(uint8_t Mode, 345 ErrorStatus CRYP_TDES_CBC(uint8_t Mode, 352 ErrorStatus CRYP_DES_ECB(uint8_t Mode, 357 ErrorStatus CRYP_DES_CBC(uint8_t Mode,
|
| A D | stm32f4xx_dsi.h | 87 uint32_t Mode; /*!< Video mode type member 949 void DSI_PatternGeneratorStart(DSI_TypeDef *DSIx, uint32_t Mode, uint32_t Orientation); 961 void DSI_ShortWrite(DSI_TypeDef *DSIx, uint32_t ChannelID, uint32_t Mode, uint32_t Param1, uint32_t… 962 void DSI_LongWrite(DSI_TypeDef *DSIx, uint32_t ChannelID, uint32_t Mode, uint32_t NbParams, uint32_… 963 void DSI_Read(DSI_TypeDef *DSIx, uint32_t ChannelNbr, uint8_t* Array, uint32_t Size, uint32_t Mode,…
|
| /external/platform/stm32f2xx/STM32F2xx_StdPeriph_Driver/inc/ |
| A D | stm32f2xx_cryp.h | 289 ErrorStatus CRYP_AES_ECB(uint8_t Mode, 294 ErrorStatus CRYP_AES_CBC(uint8_t Mode, 300 ErrorStatus CRYP_AES_CTR(uint8_t Mode, 307 ErrorStatus CRYP_TDES_ECB(uint8_t Mode, 312 ErrorStatus CRYP_TDES_CBC(uint8_t Mode, 319 ErrorStatus CRYP_DES_ECB(uint8_t Mode, 324 ErrorStatus CRYP_DES_CBC(uint8_t Mode,
|
| /external/platform/stm32f4xx/STM32F4xx_StdPeriph_Driver/src/ |
| A D | stm32f4xx_dsi.c | 293 DSIx->VMCR |= VidCfg->Mode; in DSI_ConfigVideoMode() 714 uint32_t Mode, in DSI_ShortWrite() argument 728 Mode, in DSI_ShortWrite() 748 uint32_t Mode, in DSI_LongWrite() argument 786 Mode, in DSI_LongWrite() 807 uint32_t Mode, in DSI_Read() argument 813 assert_param(IS_DSI_READ_PACKET_TYPE(Mode)); in DSI_Read() 822 if (Mode == DSI_DCS_SHORT_PKT_READ) in DSI_Read() 826 else if (Mode == DSI_GEN_SHORT_PKT_READ_P0) in DSI_Read() 830 else if (Mode == DSI_GEN_SHORT_PKT_READ_P1) in DSI_Read() [all …]
|
| A D | stm32f4xx_cryp_des.c | 92 ErrorStatus CRYP_DES_ECB(uint8_t Mode, uint8_t Key[8], uint8_t *Input, in CRYP_DES_ECB() argument 109 if( Mode == MODE_ENCRYPT ) /* DES encryption */ in CRYP_DES_ECB() 195 ErrorStatus CRYP_DES_CBC(uint8_t Mode, uint8_t Key[8], uint8_t InitVectors[8], in CRYP_DES_CBC() argument 214 if(Mode == MODE_ENCRYPT) /* DES encryption */ in CRYP_DES_CBC()
|
| A D | stm32f4xx_cryp_tdes.c | 93 ErrorStatus CRYP_TDES_ECB(uint8_t Mode, uint8_t Key[24], uint8_t *Input, in CRYP_TDES_ECB() argument 110 if(Mode == MODE_ENCRYPT) /* TDES encryption */ in CRYP_TDES_ECB() 203 ErrorStatus CRYP_TDES_CBC(uint8_t Mode, uint8_t Key[24], uint8_t InitVectors[8], in CRYP_TDES_CBC() argument 222 if(Mode == MODE_ENCRYPT) /* TDES encryption */ in CRYP_TDES_CBC()
|
| A D | stm32f4xx_cryp_aes.c | 99 ErrorStatus CRYP_AES_ECB(uint8_t Mode, uint8_t* Key, uint16_t Keysize, in CRYP_AES_ECB() argument 164 if(Mode == MODE_DECRYPT) /* AES decryption */ in CRYP_AES_ECB() 287 ErrorStatus CRYP_AES_CBC(uint8_t Mode, uint8_t InitVectors[16], uint8_t *Key, in CRYP_AES_CBC() argument 365 if(Mode == MODE_DECRYPT) /* AES decryption */ in CRYP_AES_CBC() 489 ErrorStatus CRYP_AES_CTR(uint8_t Mode, uint8_t InitVectors[16], uint8_t *Key, in CRYP_AES_CTR() argument 568 if(Mode == MODE_DECRYPT) /* AES decryption */ in CRYP_AES_CTR() 663 ErrorStatus CRYP_AES_GCM(uint8_t Mode, uint8_t InitVectors[16], in CRYP_AES_GCM() argument 746 if(Mode == MODE_ENCRYPT) /* AES encryption */ in CRYP_AES_GCM() 1128 ErrorStatus CRYP_AES_CCM(uint8_t Mode, in CRYP_AES_CCM() argument 1293 if(Mode == MODE_ENCRYPT) /* AES encryption */ in CRYP_AES_CCM()
|
| /external/platform/stm32f2xx/STM32F2xx_StdPeriph_Driver/src/ |
| A D | stm32f2xx_cryp_des.c | 100 ErrorStatus CRYP_DES_ECB(uint8_t Mode, uint8_t Key[8], uint8_t *Input, in CRYP_DES_ECB() argument 117 if( Mode == MODE_ENCRYPT ) /* DES encryption */ in CRYP_DES_ECB() 195 ErrorStatus CRYP_DES_CBC(uint8_t Mode, uint8_t Key[8], uint8_t InitVectors[8], in CRYP_DES_CBC() argument 214 if(Mode == MODE_ENCRYPT) /* DES encryption */ in CRYP_DES_CBC()
|
| A D | stm32f2xx_cryp_tdes.c | 102 ErrorStatus CRYP_TDES_ECB(uint8_t Mode, uint8_t Key[24], uint8_t *Input, in CRYP_TDES_ECB() argument 119 if(Mode == MODE_ENCRYPT) /* TDES encryption */ in CRYP_TDES_ECB() 204 ErrorStatus CRYP_TDES_CBC(uint8_t Mode, uint8_t Key[24], uint8_t InitVectors[8], in CRYP_TDES_CBC() argument 223 if(Mode == MODE_ENCRYPT) /* TDES encryption */ in CRYP_TDES_CBC()
|
| A D | stm32f2xx_cryp_aes.c | 104 ErrorStatus CRYP_AES_ECB(uint8_t Mode, uint8_t* Key, uint16_t Keysize, in CRYP_AES_ECB() argument 169 if(Mode == MODE_DECRYPT) /* AES decryption */ in CRYP_AES_ECB() 285 ErrorStatus CRYP_AES_CBC(uint8_t Mode, uint8_t InitVectors[16], uint8_t *Key, in CRYP_AES_CBC() argument 363 if(Mode == MODE_DECRYPT) /* AES decryption */ in CRYP_AES_CBC() 481 ErrorStatus CRYP_AES_CTR(uint8_t Mode, uint8_t InitVectors[16], uint8_t *Key, in CRYP_AES_CTR() argument 560 if(Mode == MODE_DECRYPT) /* AES decryption */ in CRYP_AES_CTR()
|
| /external/platform/stm32f0xx/STM32F0xx_HAL_Driver/inc/ |
| A D | stm32f0xx_ll_gpio.h | 85 uint32_t Mode; /*!< Specifies the operating mode for the selected pins. member 284 __STATIC_INLINE void LL_GPIO_SetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Mode) in LL_GPIO_SetPinMode() argument 286 MODIFY_REG(GPIOx->MODER, ((Pin * Pin) * GPIO_MODER_MODER0), ((Pin * Pin) * Mode)); in LL_GPIO_SetPinMode()
|
| A D | stm32f0xx_ll_spi.h | 77 uint32_t Mode; /*!< Specifies the SPI mode (Master/Slave). member 414 __STATIC_INLINE void LL_SPI_SetMode(SPI_TypeDef *SPIx, uint32_t Mode) in LL_SPI_SetMode() argument 416 MODIFY_REG(SPIx->CR1, SPI_CR1_MSTR | SPI_CR1_SSI, Mode); in LL_SPI_SetMode() 1436 uint32_t Mode; /*!< Specifies the I2S operating mode. member 1778 __STATIC_INLINE void LL_I2S_SetTransferMode(SPI_TypeDef *SPIx, uint32_t Mode) in LL_I2S_SetTransferMode() argument 1780 MODIFY_REG(SPIx->I2SCFGR, SPI_I2SCFGR_I2SCFG, Mode); in LL_I2S_SetTransferMode()
|