Fork me on GitHub
摘要: device_init_wakeup() static inline int device_init_wakeup(struct device *dev, bool val) { device_set_wakeup_capable(dev, val); //设置设备能不能被唤醒 device_set 阅读全文
posted @ 2021-03-12 15:40 yooooooo 阅读(671) 评论(0) 推荐(0) 编辑
摘要: struct timespec64 ns_to_timespec64(const s64 nsec)用于将纳秒转成timespec64格式返回给用户 其源码分析如下: struct timespec64 ns_to_timespec64(const s64 nsec) { struct timesp 阅读全文
posted @ 2021-03-12 10:57 yooooooo 阅读(462) 评论(0) 推荐(0) 编辑