Linux Kernel设备驱动模型之 struct device_node

来源:互联网 发布:smtp 端口 编辑:程序博客网 时间:2024/05/18 18:52
严格说,此数据结构不是设备模型中的,它是一个DTS中节点对应的内存中设备描述,一般此
对象代表一个设备。

struct device_node { const char *name; const char *type; phandle phandle; const char *full_name; struct fwnode_handle fwnode;

 struct property *properties; struct property *deadprops; /* removed properties */ struct device_node *parent; struct device_node *child; struct device_node *sibling; struct kobject kobj; unsigned long _flags; void *data;#if defined(CONFIG_SPARC) const char *path_component_name; unsigned int unique_id; struct of_irq_controller *irq_trans;#endif};

 
 
0 0
原创粉丝点击