/loramac-node-3.4.0/src/boards/mcu/stm32/STM32_USB_Device_Library/Core/Src/ |
D | usbd_ioreq.c | 97 uint16_t len) in USBD_CtlSendData() argument 101 pdev->ep_in[0].total_length = len; in USBD_CtlSendData() 102 pdev->ep_in[0].rem_length = len; in USBD_CtlSendData() 104 USBD_LL_Transmit (pdev, 0x00, pbuf, len); in USBD_CtlSendData() 119 uint16_t len) in USBD_CtlContinueSendData() argument 122 USBD_LL_Transmit (pdev, 0x00, pbuf, len); in USBD_CtlContinueSendData() 137 uint16_t len) in USBD_CtlPrepareRx() argument 141 pdev->ep_out[0].total_length = len; in USBD_CtlPrepareRx() 142 pdev->ep_out[0].rem_length = len; in USBD_CtlPrepareRx() 147 len); in USBD_CtlPrepareRx() [all …]
|
D | usbd_ctlreq.c | 334 uint16_t len; in USBD_GetDescriptor() local 342 pbuf = pdev->pDesc->GetBOSDescriptor(pdev->dev_speed, &len); in USBD_GetDescriptor() 346 pbuf = pdev->pDesc->GetDeviceDescriptor(pdev->dev_speed, &len); in USBD_GetDescriptor() 352 pbuf = (uint8_t *)pdev->pClass->GetHSConfigDescriptor(&len); in USBD_GetDescriptor() 357 pbuf = (uint8_t *)pdev->pClass->GetFSConfigDescriptor(&len); in USBD_GetDescriptor() 366 pbuf = pdev->pDesc->GetLangIDStrDescriptor(pdev->dev_speed, &len); in USBD_GetDescriptor() 370 pbuf = pdev->pDesc->GetManufacturerStrDescriptor(pdev->dev_speed, &len); in USBD_GetDescriptor() 374 pbuf = pdev->pDesc->GetProductStrDescriptor(pdev->dev_speed, &len); in USBD_GetDescriptor() 378 pbuf = pdev->pDesc->GetSerialStrDescriptor(pdev->dev_speed, &len); in USBD_GetDescriptor() 382 pbuf = pdev->pDesc->GetConfigurationStrDescriptor(pdev->dev_speed, &len); in USBD_GetDescriptor() [all …]
|
/loramac-node-3.4.0/src/peripherals/soft-se/ |
D | cmac.c | 71 void AES_CMAC_Update( AES_CMAC_CTX* ctx, const uint8_t* data, uint32_t len ) in AES_CMAC_Update() argument 78 mlen = MIN( 16 - ctx->M_n, len ); in AES_CMAC_Update() 81 if( ctx->M_n < 16 || len == mlen ) in AES_CMAC_Update() 90 len -= mlen; in AES_CMAC_Update() 92 while( len > 16 ) in AES_CMAC_Update() 102 len -= 16; in AES_CMAC_Update() 105 memcpy1( ctx->M_last, data, len ); in AES_CMAC_Update() 106 ctx->M_n = len; in AES_CMAC_Update()
|
D | cmac.h | 60 void AES_CMAC_Update(AES_CMAC_CTX * ctx, const uint8_t * data, uint32_t len);
|
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32_USB_Device_Library/Core/Inc/ |
D | usbd_ioreq.h | 90 uint16_t len); 94 uint16_t len); 98 uint16_t len); 102 uint16_t len);
|
D | usbd_ctlreq.h | 93 void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len);
|
/loramac-node-3.4.0/src/boards/mcu/saml21/hal/src/ |
D | hal_i2c_m_sync.c | 52 msg.len = n; in i2c_m_sync_read() 75 msg.len = n; in i2c_m_sync_write() 168 msg.len = 1; in i2c_m_sync_cmd_write() 181 msg.len = length; in i2c_m_sync_cmd_write() 202 msg.len = 1; in i2c_m_sync_cmd_read() 215 msg.len = length; in i2c_m_sync_cmd_read()
|
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/ |
D | stm32l1xx_hal_pcd.c | 1111 …usTypeDef HAL_PCD_EP_Receive(PCD_HandleTypeDef *hpcd, uint8_t ep_addr, uint8_t *pBuf, uint32_t len) in HAL_PCD_EP_Receive() argument 1120 ep->xfer_len = len; in HAL_PCD_EP_Receive() 1128 len=ep->maxpacket; in HAL_PCD_EP_Receive() 1129 ep->xfer_len-=len; in HAL_PCD_EP_Receive() 1133 len=ep->xfer_len; in HAL_PCD_EP_Receive() 1141 PCD_SET_EP_RX_CNT(hpcd->Instance, ep->num, len) in HAL_PCD_EP_Receive() 1146 PCD_SET_EP_DBUF_CNT(hpcd->Instance, ep->num, ep->is_in, len) in HAL_PCD_EP_Receive() 1172 …sTypeDef HAL_PCD_EP_Transmit(PCD_HandleTypeDef *hpcd, uint8_t ep_addr, uint8_t *pBuf, uint32_t len) in HAL_PCD_EP_Transmit() argument 1181 ep->xfer_len = len; in HAL_PCD_EP_Transmit() 1189 len=ep->maxpacket; in HAL_PCD_EP_Transmit() [all …]
|
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/ |
D | stm32l0xx_hal_pcd.c | 870 …usTypeDef HAL_PCD_EP_Receive(PCD_HandleTypeDef *hpcd, uint8_t ep_addr, uint8_t *pBuf, uint32_t len) in HAL_PCD_EP_Receive() argument 879 ep->xfer_len = len; in HAL_PCD_EP_Receive() 887 len=ep->maxpacket; in HAL_PCD_EP_Receive() 888 ep->xfer_len-=len; in HAL_PCD_EP_Receive() 892 len=ep->xfer_len; in HAL_PCD_EP_Receive() 900 PCD_SET_EP_RX_CNT(hpcd->Instance, ep->num, len); in HAL_PCD_EP_Receive() 905 PCD_SET_EP_DBUF_CNT(hpcd->Instance, ep->num, ep->is_in, len); in HAL_PCD_EP_Receive() 931 …sTypeDef HAL_PCD_EP_Transmit(PCD_HandleTypeDef *hpcd, uint8_t ep_addr, uint8_t *pBuf, uint32_t len) in HAL_PCD_EP_Transmit() argument 940 ep->xfer_len = len; in HAL_PCD_EP_Transmit() 948 len=ep->maxpacket; in HAL_PCD_EP_Transmit() [all …]
|
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/ |
D | stm32l4xx_ll_usb.c | 737 …TypeDef USB_WritePacket(USB_OTG_GlobalTypeDef *USBx, uint8_t *src, uint8_t ch_ep_num, uint16_t len) in USB_WritePacket() argument 743 count32b = ((uint32_t)len + 3U) / 4U; in USB_WritePacket() 761 void *USB_ReadPacket(USB_OTG_GlobalTypeDef *USBx, uint8_t *dest, uint16_t len) in USB_ReadPacket() argument 766 uint32_t count32b = ((uint32_t)len + 3U) / 4U; in USB_ReadPacket() 2054 uint32_t len = ep->xfer_len; in USB_EPStartXfer() local 2062 len = ep->maxpacket; in USB_EPStartXfer() 2063 ep->xfer_len -= len; in USB_EPStartXfer() 2067 len = ep->xfer_len; in USB_EPStartXfer() 2074 USB_WritePMA(USBx, ep->xfer_buff, ep->pmaadress, (uint16_t)len); in USB_EPStartXfer() 2075 PCD_SET_EP_TX_CNT(USBx, ep->num, len); in USB_EPStartXfer() [all …]
|
D | stm32l4xx_hal_pcd.c | 1927 …usTypeDef HAL_PCD_EP_Receive(PCD_HandleTypeDef *hpcd, uint8_t ep_addr, uint8_t *pBuf, uint32_t len) in HAL_PCD_EP_Receive() argument 1935 ep->xfer_len = len; in HAL_PCD_EP_Receive() 1970 …sTypeDef HAL_PCD_EP_Transmit(PCD_HandleTypeDef *hpcd, uint8_t ep_addr, uint8_t *pBuf, uint32_t len) in HAL_PCD_EP_Transmit() argument 1978 ep->xfer_len = len; in HAL_PCD_EP_Transmit() 2169 uint32_t len; in PCD_WriteEmptyTxFifo() local 2180 len = ep->xfer_len - ep->xfer_count; in PCD_WriteEmptyTxFifo() 2182 if (len > ep->maxpacket) in PCD_WriteEmptyTxFifo() 2184 len = ep->maxpacket; in PCD_WriteEmptyTxFifo() 2187 len32b = (len + 3U) / 4U; in PCD_WriteEmptyTxFifo() 2193 len = ep->xfer_len - ep->xfer_count; in PCD_WriteEmptyTxFifo() [all …]
|
/loramac-node-3.4.0/src/mac/ |
D | LoRaMacCrypto.c | 338 static LoRaMacCryptoStatus_t ComputeCmacB0( uint8_t* msg, uint16_t len, KeyIdentifier_t keyID, bool… in ComputeCmacB0() argument 344 if( len > CRYPTO_MAXMESSAGE_SIZE ) in ComputeCmacB0() 352 PrepareB0( len, keyID, isAck, dir, devAddr, fCnt, micBuff ); in ComputeCmacB0() 354 if( SecureElementComputeAesCmac( micBuff, msg, len, keyID, cmac ) != SECURE_ELEMENT_SUCCESS ) in ComputeCmacB0() 374 static LoRaMacCryptoStatus_t VerifyCmacB0( uint8_t* msg, uint16_t len, KeyIdentifier_t keyID, bool … in VerifyCmacB0() argument 380 if( len > CRYPTO_MAXMESSAGE_SIZE ) in VerifyCmacB0() 389 PrepareB0( len, keyID, isAck, dir, devAddr, fCnt, micBuff ); in VerifyCmacB0() 392 memcpy1( ( micBuff + MIC_BLOCK_BX_SIZE ), msg, len ); in VerifyCmacB0() 395 … retval = SecureElementVerifyAesCmac( micBuff, ( len + MIC_BLOCK_BX_SIZE ), expectedCmac, keyID ); in VerifyCmacB0() 482 static LoRaMacCryptoStatus_t ComputeCmacB1( uint8_t* msg, uint16_t len, KeyIdentifier_t keyID, bool… in ComputeCmacB1() argument [all …]
|
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/ |
D | stm32l4xx_ll_usb.h | 523 …ypeDef USB_WritePacket(USB_OTG_GlobalTypeDef *USBx, uint8_t *src, uint8_t ch_ep_num, uint16_t len); 524 void *USB_ReadPacket(USB_OTG_GlobalTypeDef *USBx, uint8_t *dest, uint16_t len); 576 HAL_StatusTypeDef USB_WritePacket(USB_TypeDef *USBx, uint8_t *src, uint8_t ch_ep_num, uint16_t len); 577 void *USB_ReadPacket(USB_TypeDef *USBx, uint8_t *dest, uint16_t len);
|
D | stm32l4xx_hal_pcd.h | 409 …sTypeDef HAL_PCD_EP_Receive(PCD_HandleTypeDef *hpcd, uint8_t ep_addr, uint8_t *pBuf, uint32_t len); 410 …TypeDef HAL_PCD_EP_Transmit(PCD_HandleTypeDef *hpcd, uint8_t ep_addr, uint8_t *pBuf, uint32_t len);
|
/loramac-node-3.4.0/src/boards/mcu/saml21/hpl/sercom/ |
D | hpl_sercom.c | 962 if (msg->len > 0) { in _sercom_i2c_sync_analyse_flags() 984 if (msg->len == 0) { in _sercom_i2c_sync_analyse_flags() 993 msg->len--; in _sercom_i2c_sync_analyse_flags() 999 if ((msg->len) && !(status & SERCOM_I2CM_STATUS_RXNACK)) { in _sercom_i2c_sync_analyse_flags() 1000 msg->len--; in _sercom_i2c_sync_analyse_flags() 1003 if ((msg->len == 0 && !sclsm) || (msg->len == 1 && sclsm)) { in _sercom_i2c_sync_analyse_flags() 1007 if (msg->len == 0) { in _sercom_i2c_sync_analyse_flags() 1163 if (msg->len == 1 && sclsm) { in _sercom_i2c_send_address() 1205 if (msg->len == 0) { in _i2c_m_async_transfer() 1283 return i2c_dev->service.msg.len; in _i2c_m_async_get_bytes_left() [all …]
|
/loramac-node-3.4.0/src/boards/mcu/saml21/hal/include/ |
D | hpl_i2c_m_sync.h | 87 int32_t len; member
|
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32_USB_Device_Library/Class/DFU/Src/ |
D | usbd_dfu.c | 369 uint16_t len = 0; in USBD_DFU_Setup() local 422 len = MIN(USB_DFU_DESC_SIZ , req->wLength); in USBD_DFU_Setup() 427 len); in USBD_DFU_Setup()
|
/loramac-node-3.4.0/src/mac/region/ |
D | RegionCommon.h | 413 void RegionCommonChanMaskCopy( uint16_t* channelsMaskDest, uint16_t* channelsMaskSrc, uint8_t len );
|
D | RegionCommon.c | 285 void RegionCommonChanMaskCopy( uint16_t* channelsMaskDest, uint16_t* channelsMaskSrc, uint8_t len ) in RegionCommonChanMaskCopy() argument 289 for( uint8_t i = 0; i < len; i++ ) in RegionCommonChanMaskCopy()
|
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc/ |
D | stm32l1xx_hal_pcd.h | 810 …sTypeDef HAL_PCD_EP_Receive(PCD_HandleTypeDef *hpcd, uint8_t ep_addr, uint8_t *pBuf, uint32_t len); 811 …TypeDef HAL_PCD_EP_Transmit(PCD_HandleTypeDef *hpcd, uint8_t ep_addr, uint8_t *pBuf, uint32_t len);
|
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Inc/ |
D | stm32l0xx_hal_pcd.h | 751 …sTypeDef HAL_PCD_EP_Receive(PCD_HandleTypeDef *hpcd, uint8_t ep_addr, uint8_t *pBuf, uint32_t len); 752 …TypeDef HAL_PCD_EP_Transmit(PCD_HandleTypeDef *hpcd, uint8_t ep_addr, uint8_t *pBuf, uint32_t len);
|