摘要:
device_init_wakeup() static inline int device_init_wakeup(struct device *dev, bool val) { device_set_wakeup_capable(dev, val); //设置设备能不能被唤醒 device_set 阅读全文
摘要:
struct timespec64 ns_to_timespec64(const s64 nsec)用于将纳秒转成timespec64格式返回给用户 其源码分析如下: struct timespec64 ns_to_timespec64(const s64 nsec) { struct timesp 阅读全文