/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/usb_otg/include/ |
A D | usb_ch9.h | 131 u8 bRequest; 182 u8 bLength; 191 u8 bLength; 244 u8 bLength; 267 u8 bLength; 281 u8 bLength; 299 u8 bLength; 335 u8 bLength; 352 u8 bLength; 511 u8 bStatus; [all …]
|
A D | cdc.h | 52 u8 bLength; 61 u8 bLength; 74 u8 bLength; 83 u8 bLength; 94 u8 bLength; 98 u8 bEntityId; 99 u8 iName; 106 u8 bLength; 119 u8 bLength; 124 u8 bGUID[16]; [all …]
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/ |
A D | rtl8721d_crypto_api.h | 119 …LL_ int rtl_crypto_hmac_md5(IN const u8* message, IN const u32 msglen, IN const u8* key, IN const … 125 …L_ int rtl_crypto_hmac_sha1(IN const u8* message, IN const u32 msglen, IN const u8* key, IN const … 146 …t rtl_crypto_aes_cbc_encrypt(IN const u8* message, IN const u32 msglen, IN const u8* iv, IN const … 147 …t rtl_crypto_aes_cbc_decrypt(IN const u8* message, IN const u32 msglen, IN const u8* iv, IN const … 150 …t rtl_crypto_aes_ecb_encrypt(IN const u8* message, IN const u32 msglen, IN const u8* iv, IN const … 151 …t rtl_crypto_aes_ecb_decrypt(IN const u8* message, IN const u32 msglen, IN const u8* iv, IN const … 166 …cm_encrypt(IN const u8* message, IN const u32 msglen, IN const u8* iv, IN const u8* aad, IN const … 167 …cm_decrypt(IN const u8* message, IN const u32 msglen, IN const u8* iv, IN const u8* aad, IN const … 211 _LONG_CALL_ int rtl_crypto_poly1305(IN const u8* message, IN const u32 msglen, IN const u8* key, OU… 218 …_encrypt(IN const u8* message, IN const u32 msglen, IN const u8* nonce, IN const u8* aad, IN cons… [all …]
|
A D | rtl8721d_boot.h | 5 extern u8* __image2_entry_func__; 6 extern u8* __image1_bss_start__; 7 extern u8* __image1_bss_end__; 9 extern u8* __bss_start__; 10 extern u8* __bss_end__; 12 extern u8* __cmd_table_start__; 13 extern u8* __cmd_table_end__; 14 extern u8* __psram_bss_start__; 15 extern u8* __psram_bss_end__; 26 extern u8 __bss_start__[]; [all …]
|
A D | rtl8721d_flash.h | 334 _LONG_CALL_ void FLASH_SetStatus(u8 Cmd, u32 Len, u8* Status); 338 _LONG_CALL_ void FLASH_TxCmd(u8 cmd, u8 DataPhaseLen, u8* pData); 339 _LONG_CALL_ void FLASH_RxCmd(u8 cmd, u32 read_len, u8* read_data); 344 _LONG_CALL_ u8 FLASH_Init(u8 SpicBitMode); 348 _LONG_CALL_ void FLASH_TxData12B(u32 StartAddr, u8 DataPhaseLen, u8* pData); 349 _LONG_CALL_ void FLASH_RxData(u8 cmd, u32 StartAddr, u32 read_len, u8* read_data); 353 …librationNew(FLASH_InitTypeDef* FLASH_InitStruct, u8 SpicBitMode, u8 Div, u8 CalStep, u8 LineDelay… 356 _LONG_CALL_ u32 FLASH_CalibrationPhase(u8 phase_int, u8 phase_sel); 372 void FLASH_RxCmdXIP(u8 cmd, u32 read_len, u8* read_data); 373 void FLASH_SetStatusXIP(u8 Cmd, u32 Len, u8* Status); [all …]
|
A D | rtl8721d_usi_i2c.h | 272 _LONG_CALL_ void USI_I2C_Cmd(USI_TypeDef *USIx, u8 NewState); 273 _LONG_CALL_ u8 USI_I2C_ReceiveData(USI_TypeDef *USIx); 281 …_CALL_ void USI_I2C_MasterSendNullData(USI_TypeDef *USIx, u8* pBuf, u8 I2CCmd, u8 I2CStop, u8 I… 282 _LONG_CALL_ void USI_I2C_MasterSend(USI_TypeDef *USIx, u8* pBuf, u8 I2CCmd, u8 I2CStop, u8 I2CRe… 283 _LONG_CALL_ u8 USI_I2C_MasterWrite(USI_TypeDef *USIx, u8* pBuf, u8 len); 284 _LONG_CALL_ u8 USI_I2C_MasterRead(USI_TypeDef *USIx, u8* pBuf, u8 len); 285 …ALL_ void USI_I2C_MasterRepeatRead(USI_TypeDef* USIx, u8* pWriteBuf, u8 Writelen, u8* pReadBuf, u8… 294 _LONG_CALL_ void USI_I2C_SlaveWrite(USI_TypeDef *USIx, u8* pBuf, u8 len); 295 _LONG_CALL_ void USI_I2C_SlaveRead(USI_TypeDef *USIx, u8* pBuf, u8 len); 306 …_CALL_ BOOL USI_I2C_TXGDMA_Init(u8 Index, GDMA_InitTypeDef *GDMA_InitStruct, void *CallbackData, I… [all …]
|
A D | rtl8721d_gdma.h | 449 _LONG_CALL_ void GDMA_Cmd(u8 GDMA_Index, u8 GDMA_ChNum, u32 NewState); 452 _LONG_CALL_ u32 GDMA_ClearINT(u8 GDMA_Index, u8 GDMA_ChNum); 455 _LONG_CALL_ void GDMA_SetSrcAddr(u8 GDMA_Index, u8 GDMA_ChNum, u32 SrcAddr); 456 _LONG_CALL_ u32 GDMA_GetSrcAddr(u8 GDMA_Index, u8 GDMA_ChNum); 457 _LONG_CALL_ u32 GDMA_GetDstAddr(u8 GDMA_Index, u8 GDMA_ChNum); 458 _LONG_CALL_ void GDMA_SetDstAddr(u8 GDMA_Index, u8 GDMA_ChNum, u32 DstAddr); 460 _LONG_CALL_ u32 GDMA_GetBlkSize(u8 GDMA_Index, u8 GDMA_ChNum); 462 _LONG_CALL_ BOOL GDMA_ChnlRegister (u8 GDMA_Index, u8 GDMA_ChNum); 463 _LONG_CALL_ void GDMA_ChnlUnRegister (u8 GDMA_Index, u8 GDMA_ChNum); 465 _LONG_CALL_ void GDMA_ChnlFree(u8 GDMA_Index, u8 GDMA_ChNum); [all …]
|
A D | rtl8721d_adc.h | 167 #define ADC_CH0 ((u8)0x00) 168 #define ADC_CH1 ((u8)0x01) 169 #define ADC_CH2 ((u8)0x02) 170 #define ADC_CH3 ((u8)0x03) 171 #define ADC_CH4 ((u8)0x04) 172 #define ADC_CH5 ((u8)0x05) 173 #define ADC_CH6 ((u8)0x06) 174 #define ADC_CH7 ((u8)0x07) 179 #define ADC_GLOBAL ((u8)0xFF) 201 #define ADC_CLK_DIV_12 ((u8)0x00) [all …]
|
A D | rtl8721d_crypto.h | 222 u8 des; /*DES */ 223 u8 trides; /*3DES */ 224 u8 aes; /*AES */ 225 u8 chacha; /*ChaCha */ 230 u8 isMD5; /*MD5 */ 231 u8 isSHA1; /*SHA1 */ 232 u8 isSHA2; /*SHA2 */ 257 u8 *opad; /*HMAC opad */ 400 …IN const u8 *message, IN const u32 msglen, IN const u8 *pIv, IN const u32 ivlen, IN const u8 *paad… 402 …IN const u8* message, IN const u32 msglen, IN const u8* piv, IN const u32 ivlen, IN const u8* paad… [all …]
|
A D | rtl8721d_psram.h | 139 u8 PCTL_wl; /*!< Specifies the PSRAM write latency . 141 u8 PCTL_rl; /*!< Specifies the PSRAM read latency. 151 u8 PCTL_mr0_burst_len; /*!< Specifies the PSRAM burst length. 157 u8 PCTL_mr0_init_lat; /*!< Specifies the PSRAM initial latency. 159 u8 PCTL_mr0_drv_strength; /*!< Specifies the PSRAM drive strength. 167 u8 PCTL_mr1_refresh_rate; /*!< Specifies the PSRAM refresh rate. 346 _LONG_CALL_ void PSRAM_CTRL_CA_Gen(u8* PSRAM_CA, u32 StartAddr, u8 BurstType, u8 AddSpace, u8 RW); 347 _LONG_CALL_ void PSRAM_CTRL_DPin_Mem(u8* PSRAM_CA, u32* PSRAM_data, u32 PSRAM_byteen, u8 RW); 348 _LONG_CALL_ void PSRAM_CTRL_DPin_Reg(u8* PSRAM_CA, u32* PSRAM_data, u8 RW); 349 _LONG_CALL_ u32 PSRAM_PHY_REG_Read(u8 offset); [all …]
|
A D | rtl8721d_ota.h | 40 u8 *body; 42 u8 *header_bak; 74 u8 ImgId[4]; /*!< Specifies the OTA image ID. 106 u8 Sign[MAX_IMG_NUM][9]; /*!< Specifies the signature of target image. */ 107 u8 ValidImgCnt; /*!< Specifies valid image number in file. */ 150 int ota_readstream_user(u32 address, u32 len, u8 * data); 152 u32 recv_file_info_from_server(u8 * Recvbuf, u32 len, int socket); 154 u32 get_ota_tartget_header(u8* buf, u32 len, update_ota_target_hdr * pOtaTgtHdr, u8 target_idx); 167 int http_read_socket( int socket, u8 *recevie_buf, int buf_len ); 168 …nload_new_fw_from_server_http(u8* first_buf, unsigned int firstbuf_len, int socket, update_ota_tar… [all …]
|
A D | rtl8721d_efuse.h | 159 _LONG_CALL_ extern void EFUSEPowerSwitch(u8 bWrite, u8 PwrState, u8 L25OutVoltage); 160 _LONG_CALL_ extern u32 EFUSERead8(u32 CtrlSetting, u32 Addr, u8 *Data, u8 L25OutVoltage); 162 _LONG_CALL_ extern u32 EFUSEWrite8(u32 CtrlSetting, u32 Addr, u8 Data, u8 L25OutVoltage); 163 _LONG_CALL_ extern u32 EFUSE_LogicalMap_Read(u8 *pbuf); 165 _LONG_CALL_ extern u32 EFUSE_LogicalMap_Write(u32 addr, u32 cnts, u8 *data); 199 extern u8 EFUSE_MAP[1024]; 201 __STATIC_INLINE u32 EFUSE_PMAP_READ8(u32 CtrlSetting, u32 Addr, u8 *Data, u8 L25OutVoltage) in EFUSE_PMAP_READ8() 206 __STATIC_INLINE u32 EFUSE_PMAP_WRITE8(u32 CtrlSetting, u32 Addr, u8 Data, u8 L25OutVoltage) in EFUSE_PMAP_WRITE8() 218 __STATIC_INLINE u32 EFUSE_LMAP_READ(u8 *pbuf) in EFUSE_LMAP_READ() 223 __STATIC_INLINE u32 EFUSE_LMAP_WRITE(u32 addr, u32 cnts, u8 *data) in EFUSE_LMAP_WRITE() [all …]
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/network/ssl/ssl_ram_map/rom/ |
A D | rom_ssl_ram_map.h | 17 u8* pResult); 21 u8* pResult); 26 u8* pResult); 30 u8* pResult); 37 u8* pResult); 41 u8* pResult); 46 u8* pResult); 50 u8* pResult); 67 u8* pResult); 71 u8* pResult); [all …]
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/mbed/hal_ext/ |
A D | cir_api.h | 367 void cir_nec_send_normal_format (cir_t *obj, u8 address, u8 command); 377 void cir_nec_send_extend_format (cir_t *obj, u8 address_l, u8 address_h, u8 command); 407 void cir_monitor_nec_extend_format (cir_t *obj, u8 address_l, u8 address_h, u8 command, cir_irq_han… 475 void cir_sony_send_12bit_format (cir_t *obj, u8 address_5bits, u8 command_7bits); 484 void cir_sony_send_15bit_format (cir_t *obj, u8 address_8bits, u8 command_7bits); 494 void cir_sony_send_20bit_format (cir_t *obj, u8 address_5bits, u8 command_7bits, u8 extend_8bits); 596 void cir_philips_rc5_send_format (cir_t *obj, u8 field_1bits, u8 toggle_1bits, u8 address_5bits, u8… 609 void cir_monitor_philips_rc5_format (cir_t *obj, u8 field_1bits, u8 toggle_1bits, u8 address_5bits,… 654 void cir_jvc_send_normal_format (cir_t *obj, u8 address_8bits, u8 command_8bits); 663 void cir_jvc_send_repeat_header_format (cir_t *obj, u8 address_8bits, u8 command_8bits); [all …]
|
A D | efuse_api.h | 67 int efuse_otp_read(u8 address, u8 len, u8 *buf); 77 int efuse_otp_write(u8 address, u8 len, u8 *buf); 86 int efuse_otp_chk(u8 len, u8 *buf); 108 int efuse_key1_write(u8 address, u8 len, u8 *buf); 118 int efuse_key2_write(u8 address, u8 len, u8 *buf); 137 void efuse_rdp_keyset(u8 *rdp_key); 145 void efuse_otf_keyset(u8 *otf_key); 181 int efuse_sec_key_write(u8 *buf); 189 int efuse_susec_key_write(u8 *buf);
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/app/monitor/include/ |
A D | shell.h | 28 const u8* cmd; 31 const u8* msg; 36 u8 NewIdx; 37 u8 SeeIdx; 38 u8 RevdNo; 39 u8 EscSTS; 42 u8 BootRdy; 43 u8 Resvd; 98 extern u8 112 extern u8** shell_get_argv(const u8 *string); [all …]
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/network/ssl/ssl_ram_map/ |
A D | ssl_ram_map.c | 10 IN const u8* iv, IN const u32 ivlen, 11 OUT u8* pResult); 14 IN const u8* iv, IN const u32 ivlen, 15 OUT u8* pResult); 19 IN const u8* iv, IN const u32 ivlen, 20 OUT u8* pResult); 24 OUT u8* pResult); 31 OUT u8* pResult); 35 OUT u8* pResult); 40 OUT u8* pResult); [all …]
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/crypto/ |
A D | rtl8721dhp_chacha_poly1305.c | 69 OUT u8* pDigest) in rtl_crypto_poly1305() 108 OUT u8* pResult) in rtl_crypto_chacha_encrypt() 111 u8 count_str[4]; in rtl_crypto_chacha_encrypt() 137 OUT u8* pResult) in rtl_crypto_chacha_decrypt() 140 u8 count_str[4]; in rtl_crypto_chacha_decrypt() 183 IN const u8* nonce, in rtl_crypto_chacha_poly1305_encrypt() 185 OUT u8* pResult, OUT u8 *pTag) in rtl_crypto_chacha_poly1305_encrypt() 189 u8 count_str[4]; in rtl_crypto_chacha_poly1305_encrypt() 219 IN const u8* nonce, in rtl_crypto_chacha_poly1305_decrypt() 221 OUT u8* pResult, OUT u8 *pTag) in rtl_crypto_chacha_poly1305_decrypt() [all …]
|
A D | rtl8721dhp_des_rom.c | 57 OUT u8* pResult) in rtl_crypto_3des_cbc_encrypt() 84 OUT u8* pResult) in rtl_crypto_3des_cbc_decrypt() 131 OUT u8* pResult) in rtl_crypto_3des_ecb_encrypt() 155 OUT u8* pResult) in rtl_crypto_3des_ecb_decrypt() 199 OUT u8* pResult) in rtl_crypto_3des_cfb_encrypt() 223 OUT u8* pResult) in rtl_crypto_3des_cfb_decrypt() 267 OUT u8* pResult) in rtl_crypto_3des_ofb_encrypt() 291 OUT u8* pResult) in rtl_crypto_3des_ofb_decrypt() 335 OUT u8* pResult) in rtl_crypto_3des_ctr_encrypt() 359 OUT u8* pResult) in rtl_crypto_3des_ctr_decrypt() [all …]
|
A D | rtl8721dhp_aes_rom.c | 60 OUT u8* pResult) in rtl_crypto_aes_cbc_encrypt() 88 OUT u8* pResult) in rtl_crypto_aes_cbc_decrypt() 135 OUT u8* pResult) in rtl_crypto_aes_ecb_encrypt() 160 OUT u8* pResult) in rtl_crypto_aes_ecb_decrypt() 204 OUT u8* pResult) in rtl_crypto_aes_ctr_encrypt() 230 OUT u8* pResult) in rtl_crypto_aes_ctr_decrypt() 276 OUT u8* pResult) in rtl_crypto_aes_cfb_encrypt() 422 IN const u8* iv, IN const u8 *aad, IN const u32 aadlen, in rtl_crypto_aes_gcm_encrypt() 423 OUT u8* pResult, OUT u8* pTag) in rtl_crypto_aes_gcm_encrypt() 455 IN const u8* iv, IN const u8 *aad, IN const u32 aadlen, in rtl_crypto_aes_gcm_decrypt() [all …]
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/app/monitor/rom/ |
A D | shell_rom.c | 35 VOID shell_array_init(u8 *pArrayToInit, u8 ArrayLen, u8 InitValue) in shell_array_init() 53 u8 shell_get_argc(const u8 *string) in shell_get_argc() 56 u8 *pStr; in shell_get_argc() 89 u8** shell_get_argv(const u8 *string) in shell_get_argv() 92 u8 *pStr; in shell_get_argv() 134 u8 argc = 0; in shell_cmd_exec_rom() 135 u8 **argv; in shell_cmd_exec_rom() 173 u8 BackCnt; in shell_show_backspace() 201 u8 *OldBuf, in shell_recall_oldcmd() 229 u8 RevData, in shell_cmd_history() [all …]
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/api/wifi/ |
A D | wifi_simple_config_parser.h | 27 #undef u8 33 typedef unsigned char u8; typedef 72 u8 fmt_channel[2]; 73 u8 fmt_hidden[1]; 74 u8 fmt_bssid[6]; 101 u8 nonceA[16]; 102 u8 nonceB[32]; 103 u8 mac[6]; 109 extern u8 g_bssid[6]; 111 extern u8 g_security_mode; [all …]
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/app/monitor/ram/ |
A D | monitor_lp.c | 18 IN u8 *argv[] 24 IN u8 *argv[] in CmdShellSwitch() 45 IN u8 *argv[] in cmd_reboot() 74 IN u8 *argv[] in CmdTickPS() 124 IN u8 *argv[] in CmdRTC() 177 void cmd_efuse_extpath_write(u8 page, u8 addr, u8 val) in cmd_efuse_extpath_write() 209 u8 ret = 0; in cmd_efuse_protect() 400 {(const u8*)"FLASH", 8, cmd_flash, (const u8*)"\tFLASH \n" 415 {(const u8*)"RTC", 4, CmdRTC, (const u8*)"\tRTC \n" 417 {(const u8*)"CTC", 4, CmdCTC, (const u8*)"\tCTC \n" [all …]
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/ |
A D | efuse_api.c | 52 u8 EfuseBuf[1024]; in efuse_mtp_read() 53 u8 ret; in efuse_mtp_read() 107 int efuse_otp_read(u8 address, u8 len, u8 *buf) in efuse_otp_read() 109 u8 content[32]; // the OTP max length is 32 in efuse_otp_read() 110 u8 index; in efuse_otp_read() 138 int efuse_otp_write(u8 address, u8 len, u8 *buf) in efuse_otp_write() 140 u8 index; in efuse_otp_write() 162 int efuse_otp_chk(u8 len, u8 *buf) in efuse_otp_chk()
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/app/xmodem/ |
A D | xmodem_uart_rom.h | 14 void (*xmodem_uart_init)(u8 uart_idx, u8 pin_mux, u32 baud_rate); 16 void (*xmodem_uart_port_init)(u8 uart_idx, u8 pin_mux, u32 baud_rate); 17 void (*xmodem_uart_port_deinit)(u8 uart_idx); 22 void (*xmodem_uart_putdata)(u8* buf, u32 cnt); 29 _LONG_CALL_ void xmodem_uart_init(u8 uart_idx, u8 pin_mux, u32 baud_rate); 31 _LONG_CALL_ void xmodem_uart_port_init(u8 uart_idx, u8 pin_mux, u32 baud_rate); 32 _LONG_CALL_ void xmodem_uart_port_deinit(u8 uart_idx); 37 _LONG_CALL_ void xmodem_uart_putdata(u8* buf, u32 cnt) ;
|