| /bsp/ti/c28x/libraries/tms320f28379d/headers/cmd/ |
| A D | F2837xD_Headers_BIOS_cpu1.cmd | 8 ADCA_RESULT : origin = 0x000B00, length = 0x000020 9 ADCB_RESULT : origin = 0x000B20, length = 0x000020 10 ADCC_RESULT : origin = 0x000B40, length = 0x000020 11 ADCD_RESULT : origin = 0x000B60, length = 0x000020 13 ADCA : origin = 0x007400, length = 0x000080 14 ADCB : origin = 0x007480, length = 0x000080 15 ADCC : origin = 0x007500, length = 0x000080 16 ADCD : origin = 0x007580, length = 0x000080 18 ANALOG_SUBSYS : origin = 0x05D180, length = 0x000080 20 CANA : origin = 0x048000, length = 0x000800 [all …]
|
| A D | F2837xD_Headers_nonBIOS_cpu1.cmd | 8 ADCA_RESULT : origin = 0x000B00, length = 0x000020 9 ADCB_RESULT : origin = 0x000B20, length = 0x000020 10 ADCC_RESULT : origin = 0x000B40, length = 0x000020 11 ADCD_RESULT : origin = 0x000B60, length = 0x000020 13 ADCA : origin = 0x007400, length = 0x000080 14 ADCB : origin = 0x007480, length = 0x000080 15 ADCC : origin = 0x007500, length = 0x000080 16 ADCD : origin = 0x007580, length = 0x000080 18 ANALOG_SUBSYS : origin = 0x05D180, length = 0x000080 20 CANA : origin = 0x048000, length = 0x000800 [all …]
|
| A D | F2837xD_Headers_nonBIOS_cpu2.cmd | 8 ADCA_RESULT : origin = 0x000B00, length = 0x000020 9 ADCB_RESULT : origin = 0x000B20, length = 0x000020 10 ADCC_RESULT : origin = 0x000B40, length = 0x000020 11 ADCD_RESULT : origin = 0x000B60, length = 0x000020 13 ADCA : origin = 0x007400, length = 0x000080 14 ADCB : origin = 0x007480, length = 0x000080 15 ADCC : origin = 0x007500, length = 0x000080 16 ADCD : origin = 0x007580, length = 0x000080 18 CANA : origin = 0x048000, length = 0x000800 23 CMPSS1 : origin = 0x005C80, length = 0x000020 [all …]
|
| A D | F2837xD_Headers_BIOS_cpu2.cmd | 8 ADCA_RESULT : origin = 0x000B00, length = 0x000020 9 ADCB_RESULT : origin = 0x000B20, length = 0x000020 10 ADCC_RESULT : origin = 0x000B40, length = 0x000020 11 ADCD_RESULT : origin = 0x000B60, length = 0x000020 13 ADCA : origin = 0x007400, length = 0x000080 14 ADCB : origin = 0x007480, length = 0x000080 15 ADCC : origin = 0x007500, length = 0x000080 16 ADCD : origin = 0x007580, length = 0x000080 18 CANA : origin = 0x048000, length = 0x000800 23 CMPSS1 : origin = 0x005C80, length = 0x000020 [all …]
|
| /bsp/microchip/same54/bsp/hal/src/ |
| A D | hal_aes_sync.c | 178 length = length & 0xF; in aes_sync_cfb128_crypt() 199 length = length & 0x7; in aes_sync_cfb64_crypt() 230 length = length & 0x3; in aes_sync_cfb32_crypt() 252 length = length & 0x1; in aes_sync_cfb16_crypt() 284 length--; in aes_sync_ofb_crypt() 294 length = length & 0xF; in aes_sync_ofb_crypt() 325 length--; in aes_sync_ctr_crypt() 334 length = length & 0xF; in aes_sync_ctr_crypt() 362 ASSERT((input && output && length) || (!length)); in aes_sync_gcm_crypt_and_tag() 380 ASSERT((input && output && length) || (!length)); in aes_sync_gcm_auth_decrypt() [all …]
|
| /bsp/stm32/libraries/templates/stm32l1xx/board/CubeMX_Config/Src/ |
| A D | usbd_desc.c | 117 uint8_t * USBD_FS_DeviceDescriptor(USBD_SpeedTypeDef speed, uint16_t *length); 118 uint8_t * USBD_FS_LangIDStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length); 228 uint8_t * USBD_FS_DeviceDescriptor(USBD_SpeedTypeDef speed, uint16_t *length) in USBD_FS_DeviceDescriptor() argument 231 *length = sizeof(USBD_FS_DeviceDesc); in USBD_FS_DeviceDescriptor() 244 *length = sizeof(USBD_LangIDDesc); in USBD_FS_LangIDStrDescriptor() 258 USBD_GetString((uint8_t *)USBD_PRODUCT_STRING_FS, USBD_StrDesc, length); in USBD_FS_ProductStrDescriptor() 262 USBD_GetString((uint8_t *)USBD_PRODUCT_STRING_FS, USBD_StrDesc, length); in USBD_FS_ProductStrDescriptor() 276 USBD_GetString((uint8_t *)USBD_MANUFACTURER_STRING, USBD_StrDesc, length); in USBD_FS_ManufacturerStrDescriptor() 289 *length = USB_SIZ_STRING_SERIAL; in USBD_FS_SerialStrDescriptor() 329 USBD_GetString((uint8_t *)USBD_INTERFACE_STRING_FS, USBD_StrDesc, length); in USBD_FS_InterfaceStrDescriptor() [all …]
|
| /bsp/bouffalo_lab/libraries/rt_drivers/ |
| A D | drv_spi.c | 260 rt_size_t length = message->length; in _spi_dma_xfer_tx() local 273 while(length > 0) in _spi_dma_xfer_tx() 289 length = 0; in _spi_dma_xfer_tx() 303 while(length > 0) in _spi_dma_xfer_tx() 317 length = 0; in _spi_dma_xfer_tx() 354 rt_size_t length = message->length; in _spi_dma_xfer_rx() local 368 while(length > 0) in _spi_dma_xfer_rx() 385 length = 0; in _spi_dma_xfer_rx() 401 while(length > 0) in _spi_dma_xfer_rx() 484 message->length = -1; in spixfer() [all …]
|
| /bsp/hpmicro/libraries/hpm_sdk/components/uart_lin/ |
| A D | hpm_uart_lin.c | 44 assert(length <= 8U); in hpm_uart_lin_calculate_checksum() 111 uint8_t length = data.length + 3; in hpm_uart_lin_master_send_frame() local 113 assert(data.length > 0); in hpm_uart_lin_master_send_frame() 152 assert(data.length > 0); in hpm_uart_lin_master_receive_frame() 227 assert(data.length > 0); in hpm_uart_lin_master_send_data() 250 assert(data.length > 0); in hpm_uart_lin_master_receive_data() 266 if (index != data.length + 3) { in hpm_uart_lin_master_receive_data() 283 assert(data.length > 0); in hpm_uart_lin_slave_send_data() 300 assert(data.length > 0); in hpm_uart_lin_slave_receive_data() 307 if (index == data.length) { in hpm_uart_lin_slave_receive_data() [all …]
|
| /bsp/ti/c28x/tms320f28379d/cmd/ |
| A D | 2837x_FLASH_lnk_cpu1.cmd | 8 BEGIN : origin = 0x080000, length = 0x000002 9 RESET : origin = 0x3FFFC0, length = 0x000002 10 RAMGS8_15 : origin = 0x013000, length = 0x009000 13 FLASHA : origin = 0x080002, length = 0x001FFE /* on-chip Flash */ 14 FLASHB : origin = 0x082000, length = 0x002000 /* on-chip Flash */ 15 FLASHC : origin = 0x084000, length = 0x002000 /* on-chip Flash */ 16 FLASHD : origin = 0x086000, length = 0x002000 /* on-chip Flash */ 17 FLASHE : origin = 0x088000, length = 0x008000 /* on-chip Flash */ 31 RAMM0 : origin = 0x000122, length = 0x0002DE 34 CPU2TOCPU1RAM : origin = 0x03F800, length = 0x000400 [all …]
|
| A D | 2837x_RAM_lnk_cpu1.cmd | 8 BEGIN : origin = 0x000000, length = 0x000002 9 RAMM0 : origin = 0x000122, length = 0x0002DE 10 RESET : origin = 0x3FFFC0, length = 0x000002 11 RAMGS8_15 : origin = 0x013000, length = 0x009000 14 RAMM1 : origin = 0x000400, length = 0x000400 /* on-chip RAM block M1 */ 15 …BOOT_RSVD : origin = 0x000002, length = 0x000120 /* Part of M0, BOOT rom will use this fo… 16 EBSS : origin = 0x008000, length = 0x007000 /* RAMLS0-4, 5*0x0800 */ 17 ECONST : origin = 0x00F000, length = 0x004000 /* RAMGS0-2, 3*0x1000 */ 18 CPU2TOCPU1RAM : origin = 0x03F800, length = 0x000400 19 CPU1TOCPU2RAM : origin = 0x03FC00, length = 0x000400
|
| /bsp/ft2004/libraries/bsp/ft_qspi/ |
| A D | ft_qspi.c | 63 if (1 == length) in FQSpi_MemcpyToReg() 67 else if (2 == length) in FQSpi_MemcpyToReg() 72 else if (3 == length) in FQSpi_MemcpyToReg() 78 else if (4 == length) in FQSpi_MemcpyToReg() 204 while (length) in FQSpi_FlashWrite() 228 length = 0; in FQSpi_FlashWrite() 262 if (length == 0) in FQSpi_FlashRegSet() 301 if (length == 0) in FQSpi_FlashRegSetWithaddr() 379 u32 length; in FQSpi_Write() local 422 length = pDataPack->length; in FQSpi_Write() [all …]
|
| /bsp/samd21/sam_d2x_asflib/common/services/adp/sam/ |
| A D | adp_interface_twi.c | 78 static enum status_code adp_interface_send(uint8_t* tx_buf, uint16_t length) in adp_interface_send() argument 83 .length = length /* transfer data size (bytes) */ in adp_interface_send() 94 enum status_code adp_interface_read_response(uint8_t *data, uint16_t length) in adp_interface_read_response() argument 102 .length = 1 // transfer data size (bytes) in adp_interface_read_response() 107 packet_read.length = data_len; in adp_interface_read_response() 122 void adp_interface_transceive_procotol(uint8_t* tx_buf, uint16_t length, uint8_t* rx_buf) in adp_interface_transceive_procotol() argument 124 adp_interface_send(tx_buf, length); in adp_interface_transceive_procotol() 125 adp_interface_read_response(rx_buf, length); in adp_interface_transceive_procotol()
|
| /bsp/acm32/acm32f4xx-nucleo/libraries/HAL_Driver/Src/ |
| A D | HAL_FSUSB.c | 186 while(length--) in HAL_FSUSB_Read_EP_MEM8() 199 while(length--) in HAL_FSUSB_Write_EP_MEM8() 210 USBCTRL->EPxSENDBN[ep_index]= length; in HAL_FSUSB_Start_EP_Transfer() 268 while(length>=EPX_MAX_PACKET_SIZE) in HAL_FSUSB_Send_Data() 286 length -= EPX_MAX_PACKET_SIZE; in HAL_FSUSB_Send_Data() 290 while(length>0) in HAL_FSUSB_Send_Data() 293 ret = HAL_FSUSB_Start_EP_Transfer(length,ep_index); in HAL_FSUSB_Send_Data() 308 length -= length; in HAL_FSUSB_Send_Data() 309 buffer += length; in HAL_FSUSB_Send_Data() 320 while(length>0) in HAL_FSUSB_Receive_Data() [all …]
|
| /bsp/ft2004/drivers/ |
| A D | drv_qspi.c | 87 if (sndb && (message->length > 0)) in ft2004_cmdOperation() 91 cmd_pack.length = message->length; in ft2004_cmdOperation() 97 cmd_pack.length = message->length; in ft2004_cmdOperation() 142 rt_int32_t length = message->length; in ft2004_qspi_xfer() local 183 data_pack.length = length; in ft2004_qspi_xfer() 216 data_pack.length = length; in ft2004_qspi_xfer() 331 cmd_pack.length = sizeof(rx_buffer); in cmd05_check() 348 cmd_pack.length = sizeof(rx_buffer); in cmd05_check() 373 cmd_pack.length = sizeof(rx_buffer); in cmd35_check() 389 cmd_pack.length = sizeof(rx_buffer); in cmd35_check() [all …]
|
| /bsp/samd21/sam_d2x_asflib/common/services/crc32/ |
| A D | crc32.c | 125 enum status_code crc32_recalculate(const void *data, size_t length, crc32_t *crc) in crc32_recalculate() argument 134 if (length < WORD_SIZE) { in crc32_recalculate() 135 temp_length = length; in crc32_recalculate() 141 length -= temp_length; in crc32_recalculate() 149 temp_length = length & WORD_ALIGNMENT_MASK; in crc32_recalculate() 152 length -= temp_length; in crc32_recalculate() 162 if (length) { in crc32_recalculate() 164 word &= 0xffffffffUL >> (8 * (WORD_SIZE - length)); in crc32_recalculate() 165 temp_crc = _crc32_recalculate_bytes_helper(word, temp_crc, length); in crc32_recalculate()
|
| /bsp/microchip/same54/bsp/hal/include/ |
| A D | hal_aes_sync.h | 128 uint8_t *output, uint32_t length, uint8_t iv[16]); 144 uint8_t *output, uint32_t length, uint8_t *iv, uint32_t *iv_ofst); 160 uint8_t *output, uint32_t length, uint8_t *iv, uint32_t *iv_ofst); 176 uint8_t *output, uint32_t length, uint8_t *iv, uint32_t *iv_ofst); 192 uint8_t *output, uint32_t length, uint8_t *iv, uint32_t *iv_ofst); 206 uint8_t *output, uint32_t length, uint8_t *iv); 259 … const uint8_t *input, uint8_t *output, uint32_t length, const uint8_t *iv, 279 … uint32_t length, const uint8_t *iv, uint32_t iv_len, const uint8_t *aad, 308 uint32_t length); 339 … const uint8_t *input, uint8_t *output, uint32_t length, const uint8_t *iv, [all …]
|
| A D | hpl_aes_sync.h | 117 uint8_t *output, uint32_t length, uint8_t iv[16]); 133 uint8_t *output, uint32_t length, uint8_t *iv); 148 uint8_t *output, uint32_t length, uint8_t *iv); 163 uint8_t *output, uint32_t length, uint8_t *iv); 178 uint8_t *output, uint32_t length, uint8_t *iv); 192 uint8_t *output, uint32_t length, uint8_t *iv); 206 …b_crypt(struct _aes_sync_device *const dev, const uint8_t *input, uint8_t *output, uint32_t length, 223 …r_crypt(struct _aes_sync_device *const dev, const uint8_t *input, uint8_t *output, uint32_t length, 244 … uint8_t *output, uint32_t length, const uint8_t *iv, uint32_t iv_len, 273 uint32_t length); [all …]
|
| /bsp/hpmicro/libraries/hpm_sdk/drivers/src/ |
| A D | hpm_crc_drv.c | 41 void crc_calc_block_bytes(CRC_Type *ptr, uint32_t ch_index, uint8_t *pbuffer, uint32_t length) in crc_calc_block_bytes() argument 45 for (uint32_t i = 0; i < length; i++) { in crc_calc_block_bytes() 50 void crc_calc_block_half_words(CRC_Type *ptr, uint32_t ch_index, uint16_t *pbuffer, uint32_t length) in crc_calc_block_half_words() argument 54 for (uint32_t i = 0; i < length; i++) { in crc_calc_block_half_words() 59 void crc_calc_block_words(CRC_Type *ptr, uint32_t ch_index, uint32_t *pbuffer, uint32_t length) in crc_calc_block_words() argument 63 for (uint32_t i = 0; i < length; i++) { in crc_calc_block_words() 68 void crc_calc_large_block_fast(CRC_Type *ptr, uint32_t ch_index, uint8_t *pbuffer, uint32_t length) in crc_calc_large_block_fast() argument 70 if (length < 16) { in crc_calc_large_block_fast() 71 crc_calc_block_bytes(ptr, ch_index, pbuffer, length); in crc_calc_large_block_fast() 79 uint32_t word_len = (length - start_byte_len) & (~0x03ul); in crc_calc_large_block_fast() [all …]
|
| /bsp/microchip/same54/bsp/hpl/aes/ |
| A D | hpl_aes.c | 157 if (length >= 16) { in __aes_sync_update_cfb_iv() 160 memcpy(iv, iv + length, 16 - length); in __aes_sync_update_cfb_iv() 161 memcpy(iv + 16 - length, ptr, length); in __aes_sync_update_cfb_iv() 539 iv[index] = input[length - 16 + index] ^ output[length - 16 + index]; in _aes_sync_ofb_crypt() 826 if (((length & 0xF) == 0) && block == ((length >> 4) - 1)) { in __aes_sync_gcm_update() 842 memcpy(workbuf, input + (length & ~0xF), length & 0xF); in __aes_sync_gcm_update() 850 memcpy(output + (length & ~0xF), workbuf, length & 0xF); in __aes_sync_gcm_update() 1021 len_left = length; in __aes_sync_ccm_crypt_and_tag() 1065 len_left = length; in __aes_sync_ccm_crypt_and_tag() 1147 len_left = length; in __aes_sync_ccm_decrypt_and_tag() [all …]
|
| /bsp/ht32/libraries/HT32_STD_5xxxx_FWLib/library/HT32F5xxxx_Driver/src/ |
| A D | ht32f5xxxx_crc.c | 107 u32 CRC_Process(HT_CRC_TypeDef* HT_CRCn, u8 *buffer, u32 length) in CRC_Process() argument 109 while (length--) in CRC_Process() 124 u16 CRC_CCITT(u16 seed, u8 *buffer, u32 length) in CRC_CCITT() argument 130 while (length--) in CRC_CCITT() 145 u16 CRC_16(u16 seed, u8 *buffer, u32 length) in CRC_16() argument 151 while (length--) in CRC_16() 166 u32 CRC_32(u32 seed, u8 *buffer, u32 length) in CRC_32() argument 172 while (length--) in CRC_32()
|
| /bsp/ht32/libraries/HT32_STD_1xxxx_FWLib/library/HT32F1xxxx_Driver/src/ |
| A D | ht32f1xxxx_crc.c | 107 u32 CRC_Process(HT_CRC_TypeDef* HT_CRCn, u8 *buffer, u32 length) in CRC_Process() argument 109 while (length--) in CRC_Process() 124 u16 CRC_CCITT(u16 seed, u8 *buffer, u32 length) in CRC_CCITT() argument 130 while (length--) in CRC_CCITT() 145 u16 CRC_16(u16 seed, u8 *buffer, u32 length) in CRC_16() argument 151 while (length--) in CRC_16() 166 u32 CRC_32(u32 seed, u8 *buffer, u32 length) in CRC_32() argument 172 while (length--) in CRC_32()
|
| /bsp/stm32/stm32h750-weact-ministm32h7xx/board/port/st7735/ |
| A D | st7735_reg.c | 59 int32_t st7735_write_reg(st7735_ctx_t *ctx, uint8_t reg, uint8_t *pdata, uint32_t length) in st7735_write_reg() argument 61 return ctx->WriteReg(ctx->handle, reg, pdata, length); in st7735_write_reg() 71 int32_t st7735_send_data(st7735_ctx_t *ctx, uint8_t *pdata, uint32_t length) in st7735_send_data() argument 73 return ctx->SendData(ctx->handle, pdata, length); in st7735_send_data() 83 int32_t st7735_recv_data(st7735_ctx_t *ctx, uint8_t *pdata, uint32_t length) in st7735_recv_data() argument 85 return ctx->RecvData(ctx->handle, pdata, length); in st7735_recv_data()
|
| /bsp/w60x/drivers/ |
| A D | drv_spi.c | 92 tls_transfer.len = message->length; in spixfer() 94 rt_int32_t length = 0; in spixfer() local 95 rt_int32_t remain_length = message->length; in spixfer() 100 length = spi_fill_txfifo(&tls_transfer, remain_length); in spixfer() 101 spi_set_sclk_length(length * 8, 0); in spixfer() 112 length = spi_get_rxfifo(&tls_transfer, remain_length); in spixfer() 113 remain_length -= length; in spixfer() 126 length = spi_fill_txfifo(&tls_transfer, remain_length); in spixfer() 127 if (length) in spixfer() 129 spi_set_sclk_length(length * 8, 0); in spixfer() [all …]
|
| A D | drv_crypto.c | 68 temp = rt_malloc(length); in _crc_update() 71 memcpy(temp, in, length); in _crc_update() 133 temp = rt_malloc(length); in _hash_update() 136 memcpy(temp, in, length); in _hash_update() 211 || (symmetric_info->length % 8) != 0) in _des_crypt() 222 in = rt_malloc(symmetric_info->length); in _des_crypt() 279 || (symmetric_info->length % 8) != 0) in _des3_crypt() 290 in = rt_malloc(symmetric_info->length); in _des3_crypt() 355 in = rt_malloc(symmetric_info->length); in _rc4_crypt() 375 symmetric_info->length); in _rc4_crypt() [all …]
|
| /bsp/at32/libraries/usbotg_library/inc/ |
| A D | usbh_ctrl.h | 48 uint16_t length, uint16_t hc_num); 50 uint16_t length, uint16_t hc_num); 65 usb_sts_type usbh_ctrl_request(usbh_core_type *uhost, uint8_t *buffer, uint16_t length); 66 usb_sts_type usbh_get_descriptor(usbh_core_type *uhost, uint16_t length, 69 void usbh_parse_dev_desc(usbh_core_type *uhost, uint8_t *buffer, uint16_t length); 74 uint8_t *buffer, uint16_t length); 76 void usbh_parse_string_desc(uint8_t *src, uint8_t *dest, uint16_t length); 77 usb_sts_type usbh_get_device_descriptor(usbh_core_type *uhost, uint16_t length); 78 usb_sts_type usbh_get_configure_descriptor(usbh_core_type *uhost, uint16_t length); 80 uint8_t *buffer, uint16_t length);
|