dcd, sense,ktime_to_ns(kt),ktime_to_ns(serial_ir.lastkt));continue; } delkt = ktime_sub(kt, serial_ir.lastkt);if(ktime_compare(delkt, ktime_set(15,0)) >0) { data = IR_MAX_DURATION;/* really long time */if(!(dcd ^ sense)) {/* sanity check */dev_err(&serial_ir....
nsec = timecounter_cyc2time(&mdev->clock, timestamp);memset(hwts,0,sizeof(struct skb_shared_hwtstamps)); hwts->hwtstamp =ns_to_ktime(nsec); } 开发者ID:yangliang913,项目名称:fastsocket,代码行数:11,代码来源:en_clock.c 示例2: k3g_show_delay ▲点赞 5▼ staticssize_tk3g_show_dela...