/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/ |
D | hdf_utils.py | 205 def get_framework_lite_dir(root): argument 206 return os.path.join(root, 'drivers', 'adapter', 'khdf', 'liteos') 209 def get_vendor_root_dir(root): argument 210 return os.path.join(root, 'vendor') 213 def get_vendor_dir(root, vendor): argument 214 return os.path.join(get_vendor_root_dir(root), vendor) 217 def get_vendor_hdf_dir_framework(root): argument 219 return os.path.join(root, relative_path) 222 def module_save_file_info(root): argument 223 adapter_framework = get_vendor_hdf_dir_framework(root=root) [all …]
|
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/hcs/ |
D | ModifyNode.js | 35 ModifyNode.modifyName = function (files, root, node, name) { argument 36 let parent = getParent(root, node, null); 45 ModifyNode.modifyNodeType = function (files, root, node, type) { argument 46 let parent = getParent(root, node, null); 66 ModifyNode.addChildAttr = function (root, node) { argument 83 ModifyNode.addChildNode = function (root, node) { argument 114 ModifyNode.getInheritList = function (root, node) { argument 116 let parent = getParent(root, node, null); 126 let pp = getParent(root, parent, null); 156 ModifyNode.getInheritNameList = function (root, node) { argument [all …]
|
/drivers/hdf_core/framework/utils/src/ |
D | hdf_slist.c | 17 list->root = NULL; in HdfSListInit() 23 return ((list == NULL) || (list->root == NULL)); in HdfSListIsEmpty() 50 for (iterator = list->root; iterator != NULL; iterator = iterator->next) { in HdfSListGetLast() 61 link->next = list->root; in HdfSListAdd() 62 list->root = link; in HdfSListAdd() 89 for (iterator = list->root; iterator; iterator = iterator->next) { in HdfSListAddOrder() 95 if (comparer(link, list->root)) { in HdfSListAddOrder() 96 link->next = list->root; in HdfSListAddOrder() 97 list->root = link; in HdfSListAddOrder() 100 for (iterator = list->root; iterator && iterator->next; iterator = iterator->next) { in HdfSListAddOrder() [all …]
|
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/ |
D | hdf_delete_handler.py | 59 root, vendor, _, _, _ = self.get_args() 60 vendor_hdf_dir = hdf_utils.get_vendor_hdf_dir(root, vendor) 69 def _delete_module(self, root, model, model_info): argument 76 root, path_value.rsplit(split_str, 1)[0], model) 80 self._delete_file_func(root, key, model_info, model) 83 root=root, create_data=json.dumps(create_model_data)) 89 root, _, module, _, _, _, _ = self.get_args() 90 create_file_save_path = hdf_utils.module_save_file_info(root) 101 root, _, module, _, _, _, _ = self.get_args() 102 create_file_save_path = hdf_utils.module_save_file_info(root) [all …]
|
D | hdf_add_handler.py | 73 root, vendor, _, _, board = self.get_args() 74 target_dir = hdf_utils.get_vendor_hdf_dir(root, vendor) 98 root, vendor, module, driver, board, kernel, _ = args_tuple 103 framework_hdf = hdf_utils.get_vendor_hdf_dir_framework(root) 110 root, module) 130 root_path=root, config_file_json=config_file_json, 136 root, vendor, module, driver, board, kernel, _ = args_tuple 145 adapter_hdf = hdf_utils.get_vendor_hdf_dir_adapter(root, kernel) 187 root, vendor, module, driver, board, kernel, _ = args_tuple 203 vendor_k = HdfVendorKconfigFile(root, vendor, kernel, path="") [all …]
|
D | hdf_set_handler.py | 59 root, vendor, _, _, _ = self.get_args() 60 HdfLiteMkFile(root).set_vendor(vendor) 61 HdfLiteKconfigFile(root).set_vendor(vendor) 95 root = self.args.root_dir 96 dot_config_path = hdf_utils.get_liteos_a_dot_config_path(root) 100 [os.path.join(root, config) for config in orig_dot_configs] 132 root, vendor, model, _, board, _, _ = self.get_args() 134 root=root, vendor=vendor, board=board, 142 root, vendor, model, _, board, _, _ = self.get_args() 144 root=root, vendor=vendor, board=board,
|
D | hdf_get_handler.py | 64 root = self.args.root_dir 65 vendor_root_dir = hdf_utils.get_vendor_root_dir(root) 69 hdf = hdf_utils.get_vendor_hdf_dir(root, vendor) 91 root, vendor, _, _, _ = self.get_args() 92 target = hdf_utils.get_vendor_dir(root, vendor) 102 root, vendor, _, _, _ = self.get_args() 103 hdf_dir = hdf_utils.get_vendor_hdf_dir(root, vendor) 108 vendor_k = HdfVendorKconfigFile(root, vendor, kernel=None, path='') 115 HdfModuleKconfigFile(root, module, 125 root = os.path.realpath(self.args.root_dir) [all …]
|
D | hdf_vendor_kconfig_file.py | 19 def __init__(self, root, vendor, kernel, path): argument 22 self.root = root 25 get_vendor_kconfig_path(self.root, self.kernel) 59 k_path = os.path.join(self.root, k_path_raw)
|
D | hdf_model_enable_operation.py | 23 def __init__(self, root, vendor, board, model): argument 24 self.root = root 32 self.root, self.vendor, self.board).scan_build() 37 root, kernel="linux") 81 self.root, self.vendor, self.board) 91 self.root, self.vendor, self.board) 191 return os.path.join(self.root, "kernel", kernel, "config") 194 return os.path.join(self.root, "kernel", kernel, "patches")
|
D | hdf_driver_config_file.py | 23 def __init__(self, root, board, module, driver, kernel, only_path=False): argument 24 self.root = root 30 board_path = os.path.join(self.root, bpp, self.board)
|
/drivers/hdf_core/framework/tools/hc-gen/test/34_template/ |
D | case.hcs | 2 root { 26 foo = &root.foo; 27 bar = &root.bar;
|
D | golden.d.hcs | 5 root { 27 foo = &root.foo; 28 bar = &root.bar;
|
/drivers/external_device_manager/services/native/driver_extension_manager/src/drivers_pkg_manager/ |
D | driver_info.cpp | 32 Json::Value root; in Serialize() local 33 root["bus"] = this->bus_; in Serialize() 34 root["vendor"] = this->vendor_; in Serialize() 35 root["version"] = this->version_; in Serialize() 36 root["ext_info"] = extInfo; in Serialize() 39 str = Json::writeString(builder, root); in Serialize()
|
/drivers/hdf_core/framework/tools/hc-gen/test/23_node_ref_invalid_node_ei/ |
D | case.hcs | 1 root { 3 foo : &root.bar{
|
/drivers/hdf_core/framework/tools/hc-gen/test/25_term_ref_invlid_node_ei/ |
D | case.hcs | 1 root { 4 term1 = &root.bar;
|
/drivers/hdf_core/framework/tools/hc-gen/test/24_node_copy_invlid_node_ei/ |
D | case.hcs | 1 root { 3 foo : root.bar{
|
/drivers/hdf_core/framework/utils/src/hcs_parser/ |
D | hcs_parser.c | 22 bool HcsDecompile(const char *hcsBlob, uint32_t offset, struct DeviceResourceNode **root) in HcsDecompile() argument 44 treeLayer = GenerateCfgTree(hcsBlob + offset, nodeLength, treeMem, root); in HcsDecompile() 48 *root = NULL; in HcsDecompile()
|
/drivers/hdf_core/framework/tools/hc-gen/test/29_node_copy_nested_ei/ |
D | case.hcs | 1 root { 5 bar : root.foo {
|
/drivers/hdf_core/framework/tools/hcs-view/examples/ |
D | a.hcs | 1 root { 5 ccc : root.ddd {
|
/drivers/hdf_core/framework/tools/hc-gen/test/08_term_ref/ |
D | case.hcs | 1 root { 10 term1 = &root.bar;
|
D | golden.d.hcs | 5 root { 13 term1 = &root.bar;
|
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/driver_add/linux/ |
D | mk_file_add_config.py | 39 def formate_mk_config_build(source_path, date_lines, devices, root): argument 47 date_lines, source, "", devices, root) 67 date_lines, source, "", devices, root) 72 def audio_makefile_template(date_lines, driver, source_path, head_path, devices, root): argument 82 date_lines, source, "", devices, root) 102 date_lines, "", head_file, devices, root) 116 source_path, head_path, module, driver, root, devices, board = args_tuple 134 makefile_path = os.path.join(root, temp_makefile, "Makefile") 137 date_lines, driver, source_path, head_path, devices, root)
|
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/hdi_operate/ |
D | hdi_add_handler.py | 104 root = self.args.root_dir 107 return root, version, interface_converter, interface_name 116 root = self.args.root_dir 120 return root, version, peripheral_converter, peripheral_name, board, vendor 127 root = self.args.root_dir 134 return peripheral_name, root, peripheral_converter, replace_data 137 root, version, interface_converter, interface_name = \ 175 create_file_path = self.format_file_path(dst_path, root) 179 operation_file = os.path.join(root, path_test.strip("/")) 182 config_file_path = self.format_file_path(re_config_path, root) [all …]
|
D | hdi_get_handler.py | 34 self.root = None 41 self.root = self.args.root_dir 74 lambda val: os.path.join(self.root, val), 78 lambda val: os.path.join(self.root, val),
|
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/driver_add/ |
D | hdf_add_driver.py | 31 self.root, self.vendor, self.module, self.driver, \ 33 self.template_file_path = hdf_utils.get_template_file_path(self.root) 56 self.root, self.kernel) 70 self.root, self.vendor, self.module, 76 self.root, self.vendor, self.board) 109 self.driver, self.root, self.device, self.kernel) 125 self.driver, self.root, self.device, self.kernel) 130 self.module, self.driver, self.root) 159 device_info = HdfDeviceInfoHcsFile(self.root, self.vendor, 177 self.root, self.vendor, self.kernel, self.board, [all …]
|