/kernel/liteos_a/drivers/mtd/multi_partition/include/ |
D | mtd_partition.h | 81 #define ALIGN_ASSIGN(len, startAddr, startBlk, endBlk, blkSize) do { \ argument 83 (startAddr) = ((startAddr) & ~((blkSize) - 1)); \ 84 (startBlk) = (startAddr) / (blkSize); \ 88 #define PAR_ASSIGNMENT(node, len, startAddr, num, mtd, blkSize) do { \ argument 89 (node)->start_block = (startAddr) / (blkSize); \ 127 extern INT32 add_mtd_partition(const CHAR *type, UINT32 startAddr, UINT32 length, UINT32 partitionN…
|
/kernel/liteos_a/fs/patchfs/ |
D | los_patchfs.c | 61 partInfo.startAddr = PATCHFS_FLASH_ADDR; in OsMountPatchFs() 68 partInfo.startAddr = (partInfo.startAddr >= 0) ? partInfo.startAddr : PATCHFS_FLASH_ADDR; in OsMountPatchFs()
|
D | los_partition_utils.c | 94 if (partInfo->startAddr < 0) { in MatchPartInfo() 95 if (MatchPartPos(p, addrArgName, &partInfo->startAddr) != LOS_OK) { in MatchPartInfo() 97 } else if (partInfo->startAddr >= 0) { in MatchPartInfo() 205 …INT32 ret = add_mtd_partition(FLASH_TYPE, partInfo->startAddr, partInfo->partSize, partInfo->partN… in GetDevNameOfPartition()
|
D | los_partition_utils.h | 61 INT32 startAddr; member
|
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/core/ |
D | rtw_efuse.c | 676 static bool hal_EfuseCheckIfDatafollowed(struct adapter *pAdapter, u8 word_cnts, u16 startAddr) in hal_EfuseCheckIfDatafollowed() argument 682 if (efuse_OneByteRead(pAdapter, (startAddr + i), &efuse_data) && (efuse_data != 0xFF)) in hal_EfuseCheckIfDatafollowed() 693 u16 startAddr = 0; in hal_EfusePartialWriteCheck() local 698 rtw_hal_get_hwreg(pAdapter, HW_VAR_EFUSE_BYTES, (u8 *)&startAddr); in hal_EfusePartialWriteCheck() 699 startAddr %= EFUSE_REAL_CONTENT_LEN; in hal_EfusePartialWriteCheck() 702 if (startAddr >= efuse_max_available_len) { in hal_EfusePartialWriteCheck() 707 if (efuse_OneByteRead(pAdapter, startAddr, &efuse_data) && (efuse_data != 0xFF)) { in hal_EfusePartialWriteCheck() 710 startAddr++; in hal_EfusePartialWriteCheck() 711 efuse_OneByteRead(pAdapter, startAddr, &efuse_data); in hal_EfusePartialWriteCheck() 728 (!hal_EfuseCheckIfDatafollowed(pAdapter, curPkt.word_cnts, startAddr + 1)) && in hal_EfusePartialWriteCheck() [all …]
|
/kernel/uniproton/src/fs/littlefs/ |
D | lfs_adapter.c | 52 uintptr_t startAddr = OsLfsGetStartAddr((S32)c->context); in OsLfsBlockRead() local 53 if (startAddr == INVALID_DEVICE_ADDR) { in OsLfsBlockRead() 56 startAddr += (c->block_size * block + off); in OsLfsBlockRead() 57 return (g_partitionCfg.readFunc)((S32)c->context, startAddr, dst, size); in OsLfsBlockRead() 63 uintptr_t startAddr = OsLfsGetStartAddr((S32)c->context); in OsLfsBlockWrite() local 64 if (startAddr == INVALID_DEVICE_ADDR) { in OsLfsBlockWrite() 68 startAddr += (c->block_size * block + off); in OsLfsBlockWrite() 69 return (g_partitionCfg.writeFunc)((S32)c->context, startAddr, dst, size); in OsLfsBlockWrite() 74 uintptr_t startAddr = OsLfsGetStartAddr((S32)c->context); in OsLfsBlockErase() local 75 if (startAddr == INVALID_DEVICE_ADDR) { in OsLfsBlockErase() [all …]
|
/kernel/liteos_a/kernel/common/ |
D | los_excinfo.c | 123 VOID LOS_ExcInfoRegHook(UINT32 startAddr, UINT32 space, CHAR *buf, log_read_write_fn hook) in LOS_ExcInfoRegHook() argument 130 g_recordAddr = startAddr; in LOS_ExcInfoRegHook() 141 VOID OsReadWriteExceptionInfo(UINT32 startAddr, UINT32 space, UINT32 flag, CHAR *buf) in OsReadWriteExceptionInfo() argument
|
D | los_config.h | 434 typedef VOID (*log_read_write_fn)(UINT32 startAddr, UINT32 space, UINT32 rwFlag, CHAR *buf); 462 VOID LOS_ExcInfoRegHook(UINT32 startAddr, UINT32 space, CHAR *buf, log_read_write_fn hook);
|
/kernel/liteos_m/components/lms/ |
D | los_lms.c | 240 VOID OsLmsSetShadowValue(LmsMemListNode *node, UINTPTR startAddr, UINTPTR endAddr, UINT8 value) in OsLmsSetShadowValue() argument 251 if (OsLmsMem2Shadow(node, startAddr, &shadowStart, &startOffset) || in OsLmsSetShadowValue() 303 VOID OsLmsSimpleMark(UINTPTR startAddr, UINTPTR endAddr, UINT32 value) in OsLmsSimpleMark() argument 306 if (endAddr <= startAddr) { in OsLmsSimpleMark() 307 …PRINT_DEBUG("[LMS]mark 0x%x, 0x%x, 0x%x\n", startAddr, endAddr, (UINTPTR)__builtin_return_address(… in OsLmsSimpleMark() 311 if (!IS_ALIGNED(startAddr, OS_MEM_ALIGN_SIZE) || !IS_ALIGNED(endAddr, OS_MEM_ALIGN_SIZE)) { in OsLmsSimpleMark() 312 PRINT_ERR("[LMS]mark addr is not aligned! 0x%x, 0x%x\n", startAddr, endAddr); in OsLmsSimpleMark() 318 LmsMemListNode *node = OsLmsGetPoolNodeFromAddr(startAddr); in OsLmsSimpleMark() 324 OsLmsSetShadowValue(node, startAddr, endAddr, value); in OsLmsSimpleMark()
|
D | los_lms_pri.h | 100 VOID (*simpleMark)(UINTPTR startAddr, UINTPTR endAddr, UINT32 value); 109 VOID OsLmsSimpleMark(UINTPTR startAddr, UINTPTR endAddr, UINT32 value);
|
/kernel/liteos_a/kernel/extended/lms/ |
D | los_lms.c | 227 VOID OsLmsSetShadowValue(LmsMemListNode *node, UINTPTR startAddr, UINTPTR endAddr, UINT8 value) in OsLmsSetShadowValue() argument 238 if (OsLmsMem2Shadow(node, startAddr, &shadowStart, &startOffset) || in OsLmsSetShadowValue() 290 VOID OsLmsSimpleMark(UINTPTR startAddr, UINTPTR endAddr, UINT32 value) in OsLmsSimpleMark() argument 293 if (endAddr <= startAddr) { in OsLmsSimpleMark() 294 …PRINT_DEBUG("[LMS]mark 0x%x, 0x%x, 0x%x\n", startAddr, endAddr, (UINTPTR)__builtin_return_address(… in OsLmsSimpleMark() 298 if (!IS_ALIGNED(startAddr, OS_MEM_ALIGN_SIZE) || !IS_ALIGNED(endAddr, OS_MEM_ALIGN_SIZE)) { in OsLmsSimpleMark() 299 PRINT_ERR("[LMS]mark addr is not aligned! 0x%x, 0x%x\n", startAddr, endAddr); in OsLmsSimpleMark() 305 LmsMemListNode *node = OsLmsGetPoolNodeFromAddr(startAddr); in OsLmsSimpleMark() 311 OsLmsSetShadowValue(node, startAddr, endAddr, value); in OsLmsSimpleMark()
|
D | los_lms_pri.h | 100 VOID (*simpleMark)(UINTPTR startAddr, UINTPTR endAddr, UINT32 value); 108 VOID OsLmsSimpleMark(UINTPTR startAddr, UINTPTR endAddr, UINT32 value);
|
/kernel/liteos_a/drivers/mtd/multi_partition/src/ |
D | mtd_partition.c | 231 static INT32 AddParamCheck(UINT32 startAddr, in AddParamCheck() argument 243 (((UINT64)(startAddr) + length) > param->flash_mtd->size)) { in AddParamCheck() 247 ALIGN_ASSIGN(length, startAddr, startBlk, endBlk, param->block_size); in AddParamCheck() 373 INT32 add_mtd_partition(const CHAR *type, UINT32 startAddr, in add_mtd_partition() argument 394 ret = AddParamCheck(startAddr, param, partitionNum, length); in add_mtd_partition() 405 PAR_ASSIGNMENT(newNode, length, startAddr, partitionNum, param->flash_mtd, param->block_size); in add_mtd_partition()
|
/kernel/liteos_m/utils/ |
D | los_debug.h | 57 UINT32 startAddr; member 64 UINT32 startAddr; member
|
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/hal/ |
D | rtl8723b_hal_init.c | 1573 u16 startAddr = 0, efuse_max_available_len = 0, efuse_max = 0; in hal_EfusePartialWriteCheck() local 1582 startAddr = (u16)pEfuseHal->fakeEfuseUsedBytes; in hal_EfusePartialWriteCheck() 1584 startAddr = (u16)fakeEfuseUsedBytes; in hal_EfusePartialWriteCheck() 1587 rtw_hal_get_hwreg(padapter, HW_VAR_EFUSE_BYTES, (u8 *)&startAddr); in hal_EfusePartialWriteCheck() 1591 startAddr = (u16)pEfuseHal->fakeBTEfuseUsedBytes; in hal_EfusePartialWriteCheck() 1593 startAddr = (u16)fakeBTEfuseUsedBytes; in hal_EfusePartialWriteCheck() 1596 rtw_hal_get_hwreg(padapter, HW_VAR_EFUSE_BT_BYTES, (u8 *)&startAddr); in hal_EfusePartialWriteCheck() 1598 startAddr %= efuse_max; in hal_EfusePartialWriteCheck() 1599 DBG_8192C("%s: startAddr =%#X\n", __func__, startAddr); in hal_EfusePartialWriteCheck() 1602 if (startAddr >= efuse_max_available_len) { in hal_EfusePartialWriteCheck() [all …]
|
/kernel/liteos_a/kernel/extended/blackbox/ |
D | los_blackbox_system_adapter.c | 75 static void WriteExcFile(UINT32 startAddr, UINT32 space, UINT32 rwFlag, char *buf) in WriteExcFile() argument 77 (void)startAddr; in WriteExcFile()
|
/kernel/liteos_a/kernel/extended/lms/usr/ |
D | los_lms_pri.h | 120 void LmsSetShadowValue(uintptr_t startAddr, uintptr_t endAddr, char value);
|
D | los_lms.c | 120 ATTRIBUTE_NO_SANITIZE_ADDRESS void LmsSetShadowValue(uintptr_t startAddr, uintptr_t endAddr, char v… in LmsSetShadowValue() argument 131 LmsMem2Shadow(startAddr, &shadowStart, &startOffset); in LmsSetShadowValue()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/3com/ |
D | typhoon.h | 519 __le32 startAddr; member 527 __le32 startAddr; member
|
/kernel/liteos_m/kernel/src/mm/ |
D | los_membox.c | 276 memExcInfo->startAddr = (UINTPTR)pool; in OsMemboxExcInfoGetSub()
|
D | los_memory.c | 208 #define OS_MEM_MIDDLE_ADDR_OPEN_END(startAddr, middleAddr, endAddr) \ argument 209 … (((UINT8 *)(startAddr) <= (UINT8 *)(middleAddr)) && ((UINT8 *)(middleAddr) < (UINT8 *)(endAddr))) 210 #define OS_MEM_MIDDLE_ADDR(startAddr, middleAddr, endAddr) \ argument 211 … (((UINT8 *)(startAddr) <= (UINT8 *)(middleAddr)) && ((UINT8 *)(middleAddr) <= (UINT8 *)(endAddr))) 2239 memExcInfo->startAddr = (UINTPTR)pool->info.pool;
|
/kernel/liteos_a/testsuites/unittest/common/include/ |
D | osTest.h | 333 extern VOID TestPartInit(char *type, UINT32 startAddr, UINT32 length);
|
/kernel/liteos_m/arch/arm/arm9/gcc/ |
D | los_interrupt.c | 439 PRINTK("pool addr = 0x%x\n", memExcInfo[i].startAddr); in OsExcMemPoolCheckInfo()
|
/kernel/liteos_m/arch/xtensa/lx6/gcc/ |
D | los_interrupt.c | 483 PRINTK("pool addr = 0x%x\n", memExcInfo[i].startAddr); in OsExcMemPoolCheckInfo()
|
/kernel/liteos_m/arch/csky/v2/gcc/ |
D | los_interrupt.c | 519 PRINTK("pool addr = 0x%x\n", memExcInfo[i].startAddr); in OsExcMemPoolCheckInfo()
|