Home
last modified time | relevance | path

Searched refs:content (Results 1 – 25 of 135) sorted by relevance

123456

/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/paho.mqtt.c/include/mqtt/
DLinkedList.h60 void* content; /**< pointer to element content */ member
79 void ListAppend(List* aList, void* content, size_t size);
80 void ListAppendNoMalloc(List* aList, void* content, ListElement* newel, size_t size);
81 void ListInsert(List* aList, void* content, size_t size, ListElement* index);
83 int ListRemove(List* aList, void* content);
84 int ListRemoveItem(List* aList, void* content, int(*callback)(void*, void*));
89 int ListDetach(List* aList, void* content);
90 int ListDetachItem(List* aList, void* content, int(*callback)(void*, void*));
99 ListElement* ListFind(List* aList, void* content);
100 ListElement* ListFindItem(List* aList, void* content, int(*callback)(void*, void*));
DTree.h67 void* content; /**< pointer to element content */ member
95 void* TreeAdd(Tree* aTree, void* content, size_t size);
97 void* TreeRemove(Tree* aTree, void* content);
DMQTTPersistence.h60 void MQTTPersistence_insertInOrder(List* list, void* content, size_t size);
/device/soc/beken/bk7235/hals/utils/file/src/
Dhal_file.c27 char *content; member
242 info->content = malloc(MAX_FILE_TIMER_LENGTH); in HalFileOpen()
244 info->content = malloc(MAX_FILE_LENGTH); in HalFileOpen()
246 if (!info->content) in HalFileOpen()
251 free(info->content); in HalFileOpen()
259 file_load(path, info->content, &info->len); in HalFileOpen()
281 ret = file_save(info->file_name, info->content, info->len); in HalFileClose()
284 free(info->content); in HalFileClose()
306 memcpy(buf, info->content + info->offset, len); in HalFileRead()
338 memcpy(info->content + info->offset, buf, len); in HalFileWrite()
/device/soc/hpmicro/sdk/hpm_sdk/middleware/hpm_sdmmc/lib/
Dhpm_sdmmc_sd.c81 static hpm_stat_t sd_transfer(sd_card_t *card, sdmmchost_xfer_t *content);
96 static hpm_stat_t sd_transfer(sd_card_t *card, sdmmchost_xfer_t *content) in sd_transfer() argument
98 hpm_stat_t status = sdmmchost_transfer(card->host, content); in sd_transfer()
456 sdmmchost_xfer_t *content = &card->host->xfer; in sd_send_scr() local
457 content->data = data; in sd_send_scr()
458 content->command = cmd; in sd_send_scr()
459 status = sd_transfer(card, content); in sd_send_scr()
810 sdmmchost_xfer_t *content = &card->host->xfer; in sd_read_status() local
816 content->data = data; in sd_read_status()
817 content->command = cmd; in sd_read_status()
[all …]
Dhpm_sdmmc_host.c213 hpm_stat_t sdmmchost_transfer(sdmmc_host_t *host, sdmmchost_xfer_t *content) in sdmmchost_transfer() argument
225 if (content->data != NULL) { in sdmmchost_transfer()
238 uint32_t block_cnt = content->data->block_cnt; in sdmmchost_transfer()
239 uint32_t block_size = content->data->block_size; in sdmmchost_transfer()
244 status = sdxc_transfer_nonblocking(host->host_param.base, config_ptr, content); in sdmmchost_transfer()
274 …if ((content->data != NULL) || (content->command->resp_type == (sdxc_dev_resp_type_t)sdmmc_resp_r1… in sdmmchost_transfer()
/device/soc/rockchip/rk3588/kernel/scripts/
Dresource_tool.c803 static void free_content(resource_content *content) in free_content() argument
805 if (content->load_addr) { in free_content()
806 free(content->load_addr); in free_content()
807 content->load_addr = 0; in free_content()
820 static bool load_content(resource_content *content) in load_content() argument
822 if (content->load_addr) in load_content()
824 int blocks = fix_blocks(content->content_size); in load_content()
825 content->load_addr = malloc(blocks * BLOCK_SIZE); in load_content()
826 if (!content->load_addr) in load_content()
828 if (!StorageReadLba(get_ptn_offset() + content->content_offset, in load_content()
[all …]
/device/soc/rockchip/common/sdk_linux/scripts/
Dresource_tool.c792 static void free_content(resource_content *content) in free_content() argument
794 if (content->load_addr) { in free_content()
795 free(content->load_addr); in free_content()
796 content->load_addr = 0; in free_content()
810 static bool load_content(resource_content *content) in load_content() argument
812 if (content->load_addr) { in load_content()
815 int blocks = fix_blocks(content->content_size); in load_content()
816 content->load_addr = malloc(blocks * BLOCK_SIZE); in load_content()
817 if (!content->load_addr) { in load_content()
820 if (!StorageReadLba(get_ptn_offset() + content->content_offset, content->load_addr, blocks)) { in load_content()
[all …]
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/secure/
Dload_crypto.c22 hi_void loader_clear_content(hi_u8 *content, hi_u32 content_len) in loader_clear_content() argument
24 if ((content == HI_NULL) || (content_len == 0)) { in loader_clear_content()
28 hi_u32 cs = (uintptr_t)content ^ content_len ^ 0x0 ^ content_len; in loader_clear_content()
29 (hi_void)memset_s(content, content_len, 0x0, content_len, cs); in loader_clear_content()
374 static hi_u32 crypto_encrypt_data(hi_flash_crypto_content *content, hi_u32 flash_addr, hi_u32 len) in crypto_encrypt_data() argument
385 (uintptr_t)(content->work_text) ^ KEY_BYTE_LENGTH; in crypto_encrypt_data()
386 …if (memcpy_s(aes_ctrl.key, sizeof(aes_ctrl.key), content->work_text, KEY_BYTE_LENGTH, cs) != EOK) { in crypto_encrypt_data()
390 …cs = (uintptr_t)(aes_ctrl.iv) ^ (hi_u32)sizeof(aes_ctrl.iv) ^ (uintptr_t)(content->iv_content) ^ I… in crypto_encrypt_data()
391 … if (memcpy_s(aes_ctrl.iv, sizeof(aes_ctrl.iv), content->iv_content, IV_BYTE_LENGTH, cs) != EOK) { in crypto_encrypt_data()
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/secure/
Dcrypto.c92 hi_void crypto_clear_content(hi_u8 *content, hi_u32 content_len) in crypto_clear_content() argument
94 if ((content == HI_NULL) || (content_len == 0)) { in crypto_clear_content()
98 hi_u32 cs = (uintptr_t)content ^ content_len ^ 0x0 ^ content_len; in crypto_clear_content()
99 (hi_void)memset_s(content, content_len, 0x0, content_len, cs); in crypto_clear_content()
426 static hi_u32 crypto_encrypt_data(hi_flash_crypto_content *content, boot_crypto_ctx *para) in crypto_encrypt_data() argument
437 (uintptr_t)(content->work_text) ^ KEY_BYTE_LENGTH; in crypto_encrypt_data()
438 …if (memcpy_s(aes_ctrl.key, sizeof(aes_ctrl.key), content->work_text, KEY_BYTE_LENGTH, cs) != EOK) { in crypto_encrypt_data()
442 …cs = (uintptr_t)(aes_ctrl.iv) ^ (hi_u32)sizeof(aes_ctrl.iv) ^ (uintptr_t)(content->iv_content) ^ I… in crypto_encrypt_data()
443 … if (memcpy_s(aes_ctrl.iv, sizeof(aes_ctrl.iv), content->iv_content, IV_BYTE_LENGTH, cs) != EOK) { in crypto_encrypt_data()
471 static hi_u32 crypto_decrypt_kernel(hi_flash_crypto_content *content, hi_u32 ram_addr, hi_u32 ram_s… in crypto_decrypt_kernel() argument
[all …]
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/higv/include/
Dhi_gv_multiedit.h75 HI_S32 HI_GV_MULTIEDIT_SetContent(HIGV_HANDLE editHandle, const HI_CHAR *content);
92 HI_S32 HI_GV_MULTIEDIT_GetContent(HIGV_HANDLE editHandle, HI_CHAR *content, HI_U32 *length);
Dhi_gv_edit.h121 HI_S32 HI_GV_EDIT_SetContent(HIGV_HANDLE handle, const HI_CHAR *content);
134 HI_S32 HI_GV_EDIT_GetContent(HIGV_HANDLE handle, HI_CHAR *content, HI_U32 length);
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/system/upg/
Dkernel_crypto.c42 hi_void crypto_clear_content(hi_u8 *content, hi_u32 content_len) in crypto_clear_content() argument
44 if ((content == HI_NULL) || (content_len == 0)) { in crypto_clear_content()
48 (hi_void)memset_s(content, content_len, 0x0, content_len); in crypto_clear_content()
51 hi_u32 crypto_content_id(encrypt_ctx *cfg, crypto_workkey_partition *content, crypto_workkey_partit… in crypto_content_id() argument
57 *content = CRYPTO_WORKKEY_KERNEL_A; in crypto_content_id()
60 *content = CRYPTO_WORKKEY_KERNEL_B; in crypto_content_id()
373 static hi_u32 crypto_decrypt_kernel(hi_flash_crypto_content *content, encrypt_ctx *para) in crypto_decrypt_kernel() argument
379 ret = (hi_u32)memcpy_s(aes_ctrl.key, sizeof(aes_ctrl.key), content->work_text, KEY_BYTE_LENGTH); in crypto_decrypt_kernel()
384 ret = (hi_u32)memcpy_s(aes_ctrl.iv, sizeof(aes_ctrl.iv), content->iv_content, IV_BYTE_LENGTH); in crypto_decrypt_kernel()
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/phydm/rtl8822c/
Dphydm_regconfig8822c.c76 u32 content = 0x1000; /* RF_Content: radioa_txt */ in odm_config_rf_radio_a_8822c() local
77 u32 maskfor_phy_set = (u32)(content & 0xE000); in odm_config_rf_radio_a_8822c()
88 u32 content = 0x1001; /* RF_Content: radiob_txt */ in odm_config_rf_radio_b_8822c() local
89 u32 maskfor_phy_set = (u32)(content & 0xE000); in odm_config_rf_radio_b_8822c()
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/middleware/driver/include/bk_private/
Dbk_uart_debug.h29 extern int bkreg_run_command1(const char *content, int cnt);
/device/soc/winnermicro/hals/console/
Dhal_trace.c37 int HdfSysEventSend(unsigned long eventClass, unsigned int event, const char *content, bool sync) in HdfSysEventSend() argument
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/upg/
Dboot_upg_check_secure.c89 hi_void upg_clear_content(hi_u8 *content, hi_u32 content_len) in upg_clear_content() argument
91 if ((content == HI_NULL) || (content_len == 0)) { in upg_clear_content()
95 hi_u32 cs = (uintptr_t)content ^ content_len ^ 0x0 ^ content_len; in upg_clear_content()
96 (hi_void)memset_s(content, content_len, 0x0, content_len, cs); in upg_clear_content()
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/components/bk_wifi/include/bk_private/
Dbk_phy.h41 int bkreg_run_command(const char *content, int cnt);
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/halmac/halmac_88xx/
Dhalmac_common_88xx.c1562 union halmac_parameter_content *content = &param->content; in add_param_buf_88xx() local
1576 PARAM_INFO_SET_IO_ADDR(buf, content->MAC_REG_W.offset); in add_param_buf_88xx()
1577 PARAM_INFO_SET_DATA(buf, content->MAC_REG_W.value); in add_param_buf_88xx()
1578 PARAM_INFO_SET_MASK(buf, content->MAC_REG_W.msk); in add_param_buf_88xx()
1579 PARAM_INFO_SET_MSK_EN(buf, content->MAC_REG_W.msk_en); in add_param_buf_88xx()
1580 info->value_accum += content->MAC_REG_W.value; in add_param_buf_88xx()
1581 info->offset_accum += content->MAC_REG_W.offset; in add_param_buf_88xx()
1585 PARAM_INFO_SET_RF_ADDR(buf, content->RF_REG_W.offset); in add_param_buf_88xx()
1586 PARAM_INFO_SET_RF_PATH(buf, content->RF_REG_W.rf_path); in add_param_buf_88xx()
1587 PARAM_INFO_SET_DATA(buf, content->RF_REG_W.value); in add_param_buf_88xx()
[all …]
/device/board/chipsea/
DREADME.md4 {**When you're done, you can delete the content in this README and update the file with details for…
/device/soc/bestechnic/
DREADME.en.md4 {**When you're done, you can delete the content in this README and update the file with details for…
/device/soc/allwinner/
DREADME.en.md4 {**When you're done, you can delete the content in this README and update the file with details for…
/device/soc/chipsea/
DREADME.md4 {**When you're done, you can delete the content in this README and update the file with details for…
/device/soc/goodix/
DREADME.en.md4 {**When you're done, you can delete the content in this README and update the file with details for…
/device/board/goodix/
DREADME.en.md4 {**When you're done, you can delete the content in this README and update the file with details for…

123456