Linux Kernel设备驱动模型之 struct device_node
2017-03-12 12:18
501 查看
严格说,此数据结构不是设备模型中的,它是一个DTS中节点对应的内存中设备描述,一般此
对象代表一个设备。
structdevice_node{ constchar*name; constchar*type; phandlephandle; constchar*full_name; structfwnode_handlefwnode; structproperty*properties; structproperty*deadprops;/*removedproperties*/ structdevice_node*parent; structdevice_node*child; structdevice_node*sibling; structkobjectkobj; unsignedlong_flags; void*data; #ifdefined(CONFIG_SPARC) constchar*path_component_name; unsignedintunique_id; structof_irq_controller*irq_trans; #endif };
相关文章推荐
- Linux Kernel设备驱动模型之struct device_private
- Linux Kernel设备驱动模型之 struct device_type
- Linux Kernel设备驱动模型之 struct device_driver
- Linux Kernel设备驱动模型之struct kobj_attribute
- Linux Kernel设备驱动模型之 struct driver_private
- Linux Kernel设备驱动模型之 struct subsys_private
- Linux Kernel设备驱动模型之 struct bus_type
- Linux Kernel设备驱动模型之struct kset
- Linux Kernel设备驱动模型之struct kobj_type
- Linux Kernel设备驱动模型之class 查找设备
- 设备驱动模型之device-driver
- Linux Kernel设备驱动模型之class 接口注册
- Linux内核部件分析 设备驱动模型之device-driver
- I2C设备驱动编写,struct i2c_device_id,struct i2c_driver,i2c_add_driver,i2c_register_board_info
- 嵌入式 linux下kernel代码中设备驱动模型之device-driver
- 总线设备驱动框架程序 及 struct device中消失的bus_id的取代方法
- Linux设备模型(总线、设备、驱动程序和类)之三:device_driver && 多厂家驱动自动识别
- Linux Kernel设备驱动模型之class注册
- I2C设备驱动编写,struct i2c_device_id,struct i2c_driver,i2c_add_driver,i2c_register_board_info
- Linux Kernel设备驱动模型之设备注册