/kernel/liteos_a/drivers/mtd/multi_partition/include/ |
H A D | mtd_partition.h | 81 #define ALIGN_ASSIGN(len, startAddr, startBlk, endBlk, blkSize) do { \ 83 (startAddr) = ((startAddr) & ~((blkSize) - 1)); \ 84 (startBlk) = (startAddr) / (blkSize); \ 88 #define PAR_ASSIGNMENT(node, len, startAddr, num, mtd, blkSize) do { \ 89 (node)->start_block = (startAddr) / (blkSize); \ 114 * @param startAddr [IN] Starting address of a partition. 127 extern INT32 add_mtd_partition(const CHAR *type, UINT32 startAddr, UINT32 length, UINT32 partitionNum);
|
/kernel/liteos_a/fs/patchfs/ |
H A 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()
|
H A 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->partNum); in GetDevNameOfPartition()
|
H A D | los_partition_utils.h | 61 INT32 startAddr; member
|
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/core/ |
H A 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 in hal_EfusePartialWriteCheck() 774 u16 startAddr = 0; Efuse_PgPacketWrite() local [all...] |
/kernel/uniproton/src/fs/littlefs/ |
H A 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 in OsLfsBlockErase() [all...] |
/kernel/liteos_a/kernel/common/ |
H A 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
|
H A D | los_config.h | 430 * <li> "startAddr" must be left to save the exception address space, the size of "buf" is "space" </li> 433 * @param startAddr [IN] Address of storage ,its must be left to save the exception address space 443 typedef VOID (*log_read_write_fn)(UINT32 startAddr, UINT32 space, UINT32 rwFlag, CHAR *buf); 456 * <li> "startAddr" must be left to save the exception address space, the size of "buf" is "space", 460 * @param startAddr [IN] Address of storage, it must be left to save the exception address space 471 VOID LOS_ExcInfoRegHook(UINT32 startAddr, UINT32 space, CHAR *buf, log_read_write_fn hook);
|
/kernel/liteos_a/kernel/extended/lms/ |
H A D | los_lms.c | 228 VOID OsLmsSetShadowValue(LmsMemListNode *node, UINTPTR startAddr, UINTPTR endAddr, UINT8 value)
in OsLmsSetShadowValue() argument 238 /* endAddr -1, then we mark [startAddr, endAddr) to value */
in OsLmsSetShadowValue() 239 if (OsLmsMem2Shadow(node, startAddr, &shadowStart, &startOffset) ||
in OsLmsSetShadowValue() 254 /* Adjust startAddr to left util it reach the beginning of a u8 */
in OsLmsSetShadowValue() 291 VOID OsLmsSimpleMark(UINTPTR startAddr, UINTPTR endAddr, UINT32 value)
in OsLmsSimpleMark() argument 294 if (endAddr <= startAddr) {
in OsLmsSimpleMark() 295 PRINT_DEBUG("[LMS]mark 0x%x, 0x%x, 0x%x\n", startAddr, endAddr, (UINTPTR)__builtin_return_address(0));
in OsLmsSimpleMark() 299 if (!IS_ALIGNED(startAddr, OS_MEM_ALIGN_SIZE) || !IS_ALIGNED(endAddr, OS_MEM_ALIGN_SIZE)) {
in OsLmsSimpleMark() 300 PRINT_ERR("[LMS]mark addr is not aligned! 0x%x, 0x%x\n", startAddr, endAddr);
in OsLmsSimpleMark() 306 LmsMemListNode *node = OsLmsGetPoolNodeFromAddr(startAddr);
in OsLmsSimpleMark() [all...] |
H A D | los_lms_pri.h | 101 VOID (*simpleMark)(UINTPTR startAddr, UINTPTR endAddr, UINT32 value);
109 VOID OsLmsSimpleMark(UINTPTR startAddr, UINTPTR endAddr, UINT32 value);
|
/kernel/liteos_m/components/lms/ |
H A D | los_lms.c | 241 VOID OsLmsSetShadowValue(LmsMemListNode *node, UINTPTR startAddr, UINTPTR endAddr, UINT8 value)
in OsLmsSetShadowValue() argument 251 /* endAddr -1, then we mark [startAddr, endAddr) to value */
in OsLmsSetShadowValue() 252 if (OsLmsMem2Shadow(node, startAddr, &shadowStart, &startOffset) ||
in OsLmsSetShadowValue() 267 /* Adjust startAddr to left util it reach the beginning of a u8 */
in OsLmsSetShadowValue() 304 VOID OsLmsSimpleMark(UINTPTR startAddr, UINTPTR endAddr, UINT32 value)
in OsLmsSimpleMark() argument 307 if (endAddr <= startAddr) {
in OsLmsSimpleMark() 308 PRINT_DEBUG("[LMS]mark 0x%x, 0x%x, 0x%x\n", startAddr, endAddr, (UINTPTR)__builtin_return_address(0));
in OsLmsSimpleMark() 312 if (!IS_ALIGNED(startAddr, OS_MEM_ALIGN_SIZE) || !IS_ALIGNED(endAddr, OS_MEM_ALIGN_SIZE)) {
in OsLmsSimpleMark() 313 PRINT_ERR("[LMS]mark addr is not aligned! 0x%x, 0x%x\n", startAddr, endAddr);
in OsLmsSimpleMark() 319 LmsMemListNode *node = OsLmsGetPoolNodeFromAddr(startAddr);
in OsLmsSimpleMark() [all...] |
H A D | los_lms_pri.h | 101 VOID (*simpleMark)(UINTPTR startAddr, UINTPTR endAddr, UINT32 value);
110 VOID OsLmsSimpleMark(UINTPTR startAddr, UINTPTR endAddr, UINT32 value);
|
/kernel/liteos_a/drivers/mtd/multi_partition/src/ |
H A D | mtd_partition.c | 215 static INT32 AddParamCheck(UINT32 startAddr, in AddParamCheck() argument 227 (((UINT64)(startAddr) + length) > param->flash_mtd->size)) { in AddParamCheck() 231 ALIGN_ASSIGN(length, startAddr, startBlk, endBlk, param->block_size); in AddParamCheck() 354 * Attention: both startAddr and length should be aligned with block size. 357 INT32 add_mtd_partition(const CHAR *type, UINT32 startAddr, in add_mtd_partition() argument 378 ret = AddParamCheck(startAddr, param, partitionNum, length); in add_mtd_partition() 389 PAR_ASSIGNMENT(newNode, length, startAddr, partitionNum, param->flash_mtd, param->block_size); in add_mtd_partition()
|
/kernel/liteos_m/utils/ |
H A D | los_debug.h | 57 UINT32 startAddr;
member 64 UINT32 startAddr;
member
|
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/hal/ |
H A 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() 1834 u16 startAddr = 0; Hal_EfusePgPacketWrite() local 1863 u16 startAddr = 0; Hal_EfusePgPacketWrite_BT() local [all...] |
/kernel/liteos_a/kernel/extended/blackbox/ |
H A 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/linux/linux-6.6/drivers/staging/rtl8723bs/hal/ |
H A D | rtl8723b_hal_init.c | 1348 u16 startAddr = 0, efuse_max_available_len = 0, efuse_max = 0; in hal_EfusePartialWriteCheck() local 1357 startAddr = (u16)pEfuseHal->fakeEfuseUsedBytes; in hal_EfusePartialWriteCheck() 1359 startAddr = (u16)fakeEfuseUsedBytes; in hal_EfusePartialWriteCheck() 1362 rtw_hal_get_hwreg(padapter, HW_VAR_EFUSE_BYTES, (u8 *)&startAddr); in hal_EfusePartialWriteCheck() 1366 startAddr = (u16)pEfuseHal->fakeBTEfuseUsedBytes; in hal_EfusePartialWriteCheck() 1368 startAddr = (u16)fakeBTEfuseUsedBytes; in hal_EfusePartialWriteCheck() 1371 rtw_hal_get_hwreg(padapter, HW_VAR_EFUSE_BT_BYTES, (u8 *)&startAddr); in hal_EfusePartialWriteCheck() 1373 startAddr %= efuse_max; in hal_EfusePartialWriteCheck() 1376 if (startAddr >= efuse_max_available_len) { in hal_EfusePartialWriteCheck() 1381 if (efuse_OneByteRead(padapter, startAddr, in hal_EfusePartialWriteCheck() 1582 u16 startAddr = 0; Hal_EfusePgPacketWrite() local 1611 u16 startAddr = 0; Hal_EfusePgPacketWrite_BT() local [all...] |
/kernel/liteos_a/kernel/extended/lms/usr/ |
H A D | los_lms_pri.h | 120 void LmsSetShadowValue(uintptr_t startAddr, uintptr_t endAddr, char value);
|
H A D | los_lms.c | 120 ATTRIBUTE_NO_SANITIZE_ADDRESS void LmsSetShadowValue(uintptr_t startAddr, uintptr_t endAddr, char value)
in LmsSetShadowValue() argument 130 /* endAddr - 1, then we mark [startAddr, endAddr) to value */
in LmsSetShadowValue() 131 LmsMem2Shadow(startAddr, &shadowStart, &startOffset);
in LmsSetShadowValue() 144 /* Adjust startAddr to left util it reach the beginning of a u8 */
in LmsSetShadowValue()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/3com/ |
H A D | typhoon.h | 519 __le32 startAddr; member 527 __le32 startAddr; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/3com/ |
H A D | typhoon.h | 519 __le32 startAddr; member 527 __le32 startAddr; member
|
/kernel/liteos_m/kernel/src/mm/ |
H A D | los_membox.c | 276 memExcInfo->startAddr = (UINTPTR)pool;
in OsMemboxExcInfoGetSub()
|
/kernel/liteos_m/arch/arm/arm9/gcc/ |
H A D | los_interrupt.c | 253 PRINTK("pool addr = 0x%x\n", memExcInfo[i].startAddr);
in OsExcMemPoolCheckInfo()
|
/kernel/liteos_m/arch/csky/v2/gcc/ |
H A D | los_interrupt.c | 336 PRINTK("pool addr = 0x%x\n", memExcInfo[i].startAddr); in OsExcMemPoolCheckInfo()
|
/kernel/liteos_m/arch/xtensa/lx6/gcc/ |
H A D | los_interrupt.c | 307 PRINTK("pool addr = 0x%x\n", memExcInfo[i].startAddr);
in OsExcMemPoolCheckInfo()
|