kernel
BHduke
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
container_of宏
/** * container_of - cast a member of a structure out to the containing structure * @ptr: the pointer to the member. * @type: the type of the container struct this is embedded in. * @membe原创 2012-10-25 14:09:33 · 538 阅读 · 0 评论 -
nterface_to_usbdev宏
interface_to_usbdev() -- 根据usb_interface指针intf获取usb_device的地址。 interface_to_usbdev() -- 获取usb接口对应的usb设备,usb接口对应的usb设备是该接口的父亲。 #define interface_to_usbdev(intf) \ container_of(intf->dev.pare原创 2012-10-25 15:29:15 · 910 阅读 · 0 评论
分享