• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  *
3  * Copyright (c) 2021 Allwinnertech Co., Ltd.
4  * Author: libairong <libairong@allwinnertech.com>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License version 2 as
8  * published by the Free Software Foundation.
9 */
10 #ifndef __OF_SERVICE_H__
11 #define __OF_SERVICE_H__
12 
13 #define NAME_LENGTH 32
14 
15 struct device_node *get_node_by_name(char *main_name);
16 struct property *get_property_by_name(struct device_node *node,
17 		char *property_name, int *command_property_length);
18 struct property *get_property_by_index(struct device_node *node, char *config_start, int index);
19 int insert_property(struct device_node *node, struct property **new_pp, char *reference_name, int index);
20 int delete_property(struct device_node *np, struct property *prop);
21 
22 #endif
23 
24