Home
last modified time | relevance | path

Searched refs:startAddr (Results 1 – 25 of 40) sorted by relevance

12

/kernel/liteos_a/drivers/mtd/multi_partition/include/
Dmtd_partition.h81 #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/
Dlos_patchfs.c61 partInfo.startAddr = PATCHFS_FLASH_ADDR; in OsMountPatchFs()
68 partInfo.startAddr = (partInfo.startAddr >= 0) ? partInfo.startAddr : PATCHFS_FLASH_ADDR; in OsMountPatchFs()
Dlos_partition_utils.c94 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()
Dlos_partition_utils.h61 INT32 startAddr; member
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/core/
Drtw_efuse.c676 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/
Dlfs_adapter.c52 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/
Dlos_excinfo.c123 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
Dlos_config.h434 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/
Dlos_lms.c240 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()
Dlos_lms_pri.h100 VOID (*simpleMark)(UINTPTR startAddr, UINTPTR endAddr, UINT32 value);
109 VOID OsLmsSimpleMark(UINTPTR startAddr, UINTPTR endAddr, UINT32 value);
/kernel/liteos_a/kernel/extended/lms/
Dlos_lms.c227 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()
Dlos_lms_pri.h100 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/
Dmtd_partition.c231 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/
Dlos_debug.h57 UINT32 startAddr; member
64 UINT32 startAddr; member
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/hal/
Drtl8723b_hal_init.c1573 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/
Dlos_blackbox_system_adapter.c75 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/
Dlos_lms_pri.h120 void LmsSetShadowValue(uintptr_t startAddr, uintptr_t endAddr, char value);
Dlos_lms.c120 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/
Dtyphoon.h519 __le32 startAddr; member
527 __le32 startAddr; member
/kernel/liteos_m/kernel/src/mm/
Dlos_membox.c276 memExcInfo->startAddr = (UINTPTR)pool; in OsMemboxExcInfoGetSub()
Dlos_memory.c208 #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/
DosTest.h333 extern VOID TestPartInit(char *type, UINT32 startAddr, UINT32 length);
/kernel/liteos_m/arch/arm/arm9/gcc/
Dlos_interrupt.c439 PRINTK("pool addr = 0x%x\n", memExcInfo[i].startAddr); in OsExcMemPoolCheckInfo()
/kernel/liteos_m/arch/xtensa/lx6/gcc/
Dlos_interrupt.c483 PRINTK("pool addr = 0x%x\n", memExcInfo[i].startAddr); in OsExcMemPoolCheckInfo()
/kernel/liteos_m/arch/csky/v2/gcc/
Dlos_interrupt.c519 PRINTK("pool addr = 0x%x\n", memExcInfo[i].startAddr); in OsExcMemPoolCheckInfo()

12