/device/soc/hisilicon/hi3861v100/sdk_liteos/build/scripts/ |
D | common_env.py | 42 cur_file_path = os.path.split(os.path.realpath(__file__))[0] 43 netcfg_lib_dir = os.path.join(cur_file_path, '..', '..', '..', '..', '..', 46 os.path.join('build', 'scripts'), 47 os.path.join('build', 'libs'), 49 os.path.join('ohos', 'libs'), 54 os.path.join('build', 'libs'), 62 'boot': os.path.join('boot', 'flashboot'), 63 'loaderboot': os.path.join('boot', 'loaderboot'), 64 'drv': os.path.join('platform', 'drivers'), 65 'sys': os.path.join('platform', 'system'), [all …]
|
D | pkt_builder.py | 29 root_path = os.path.join(os.getcwd(), '..', '..') if getattr(sys, 'frozen', False) else os.path.joi… 34 …self.__bootBinPath = os.path.join(root_path, usr_realtive_output, 'build', 'flashboot', 'Hi3861_fl… 35 …self.__kernelBinPath = os.path.join(root_path, usr_realtive_output, 'output', 'bin', '%s_non_rom.b… 36 …self.__normalNvPath = os.path.join(root_path, 'build', 'build_tmp', 'nv', '%s_normal.hnv'%app_name) 37 …self.__factoryNvPath = os.path.join(root_path, 'build', 'build_tmp', 'nv', '%s_factory.hnv'%app_na… 38 self.__pktPath = os.path.join(root_path, usr_realtive_output, 'output', 'bin') 39 self.__key_dir_path = os.path.join(root_path, 'tools', 'sign_tool') 40 self.__lzma_tool_path = os.path.join(root_path, r'tools', r'lzma_tool', r'lzma_tool') 41 self.__build_tmp_path = os.path.join(root_path, usr_realtive_output, 'output', 'bin') 85 sys.exit("[ERR]signature err: < %s >, from: %s"%(signature, os.path.realpath(__file__))) [all …]
|
D | hi_config_parser.py | 55 if os.path.exists(self.config_file) is False: 64 … dir_path = os.path.dirname(os.path.dirname(os.path.realpath(getsourcefile(self.local_main)))) 65 return os.path.join(dir_path, 'config', 'usr_config.mk') 67 … return os.path.join(os.path.dirname(os.path.abspath(__file__)), '..', 'config', 'usr_config.mk') 111 … dir_path = os.path.dirname(os.path.dirname(os.path.realpath(getsourcefile(self.local_main)))) 112 return os.path.join(dir_path, 'config', 'sdk.mk') 114 … return os.path.join(os.path.dirname(os.path.abspath(__file__)), '..', 'config', 'sdk.mk')
|
D | scons_env_cfg.py | 41 self.root = os.path.realpath(os.path.join(__file__, '..', '..', '..')) 42 self.os_root = os.path.realpath(os.path.join(self.root, 'platform', 'os', 'Huawei_LiteOS')) 46 tmp_dir = os.path.join('build', 'build_tmp') 48 self.log_path = os.path.join(tmp_dir, 'logs') 49 self.obj_path = os.path.join(tmp_dir, 'objs') 50 self.lib_path = os.path.join(tmp_dir, 'libs') 51 self.cache_path = os.path.join(tmp_dir, 'cache') 52 self.link_path = os.path.join(tmp_dir, 'scripts') 53 self.nv_path = os.path.join(tmp_dir, 'nv') 54 self.bin_path = os.path.join(final_dir, 'bin') [all …]
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/phydm/halrf/rtl8822c/ |
D | halrf_dpk_8822c.c | 274 u8 path) in _dpk_rxbb_dc_cal_8822c() argument 278 odm_set_rf_reg(dm, (enum rf_path)path, 0x92, RFREG_MASK, 0x84800); in _dpk_rxbb_dc_cal_8822c() 280 odm_set_rf_reg(dm, (enum rf_path)path, 0x92, RFREG_MASK, 0x84801); in _dpk_rxbb_dc_cal_8822c() 283 odm_set_rf_reg(dm, (enum rf_path)path, 0x92, RFREG_MASK, 0x84800); in _dpk_rxbb_dc_cal_8822c() 288 u8 path) in _dpk_dc_corr_check_8822c() argument 304 RF_DBG(dm, DBG_RF_DPK, "[DPK] S%d DC I/Q, = %d / %d\n", path, dc_i, dc_q); in _dpk_dc_corr_check_8822c() 306 dpk_info->dc_i[path] = dc_i; in _dpk_dc_corr_check_8822c() 307 dpk_info->dc_q[path] = dc_q; in _dpk_dc_corr_check_8822c() 314 path, corr_idx, corr_val); in _dpk_dc_corr_check_8822c() 316 dpk_info->corr_idx[path] = corr_idx; in _dpk_dc_corr_check_8822c() [all …]
|
D | halrf_txgapk_8822c.c | 96 void *dm_void, u8 path) in _halrf_txgapk_bb_dpk_8822c() argument 110 if (path == RF_PATH_A) { in _halrf_txgapk_bb_dpk_8822c() 115 } else if (path == RF_PATH_B) { in _halrf_txgapk_bb_dpk_8822c() 126 void *dm_void, u8 path) in _halrf_txgapk_afe_dpk_8822c() argument 132 if (path == RF_PATH_A) { in _halrf_txgapk_afe_dpk_8822c() 152 } else if (path == RF_PATH_B) { in _halrf_txgapk_afe_dpk_8822c() 176 void *dm_void, u8 path) in _halrf_txgapk_afe_dpk_restore_8822c() argument 182 if (path == RF_PATH_A) { in _halrf_txgapk_afe_dpk_restore_8822c() 200 } else if (path == RF_PATH_B) { in _halrf_txgapk_afe_dpk_restore_8822c() 222 void *dm_void, u8 path) in _halrf_txgapk_bb_dpk_restore_8822c() argument [all …]
|
D | halrf_iqk_8822c.c | 43 u8 path, in _iqk_check_cal_8822c() argument 71 odm_set_rf_reg(dm, (enum rf_path)path, 0x8f, BIT(14), 0x0); in _iqk_check_cal_8822c() 73 odm_write_4byte(dm, 0x1b00, 0x8 | path << 1); in _iqk_check_cal_8822c() 135 void _iqk_get_rxcfir_8822c(void *dm_void, u8 path, u8 t) in _iqk_get_rxcfir_8822c() argument 145 odm_write_4byte(dm, 0x1b00, 0x8 | path << 1); in _iqk_get_rxcfir_8822c() 158 iqk_info->rx_cfir_real[t][path][i] = (tmp & 0x0fff0000) >> 16; in _iqk_get_rxcfir_8822c() 159 iqk_info->rx_cfir_imag[t][path][i] = tmp & 0x0fff; in _iqk_get_rxcfir_8822c() 169 void _iqk_reload_rxcfir_8822c(struct dm_struct *dm, u8 path) in _iqk_reload_rxcfir_8822c() argument 176 odm_set_bb_reg(dm, 0x1b00, MASKDWORD, 0x8 | path << 1); in _iqk_reload_rxcfir_8822c() 188 tmp2 = tmp1 | iqk_info->rx_cfir_real[0][path][i]<< 8; in _iqk_reload_rxcfir_8822c() [all …]
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/mesh/ |
D | rtw_mesh_hwmp.c | 474 struct rtw_mesh_path *path = NULL; in rtw_hwmp_preq_frame_process() local 499 path = rtw_mesh_path_lookup(adapter, originator_addr); in rtw_hwmp_preq_frame_process() 500 if (path) { in rtw_hwmp_preq_frame_process() 502 rtw_mesh_path_add_gate(path); in rtw_hwmp_preq_frame_process() 503 else if (path->is_gate) { in rtw_hwmp_preq_frame_process() 504 enter_critical_bh(&path->state_lock); in rtw_hwmp_preq_frame_process() 505 rtw_mesh_gate_del(adapter->mesh_info.mesh_paths, path); in rtw_hwmp_preq_frame_process() 506 exit_critical_bh(&path->state_lock); in rtw_hwmp_preq_frame_process() 509 path = NULL; in rtw_hwmp_preq_frame_process() 526 path = rtw_mesh_path_lookup(adapter, originator_addr); in rtw_hwmp_preq_frame_process() [all …]
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/ |
D | SConscript | 25 sign_tool = os.path.join("tools", "sign_tool", "sign_tool") 26 link_path = os.path.join(env_cfg.root, "build", "link", "flashboot_sha256.lds") 27 encrypt_key_path = os.path.join('tools', 'sign_tool', 'aes_key.txt') 29 link_path = os.path.join(env_cfg.root, "build", "link", "flashboot_sha256.lds") 31 link_path = os.path.join(env_cfg.root, "build", "link", "flashboot_rsa.lds") 32 root_key_path = os.path.join('tools', 'sign_tool', 'root_rsa.pem') 33 sub_key_path = os.path.join('tools', 'sign_tool', 'sub_rsa.pem') 36 link_path = os.path.join(env_cfg.root, "build", "link", "flashboot_rsa.lds") 37 root_key_path = os.path.join('tools', 'sign_tool', 'root_rsa.pem') 38 sub_key_path = os.path.join('tools', 'sign_tool', 'sub_rsa.pem') [all …]
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/build/win_scripts/boot/flashboot/ |
D | SConscript | 25 sign_tool = os.path.join("tools", "sign_tool", "sign_tool") 26 link_path = os.path.join(env_cfg.root, "build", "link", "flashboot_sha256.lds") 27 encrypt_key_path = os.path.join('tools', 'sign_tool', 'aes_key.txt') 29 link_path = os.path.join(env_cfg.root, "build", "link", "flashboot_sha256.lds") 31 link_path = os.path.join(env_cfg.root, "build", "link", "flashboot_rsa.lds") 32 root_key_path = os.path.join('tools', 'sign_tool', 'root_rsa.pem') 33 sub_key_path = os.path.join('tools', 'sign_tool', 'sub_rsa.pem') 36 link_path = os.path.join(env_cfg.root, "build", "link", "flashboot_rsa.lds") 37 root_key_path = os.path.join('tools', 'sign_tool', 'root_rsa.pem') 38 sub_key_path = os.path.join('tools', 'sign_tool', 'sub_rsa.pem') [all …]
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/ |
D | SConscript | 25 sign_tool = os.path.join("tools", "sign_tool", "sign_tool") 26 link_path = os.path.join(env_cfg.root, "build", "link", "loaderboot_sha256.lds") 27 encrypt_key_path = os.path.join('tools', 'sign_tool', 'aes_key.txt') 29 link_path = os.path.join(env_cfg.root, "build", "link", "loaderboot_sha256.lds") 31 link_path = os.path.join(env_cfg.root, "build", "link", "loaderboot_rsa.lds") 32 root_key_path = os.path.join('tools', 'sign_tool', 'root_rsa.pem') 33 sub_key_path = os.path.join('tools', 'sign_tool', 'sub_rsa.pem') 36 link_path = os.path.join(env_cfg.root, "build", "link", "loaderboot_rsa.lds") 37 root_key_path = os.path.join('tools', 'sign_tool', 'root_rsa.pem') 38 sub_key_path = os.path.join('tools', 'sign_tool', 'sub_rsa.pem') [all …]
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/build/win_scripts/boot/loaderboot/ |
D | SConscript | 25 sign_tool = os.path.join("tools", "sign_tool", "sign_tool") 26 link_path = os.path.join(env_cfg.root, "build", "link", "loaderboot_sha256.lds") 27 encrypt_key_path = os.path.join('tools', 'sign_tool', 'aes_key.txt') 29 link_path = os.path.join(env_cfg.root, "build", "link", "loaderboot_sha256.lds") 31 link_path = os.path.join(env_cfg.root, "build", "link", "loaderboot_rsa.lds") 32 root_key_path = os.path.join('tools', 'sign_tool', 'root_rsa.pem') 33 sub_key_path = os.path.join('tools', 'sign_tool', 'sub_rsa.pem') 36 link_path = os.path.join(env_cfg.root, "build", "link", "loaderboot_rsa.lds") 37 root_key_path = os.path.join('tools', 'sign_tool', 'root_rsa.pem') 38 sub_key_path = os.path.join('tools', 'sign_tool', 'sub_rsa.pem') [all …]
|
/device/board/isoftstone/zhiyuan/kernel/build/ |
D | patch.py | 68 for path in git_paths: 69 git_path = os.path.join(path, ".git") 70 if not os.path.isdir(git_path): 75 def get_file_set(path): argument 77 if not os.path.isdir(path): 81 for root, dirs, files in os.walk(path): 83 dir_path = os.path.join(root, dir) 84 if os.path.isdir(dir_path): 85 git_path = os.path.join(root_path, str(dir).replace("-", "/")) 91 if not os.path.isdir(dest_path): [all …]
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/build/win_scripts/ |
D | SConstruct | 29 sys.path.append(os.path.join(os.getcwd(), 'build')) 51 … if not os.path.exists(os.path.dirname(env_cfg.log_path)) or not os.path.exists(env_cfg.log_path): 53 log_file = os.path.join(env_cfg.log_path,'scons_trace.log') 68 libs = [env.SConscript(os.path.join(env_cfg.get_module_dir(module), 'SConscript'), {'env':env, 'env… 69 …variant_dir=os.path.join(env_cfg.lib_path, env_cfg.get_module_dir(module)), duplicate=0) for modul… 76 env.Append(LIBPATH=os.path.join('-Lbuild', 'libs', 'hi3861', 'debug', 'factory')) 78 … env.Append(LIBPATH=os.path.join('-Lbuild', 'libs', 'hi3861', 'debug', 'no_mesh_quick_start')) 80 env.Append(LIBPATH=os.path.join('-Lbuild', 'libs', 'hi3861', 'debug', 'mesh')) 82 env.Append(LIBPATH=os.path.join('-Lbuild', 'libs', 'hi3861', 'debug', 'no_mesh')) 85 env.Append(LIBPATH=os.path.join('-Lbuild', 'libs', 'hi3861', 'release', 'factory')) [all …]
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/ |
D | SConstruct | 29 sys.path.insert(0,os.path.join(os.getcwd(), 'build')) 51 … if not os.path.exists(os.path.dirname(env_cfg.log_path)) or not os.path.exists(env_cfg.log_path): 53 log_file = os.path.join(env_cfg.log_path,'scons_trace.log') 68 libs = [env.SConscript(os.path.join(env_cfg.get_module_dir(module), 'SConscript'), {'env':env, 'env… 69 …variant_dir=os.path.join(env_cfg.lib_path, env_cfg.get_module_dir(module)), duplicate=0) for modul… 76 env.Append(LIBPATH=os.path.join('-Lbuild', 'libs', 'hi3861', 'debug', 'factory')) 78 … env.Append(LIBPATH=os.path.join('-Lbuild', 'libs', 'hi3861', 'debug', 'no_mesh_quick_start')) 80 env.Append(LIBPATH=os.path.join('-Lbuild', 'libs', 'hi3861', 'debug', 'mesh')) 82 env.Append(LIBPATH=os.path.join('-Lbuild', 'libs', 'hi3861', 'debug', 'no_mesh')) 85 env.Append(LIBPATH=os.path.join('-Lbuild', 'libs', 'hi3861', 'release', 'factory')) [all …]
|
/device/soc/st/stm32f407zg/uniproton/hals/utils/file/src/ |
D | hal_file.c | 43 static int FsRealPath(char *realPath, const char *path) in FsRealPath() argument 45 int len = strlen(path); in FsRealPath() 46 …if ((len > FS_DATA_ROOT_DIR_SIZE) && (strncmp(FS_DATA_ROOT_DIR, path, FS_DATA_ROOT_DIR_SIZE) == 0)… in FsRealPath() 47 realPath = (char *)path; in FsRealPath() 51 …printf_s(realPath, PATH_NAME_LEN, PATH_NAME_LEN - 1, "%s%s%s", FS_DATA_ROOT_DIR, "/", path) <= 0) { in FsRealPath() 57 static int CheckPathValid(const char *path) in CheckPathValid() argument 59 int len = strlen(path); in CheckPathValid() 66 if ((int)path[i] == 92) { /* 92: invalid key */ in CheckPathValid() 74 int HalFileOpen(const char *path, int oflag, int mode) in HalFileOpen() argument 79 if (CheckPathValid(path) < 0) { in HalFileOpen() [all …]
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/common/ |
D | loadbmp.c | 55 hi_char *path = HI_NULL; in GetBmpInfo() local 63 path = realpath(filename, HI_NULL); in GetBmpInfo() 64 if (path == HI_NULL) { in GetBmpInfo() 68 if ((pFile = fopen(path, "rb")) == NULL) { in GetBmpInfo() 70 free(path); in GetBmpInfo() 78 free(path); in GetBmpInfo() 85 free(path); in GetBmpInfo() 95 hi_char *path = HI_NULL; in LoadBMP() local 113 path = realpath(filename, HI_NULL); in LoadBMP() 114 if (path == HI_NULL) { in LoadBMP() [all …]
|
/device/soc/beken/bk7235/liteos_m/third_party_adapter/musl/ |
D | fs.c | 62 int open(const char *path, int oflag, ...) in open() argument 67 ret = LOS_Open(path, oflag, vaList); in open() 92 int unlink(const char *path) in unlink() argument 94 return LOS_Unlink(path); in unlink() 102 int stat(const char *path, struct stat *buf) in stat() argument 104 return LOS_Stat(path, buf); in stat() 112 int mkdir(const char *path, mode_t mode) in mkdir() argument 114 return LOS_Mkdir(path, mode); in mkdir() 132 int rmdir(const char *path) in rmdir() argument 134 return LOS_Unlink(path); in rmdir() [all …]
|
/device/soc/winnermicro/hals/utils/file/src/ |
D | hal_lfs.c | 60 static char *_path_convert(const char *path) in _path_convert() argument 65 len = strlen(path) + 8; // 8:byte alignment in _path_convert() 74 for (i = 0; i < strlen(path); i++) { in _path_convert() 75 if (path[i] != '/') { in _path_convert() 76 target_path[j++] = path[i]; in _path_convert() 84 int HalFileOpen(const char* path, int oflag, int mode) in HalFileOpen() argument 86 if ((path == NULL) || (strlen(path) >= FLASH_FILE_NAME_LEN)) { in HalFileOpen() 94 char *target_path = _path_convert(path); in HalFileOpen() 144 int HalFileDelete(const char* path) in HalFileDelete() argument 147 if ((path == NULL) || (strlen(path) >= FLASH_FILE_NAME_LEN)) { in HalFileDelete() [all …]
|
/device/soc/bestechnic/bes2600/pack_tools/ |
D | secboot_gen.py | 52 if not os.path.isfile(gen_sig_tool_path): 57 if not os.path.isfile(input_file): 79 if not os.path.isfile(tool): 82 if not os.path.isfile(src_bin): 91 if not os.path.isfile(tool): 94 if not os.path.isfile(src_bin): 97 if not os.path.isfile(bin_sig): 106 if not os.path.isfile(tool): 109 if not os.path.isfile(bin_hash): 115 product_json = os.path.join(product_path,'config.json') [all …]
|
/device/soc/bestechnic/hals/utils/file/src/ |
D | hal_file.c | 26 static int check_path_valid(const char *path) in check_path_valid() argument 28 if (strlen(path) > PATH_NAME_LEN) { in check_path_valid() 33 for (int i = 0; i < strlen(path); i++) { in check_path_valid() 34 if ((int)path[i] == INVALID_KEY) { in check_path_valid() 42 int HalFileOpen(const char *path, int oflag, int mode) in HalFileOpen() argument 46 if (check_path_valid(path) < 0) { in HalFileOpen() 50 int ret = open(path, oflag); in HalFileOpen() 77 int HalFileDelete(const char *path) in HalFileDelete() argument 79 return unlink(path); in HalFileDelete() 82 int HalFileStat(const char *path, unsigned int *fileSize) in HalFileStat() argument [all …]
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/build/win_scripts/build/scripts/ |
D | scons_env_cfg.py | 41 self.root = os.path.realpath(os.path.join(__file__, '..', '..', '..')) 42 self.os_root = os.path.realpath(os.path.join(self.root, 'platform', 'os', 'Huawei_LiteOS')) 46 tmp_dir = os.path.join('build', 'build_tmp') 48 self.log_path = os.path.join(tmp_dir, 'logs') 49 self.obj_path = os.path.join(tmp_dir, 'objs') 50 self.lib_path = os.path.join(tmp_dir, 'libs') 51 self.cache_path = os.path.join(tmp_dir, 'cache') 52 self.link_path = os.path.join(tmp_dir, 'scripts') 53 self.nv_path = os.path.join(tmp_dir, 'nv') 54 self.bin_path = os.path.join(final_dir, 'bin') [all …]
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/ |
D | hal_com_phycfg.c | 100 int path, group, tx_idx; in dump_pg_txpwr_info_2g() local 108 for (path = 0; path < MAX_RF_PATH && path < rfpath_num; path++) { in dump_pg_txpwr_info_2g() 109 RTW_PRINT_SEL(sel, "[%c]: ", rf_path_char(path)); in dump_pg_txpwr_info_2g() 111 _RTW_PRINT_SEL(sel, "%3u ", txpwr_info->IndexCCK_Base[path][group]); in dump_pg_txpwr_info_2g() 118 for (path = 0; path < MAX_RF_PATH && path < rfpath_num; path++) in dump_pg_txpwr_info_2g() 119 _RTW_PRINT_SEL(sel, "%dT ", path + 1); in dump_pg_txpwr_info_2g() 121 for (path = 0; path < MAX_RF_PATH && path < rfpath_num; path++) { in dump_pg_txpwr_info_2g() 122 RTW_PRINT_SEL(sel, "[%c]: ", rf_path_char(path)); in dump_pg_txpwr_info_2g() 124 _RTW_PRINT_SEL(sel, "%2d ", txpwr_info->CCK_Diff[path][tx_idx]); in dump_pg_txpwr_info_2g() 134 for (path = 0; path < MAX_RF_PATH && path < rfpath_num; path++) { in dump_pg_txpwr_info_2g() [all …]
|
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/include/linux/amlogic/media/codec_mm/ |
D | configs.h | 143 #define REG_PATH_CONFIGS(path, configs) \ argument 144 configs_register_path_configs(path, configs,\ 165 const char *path, struct mconfig_node *new_node); 171 const char *path, struct mconfig *configs, 177 struct mconfig_node *topnode, const char *path, 180 struct mconfig_node *topnode, const char *path, 183 struct mconfig_node *topnode, const char *path, 186 struct mconfig_node *topnode, const char *path, 189 struct mconfig_node *topnode, const char *path, 192 struct mconfig_node *topnode, const char *path, [all …]
|
/device/soc/amlogic/a311d/soc/include/linux/amlogic/media/codec_mm/ |
D | configs.h | 161 #define REG_PATH_CONFIGS(path, configs) … argument 162 configs_register_path_configs(path, configs, sizeof(configs) / sizeof(struct mconfig)) 177 int configs_register_path_node(const char *path, struct mconfig_node *new_node); 180 int configs_register_path_configs(const char *path, struct mconfig *configs, int num); 183 int configs_get_node_path_u32(struct mconfig_node *topnode, const char *path, u32 *val); 184 int configs_get_node_path_u64(struct mconfig_node *topnode, const char *path, u64 *val); 185 int configs_get_node_path_2u32(struct mconfig_node *topnode, const char *path, u32 *val); 186 int configs_get_node_path_buf(struct mconfig_node *topnode, const char *path, char *buf, int size); 187 int configs_set_node_path_u32(struct mconfig_node *topnode, const char *path, u32 val); 188 int configs_set_node_path_u64(struct mconfig_node *topnode, const char *path, u64 val); [all …]
|