Linux驱动-USB协议栈简介
英文原文:Linux USB API
协议层
包格式
USB协议层都是以包为基本单元,采用LSB(先发送低位)字节序。
Host发出SOP信号后,就会发出SYNC信号:它是一系列的、最大传输频率的脉冲,接收方使用它来同步数据。对于低速/全速设备,SYNC信号是8位数据(从做到右是00000001);对于高速设备,SYNC信号是32位数据(从左到右是00000000000000000000000000000001)。使用NRZI编码时,前面每个”0”都对应一个跳变。具体包格式见下图(来自百问网):
USB包各部分介绍:
SOP用来表示包起始SYNC用来同步时钟Packet实际有效的包数据EOP用来表示包结束
包(Packet)的具体结构:
PID包类型地址USB设备的逻辑地址,Host发出的包中一般都需要包含目标设备的地址帧号和数据需要由包类型确定,具体需要查看协议文档CRC校验码
包类型(PID)
USB中数据方向都是基于Host角度来看的,out表示从Host发送数据到设备,in表示从设备发送数据到Host。由于设备都是被动响应的,因此完整的传输,都是由Host发起第一个包。
包数据里的PID按照bit1-0可以分为四大类:
- 令牌包(Token):01B
- 数据包(Data):11B
- 握手包(Handshake):10B
- 特殊包(Special):00B
PID低4位可以确定包类型,如下表所示:
PID决定了后续数据类型,为了降低出错的概率,额外增加4位用于取反校验。实际包中的PID由8位来表示,格式如下:
令牌包(Token)
令牌类的包作用是通知设备。
SOF(Start-of-Frame)令牌包是由主机固定频率发送的包。对于FS(full-speed)速率总线是间隔1.00 ms ±0.0005 ms,对于HS(high-speed)速率总线是间隔125 µs ±0.0625 µs。作用是通知所有设备,SOF令牌包格式如下:
IN/OUT/SETUP令牌包通知特定设备,格式如下:
数据包(Data)
数据包包含PID域、0或多字节数据域和一个CRC域,如下图所示。有四种类型的数据包:DATA0、DATA1、DATA2、MDATA。
握手包(Handshake)
握手包只包含PID域。握手包用于汇报数据传输的状态,返回一个值表示数据成功接收、命令接收或拒绝、流控制、halt状态。
有四种类型的握手包和一种特殊的握手包:
- ACK,表明数据包成功接收或数据域没有CRC错误且PID域正确。
- NAK,表明设备不能从host接收数据(OUT)或向host发送数据(IN)。
- STALL,设备返回的响应,可以是对IN令牌包的响应、OUT的数据阶段的响应、PING传输的响应。
- NYET,仅适用于HS设备。可以用于响应PING协议,或用于响应split传输时FS/HS设备未完成。
- ERR,仅适用于HS设备。允许HS HUB报告总线上的错误。
数据翻转同步和重试
USB提供一种确保在数据收发者间数据序列同步的机制,通过使用DATA0和DATA1包和数据收发者的序列位翻转来实现。
初始化
控制传输使用SETUP令牌包初始化host和设备序列位,如下图所示:
成功的数据传输
在每次传输中,接收者需要比较发送者的序列位(数据包PID域编码是DATA0或DATA1)是否与接收者序列位一致。若数据可接收并且收发序列位一致,序列位需要翻转。
数据损坏或不可接收
若不能接收数据或数据已经损坏,接受者会发送NAK或STALL握手包,并且不会翻转它的序列位。
损坏的ACK握手包
当发送者没有收到正确的ACK,不会翻转序列位。当超时后会重试发送相同数据,直到接收到正确的ACK。
事务(Transaction)与传输(Transfer)
USB传输最基本的单元是包(Packet),包类型是PID域表示。单一的包无法完成完整数据的传输。一个完整数据传输往往需要包含到多个包:令牌包、数据包、握手包,而这个过程被称为事务(Transaction)。单个或多个事务组合起来就是一个传输(Transfer)。
不同事务类型包含包的数量不完全相同,它取决于端点(endpoint)类型。这里有四种端点类型:批量(bulk)、控制(control)、中断(interrupt)和实时(isochronous)。
如下就是一个完整的BOT SCSI CMD传输,总共包含三个批量事务:CBW事务、SCSI DATA事务和CSW事务。而每个事务都是一个批量事务类型,都是一个三阶段的事务。
批量事务(Bulk)
批量事务类型的特点是能够通过错误检测和重试,在主机与功能之间保证数据无错误的传输。它使用三阶段的事务包括:令牌包、数据包、握手包。
常见支持批量事务的设备有:USB存储设备。
控制传输(Control)
控制传输至少有两个事务阶段:设置(Setup)和状态(Status)。控制传输可选择在设置阶段和状态阶段之间包含一个数据(Data)阶段。在设置阶段,使用 SETUP 事务将信息传送到功能的控制端点。SETUP 事务的格式类似于 OUT,但使用的是 SETUP PID 而不是 OUT PID。
下图是一个SETUP事务包含三个包:SETUP包、DATA0包、ACK包。
若存在,控制传输会包含数据阶段,由一个或多个IN或OUT事务组成,遵循与批量事务相同的协议规则。所有在数据阶段的传输事务保持相同的方向(例如全IN事务或全OUT事务)。一个SETUP总是使用DATA0的PID作为SETUP事务的数据域。
控制传输的状态阶段是序列上的最后一个事务。状态阶段事物遵循与批量事务相同的协议序列。例如,当数据阶段包含全OUT事务,状态就是一个IN事务。若控制序列没有数据阶段,则状态就是一个IN事务。
所有的USB设备必须支持的传输类型。
中断事务(Interrupt)
中断事务使用三阶段的事务包括:令牌包、数据包、握手包。
中断事务跟批量事务非常类似,不同的是Host会周期性地发送事务进行数据读写。常见支持中断事务的设备有:USB鼠标、USB键盘等。
实时事务(Isochronous)
实时事务包含一个令牌和一个数据阶段,但没有握手阶段。实时事务不支持握手阶段或重试能力。
实时事务需要Host周期性的发起,相比中断事务,不要求准确性,传输的数据量比较大。常见支持实时事务的设备有USB摄像头。
usb驱动协议栈
为分析流程,需要打开动态调试,具体方法见 Linux驱动-内核调试手段
⚠️注意:以下内核以linux-6.1为模板编写,切换到6.6版本有部分地方有问题
简略流程-接入ssp固态硬盘设备
当xHCI 控制器检测到 USB 端口状态变化,这里是有ssp设备接入。硬件生成 Port Status Change Event TRB,放入 Event Ring。1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56// xhci - xhci_hc_driver
irqreturn_t xhci_irq(struct usb_hcd *hcd)
|-xhci_handle_event(xhci, ir)
|-handle_port_status(xhci, ir, event) // work_struct机制唤醒 hcd_resume_work
// usb core - usb_generic_xhci_driver
void hcd_resume_work(struct work_struct *work)
|-usb_remote_wakeup(udev)
|-usb_autoresume_device(udev)
|-pm_runtime_get_sync(&udev->dev)
|-__pm_runtime_resume(dev, RPM_GET_PUT)
--|-callback = RPM_GET_CALLBACK(dev, runtime_resume)
--|-rpm_callback(callback, dev) // 调用 usb_runtime_resume
|-rpm_resume(dev, rpmflags)
int rpm_resume(struct device *dev, int rpmflags)
int usb_runtime_resume(struct device *dev)
|-usb_resume_interface(udev, intf, msg, udev->reset_resume)
|-driver->resume(intf) // 调用 hub_resume
int hub_resume(struct usb_interface *intf)
|-hub_activate(hub, HUB_RESUME)
|-kick_hub_wq(hub) // 触发 hub->events hub_event
void hub_event(struct work_struct *work)
|-port_event(hub, i)
|-hub_port_connect_change(hub, port1, portstatus, portchange)
|-hub_port_connect(hub, port1, portstatus, portchange)
|-usb_new_device(udev)
|-device_add(&udev->dev) // 注册设备,其中bus_probe_device(dev)会触发
int usb_probe_device(struct device *dev)
|-usb_generic_driver_probe(udev)
|-usb_set_configuration(udev, c) // 注册设备,会触发 usb_probe_interface
int usb_probe_interface(struct device *dev)
|-driver->probe(intf, id) // 调用驱动探测, 这里调用 uas_probe
// uas
int uas_probe(struct usb_interface *intf, const struct usb_device_id *id)
|-INIT_WORK(&devinfo->scan_work, uas_scan_work) // 延时调用,调用uas_scan_work
|-scsi_add_host(shost, &intf->dev) // 同步调用
|-scsi_add_host_with_dma(host, dev, dev)
void uas_scan_work(struct work_struct *work)
|-scsi_scan_host(shost)
// scsi
int scsi_add_host_with_dma(struct Scsi_Host *shost, struct device *dev, struct device *dma_dev)
/* scsi设备注册到内核 */
void scsi_scan_host(struct Scsi_Host *shost)
|-do_scsi_scan_host(shost)
|-scsi_scan_host_selected(shost, SCAN_WILD_CARD, SCAN_WILD_CARD, SCAN_WILD_CARD, 0)
|-scsi_scan_channel(shost, channel, id, lun, rescan)
|-__scsi_scan_target(&shost->shost_gendev, channel, id, lun, rescan)
|-scsi_probe_and_add_lun(starget, 0, &bflags, NULL, rescan, NULL)
|-scsi_add_lun(sdev, result, &bflags, shost->async_scan)
|-scsi_sysfs_add_sdev(sdev) // 通过调用 device_add 触发 sd_probe
int sd_probe(struct device *dev)
|-sd_revalidate_disk(gd)
/* 重新识别scsi disk基本信息 */
抓取usb日志
抓取USB大容量存储日志
USB大容量存储详细调试
1 | USB大容量存储详细调试 |
写入数据
1 | [root@tst ]# dd if=/dev/urandom of=/dev/sda bs=4K count=32 |
读取数据
1 | [root@tst ]# dd if=/dev/sda of=/dev/null bs=4k count=8 |
usbmon抓取数据包
usbmon数据结构说明
1 | # 直接抓取所有总线数据 |
Event:
- S:submission
- C:callback
- E:submission error
“Address”结构:URB type & direction:Bus number:Device address:Endpoint number
URB type & direction:
- Ci Co Control input and output
- Zi Zo Isochronous input and output
- Ii Io Interrupt input and output
- Bi Bo Bulk input and output
scsi命令简介
scsi命令解析,底层是bulk传输,每个命令包含CBW(31)+DATA(N)+CSW(13),CBW中指定每次通信的命令类型和DATA包总长度,CSW为命令的执行状态。
下面是写入WRITE_10 CBW命令的具体过程:1
2
3
4
5
6
7# WRITE_10 CBW,需要传递122880(0x01e000)大小的数据
ffff000812db3a80 889164241 S Bo:3:009:2 -115 31 = 55534243 13000000 00e00100 00000a2a 00000000 000000f0 00000000 000000
ffff000812db3a80 889164255 C Bo:3:009:2 0 31 >
ffff000812db3d80 889164258 S Bo:3:009:2 -115 122880 = 9db115df 28bbaf54 05b76254 f76172a0 8f6c83fd aadeda10 a3a784b9 49b374e7
ffff000812db3d80 889171319 C Bo:3:009:2 0 122880 >
ffff000812db3a80 889171322 S Bi:3:009:1 -115 13 <
ffff000812db3a80 889172351 C Bi:3:009:1 0 13 = 55534253 13000000 00000000 00
设备接入
1 | # 设备接入 |
写入数据
1 | # 写入数据 |
读取数据
1 | # 读取数据 |
安全弹出
1 | # 安全弹出 |
设备拔出
1 | # 拔出设备 |
抓取动态调试日志
开启模块调试1
2
3
4
5
6
7
8
9
10
11
12
13启用usbcore所有调试信息
echo "module usbcore +p" > /sys/kernel/debug/dynamic_debug/control
启用Hub事件日志
echo "module hub +p" > /sys/kernel/debug/dynamic_debug/control
启用 scsi_mod 的调试(SCSI 核心层)
echo 'module scsi_mod +p' > /sys/kernel/debug/dynamic_debug/control
启用 sd_mod 的调试(SCSI 磁盘驱动)
echo 'module sd_mod +p' > /sys/kernel/debug/dynamic_debug/control
根据实际使用的控制器选择(通过lsusb -t查看)
echo "module xhci_hcd +p" > /sys/kernel/debug/dynamic_debug/control # USB 3.0
例如调试USB存储设备
echo "module usb-storage +p" > /sys/kernel/debug/dynamic_debug/control
开启文件1
2
3
4echo file drivers/usb/core/hub.c +p > /sys/kernel/debug/dynamic_debug/control
echo file drivers/usb/core/hcd.c +p > /sys/kernel/debug/dynamic_debug/control
echo file drivers/usb/dwc3/dwc3-*.c +p > /sys/kernel/debug/dynamic_debug/control
echo file drivers/scsi/sd.c +p > /sys/kernel/debug/dynamic_debug/control
主控注册
1 | [root@tst ] |
设备接入
1 | [ 5722.347763][ C0] xhci-hcd xhci-hcd.0.auto: Port change event, 2-1, id 2, portsc: 0xa021603 |
读写数据
1 | [root@tst ]# dd if=/dev/urandom of=/dev/sda bs=1K count=8K |
移除SCSI缓存
1 | [root@tst ]# echo 1 > /sys/class/block/sda/device/delete |
安全弹出
1 | [root@tst ] |
设备拔出
1 | [ 981.667755][ C0] xhci-hcd xhci-hcd.0.auto: Port change event, 2-1, id 2, portsc: 0xc0202a0 |
抓取函数堆栈
通过dump_stack()函数,查看特定函数的堆栈
xhci_halt
1 | // linux-6.6.64/drivers/usb/host/xhci.c |
xhci_run
1 | // linux-6.6.64/drivers/usb/host/xhci.c |
usb_get_langid
1 | // linux-6.6.64/drivers/usb/core/message.c |
usb_probe_device
1 | // linux-6.6.64/drivers/usb/core/driver.c |
xhci_add_endpoint
1 | // linux-6.6.64/drivers/usb/host/xhci.c |
xhci_check_bandwidth
1 | // linux-6.6.64/drivers/usb/host/xhci.c |
xhci_set_port_power
1 | // linux-6.6.64/drivers/usb/host/xhci-hub.c |
usb_device_supports_lpm
1 | // linux-6.6.64/drivers/usb/core/hub.c |
抓取ftrace函数调用
配置ftrace1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27cd /sys/kernel/debug/tracing
echo function_graph > current_tracer
echo __dwc3_set_mode > set_graph_function
echo uas_probe >> set_graph_function
echo scsi_add_host >> set_graph_function
echo sd_probe >> set_graph_function
echo hcd_resume_work >> set_graph_function
echo submit_bio >> set_graph_function
# echo usb_hcd_irq >> set_graph_function # 查看寄存器
echo xhci_* > set_ftrace_filter
echo usb_* >> set_ftrace_filter
echo *dwc3* >> set_ftrace_filter
echo hcd_* >> set_ftrace_filter
echo uas_* >> set_ftrace_filter
echo scsi_* >> set_ftrace_filter
echo sd_* >> set_ftrace_filter
echo _dev_info > set_ftrace_notrace
echo mutex* >> set_ftrace_notrace
echo _raw_spin* >> set_ftrace_notrace
echo __pm_runtime* >> set_ftrace_notrace
echo xhci_dbg_trace >> set_ftrace_notrace
echo nosleep-time > trace_options
echo nograph-time > trace_options
echo noirq-info > trace_options
echo noannotate > trace_options
echo 20 > max_graph_depth
cd -
抓取ftrace1
2
3
4
5
6
7
8
9echo device > /sys/class/usb_role/22100000.dwc3-role-switch/role
sleep 3
echo > /sys/kernel/debug/tracing/trace
echo 1 > /sys/kernel/debug/tracing/tracing_on
echo host > /sys/class/usb_role/22100000.dwc3-role-switch/role
sleep 3
echo 0 > /sys/kernel/debug/tracing/tracing_on
cat /sys/kernel/debug/tracing/trace > /tmp/trace.log
主控注册
1 | echo device > /sys/class/usb_role/22100000.dwc3-role-switch/role |
1 | # tracer: function_graph |
设备接入
1 | cd /sys/kernel/debug/tracing |
屏蔽usb_hcd_irq函数的数据1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606# tracer: function_graph
#
# CPU DURATION FUNCTION CALLS
# | | | | | | |
0) | hcd_resume_work() {
0) | usb_remote_wakeup() {
0) | usb_autoresume_device() {
0) | usb_runtime_resume() {
0) | usb_resume_both() {
0) | usb_generic_driver_resume() {
0) | hcd_bus_resume() {
0) | xhci_bus_resume() {
0) 0.575 us | usb_hcd_is_primary_hcd();
0) 0.300 us | usb_hcd_is_primary_hcd();
0) 7.880 us | }
0) 0.310 us | usb_phy_roothub_calibrate();
0) 0.460 us | usb_set_device_state();
0) 0.390 us | usb_hub_find_child();
0) 0.315 us | usb_hub_find_child();
0) # 4368.280 us | }
0) # 4369.485 us | }
0) | usb_resume_interface.isra.13() {
0) | hub_resume() {
0) | hub_activate() {
0) | hub_ext_port_status() {
0) | usb_control_msg() {
0) 0.425 us | usb_alloc_urb();
0) | usb_start_wait_urb() {
0) | usb_submit_urb() {
0) | usb_hcd_submit_urb() {
0) | usb_get_urb() {
0) 0.350 us | usb_get_urb.part.12();
0) 1.015 us | }
0) 0.500 us | usb_hcd_link_urb_to_ep();
0) | xhci_hub_control() {
0) 0.315 us | usb_hcd_is_primary_hcd();
0) 0.300 us | usb_hcd_is_primary_hcd();
0) | xhci_get_port_status.isra.17() {
0) 0.290 us | usb_hcd_is_primary_hcd();
0) 0.305 us | usb_hcd_is_primary_hcd();
0) 1.570 us | }
0) # 8703.435 us | }
0) 0.315 us | usb_hcd_unlink_urb_from_ep();
0) 2.040 us | usb_hcd_giveback_urb();
0) # 8710.875 us | }
0) # 8711.840 us | }
0) 0.380 us | usb_free_urb();
0) # 8713.275 us | }
0) # 8715.220 us | }
0) # 8716.370 us | }
0) 0.540 us | hub_port_warm_reset_required();
0) | usb_clear_port_feature() {
0) | usb_control_msg() {
0) 0.380 us | usb_alloc_urb();
0) | usb_start_wait_urb() {
0) | usb_submit_urb() {
0) | usb_hcd_submit_urb() {
0) | usb_get_urb() {
0) 0.470 us | usb_get_urb.part.12();
0) 1.155 us | }
0) 0.320 us | usb_hcd_link_urb_to_ep();
0) | xhci_hub_control() {
0) 0.300 us | usb_hcd_is_primary_hcd();
0) 0.300 us | usb_hcd_is_primary_hcd();
0) # 8092.335 us | }
0) 0.465 us | usb_hcd_unlink_urb_from_ep();
0) 1.130 us | usb_hcd_giveback_urb();
0) # 8097.990 us | }
0) # 8098.745 us | }
0) 0.500 us | usb_free_urb();
0) # 8100.150 us | }
0) # 8101.515 us | }
0) # 8102.225 us | }
0) | usb_submit_urb() {
0) | usb_hcd_submit_urb() {
0) | usb_get_urb() {
0) 0.355 us | usb_get_urb.part.12();
0) 0.985 us | }
0) 0.310 us | usb_hcd_link_urb_to_ep();
0) 2.970 us | }
0) 3.730 us | }
0) 0.375 us | usb_autopm_get_interface_no_resume();
0) * 22405.71 us | }
0) | xhci_get_resuming_ports() {
0) 0.300 us | usb_hcd_is_primary_hcd();
0) 1.025 us | }
0) * 26591.95 us | }
0) * 26592.78 us | }
0) * 30963.48 us | }
0) * 30964.18 us | }
0) * 30966.35 us | }
0) | usb_autosuspend_device() {
0) 0.455 us | usb_runtime_suspend();
0) 1.735 us | }
0) * 35505.47 us | }
0) * 35510.29 us | }
0) | hub_event() {
0) | usb_hcd_poll_rh_status() {
0) | xhci_hub_status_data() {
0) 0.325 us | usb_hcd_is_primary_hcd();
0) 0.300 us | usb_hcd_is_primary_hcd();
0) 3.465 us | }
0) 4.215 us | }
0) 0.845 us | usb_autopm_get_interface();
0) | hub_ext_port_status() {
0) | usb_control_msg() {
0) 0.355 us | usb_alloc_urb();
0) | usb_start_wait_urb() {
0) | usb_submit_urb() {
0) | usb_hcd_submit_urb() {
0) | usb_get_urb() {
0) 0.465 us | usb_get_urb.part.12();
0) 1.165 us | }
0) 0.305 us | usb_hcd_link_urb_to_ep();
0) | xhci_hub_control() {
0) 0.295 us | usb_hcd_is_primary_hcd();
0) 0.295 us | usb_hcd_is_primary_hcd();
0) | xhci_get_port_status.isra.17() {
0) 0.285 us | usb_hcd_is_primary_hcd();
0) 0.285 us | usb_hcd_is_primary_hcd();
0) 1.430 us | }
0) # 8439.305 us | }
0) 0.310 us | usb_hcd_unlink_urb_from_ep();
0) 1.135 us | usb_hcd_giveback_urb();
0) # 8445.020 us | }
0) # 8445.650 us | }
0) 0.375 us | usb_free_urb();
0) # 8446.925 us | }
0) # 8448.525 us | }
0) # 8449.160 us | }
0) 0.310 us | hub_port_warm_reset_required();
0) | usb_alloc_dev() {
0) 0.335 us | usb_get_hcd();
0) | xhci_alloc_dev() {
0) 0.295 us | usb_hcd_is_primary_hcd();
0) 0.430 us | xhci_alloc_command();
0) | xhci_queue_slot_control() {
0) 0.720 us | xhci_mod_cmd_timer();
0) 2.670 us | }
0) | xhci_ring_cmd_db() {
0) # 5570.740 us | xhci_ring_cmd_db.part.52();
0) # 5571.330 us | }
0) | usb_hcd_irq() {
0) | xhci_irq() {
0) 0.315 us | usb_hcd_is_primary_hcd();
0) 1.200 us | xhci_update_erst_dequeue.isra.49();
0) 6.300 us | }
0) 6.885 us | }
0) 0.385 us | xhci_free_command();
0) | xhci_alloc_virt_device() {
0) 1.075 us | xhci_alloc_container_ctx();
0) 0.870 us | xhci_alloc_container_ctx();
0) | xhci_ring_alloc() {
0) | xhci_alloc_segments_for_ring() {
0) 1.030 us | xhci_segment_alloc();
0) 0.940 us | xhci_segment_alloc();
0) 0.620 us | xhci_link_segments.part.16();
0) 0.660 us | xhci_link_segments.part.16();
0) 5.790 us | }
0) 6.960 us | }
0) * 26187.72 us | }
0) 1.195 us | xhci_get_slot_ctx();
0) | xhci_debugfs_create_slot() {
0) 9.420 us | xhci_debugfs_create_ring_dir.isra.15();
0) + 21.690 us | }
0) * 31798.71 us | }
0) 0.385 us | usb_enable_endpoint();
0) | usb_hcd_find_raw_port_number() {
0) | xhci_find_raw_port_number() {
0) | xhci_get_rhub() {
0) 0.315 us | usb_hcd_is_primary_hcd();
0) 0.900 us | }
0) 1.670 us | }
0) 2.470 us | }
0) 0.995 us | usb_of_get_device_node();
0) * 31808.61 us | }
0) 1.660 us | usb_set_device_state();
0) | hub_port_init() {
0) | hub_port_reset() {
0) | hub_ext_port_status() {
0) | usb_control_msg() {
0) 0.350 us | usb_alloc_urb();
0) | usb_start_wait_urb() {
0) | usb_submit_urb() {
0) | usb_hcd_submit_urb() {
0) | usb_get_urb() {
0) 0.310 us | usb_get_urb.part.12();
0) 0.880 us | }
0) 0.315 us | usb_hcd_link_urb_to_ep();
0) | xhci_hub_control() {
0) 0.295 us | usb_hcd_is_primary_hcd();
0) 0.445 us | usb_hcd_is_primary_hcd();
0) | xhci_get_port_status.isra.17() {
0) 0.285 us | usb_hcd_is_primary_hcd();
0) 0.290 us | usb_hcd_is_primary_hcd();
0) 1.405 us | }
0) # 8439.935 us | }
0) 0.315 us | usb_hcd_unlink_urb_from_ep();
0) 1.365 us | usb_hcd_giveback_urb();
0) # 8445.420 us | }
0) # 8446.080 us | }
0) 0.345 us | usb_free_urb();
0) # 8447.425 us | }
0) # 8448.695 us | }
0) # 8449.310 us | }
0) 0.315 us | hub_port_warm_reset_required();
0) | usb_control_msg() {
0) 0.350 us | usb_alloc_urb();
0) | usb_start_wait_urb() {
0) | usb_submit_urb() {
0) | usb_hcd_submit_urb() {
0) | usb_get_urb() {
0) 0.315 us | usb_get_urb.part.12();
0) 0.865 us | }
0) 0.310 us | usb_hcd_link_urb_to_ep();
0) | xhci_hub_control() {
0) 0.300 us | usb_hcd_is_primary_hcd();
0) 0.295 us | usb_hcd_is_primary_hcd();
0) | usb_hcd_irq() {
0) | xhci_irq() {
0) 0.290 us | usb_hcd_is_primary_hcd();
0) | usb_hcd_poll_rh_status() {
0) | xhci_hub_status_data() {
0) 0.295 us | usb_hcd_is_primary_hcd();
0) 0.295 us | usb_hcd_is_primary_hcd();
0) 1.905 us | }
0) 2.755 us | }
0) 1.190 us | xhci_update_erst_dequeue.isra.49();
0) * 16962.56 us | }
0) * 16963.19 us | }
0) * 25578.49 us | }
0) 0.415 us | usb_hcd_unlink_urb_from_ep();
0) 1.055 us | usb_hcd_giveback_urb();
0) * 25583.91 us | }
0) * 25584.54 us | }
0) 0.325 us | usb_free_urb();
0) * 25585.78 us | }
0) * 25587.19 us | }
0) | hub_ext_port_status() {
0) | usb_control_msg() {
0) 1.120 us | usb_alloc_urb();
0) | usb_start_wait_urb() {
0) | usb_submit_urb() {
0) | usb_hcd_submit_urb() {
0) | usb_get_urb() {
0) 0.590 us | usb_get_urb.part.12();
0) 1.160 us | }
0) 0.310 us | usb_hcd_link_urb_to_ep();
0) | xhci_hub_control() {
0) 0.295 us | usb_hcd_is_primary_hcd();
0) 0.300 us | usb_hcd_is_primary_hcd();
0) | xhci_get_port_status.isra.17() {
0) 0.300 us | usb_hcd_is_primary_hcd();
0) 0.295 us | usb_hcd_is_primary_hcd();
0) 1.465 us | }
0) # 8874.310 us | }
0) 0.340 us | usb_hcd_unlink_urb_from_ep();
0) 1.010 us | usb_hcd_giveback_urb();
0) # 8879.645 us | }
0) # 8880.270 us | }
0) 0.335 us | usb_free_urb();
0) # 8881.510 us | }
0) # 8883.830 us | }
0) # 8884.500 us | }
0) 0.305 us | hub_port_warm_reset_required();
0) | usb_clear_port_feature() {
0) | usb_control_msg() {
0) 0.340 us | usb_alloc_urb();
0) | usb_start_wait_urb() {
0) | usb_submit_urb() {
0) | usb_hcd_submit_urb() {
0) | usb_get_urb() {
0) 0.315 us | usb_get_urb.part.12();
0) 0.880 us | }
0) 0.315 us | usb_hcd_link_urb_to_ep();
0) | xhci_hub_control() {
0) 0.305 us | usb_hcd_is_primary_hcd();
0) 0.305 us | usb_hcd_is_primary_hcd();
0) # 7918.110 us | }
0) 0.310 us | usb_hcd_unlink_urb_from_ep();
0) 1.030 us | usb_hcd_giveback_urb();
0) # 7923.100 us | }
0) # 7923.715 us | }
0) 0.340 us | usb_free_urb();
0) # 7925.155 us | }
0) # 7926.455 us | }
0) # 7927.055 us | }
0) | usb_clear_port_feature() {
0) | usb_control_msg() {
0) 0.330 us | usb_alloc_urb();
0) | usb_start_wait_urb() {
0) | usb_submit_urb() {
0) | usb_hcd_submit_urb() {
0) | usb_get_urb() {
0) 0.315 us | usb_get_urb.part.12();
0) 0.870 us | }
0) 0.315 us | usb_hcd_link_urb_to_ep();
0) | xhci_hub_control() {
0) 0.300 us | usb_hcd_is_primary_hcd();
0) 0.290 us | usb_hcd_is_primary_hcd();
0) # 8697.840 us | }
0) 0.320 us | usb_hcd_unlink_urb_from_ep();
0) 1.010 us | usb_hcd_giveback_urb();
0) # 8702.690 us | }
0) # 8703.305 us | }
0) 0.330 us | usb_free_urb();
0) # 8704.530 us | }
0) # 8705.805 us | }
0) # 8706.390 us | }
0) | usb_clear_port_feature() {
0) | usb_control_msg() {
0) 0.335 us | usb_alloc_urb();
0) | usb_start_wait_urb() {
0) | usb_submit_urb() {
0) | usb_hcd_submit_urb() {
0) | usb_get_urb() {
0) 0.305 us | usb_get_urb.part.12();
0) 0.995 us | }
0) 0.325 us | usb_hcd_link_urb_to_ep();
0) | xhci_hub_control() {
0) 0.295 us | usb_hcd_is_primary_hcd();
0) 0.300 us | usb_hcd_is_primary_hcd();
0) # 8350.870 us | }
0) 0.305 us | usb_hcd_unlink_urb_from_ep();
0) 0.940 us | usb_hcd_giveback_urb();
0) # 8356.545 us | }
0) # 8357.355 us | }
0) 0.330 us | usb_free_urb();
0) # 8358.590 us | }
0) # 8360.145 us | }
0) # 8360.730 us | }
0) | usb_clear_port_feature() {
0) | usb_control_msg() {
0) 0.335 us | usb_alloc_urb();
0) | usb_start_wait_urb() {
0) | usb_submit_urb() {
0) | usb_hcd_submit_urb() {
0) | usb_get_urb() {
0) 0.305 us | usb_get_urb.part.12();
0) 0.870 us | }
0) 0.310 us | usb_hcd_link_urb_to_ep();
0) | xhci_hub_control() {
0) 0.300 us | usb_hcd_is_primary_hcd();
0) 0.295 us | usb_hcd_is_primary_hcd();
0) # 8090.860 us | }
0) 0.315 us | usb_hcd_unlink_urb_from_ep();
0) 0.940 us | usb_hcd_giveback_urb();
0) # 8095.730 us | }
0) # 8096.335 us | }
0) 0.330 us | usb_free_urb();
0) # 8097.555 us | }
0) # 8098.810 us | }
0) # 8099.400 us | }
0) | hub_ext_port_status() {
0) | usb_control_msg() {
0) 0.340 us | usb_alloc_urb();
0) | usb_start_wait_urb() {
0) | usb_submit_urb() {
0) | usb_hcd_submit_urb() {
0) | usb_get_urb() {
0) 0.300 us | usb_get_urb.part.12();
0) 0.865 us | }
0) 0.315 us | usb_hcd_link_urb_to_ep();
0) | xhci_hub_control() {
0) 0.295 us | usb_hcd_is_primary_hcd();
0) 0.285 us | usb_hcd_is_primary_hcd();
0) | xhci_get_port_status.isra.17() {
0) 0.305 us | usb_hcd_is_primary_hcd();
0) 0.290 us | usb_hcd_is_primary_hcd();
0) 1.490 us | }
0) # 8439.505 us | }
0) 0.310 us | usb_hcd_unlink_urb_from_ep();
0) 0.925 us | usb_hcd_giveback_urb();
0) # 8444.280 us | }
0) # 8444.890 us | }
0) 0.330 us | usb_free_urb();
0) # 8446.155 us | }
0) # 8447.440 us | }
0) # 8448.095 us | }
0) 0.295 us | hub_port_warm_reset_required();
0) | xhci_discover_or_reset_device() {
0) | xhci_check_args() {
0) 0.335 us | usb_hcd_is_primary_hcd();
0) 1.155 us | }
0) 0.290 us | usb_hcd_is_primary_hcd();
0) 0.295 us | xhci_get_slot_ctx();
0) 3.220 us | }
0) 0.645 us | usb_set_device_state();
0) * 84476.62 us | }
0) 0.530 us | usb_speed_string();
0) | xhci_address_device() {
0) | xhci_setup_device() {
0) 0.290 us | usb_hcd_is_primary_hcd();
0) 0.880 us | xhci_get_slot_ctx();
0) 0.480 us | xhci_alloc_command();
0) 0.315 us | xhci_get_slot_ctx();
0) 0.300 us | xhci_get_input_control_ctx();
0) | xhci_setup_addressable_virt_dev() {
0) | xhci_find_raw_port_number() {
0) | xhci_get_rhub() {
0) 0.295 us | usb_hcd_is_primary_hcd();
0) 0.865 us | }
0) 1.495 us | }
0) * 26453.05 us | }
0) | xhci_queue_address_device() {
0) 0.540 us | xhci_mod_cmd_timer();
0) 1.985 us | }
0) | xhci_ring_cmd_db() {
0) # 5569.510 us | xhci_ring_cmd_db.part.52();
0) # 5570.080 us | }
0) 0.485 us | xhci_get_slot_ctx();
0) * 70998.68 us | }
0) * 70999.70 us | }
0) 0.595 us | usb_set_device_state();
0) | usb_ep0_reinit() {
0) | usb_disable_endpoint() {
0) 0.335 us | usb_hcd_flush_endpoint();
0) | usb_hcd_disable_endpoint() {
0) | xhci_endpoint_disable() {
0) 0.300 us | usb_hcd_is_primary_hcd();
0) 1.085 us | }
0) 1.865 us | }
0) 3.420 us | }
0) | usb_disable_endpoint() {
0) 0.320 us | usb_hcd_flush_endpoint();
0) | usb_hcd_disable_endpoint() {
0) | xhci_endpoint_disable() {
0) 0.295 us | usb_hcd_is_primary_hcd();
0) 0.865 us | }
0) 1.435 us | }
0) 2.625 us | }
0) | usb_enable_endpoint() {
0) | usb_hcd_reset_endpoint() {
0) | xhci_endpoint_reset() {
0) 0.300 us | usb_hcd_is_primary_hcd();
0) 0.995 us | }
0) 1.620 us | }
0) 2.200 us | }
0) 9.585 us | }
0) | usb_control_msg() {
0) 0.395 us | usb_alloc_urb();
0) | usb_start_wait_urb() {
0) | usb_submit_urb() {
0) | usb_hcd_submit_urb() {
0) | usb_get_urb() {
0) 0.300 us | usb_get_urb.part.12();
0) 0.880 us | }
0) | xhci_map_urb_for_dma() {
0) 0.295 us | usb_hcd_is_primary_hcd();
0) 2.225 us | usb_hcd_map_urb_for_dma();
0) 3.480 us | }
0) | xhci_urb_enqueue() {
0) 0.305 us | usb_hcd_is_primary_hcd();
0) | xhci_check_args() {
0) 0.310 us | usb_hcd_is_primary_hcd();
0) 1.020 us | }
0) | xhci_queue_ctrl_tx() {
0) 0.290 us | xhci_get_endpoint_index();
0) | xhci_triad_to_transfer_ring() {
0) 0.300 us | xhci_get_virt_ep();
0) 0.305 us | xhci_virt_ep_to_ring();
0) 1.440 us | }
0) 0.300 us | xhci_get_ep_ctx();
0) | xhci_triad_to_transfer_ring() {
0) 0.300 us | xhci_get_virt_ep();
0) 0.290 us | xhci_virt_ep_to_ring();
0) 1.410 us | }
0) 0.315 us | usb_hcd_link_urb_to_ep();
0) 0.330 us | xhci_td_remainder();
0) 1.260 us | xhci_ring_ep_doorbell();
0) + 10.160 us | }
0) + 12.975 us | }
0) + 18.915 us | }
0) + 20.220 us | }
0) 0.365 us | usb_free_urb();
0) + 22.735 us | }
0) + 24.210 us | }
0) | usb_set_isoch_delay() {
0) | usb_control_msg_send() {
0) | usb_control_msg() {
0) 0.385 us | usb_alloc_urb();
0) | usb_start_wait_urb() {
0) | usb_submit_urb() {
0) | usb_hcd_submit_urb() {
0) | usb_get_urb() {
0) 0.305 us | usb_get_urb.part.12();
0) 0.885 us | }
0) | xhci_map_urb_for_dma() {
0) 0.310 us | usb_hcd_is_primary_hcd();
0) 0.925 us | }
0) | xhci_urb_enqueue() {
0) 0.310 us | usb_hcd_is_primary_hcd();
0) | xhci_check_args() {
0) 0.305 us | usb_hcd_is_primary_hcd();
0) 0.865 us | }
0) | xhci_queue_ctrl_tx() {
0) 0.285 us | xhci_get_endpoint_index();
0) | xhci_triad_to_transfer_ring() {
0) 0.300 us | xhci_get_virt_ep();
0) 0.285 us | xhci_virt_ep_to_ring();
0) 1.415 us | }
0) 0.290 us | xhci_get_ep_ctx();
0) | xhci_triad_to_transfer_ring() {
0) 0.310 us | xhci_get_virt_ep();
0) 0.285 us | xhci_virt_ep_to_ring();
0) 1.405 us | }
0) 0.315 us | usb_hcd_link_urb_to_ep();
0) 1.235 us | xhci_ring_ep_doorbell();
0) 8.685 us | }
0) + 11.125 us | }
0) + 14.150 us | }
0) + 14.730 us | }
0) 0.370 us | usb_free_urb();
0) + 16.975 us | }
0) + 18.315 us | }
0) + 18.915 us | }
0) + 19.590 us | }
0) | usb_get_device_descriptor() {
0) | usb_get_descriptor() {
0) | usb_control_msg() {
0) 0.340 us | usb_alloc_urb();
0) | usb_start_wait_urb() {
0) | usb_submit_urb() {
0) | usb_hcd_submit_urb() {
0) | usb_get_urb() {
0) 0.310 us | usb_get_urb.part.12();
0) 0.870 us | }
0) | xhci_map_urb_for_dma() {
0) 0.305 us | usb_hcd_is_primary_hcd();
0) 0.765 us | usb_hcd_map_urb_for_dma();
0) 1.905 us | }
0) | xhci_urb_enqueue() {
0) 0.295 us | usb_hcd_is_primary_hcd();
0) | xhci_check_args() {
0) 0.295 us | usb_hcd_is_primary_hcd();
0) 1.035 us | }
0) | xhci_queue_ctrl_tx() {
0) 0.295 us | xhci_get_endpoint_index();
0) | xhci_triad_to_transfer_ring() {
0) 0.515 us | xhci_get_virt_ep();
0) 0.290 us | xhci_virt_ep_to_ring();
0) 1.645 us | }
0) 0.290 us | xhci_get_ep_ctx();
0) | xhci_triad_to_transfer_ring() {
0) 0.305 us | xhci_get_virt_ep();
0) 0.290 us | xhci_virt_ep_to_ring();
0) 1.410 us | }
0) 0.310 us | usb_hcd_link_urb_to_ep();
0) 0.315 us | xhci_td_remainder();
0) 1.230 us | xhci_ring_ep_doorbell();
0) 9.825 us | }
0) + 13.075 us | }
0) + 17.105 us | }
0) + 17.695 us | }
0) 0.350 us | usb_free_urb();
0) + 19.770 us | }
0) + 21.195 us | }
0) + 22.030 us | }
0) + 22.815 us | }
0) | usb_detect_quirks() {
0) | usb_detect_static_quirks() {
0) 0.300 us | usb_match_device();
0) 0.305 us | usb_match_device();
0) 0.295 us | usb_match_device();
0) 0.305 us | usb_match_device();
0) 0.300 us | usb_match_device();
0) 0.305 us | usb_match_device();
0) 0.300 us | usb_match_device();
0) 0.305 us | usb_match_device();
0) 0.300 us | usb_match_device();
0) 0.295 us | usb_match_device();
0) 0.300 us | usb_match_device();
0) 0.300 us | usb_match_device();
0) 0.310 us | usb_match_device();
0) 0.305 us | usb_match_device();
0) 0.310 us | usb_match_device();
0) 0.300 us | usb_match_device();
0) 0.300 us | usb_match_device();
0) 0.295 us | usb_match_device();
0) 0.295 us | usb_match_device();
0) 0.300 us | usb_match_device();
0) 0.300 us | usb_match_device();
0) 0.295 us | usb_match_device();
0) 0.300 us | usb_match_device();
0) 0.305 us | usb_match_device();
0) 0.300 us | usb_match_device();
0) 0.300 us | usb_match_device();
0) 0.290 us | usb_match_device();
0) 0.300 us | usb_match_device();
0) 0.300 us | usb_match_device();
0) 0.300 us | usb_match_device();
0) 0.315 us | usb_match_device();
0) 0.305 us | usb_match_device();
0) 0.295 us | usb_match_device();
0) 0.315 us | usb_match_device();
0) 0.295 us | usb_match_device();
0) 0.300 us | usb_match_device();
0) 0.295 us | usb_match_device();
0) 0.305 us | usb_match_device();
0) 0.305 us | usb_match_device();
0) 0.305 us | usb_match_device();
0) 0.300 us | usb_match_device();
0) 0.290 us | usb_match_device();
0) 0.295 us | usb_match_device();
0) 0.300 us | usb_match_device();
0) 0.300 us | usb_match_device();
0) 0.295 us | usb_match_device();
0) 0.310 us | usb_match_device();
0) 0.310 us | usb_match_device();
0) 0.300 us | usb_match_device();
0) 0.295 us | usb_match_device();
0) 0.295 us | usb_match_device();
0) 0.295 us | usb_match_device();
0) 0.305 us | usb_match_device();
0) 0.295 us | usb_match_device();
0) 0.295 us | usb_match_device();
0) 0.295 us | usb_match_device();
0) 0.290 us | usb_match_device();
0) 0.300 us | usb_match_device();
0) 0.295 us | usb_match_device();
0) 0.310 us | usb_match_device();
0) 0.300 us | usb_match_device();
0) 0.295 us | usb_match_device();
0) 0.295 us | usb_match_device();
0) 0.290 us | usb_match_device();
0) 0.300 us | usb_match_device();
0) 0.300 us | usb_match_device();
0) 0.300 us | usb_match_device();
0) 0.430 us | usb_match_device();
0) 0.300 us | usb_match_device();
0) 0.300 us | usb_match_device();
0) 0.290 us | usb_match_device();
0) 0.305 us | usb_match_device();
0) 0.330 us | usb_match_device();
0) 0.300 us | usb_match_device();
0) 0.295 us | usb_match_device();
0) 0.310 us | usb_match_device();
0) 0.295 us | usb_match_device();
0) 0.295 us | usb_match_device();
0) 0.295 us | usb_match_device();
0) 0.295 us | usb_match_device();
0) 0.300 us | usb_match_device();
0) 0.305 us | usb_match_device();
0) 0.295 us | usb_match_device();
0) 0.295 us | usb_match_device();
0) 0.305 us | usb_match_device();
0) 0.300 us | usb_match_device();
0) 0.300 us | usb_match_device();
0) 0.300 us | usb_match_device();
0) 0.295 us | usb_match_device();
0) 0.295 us | usb_match_device();
0) 0.305 us | usb_match_device();
0) 0.300 us | usb_match_device();
0) 0.320 us | usb_match_device();
0) 0.295 us | usb_match_device();
0) 0.300 us | usb_match_device();
0) 0.295 us | usb_match_device();
0) 0.295 us | usb_match_device();
0) 0.295 us | usb_match_device();
0) 0.290 us | usb_match_device();
0) 0.295 us | usb_match_device();
0) 0.905 us | usb_match_device();
0) 0.295 us | usb_match_device();
0) 0.300 us | usb_match_device();
0) 0.325 us | usb_match_device();
0) 0.300 us | usb_match_device();
0) 0.295 us | usb_match_device();
0) 0.295 us | usb_match_device();
0) 0.295 us | usb_match_device();
0) 0.300 us | usb_match_device();
0) 0.300 us | usb_match_device();
0) 0.290 us | usb_match_device();
0) 0.310 us | usb_match_device();
0) 0.295 us | usb_match_device();
0) 0.300 us | usb_match_device();
0) 0.300 us | usb_match_device();
0) 0.305 us | usb_match_device();
0) 0.295 us | usb_match_device();
0) 0.295 us | usb_match_device();
0) 0.295 us | usb_match_device();
0) 0.295 us | usb_match_device();
0) 0.290 us | usb_match_device();
0) + 71.395 us | }
0) + 72.460 us | }
0) | usb_get_bos_descriptor() {
0) | usb_get_descriptor() {
0) | usb_control_msg() {
0) 0.340 us | usb_alloc_urb();
0) | usb_start_wait_urb() {
0) | usb_submit_urb() {
0) | usb_hcd_submit_urb() {
0) | usb_get_urb() {
0) 0.310 us | usb_get_urb.part.12();
0) 0.885 us | }
0) | xhci_map_urb_for_dma() {
0) 0.305 us | usb_hcd_is_primary_hcd();
0) 0.640 us | usb_hcd_map_urb_for_dma();
0) 1.770 us | }
0) | xhci_urb_enqueue() {
0) 0.300 us | usb_hcd_is_primary_hcd();
0) | xhci_check_args() {
0) 0.305 us | usb_hcd_is_primary_hcd();
0) 0.865 us | }
0) | xhci_queue_ctrl_tx() {
0) 0.290 us | xhci_get_endpoint_index();
0) | xhci_triad_to_transfer_ring() {
0) 0.300 us | xhci_get_virt_ep();
0) 0.290 us | xhci_virt_ep_to_ring();
0) 1.420 us | }
0) 0.290 us | xhci_get_ep_ctx();
0) | xhci_triad_to_transfer_ring() {
0) 0.300 us | xhci_get_virt_ep();
0) 0.320 us | xhci_virt_ep_to_ring();
0) 1.430 us | }
0) 0.315 us | usb_hcd_link_urb_to_ep();
0) 0.295 us | xhci_td_remainder();
0) 1.230 us | xhci_ring_ep_doorbell();
0) 9.590 us | }
0) + 11.940 us | }
0) + 15.715 us | }
0) + 16.305 us | }
0) 0.350 us | usb_free_urb();
0) + 18.325 us | }
0) + 19.575 us | }
0) + 20.375 us | }
0) | usb_get_descriptor() {
0) | usb_control_msg() {
0) 0.335 us | usb_alloc_urb();
0) | usb_start_wait_urb() {
0) | usb_submit_urb() {
0) | usb_hcd_submit_urb() {
0) | usb_get_urb() {
0) 0.890 us | usb_get_urb.part.12();
0) 1.460 us | }
0) | xhci_map_urb_for_dma() {
0) 0.295 us | usb_hcd_is_primary_hcd();
0) 0.650 us | usb_hcd_map_urb_for_dma();
0) 1.780 us | }
0) | xhci_urb_enqueue() {
0) 0.295 us | usb_hcd_is_primary_hcd();
0) | xhci_check_args() {
0) 0.300 us | usb_hcd_is_primary_hcd();
0) 0.850 us | }
0) | xhci_queue_ctrl_tx() {
0) 0.290 us | xhci_get_endpoint_index();
0) | xhci_triad_to_transfer_ring() {
0) 0.295 us | xhci_get_virt_ep();
0) 0.280 us | xhci_virt_ep_to_ring();
0) 1.405 us | }
0) 0.295 us | xhci_get_ep_ctx();
0) | xhci_triad_to_transfer_ring() {
0) 0.300 us | xhci_get_virt_ep();
0) 0.300 us | xhci_virt_ep_to_ring();
0) 1.415 us | }
0) 0.310 us | usb_hcd_link_urb_to_ep();
0) 0.300 us | xhci_td_remainder();
0) 1.230 us | xhci_ring_ep_doorbell();
0) 9.630 us | }
0) + 11.925 us | }
0) + 16.300 us | }
0) + 16.890 us | }
0) 0.375 us | usb_free_urb();
0) + 18.925 us | }
0) + 20.185 us | }
0) + 20.990 us | }
0) + 42.640 us | }
0) 0.315 us | usb_device_supports_lpm.part.47();
0) | xhci_update_device() {
0) 0.300 us | usb_hcd_is_primary_hcd();
0) 0.895 us | }
0) @ 164027.3 us | }
0) | usb_new_device() {
0) 0.610 us | usb_disable_autosuspend();
0) | usb_get_configuration() {
0) | usb_get_descriptor() {
0) | usb_control_msg() {
0) 0.335 us | usb_alloc_urb();
0) | usb_start_wait_urb() {
0) | usb_submit_urb() {
0) | usb_hcd_submit_urb() {
0) | usb_get_urb() {
0) 0.325 us | usb_get_urb.part.12();
0) 0.890 us | }
0) | xhci_map_urb_for_dma() {
0) 0.300 us | usb_hcd_is_primary_hcd();
0) 0.635 us | usb_hcd_map_urb_for_dma();
0) 1.785 us | }
0) | xhci_urb_enqueue() {
0) 0.295 us | usb_hcd_is_primary_hcd();
0) | xhci_check_args() {
0) 0.285 us | usb_hcd_is_primary_hcd();
0) 0.850 us | }
0) | xhci_queue_ctrl_tx() {
0) 0.295 us | xhci_get_endpoint_index();
0) | xhci_triad_to_transfer_ring() {
0) 0.295 us | xhci_get_virt_ep();
0) 0.290 us | xhci_virt_ep_to_ring();
0) 1.390 us | }
0) 0.285 us | xhci_get_ep_ctx();
0) | xhci_triad_to_transfer_ring() {
0) 0.300 us | xhci_get_virt_ep();
0) 0.300 us | xhci_virt_ep_to_ring();
0) 1.405 us | }
0) 0.315 us | usb_hcd_link_urb_to_ep();
0) 0.280 us | xhci_td_remainder();
0) 1.220 us | xhci_ring_ep_doorbell();
0) 9.445 us | }
0) + 12.485 us | }
0) + 16.250 us | }
0) + 16.810 us | }
0) 0.345 us | usb_free_urb();
0) + 18.860 us | }
0) + 20.100 us | }
0) + 20.885 us | }
0) | usb_get_descriptor() {
0) | usb_control_msg() {
0) 0.330 us | usb_alloc_urb();
0) | usb_start_wait_urb() {
0) | usb_submit_urb() {
0) | usb_hcd_submit_urb() {
0) | usb_get_urb() {
0) 0.310 us | usb_get_urb.part.12();
0) 1.000 us | }
0) | xhci_map_urb_for_dma() {
0) 0.305 us | usb_hcd_is_primary_hcd();
0) 0.640 us | usb_hcd_map_urb_for_dma();
0) 1.785 us | }
0) | xhci_urb_enqueue() {
0) 0.305 us | usb_hcd_is_primary_hcd();
0) | xhci_check_args() {
0) 0.295 us | usb_hcd_is_primary_hcd();
0) 0.850 us | }
0) | xhci_queue_ctrl_tx() {
0) 0.315 us | xhci_get_endpoint_index();
0) | xhci_triad_to_transfer_ring() {
0) 0.300 us | xhci_get_virt_ep();
0) 0.290 us | xhci_virt_ep_to_ring();
0) 1.400 us | }
0) 0.295 us | xhci_get_ep_ctx();
0) | xhci_triad_to_transfer_ring() {
0) 0.295 us | xhci_get_virt_ep();
0) 0.295 us | xhci_virt_ep_to_ring();
0) 1.425 us | }
0) 0.315 us | usb_hcd_link_urb_to_ep();
0) 0.290 us | xhci_td_remainder();
0) 1.215 us | xhci_ring_ep_doorbell();
0) 9.665 us | }
0) + 12.000 us | }
0) + 15.905 us | }
0) + 16.480 us | }
0) 0.340 us | usb_free_urb();
0) + 18.530 us | }
0) + 19.795 us | }
0) + 20.615 us | }
0) * 36425.95 us | }
0) | usb_cache_string() {
0) | usb_string() {
0) | usb_string_sub() {
0) | usb_get_string() {
0) | usb_control_msg() {
0) 0.335 us | usb_alloc_urb();
0) | usb_start_wait_urb() {
0) | usb_submit_urb() {
0) | usb_hcd_submit_urb() {
0) | usb_get_urb() {
0) 0.310 us | usb_get_urb.part.12();
0) 0.875 us | }
0) | xhci_map_urb_for_dma() {
0) 0.300 us | usb_hcd_is_primary_hcd();
0) 0.720 us | usb_hcd_map_urb_for_dma();
0) 1.870 us | }
0) | xhci_urb_enqueue() {
0) 0.300 us | usb_hcd_is_primary_hcd();
0) | xhci_check_args() {
0) 0.300 us | usb_hcd_is_primary_hcd();
0) 0.865 us | }
0) | xhci_queue_ctrl_tx() {
0) 0.290 us | xhci_get_endpoint_index();
0) | xhci_triad_to_transfer_ring() {
0) 0.310 us | xhci_get_virt_ep();
0) 0.295 us | xhci_virt_ep_to_ring();
0) 1.415 us | }
0) 0.285 us | xhci_get_ep_ctx();
0) | xhci_triad_to_transfer_ring() {
0) 0.300 us | xhci_get_virt_ep();
0) 0.290 us | xhci_virt_ep_to_ring();
0) 2.095 us | }
0) 0.345 us | usb_hcd_link_urb_to_ep();
0) 0.290 us | xhci_td_remainder();
0) 1.235 us | xhci_ring_ep_doorbell();
0) + 10.405 us | }
0) + 12.780 us | }
0) + 16.665 us | }
0) + 17.270 us | }
0) 0.375 us | usb_free_urb();
0) + 19.705 us | }
0) + 21.055 us | }
0) + 21.845 us | }
0) + 22.505 us | }
0) | usb_string_sub() {
0) | usb_get_string() {
0) | usb_control_msg() {
0) 0.355 us | usb_alloc_urb();
0) | usb_start_wait_urb() {
0) | usb_submit_urb() {
0) | usb_hcd_submit_urb() {
0) | usb_get_urb() {
0) 0.465 us | usb_get_urb.part.12();
0) 1.025 us | }
0) | xhci_map_urb_for_dma() {
0) 0.300 us | usb_hcd_is_primary_hcd();
0) 0.630 us | usb_hcd_map_urb_for_dma();
0) 1.915 us | }
0) | xhci_urb_enqueue() {
0) 0.300 us | usb_hcd_is_primary_hcd();
0) | xhci_check_args() {
0) 0.295 us | usb_hcd_is_primary_hcd();
0) 0.855 us | }
0) | xhci_queue_ctrl_tx() {
0) 0.290 us | xhci_get_endpoint_index();
0) | xhci_triad_to_transfer_ring() {
0) 0.300 us | xhci_get_virt_ep();
0) 0.295 us | xhci_virt_ep_to_ring();
0) 1.425 us | }
0) 0.285 us | xhci_get_ep_ctx();
0) | xhci_triad_to_transfer_ring() {
0) 0.305 us | xhci_get_virt_ep();
0) 0.295 us | xhci_virt_ep_to_ring();
0) 1.405 us | }
0) 0.315 us | usb_hcd_link_urb_to_ep();
0) 0.300 us | xhci_td_remainder();
0) 1.230 us | xhci_ring_ep_doorbell();
0) 9.535 us | }
0) + 11.900 us | }
0) + 16.105 us | }
0) + 16.855 us | }
0) 0.395 us | usb_free_urb();
0) + 19.190 us | }
0) + 20.490 us | }
0) + 21.250 us | }
0) + 21.855 us | }
0) # 5009.665 us | }
0) # 5010.560 us | }
0) | usb_cache_string() {
0) | usb_string() {
0) | usb_string_sub() {
0) | usb_get_string() {
0) | usb_control_msg() {
0) 0.335 us | usb_alloc_urb();
0) | usb_start_wait_urb() {
0) | usb_submit_urb() {
0) | usb_hcd_submit_urb() {
0) | usb_get_urb() {
0) 0.315 us | usb_get_urb.part.12();
0) 0.885 us | }
0) | xhci_map_urb_for_dma() {
0) 0.295 us | usb_hcd_is_primary_hcd();
0) 0.680 us | usb_hcd_map_urb_for_dma();
0) 1.820 us | }
0) | xhci_urb_enqueue() {
0) 0.300 us | usb_hcd_is_primary_hcd();
0) | xhci_check_args() {
0) 0.300 us | usb_hcd_is_primary_hcd();
0) 0.855 us | }
0) | xhci_queue_ctrl_tx() {
0) 0.290 us | xhci_get_endpoint_index();
0) | xhci_triad_to_transfer_ring() {
0) 0.300 us | xhci_get_virt_ep();
0) 0.280 us | xhci_virt_ep_to_ring();
0) 1.430 us | }
0) 0.300 us | xhci_get_ep_ctx();
0) | xhci_triad_to_transfer_ring() {
0) 0.300 us | xhci_get_virt_ep();
0) 0.285 us | xhci_virt_ep_to_ring();
0) 1.400 us | }
0) 0.310 us | usb_hcd_link_urb_to_ep();
0) 0.295 us | xhci_td_remainder();
0) 1.230 us | xhci_ring_ep_doorbell();
0) + 10.300 us | }
0) + 12.630 us | }
0) + 16.665 us | }
0) + 17.255 us | }
0) 0.365 us | usb_free_urb();
0) + 19.730 us | }
0) + 21.125 us | }
0) + 21.915 us | }
0) + 22.530 us | }
0) + 23.240 us | }
0) + 23.945 us | }
0) | usb_cache_string() {
0) | usb_string() {
0) | usb_string_sub() {
0) | usb_get_string() {
0) | usb_control_msg() {
0) 0.330 us | usb_alloc_urb();
0) | usb_start_wait_urb() {
0) | usb_submit_urb() {
0) | usb_hcd_submit_urb() {
0) | usb_get_urb() {
0) 0.310 us | usb_get_urb.part.12();
0) 0.875 us | }
0) | xhci_map_urb_for_dma() {
0) 0.295 us | usb_hcd_is_primary_hcd();
0) 0.680 us | usb_hcd_map_urb_for_dma();
0) 1.820 us | }
0) | xhci_urb_enqueue() {
0) 0.300 us | usb_hcd_is_primary_hcd();
0) | xhci_check_args() {
0) 0.300 us | usb_hcd_is_primary_hcd();
0) 0.860 us | }
0) | xhci_queue_ctrl_tx() {
0) 0.290 us | xhci_get_endpoint_index();
0) | xhci_triad_to_transfer_ring() {
0) 0.310 us | xhci_get_virt_ep();
0) 0.290 us | xhci_virt_ep_to_ring();
0) 1.425 us | }
0) 0.295 us | xhci_get_ep_ctx();
0) | xhci_triad_to_transfer_ring() {
0) 0.305 us | xhci_get_virt_ep();
0) 0.280 us | xhci_virt_ep_to_ring();
0) 1.405 us | }
0) 0.305 us | usb_hcd_link_urb_to_ep();
0) 0.295 us | xhci_td_remainder();
0) 1.220 us | xhci_ring_ep_doorbell();
0) 9.490 us | }
0) + 11.805 us | }
0) + 15.615 us | }
0) + 16.195 us | }
0) 0.375 us | usb_free_urb();
0) + 18.380 us | }
0) + 19.635 us | }
0) + 20.430 us | }
0) + 21.020 us | }
0) + 21.750 us | }
0) + 22.485 us | }
0) | usb_detect_interface_quirks() {
0) | usb_detect_static_quirks() {
0) 0.300 us | usb_match_device();
0) 0.890 us | }
0) 1.515 us | }
0) 1.145 us | usb_devnode();
0) | usb_bus_notify() {
0) 4.780 us | usb_create_sysfs_dev_files();
0) 6.410 us | }
0) 0.705 us | usb_devnode();
0) 1.010 us | usb_uevent();
0) 0.525 us | usb_dev_uevent();
0) 0.310 us | usb_device_match();
0) 0.305 us | usb_device_match();
0) | usb_device_match() {
0) | usb_driver_applicable() {
0) 1.545 us | usb_generic_driver_match();
0) 2.350 us | }
0) 3.115 us | }
0) 0.325 us | usb_bus_notify();
0) | usb_probe_device() {
0) | usb_generic_driver_probe() {
0) | usb_choose_configuration() {
0) 0.400 us | usb_device_is_owned();
0) # 6179.885 us | }
0) | usb_set_configuration() {
0) 0.365 us | usb_autoresume_device();
0) | usb_hcd_alloc_bandwidth() {
0) 0.320 us | usb_find_alt_setting();
0) | xhci_add_endpoint() {
0) | xhci_check_args() {
0) 0.300 us | usb_hcd_is_primary_hcd();
0) 0.890 us | }
0) 0.310 us | usb_hcd_is_primary_hcd();
0) | xhci_get_endpoint_flag() {
0) 0.300 us | xhci_get_endpoint_index.part.25();
0) 0.930 us | }
0) 0.320 us | xhci_get_input_control_ctx();
0) 0.305 us | xhci_get_endpoint_index.part.25();
0) | xhci_endpoint_init() {
0) | xhci_get_endpoint_index() {
0) 0.310 us | xhci_get_endpoint_index.part.25();
0) 0.895 us | }
0) | xhci_ring_alloc() {
0) | xhci_alloc_segments_for_ring() {
0) 1.515 us | xhci_segment_alloc();
0) 1.495 us | xhci_segment_alloc();
0) 0.660 us | xhci_link_segments.part.16();
0) 0.660 us | xhci_link_segments.part.16();
0) 6.115 us | }
0) 6.995 us | }
0) 9.120 us | }
0) 0.350 us | xhci_get_ep_ctx();
0) * 10100.61 us | }
0) | xhci_add_endpoint() {
0) | xhci_check_args() {
0) 0.300 us | usb_hcd_is_primary_hcd();
0) 0.870 us | }
0) 0.440 us | usb_hcd_is_primary_hcd();
0) | xhci_get_endpoint_flag() {
0) 0.295 us | xhci_get_endpoint_index.part.25();
0) 0.875 us | }
0) 0.295 us | xhci_get_input_control_ctx();
0) 0.300 us | xhci_get_endpoint_index.part.25();
0) | xhci_endpoint_init() {
0) | xhci_get_endpoint_index() {
0) 0.290 us | xhci_get_endpoint_index.part.25();
0) 0.865 us | }
0) | xhci_ring_alloc() {
0) | xhci_alloc_segments_for_ring() {
0) 1.090 us | xhci_segment_alloc();
0) 1.115 us | xhci_segment_alloc();
0) 0.665 us | xhci_link_segments.part.16();
0) 0.665 us | xhci_link_segments.part.16();
0) 5.455 us | }
0) 6.250 us | }
0) 8.090 us | }
0) 0.355 us | xhci_get_ep_ctx();
0) * 10098.76 us | }
0) | xhci_check_bandwidth() {
0) | xhci_check_args() {
0) 0.300 us | usb_hcd_is_primary_hcd();
0) 1.335 us | }
0) 0.300 us | usb_hcd_is_primary_hcd();
0) 0.440 us | xhci_alloc_command();
0) 0.300 us | xhci_get_input_control_ctx();
0) 0.370 us | xhci_get_slot_ctx();
0) | xhci_configure_endpoint() {
0) 0.480 us | xhci_get_input_control_ctx();
0) 0.290 us | xhci_get_slot_ctx();
0) | xhci_queue_configure_endpoint() {
0) 0.680 us | xhci_mod_cmd_timer();
0) 2.570 us | }
0) | xhci_ring_cmd_db() {
0) # 5569.120 us | xhci_ring_cmd_db.part.52();
0) # 5569.690 us | }
0) * 13234.08 us | }
0) | xhci_zero_in_ctx.isra.52() {
0) 0.305 us | xhci_get_input_control_ctx();
0) 0.360 us | xhci_get_slot_ctx();
0) 0.480 us | xhci_get_ep_ctx();
0) 0.365 us | xhci_get_ep_ctx();
0) 0.345 us | xhci_get_ep_ctx();
0) 0.345 us | xhci_get_ep_ctx();
0) 0.350 us | xhci_get_ep_ctx();
0) 0.345 us | xhci_get_ep_ctx();
0) 0.360 us | xhci_get_ep_ctx();
0) 0.355 us | xhci_get_ep_ctx();
0) 0.355 us | xhci_get_ep_ctx();
0) 0.360 us | xhci_get_ep_ctx();
0) 0.345 us | xhci_get_ep_ctx();
0) 0.350 us | xhci_get_ep_ctx();
0) 0.355 us | xhci_get_ep_ctx();
0) 0.350 us | xhci_get_ep_ctx();
0) 0.350 us | xhci_get_ep_ctx();
0) 0.355 us | xhci_get_ep_ctx();
0) 0.360 us | xhci_get_ep_ctx();
0) 0.355 us | xhci_get_ep_ctx();
0) 0.345 us | xhci_get_ep_ctx();
0) 0.350 us | xhci_get_ep_ctx();
0) 0.340 us | xhci_get_ep_ctx();
0) 0.350 us | xhci_get_ep_ctx();
0) 0.355 us | xhci_get_ep_ctx();
0) 0.365 us | xhci_get_ep_ctx();
0) 0.380 us | xhci_get_ep_ctx();
0) 0.360 us | xhci_get_ep_ctx();
0) 0.345 us | xhci_get_ep_ctx();
0) 0.355 us | xhci_get_ep_ctx();
0) 0.350 us | xhci_get_ep_ctx();
0) 0.340 us | xhci_get_ep_ctx();
0) + 22.305 us | }
0) | xhci_debugfs_create_endpoint() {
0) + 10.520 us | xhci_debugfs_create_ring_dir.isra.15();
0) + 11.440 us | }
0) | xhci_debugfs_create_endpoint() {
0) 7.035 us | xhci_debugfs_create_ring_dir.isra.15();
0) 7.925 us | }
0) * 22328.79 us | }
0) * 42530.67 us | }
0) 0.320 us | usb_altnum_to_altsetting();
0) | usb_enable_interface() {
0) | usb_enable_endpoint() {
0) | usb_hcd_reset_endpoint() {
0) | xhci_endpoint_reset() {
0) 0.335 us | usb_hcd_is_primary_hcd();
0) 0.305 us | xhci_get_endpoint_index.part.25();
0) | xhci_get_endpoint_flag() {
0) 0.300 us | xhci_get_endpoint_index.part.25();
0) 0.870 us | }
0) 0.395 us | xhci_alloc_command();
0) | xhci_alloc_command_with_ctx() {
0) 0.510 us | xhci_alloc_command();
0) 1.035 us | xhci_alloc_container_ctx();
0) 2.560 us | }
0) | xhci_queue_stop_endpoint() {
0) 0.490 us | xhci_mod_cmd_timer();
0) 1.845 us | }
0) | xhci_ring_cmd_db() {
0) # 5570.580 us | xhci_ring_cmd_db.part.52();
0) # 5571.160 us | }
0) 0.350 us | xhci_get_input_control_ctx();
0) 0.545 us | xhci_slot_copy();
0) 0.540 us | xhci_endpoint_copy();
0) | xhci_queue_configure_endpoint() {
0) 0.435 us | xhci_mod_cmd_timer();
0) 1.790 us | }
0) | xhci_ring_cmd_db() {
0) # 5569.710 us | xhci_ring_cmd_db.part.52();
0) # 5570.275 us | }
0) | xhci_free_command() {
0) 0.415 us | xhci_free_container_ctx.part.36();
0) 1.300 us | }
0) 0.360 us | xhci_free_command();
0) * 11163.98 us | }
0) * 11164.59 us | }
0) * 11165.19 us | }
0) | usb_enable_endpoint() {
0) | usb_hcd_reset_endpoint() {
0) | xhci_endpoint_reset() {
0) 0.295 us | usb_hcd_is_primary_hcd();
0) 0.295 us | xhci_get_endpoint_index.part.25();
0) | xhci_get_endpoint_flag() {
0) 0.295 us | xhci_get_endpoint_index.part.25();
0) 0.870 us | }
0) 0.445 us | xhci_alloc_command();
0) | xhci_alloc_command_with_ctx() {
0) 0.375 us | xhci_alloc_command();
0) 0.820 us | xhci_alloc_container_ctx();
0) 2.375 us | }
0) | xhci_queue_stop_endpoint() {
0) 0.445 us | xhci_mod_cmd_timer();
0) 1.925 us | }
0) | xhci_ring_cmd_db() {
0) # 5569.855 us | xhci_ring_cmd_db.part.52();
0) # 5570.440 us | }
0) | usb_hcd_irq() {
0) | xhci_irq() {
0) 0.285 us | usb_hcd_is_primary_hcd();
0) 0.310 us | xhci_get_virt_ep();
0) 0.295 us | xhci_dma_to_transfer_ring();
0) 0.300 us | xhci_get_ep_ctx();
0) 1.230 us | xhci_update_erst_dequeue.isra.49();
0) # 8267.135 us | }
0) # 8267.755 us | }
0) 0.320 us | xhci_get_input_control_ctx();
0) 0.545 us | xhci_slot_copy();
0) 0.535 us | xhci_endpoint_copy();
0) | xhci_queue_configure_endpoint() {
0) 0.465 us | xhci_mod_cmd_timer();
0) 1.790 us | }
0) | xhci_ring_cmd_db() {
0) # 5569.955 us | xhci_ring_cmd_db.part.52();
0) # 5570.570 us | }
0) | xhci_free_command() {
0) 0.390 us | xhci_free_container_ctx.part.36();
0) 1.060 us | }
0) 0.360 us | xhci_free_command();
0) * 19435.82 us | }
0) * 19437.30 us | }
0) * 19437.90 us | }
0) * 30604.01 us | }
0) 0.300 us | usb_of_has_combined_node();
0) 0.705 us | usb_of_get_interface_node();
0) 0.330 us | usb_get_dev();
0) | usb_control_msg_send() {
0) | usb_control_msg() {
0) 0.360 us | usb_alloc_urb();
0) | usb_start_wait_urb() {
0) | usb_submit_urb() {
0) | usb_hcd_submit_urb() {
0) | usb_get_urb() {
0) 0.315 us | usb_get_urb.part.12();
0) 0.925 us | }
0) | xhci_map_urb_for_dma() {
0) 0.295 us | usb_hcd_is_primary_hcd();
0) 1.080 us | }
0) | xhci_urb_enqueue() {
0) 0.300 us | usb_hcd_is_primary_hcd();
0) | xhci_check_args() {
0) 0.440 us | usb_hcd_is_primary_hcd();
0) 1.015 us | }
0) | xhci_queue_ctrl_tx() {
0) 0.300 us | xhci_get_endpoint_index();
0) | xhci_triad_to_transfer_ring() {
0) 0.295 us | xhci_get_virt_ep();
0) 0.295 us | xhci_virt_ep_to_ring();
0) 1.410 us | }
0) 0.290 us | xhci_get_ep_ctx();
0) | xhci_triad_to_transfer_ring() {
0) 0.295 us | xhci_get_virt_ep();
0) 0.295 us | xhci_virt_ep_to_ring();
0) 1.420 us | }
0) 0.315 us | usb_hcd_link_urb_to_ep();
0) 1.250 us | xhci_ring_ep_doorbell();
0) 8.520 us | }
0) + 11.085 us | }
0) + 14.585 us | }
0) + 15.180 us | }
0) 0.560 us | usb_free_urb();
0) + 17.835 us | }
0) + 19.220 us | }
0) + 19.925 us | }
0) 1.695 us | usb_set_device_state();
0) 0.310 us | usb_cache_string();
0) | usb_unlocked_enable_lpm() {
0) 0.320 us | usb_enable_lpm();
0) 1.070 us | }
0) 0.425 us | usb_enable_ltm();
0) | usb_bus_notify() {
0) | usb_create_sysfs_intf_files() {
0) 0.325 us | usb_cache_string();
0) 0.920 us | }
0) 1.630 us | }
0) 0.955 us | usb_uevent();
0) 1.495 us | usb_if_uevent();
0) | usb_device_match() {
0) 0.335 us | usb_match_dynamic_id();
0) 0.960 us | }
0) | usb_device_match() {
0) | usb_match_id.part.16() {
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.915 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.865 us | }
0) | usb_match_one_id() {
0) 0.290 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.865 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.880 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.865 us | }
0) | usb_match_one_id() {
0) 0.310 us | usb_match_device();
0) 0.895 us | }
0) | usb_match_one_id() {
0) 0.315 us | usb_match_device();
0) 0.320 us | usb_match_one_id_intf();
0) 1.490 us | }
0) + 13.540 us | }
0) 0.330 us | usb_match_dynamic_id();
0) + 14.745 us | }
0) 0.315 us | usb_device_match();
0) | usb_device_match() {
0) | usb_match_id.part.16() {
0) | usb_match_one_id() {
0) 0.310 us | usb_match_device();
0) 0.890 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.885 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.865 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.865 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.850 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.855 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.865 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.875 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.855 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.855 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.880 us | }
0) | usb_match_one_id() {
0) 0.290 us | usb_match_device();
0) 0.865 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 1.535 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.865 us | }
0) | usb_match_one_id() {
0) 0.290 us | usb_match_device();
0) 0.850 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.865 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.865 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.310 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.320 us | usb_match_device();
0) 0.895 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.875 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.865 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.865 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.855 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.865 us | }
0) | usb_match_one_id() {
0) 0.310 us | usb_match_device();
0) 0.885 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.875 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.875 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.855 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.855 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.875 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.865 us | }
0) | usb_match_one_id() {
0) 0.320 us | usb_match_device();
0) 0.875 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.850 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.865 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.865 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.320 us | usb_match_device();
0) 0.885 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.875 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.850 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.875 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.875 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.865 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 1.400 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.875 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.880 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.865 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.855 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.875 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.865 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.310 us | usb_match_device();
0) 0.880 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.885 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 1.060 us | }
0) | usb_match_one_id() {
0) 0.310 us | usb_match_device();
0) 0.875 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.875 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.870 us | usb_match_device();
0) 1.425 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.880 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.855 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.855 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.880 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.910 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.865 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.875 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.865 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.865 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.865 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.855 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.865 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.865 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.875 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.875 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.865 us | }
0) | usb_match_one_id() {
0) 0.310 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 1.450 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.865 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.865 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.875 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.865 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.290 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.855 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.880 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.855 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.880 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.875 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.855 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.865 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.880 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.865 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.845 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.875 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.865 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.880 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.850 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.880 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.855 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.310 us | usb_match_device();
0) 0.875 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.865 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.875 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.875 us | }
0) | usb_match_one_id() {
0) 0.290 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.885 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.875 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.855 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.885 us | }
0) | usb_match_one_id() {
0) 0.310 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.865 us | }
0) | usb_match_one_id() {
0) 0.325 us | usb_match_device();
0) 0.900 us | }
0) | usb_match_one_id() {
0) 0.320 us | usb_match_device();
0) 0.885 us | }
0) | usb_match_one_id() {
0) 0.320 us | usb_match_device();
0) 0.895 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 1.620 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.855 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.875 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.865 us | }
0) | usb_match_one_id() {
0) 0.290 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.290 us | usb_match_device();
0) 0.855 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.855 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.865 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.865 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.310 us | usb_match_device();
0) 0.880 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.875 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.865 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.895 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.875 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.310 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.850 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.850 us | usb_match_device();
0) 1.415 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.875 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.875 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.885 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.855 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.310 us | usb_match_device();
0) 0.875 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.870 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.855 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.880 us | }
0) | usb_match_one_id() {
0) 0.295 us | usb_match_device();
0) 0.865 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.865 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.860 us | }
0) | usb_match_one_id() {
0) 0.300 us | usb_match_device();
0) 0.880 us | }
0) | usb_match_one_id() {
0) 0.305 us | usb_match_device();
0) 0.875 us | }
0) | usb_match_one_id() {
0) 0.515 us | usb_match_device();
0) 1.455 us | }
0) | usb_match_one_id() {
0) 0.520 us | usb_match_device();
0) 1.445 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.555 us | }
0) | usb_match_one_id() {
0) 0.495 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.520 us | usb_match_device();
0) 1.565 us | }
0) | usb_match_one_id() {
0) 0.520 us | usb_match_device();
0) 1.325 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.445 us | }
0) | usb_match_one_id() {
0) 0.520 us | usb_match_device();
0) 1.455 us | }
0) | usb_match_one_id() {
0) 0.500 us | usb_match_device();
0) 2.020 us | }
0) | usb_match_one_id() {
0) 0.400 us | usb_match_device();
0) 1.440 us | }
0) | usb_match_one_id() {
0) 0.500 us | usb_match_device();
0) 1.445 us | }
0) | usb_match_one_id() {
0) 0.520 us | usb_match_device();
0) 1.555 us | }
0) | usb_match_one_id() {
0) 0.400 us | usb_match_device();
0) 1.235 us | }
0) | usb_match_one_id() {
0) 0.395 us | usb_match_device();
0) 1.345 us | }
0) | usb_match_one_id() {
0) 0.515 us | usb_match_device();
0) 1.440 us | }
0) | usb_match_one_id() {
0) 0.405 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.515 us | usb_match_device();
0) 1.555 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.470 us | }
0) | usb_match_one_id() {
0) 0.500 us | usb_match_device();
0) 1.235 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.525 us | usb_match_device();
0) 1.550 us | }
0) | usb_match_one_id() {
0) 0.500 us | usb_match_device();
0) 1.235 us | }
0) | usb_match_one_id() {
0) 0.390 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.340 us | }
0) | usb_match_one_id() {
0) 0.500 us | usb_match_device();
0) 1.455 us | }
0) | usb_match_one_id() {
0) 0.520 us | usb_match_device();
0) 1.565 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.565 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.540 us | }
0) | usb_match_one_id() {
0) 0.520 us | usb_match_device();
0) 1.455 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.445 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.445 us | }
0) | usb_match_one_id() {
0) 0.520 us | usb_match_device();
0) 1.440 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.430 us | }
0) | usb_match_one_id() {
0) 0.520 us | usb_match_device();
0) 1.445 us | }
0) | usb_match_one_id() {
0) 0.515 us | usb_match_device();
0) 1.535 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.515 us | }
0) | usb_match_one_id() {
0) 0.490 us | usb_match_device();
0) 1.345 us | }
0) | usb_match_one_id() {
0) 0.405 us | usb_match_device();
0) 1.235 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.245 us | }
0) | usb_match_one_id() {
0) 0.400 us | usb_match_device();
0) 1.145 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.440 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.440 us | }
0) | usb_match_one_id() {
0) 0.395 us | usb_match_device();
0) 1.255 us | }
0) | usb_match_one_id() {
0) 0.395 us | usb_match_device();
0) 1.250 us | }
0) | usb_match_one_id() {
0) 0.500 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.555 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.255 us | }
0) | usb_match_one_id() {
0) 0.540 us | usb_match_device();
0) 1.450 us | }
0) | usb_match_one_id() {
0) 0.495 us | usb_match_device();
0) 1.345 us | }
0) | usb_match_one_id() {
0) 0.400 us | usb_match_device();
0) 1.345 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.420 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.240 us | }
0) | usb_match_one_id() {
0) 0.515 us | usb_match_device();
0) 1.545 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.340 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.455 us | }
0) | usb_match_one_id() {
0) 0.520 us | usb_match_device();
0) 1.460 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.565 us | }
0) | usb_match_one_id() {
0) 0.525 us | usb_match_device();
0) 1.555 us | }
0) | usb_match_one_id() {
0) 0.520 us | usb_match_device();
0) 1.450 us | }
0) | usb_match_one_id() {
0) 0.405 us | usb_match_device();
0) 1.140 us | }
0) | usb_match_one_id() {
0) 0.400 us | usb_match_device();
0) 1.250 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 2.255 us | }
0) | usb_match_one_id() {
0) 0.520 us | usb_match_device();
0) 1.560 us | }
0) | usb_match_one_id() {
0) 0.500 us | usb_match_device();
0) 1.575 us | }
0) | usb_match_one_id() {
0) 0.530 us | usb_match_device();
0) 1.560 us | }
0) | usb_match_one_id() {
0) 0.515 us | usb_match_device();
0) 1.365 us | }
0) | usb_match_one_id() {
0) 0.520 us | usb_match_device();
0) 1.445 us | }
0) | usb_match_one_id() {
0) 0.420 us | usb_match_device();
0) 1.340 us | }
0) | usb_match_one_id() {
0) 0.525 us | usb_match_device();
0) 1.555 us | }
0) | usb_match_one_id() {
0) 0.400 us | usb_match_device();
0) 1.245 us | }
0) | usb_match_one_id() {
0) 0.535 us | usb_match_device();
0) 1.445 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.455 us | }
0) | usb_match_one_id() {
0) 0.400 us | usb_match_device();
0) 1.235 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.355 us | }
0) | usb_match_one_id() {
0) 0.405 us | usb_match_device();
0) 1.240 us | }
0) | usb_match_one_id() {
0) 0.395 us | usb_match_device();
0) 1.240 us | }
0) | usb_match_one_id() {
0) 0.495 us | usb_match_device();
0) 1.455 us | }
0) | usb_match_one_id() {
0) 0.520 us | usb_match_device();
0) 1.560 us | }
0) | usb_match_one_id() {
0) 0.520 us | usb_match_device();
0) 1.435 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.560 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.340 us | }
0) | usb_match_one_id() {
0) 0.520 us | usb_match_device();
0) 1.550 us | }
0) | usb_match_one_id() {
0) 0.405 us | usb_match_device();
0) 1.345 us | }
0) | usb_match_one_id() {
0) 0.390 us | usb_match_device();
0) 1.245 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.560 us | }
0) | usb_match_one_id() {
0) 0.410 us | usb_match_device();
0) 1.240 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.405 us | usb_match_device();
0) 1.255 us | }
0) | usb_match_one_id() {
0) 1.180 us | usb_match_device();
0) 2.350 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.245 us | }
0) | usb_match_one_id() {
0) 0.500 us | usb_match_device();
0) 1.550 us | }
0) | usb_match_one_id() {
0) 0.405 us | usb_match_device();
0) 1.450 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.425 us | }
0) | usb_match_one_id() {
0) 0.535 us | usb_match_device();
0) 0.540 us | usb_match_one_id_intf();
0) 2.590 us | }
0) | usb_match_one_id() {
0) 0.530 us | usb_match_device();
0) 0.500 us | usb_match_one_id_intf();
0) 2.385 us | }
0) | usb_match_one_id() {
0) 0.525 us | usb_match_device();
0) 0.515 us | usb_match_one_id_intf();
0) 2.470 us | }
0) | usb_match_one_id() {
0) 0.410 us | usb_match_device();
0) 0.495 us | usb_match_one_id_intf();
0) 2.375 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 0.515 us | usb_match_one_id_intf();
0) 2.480 us | }
0) | usb_match_one_id() {
0) 0.395 us | usb_match_device();
0) 0.405 us | usb_match_one_id_intf();
0) 2.185 us | }
0) | usb_match_one_id() {
0) 0.515 us | usb_match_device();
0) 0.415 us | usb_match_one_id_intf();
0) 2.365 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 0.410 us | usb_match_one_id_intf();
0) 2.375 us | }
0) | usb_match_one_id() {
0) 0.520 us | usb_match_device();
0) 0.515 us | usb_match_one_id_intf();
0) 2.480 us | }
0) | usb_match_one_id() {
0) 0.520 us | usb_match_device();
0) 0.525 us | usb_match_one_id_intf();
0) 2.585 us | }
0) | usb_match_one_id() {
0) 0.495 us | usb_match_device();
0) 0.510 us | usb_match_one_id_intf();
0) 2.400 us | }
0) | usb_match_one_id() {
0) 0.515 us | usb_match_device();
0) 0.410 us | usb_match_one_id_intf();
0) 2.495 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 0.510 us | usb_match_one_id_intf();
0) 2.395 us | }
0) | usb_match_one_id() {
0) 0.515 us | usb_match_device();
0) 0.395 us | usb_match_one_id_intf();
0) 2.285 us | }
0) | usb_match_one_id() {
0) 0.515 us | usb_match_device();
0) 0.525 us | usb_match_one_id_intf();
0) 3.055 us | }
0) | usb_match_one_id() {
0) 0.515 us | usb_match_device();
0) 0.505 us | usb_match_one_id_intf();
0) 2.180 us | }
0) | usb_match_one_id() {
0) 0.410 us | usb_match_device();
0) 0.515 us | usb_match_one_id_intf();
0) 2.095 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 0.535 us | usb_match_one_id_intf();
0) 2.485 us | }
0) ! 484.495 us | }
0) ! 485.420 us | }
0) 0.430 us | usb_bus_notify();
0) | usb_probe_interface() {
0) 0.570 us | usb_device_is_owned();
0) 0.600 us | usb_match_dynamic_id();
0) | usb_match_id.part.16() {
0) | usb_match_one_id() {
0) 0.525 us | usb_match_device();
0) 1.450 us | }
0) | usb_match_one_id() {
0) 0.500 us | usb_match_device();
0) 1.430 us | }
0) | usb_match_one_id() {
0) 0.405 us | usb_match_device();
0) 1.255 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.435 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.365 us | }
0) | usb_match_one_id() {
0) 0.405 us | usb_match_device();
0) 1.250 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.340 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.520 us | usb_match_device();
0) 1.255 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.450 us | }
0) | usb_match_one_id() {
0) 0.515 us | usb_match_device();
0) 1.470 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.345 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.255 us | }
0) | usb_match_one_id() {
0) 0.400 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.515 us | usb_match_device();
0) 1.550 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.240 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.400 us | usb_match_device();
0) 1.240 us | }
0) | usb_match_one_id() {
0) 0.395 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.990 us | usb_match_device();
0) 2.020 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.365 us | }
0) | usb_match_one_id() {
0) 0.515 us | usb_match_device();
0) 1.255 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.365 us | }
0) | usb_match_one_id() {
0) 0.500 us | usb_match_device();
0) 1.240 us | }
0) | usb_match_one_id() {
0) 0.400 us | usb_match_device();
0) 1.235 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.250 us | }
0) | usb_match_one_id() {
0) 0.400 us | usb_match_device();
0) 1.235 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.545 us | }
0) | usb_match_one_id() {
0) 0.500 us | usb_match_device();
0) 1.250 us | }
0) | usb_match_one_id() {
0) 0.515 us | usb_match_device();
0) 1.355 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.460 us | }
0) | usb_match_one_id() {
0) 0.405 us | usb_match_device();
0) 1.445 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.545 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.455 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.455 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.460 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.470 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.360 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.355 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.410 us | usb_match_device();
0) 1.245 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.245 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.360 us | }
0) | usb_match_one_id() {
0) 0.500 us | usb_match_device();
0) 1.335 us | }
0) | usb_match_one_id() {
0) 0.400 us | usb_match_device();
0) 1.245 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.740 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.440 us | }
0) | usb_match_one_id() {
0) 0.410 us | usb_match_device();
0) 1.455 us | }
0) | usb_match_one_id() {
0) 0.515 us | usb_match_device();
0) 1.360 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.455 us | }
0) | usb_match_one_id() {
0) 0.405 us | usb_match_device();
0) 1.355 us | }
0) | usb_match_one_id() {
0) 0.400 us | usb_match_device();
0) 1.255 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.345 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.255 us | }
0) | usb_match_one_id() {
0) 0.520 us | usb_match_device();
0) 1.260 us | }
0) | usb_match_one_id() {
0) 0.400 us | usb_match_device();
0) 1.245 us | }
0) | usb_match_one_id() {
0) 0.500 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.515 us | usb_match_device();
0) 1.355 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.360 us | }
0) | usb_match_one_id() {
0) 0.515 us | usb_match_device();
0) 1.440 us | }
0) | usb_match_one_id() {
0) 0.400 us | usb_match_device();
0) 1.240 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.410 us | usb_match_device();
0) 1.370 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.240 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.240 us | }
0) | usb_match_one_id() {
0) 0.500 us | usb_match_device();
0) 1.345 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.245 us | }
0) | usb_match_one_id() {
0) 0.405 us | usb_match_device();
0) 1.240 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.250 us | }
0) | usb_match_one_id() {
0) 0.500 us | usb_match_device();
0) 1.240 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.240 us | }
0) | usb_match_one_id() {
0) 0.405 us | usb_match_device();
0) 1.345 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.320 us | }
0) | usb_match_one_id() {
0) 0.405 us | usb_match_device();
0) 1.155 us | }
0) | usb_match_one_id() {
0) 0.515 us | usb_match_device();
0) 1.555 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.470 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.440 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.435 us | }
0) | usb_match_one_id() {
0) 0.520 us | usb_match_device();
0) 1.360 us | }
0) | usb_match_one_id() {
0) 0.515 us | usb_match_device();
0) 1.470 us | }
0) | usb_match_one_id() {
0) 0.500 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.400 us | usb_match_device();
0) 1.135 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.455 us | }
0) | usb_match_one_id() {
0) 0.405 us | usb_match_device();
0) 1.250 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.455 us | }
0) | usb_match_one_id() {
0) 0.515 us | usb_match_device();
0) 1.455 us | }
0) | usb_match_one_id() {
0) 0.400 us | usb_match_device();
0) 1.240 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.455 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.355 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.445 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.355 us | }
0) | usb_match_one_id() {
0) 0.405 us | usb_match_device();
0) 1.265 us | }
0) | usb_match_one_id() {
0) 0.500 us | usb_match_device();
0) 1.435 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.850 us | }
0) | usb_match_one_id() {
0) 0.405 us | usb_match_device();
0) 1.340 us | }
0) | usb_match_one_id() {
0) 0.405 us | usb_match_device();
0) 1.140 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.495 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.470 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.245 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.250 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.245 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.360 us | }
0) | usb_match_one_id() {
0) 0.515 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.545 us | }
0) | usb_match_one_id() {
0) 0.525 us | usb_match_device();
0) 1.470 us | }
0) | usb_match_one_id() {
0) 0.400 us | usb_match_device();
0) 1.245 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.250 us | }
0) | usb_match_one_id() {
0) 0.405 us | usb_match_device();
0) 1.250 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.355 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.455 us | }
0) | usb_match_one_id() {
0) 0.405 us | usb_match_device();
0) 1.240 us | }
0) | usb_match_one_id() {
0) 0.500 us | usb_match_device();
0) 1.340 us | }
0) | usb_match_one_id() {
0) 0.490 us | usb_match_device();
0) 1.235 us | }
0) | usb_match_one_id() {
0) 0.405 us | usb_match_device();
0) 1.255 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.405 us | usb_match_device();
0) 1.145 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.355 us | }
0) | usb_match_one_id() {
0) 0.985 us | usb_match_device();
0) 1.935 us | }
0) | usb_match_one_id() {
0) 0.515 us | usb_match_device();
0) 1.370 us | }
0) | usb_match_one_id() {
0) 0.515 us | usb_match_device();
0) 1.450 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.360 us | }
0) | usb_match_one_id() {
0) 0.400 us | usb_match_device();
0) 1.240 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.435 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.240 us | }
0) | usb_match_one_id() {
0) 0.500 us | usb_match_device();
0) 1.345 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.250 us | }
0) | usb_match_one_id() {
0) 0.515 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.245 us | }
0) | usb_match_one_id() {
0) 0.500 us | usb_match_device();
0) 1.455 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.455 us | }
0) | usb_match_one_id() {
0) 0.400 us | usb_match_device();
0) 1.150 us | }
0) | usb_match_one_id() {
0) 0.495 us | usb_match_device();
0) 1.235 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.455 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.345 us | }
0) | usb_match_one_id() {
0) 0.515 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.515 us | usb_match_device();
0) 1.250 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.250 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.440 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.355 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.545 us | }
0) | usb_match_one_id() {
0) 0.500 us | usb_match_device();
0) 1.725 us | }
0) | usb_match_one_id() {
0) 0.515 us | usb_match_device();
0) 1.365 us | }
0) | usb_match_one_id() {
0) 0.405 us | usb_match_device();
0) 1.250 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.345 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.360 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.460 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.455 us | }
0) | usb_match_one_id() {
0) 0.535 us | usb_match_device();
0) 1.555 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.445 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.255 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.235 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.355 us | }
0) | usb_match_one_id() {
0) 0.405 us | usb_match_device();
0) 1.240 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.250 us | }
0) | usb_match_one_id() {
0) 0.405 us | usb_match_device();
0) 1.240 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.355 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.355 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.455 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.480 us | }
0) | usb_match_one_id() {
0) 0.405 us | usb_match_device();
0) 1.240 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.555 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.250 us | }
0) | usb_match_one_id() {
0) 0.515 us | usb_match_device();
0) 1.545 us | }
0) | usb_match_one_id() {
0) 0.520 us | usb_match_device();
0) 1.545 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.545 us | }
0) | usb_match_one_id() {
0) 0.500 us | usb_match_device();
0) 1.235 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.255 us | }
0) | usb_match_one_id() {
0) 0.400 us | usb_match_device();
0) 1.140 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.425 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.340 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.495 us | usb_match_device();
0) 1.320 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.245 us | }
0) | usb_match_one_id() {
0) 0.405 us | usb_match_device();
0) 1.235 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.430 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.440 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.345 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.250 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.345 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.245 us | }
0) | usb_match_one_id() {
0) 0.495 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.405 us | usb_match_device();
0) 1.145 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.335 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.355 us | }
0) | usb_match_one_id() {
0) 0.400 us | usb_match_device();
0) 1.230 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.455 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.360 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.245 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.540 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.240 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.930 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.360 us | }
0) | usb_match_one_id() {
0) 0.500 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.450 us | }
0) | usb_match_one_id() {
0) 0.500 us | usb_match_device();
0) 1.460 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.440 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.355 us | }
0) | usb_match_one_id() {
0) 0.520 us | usb_match_device();
0) 1.440 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.550 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.545 us | }
0) | usb_match_one_id() {
0) 0.405 us | usb_match_device();
0) 1.150 us | }
0) | usb_match_one_id() {
0) 0.495 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.515 us | usb_match_device();
0) 1.455 us | }
0) | usb_match_one_id() {
0) 0.405 us | usb_match_device();
0) 1.250 us | }
0) | usb_match_one_id() {
0) 0.525 us | usb_match_device();
0) 1.555 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.460 us | }
0) | usb_match_one_id() {
0) 0.500 us | usb_match_device();
0) 1.340 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.455 us | }
0) | usb_match_one_id() {
0) 0.515 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.500 us | usb_match_device();
0) 1.240 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.250 us | }
0) | usb_match_one_id() {
0) 0.500 us | usb_match_device();
0) 1.440 us | }
0) | usb_match_one_id() {
0) 0.500 us | usb_match_device();
0) 1.345 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.440 us | }
0) | usb_match_one_id() {
0) 0.410 us | usb_match_device();
0) 1.140 us | }
0) | usb_match_one_id() {
0) 0.985 us | usb_match_device();
0) 1.720 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.450 us | }
0) | usb_match_one_id() {
0) 0.410 us | usb_match_device();
0) 1.260 us | }
0) | usb_match_one_id() {
0) 0.400 us | usb_match_device();
0) 1.255 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.360 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.340 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.515 us | usb_match_device();
0) 1.355 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.410 us | usb_match_device();
0) 1.250 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.335 us | }
0) | usb_match_one_id() {
0) 0.500 us | usb_match_device();
0) 1.340 us | }
0) | usb_match_one_id() {
0) 0.500 us | usb_match_device();
0) 1.460 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.410 us | usb_match_device();
0) 1.455 us | }
0) | usb_match_one_id() {
0) 0.495 us | usb_match_device();
0) 1.445 us | }
0) | usb_match_one_id() {
0) 0.400 us | usb_match_device();
0) 1.240 us | }
0) | usb_match_one_id() {
0) 0.400 us | usb_match_device();
0) 1.140 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.435 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.345 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.440 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.250 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.355 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.355 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.245 us | }
0) | usb_match_one_id() {
0) 0.405 us | usb_match_device();
0) 1.720 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.250 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.360 us | }
0) | usb_match_one_id() {
0) 0.500 us | usb_match_device();
0) 1.355 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.355 us | }
0) | usb_match_one_id() {
0) 0.410 us | usb_match_device();
0) 1.440 us | }
0) | usb_match_one_id() {
0) 0.530 us | usb_match_device();
0) 1.545 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.345 us | }
0) | usb_match_one_id() {
0) 0.405 us | usb_match_device();
0) 1.250 us | }
0) | usb_match_one_id() {
0) 0.390 us | usb_match_device();
0) 1.225 us | }
0) | usb_match_one_id() {
0) 0.410 us | usb_match_device();
0) 1.145 us | }
0) | usb_match_one_id() {
0) 0.405 us | usb_match_device();
0) 1.250 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.465 us | }
0) | usb_match_one_id() {
0) 0.405 us | usb_match_device();
0) 1.145 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.455 us | }
0) | usb_match_one_id() {
0) 0.525 us | usb_match_device();
0) 1.435 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.450 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.345 us | }
0) | usb_match_one_id() {
0) 0.400 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.400 us | usb_match_device();
0) 1.145 us | }
0) | usb_match_one_id() {
0) 0.500 us | usb_match_device();
0) 1.345 us | }
0) | usb_match_one_id() {
0) 0.405 us | usb_match_device();
0) 1.255 us | }
0) | usb_match_one_id() {
0) 0.405 us | usb_match_device();
0) 1.145 us | }
0) | usb_match_one_id() {
0) 0.495 us | usb_match_device();
0) 1.240 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.345 us | }
0) | usb_match_one_id() {
0) 0.405 us | usb_match_device();
0) 1.445 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.450 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.440 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.405 us | usb_match_device();
0) 1.445 us | }
0) | usb_match_one_id() {
0) 0.400 us | usb_match_device();
0) 1.340 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.250 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.340 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.345 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.445 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.445 us | }
0) | usb_match_one_id() {
0) 0.515 us | usb_match_device();
0) 1.540 us | }
0) | usb_match_one_id() {
0) 0.500 us | usb_match_device();
0) 1.345 us | }
0) | usb_match_one_id() {
0) 0.405 us | usb_match_device();
0) 1.250 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.455 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.410 us | usb_match_device();
0) 1.150 us | }
0) | usb_match_one_id() {
0) 0.500 us | usb_match_device();
0) 1.355 us | }
0) | usb_match_one_id() {
0) 0.500 us | usb_match_device();
0) 1.345 us | }
0) | usb_match_one_id() {
0) 0.410 us | usb_match_device();
0) 1.445 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.345 us | }
0) | usb_match_one_id() {
0) 0.495 us | usb_match_device();
0) 1.450 us | }
0) | usb_match_one_id() {
0) 0.500 us | usb_match_device();
0) 1.250 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.360 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.450 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.345 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.405 us | usb_match_device();
0) 1.850 us | }
0) | usb_match_one_id() {
0) 0.410 us | usb_match_device();
0) 1.140 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.350 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.360 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 1.355 us | }
0) | usb_match_one_id() {
0) 0.525 us | usb_match_device();
0) 0.410 us | usb_match_one_id_intf();
0) 2.295 us | }
0) | usb_match_one_id() {
0) 0.525 us | usb_match_device();
0) 0.505 us | usb_match_one_id_intf();
0) 2.280 us | }
0) | usb_match_one_id() {
0) 0.525 us | usb_match_device();
0) 0.510 us | usb_match_one_id_intf();
0) 2.295 us | }
0) | usb_match_one_id() {
0) 0.530 us | usb_match_device();
0) 0.515 us | usb_match_one_id_intf();
0) 2.595 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 0.510 us | usb_match_one_id_intf();
0) 2.595 us | }
0) | usb_match_one_id() {
0) 0.405 us | usb_match_device();
0) 0.400 us | usb_match_one_id_intf();
0) 1.980 us | }
0) | usb_match_one_id() {
0) 0.410 us | usb_match_device();
0) 0.405 us | usb_match_one_id_intf();
0) 2.075 us | }
0) | usb_match_one_id() {
0) 0.500 us | usb_match_device();
0) 0.505 us | usb_match_one_id_intf();
0) 2.185 us | }
0) | usb_match_one_id() {
0) 0.395 us | usb_match_device();
0) 0.510 us | usb_match_one_id_intf();
0) 2.080 us | }
0) | usb_match_one_id() {
0) 0.515 us | usb_match_device();
0) 0.510 us | usb_match_one_id_intf();
0) 2.295 us | }
0) | usb_match_one_id() {
0) 0.405 us | usb_match_device();
0) 0.405 us | usb_match_one_id_intf();
0) 1.990 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 0.515 us | usb_match_one_id_intf();
0) 2.290 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 0.405 us | usb_match_one_id_intf();
0) 2.185 us | }
0) | usb_match_one_id() {
0) 0.405 us | usb_match_device();
0) 0.525 us | usb_match_one_id_intf();
0) 2.280 us | }
0) | usb_match_one_id() {
0) 0.395 us | usb_match_device();
0) 0.405 us | usb_match_one_id_intf();
0) 1.975 us | }
0) | usb_match_one_id() {
0) 0.510 us | usb_match_device();
0) 0.505 us | usb_match_one_id_intf();
0) 2.395 us | }
0) | usb_match_one_id() {
0) 0.505 us | usb_match_device();
0) 0.415 us | usb_match_one_id_intf();
0) 2.205 us | }
0) | usb_match_one_id() {
0) 0.400 us | usb_match_device();
0) 0.520 us | usb_match_one_id_intf();
0) 2.380 us | }
0) ! 593.625 us | }
0) 0.650 us | usb_autoresume_device();
0) 0.490 us | usb_usual_ignore_device();
0) | usb_stor_probe1() {
0) | scsi_host_alloc() {
0) 0.715 us | scsi_enable_async_suspend();
0) + 44.945 us | }
0) | usb_alloc_coherent() {
0) 1.245 us | hcd_buffer_alloc();
0) 1.930 us | }
0) 0.515 us | usb_stor_adjust_quirks();
0) # 6836.555 us | }
0) | usb_stor_probe2() {
0) 0.815 us | usb_find_common_endpoints();
0) 0.400 us | usb_find_common_endpoints();
0) 0.340 us | usb_alloc_urb();
0) 0.655 us | usb_autopm_get_interface_no_resume();
0) | scsi_add_host_with_dma() {
0) 0.535 us | scsi_init_sense_cache();
0) | scsi_mq_setup_tags() {
0) 1.935 us | scsi_map_queues();
0) 1.310 us | scsi_mq_init_request();
0) + 12.885 us | }
0) 0.350 us | scsi_bus_uevent();
0) 0.320 us | scsi_bus_match();
0) 1.500 us | scsi_sysfs_add_host();
0) | scsi_autopm_put_host() {
0) | scsi_runtime_idle() {
0) 0.370 us | scsi_is_sdev_device();
0) # 4706.805 us | }
0) | scsi_runtime_suspend() {
0) 0.320 us | scsi_is_sdev_device();
0) # 4966.270 us | }
0) # 9676.240 us | }
0) * 14614.52 us | }
0) * 14624.29 us | }
0) * 34162.08 us | }
0) 0.350 us | usb_bus_notify();
0) 1.165 us | usb_uevent();
0) 1.400 us | usb_if_uevent();
0) + 12.805 us | usb_create_ep_devs();
0) 8.915 us | usb_create_ep_devs();
0) 0.430 us | usb_autosuspend_device();
0) @ 114260.9 us | }
0) 0.605 us | usb_notify_add_device();
0) @ 120443.3 us | }
0) @ 124803.9 us | }
0) 0.315 us | usb_bus_notify();
0) 1.015 us | usb_devnode();
0) 0.710 us | usb_uevent();
0) 0.490 us | usb_dev_uevent();
0) 8.835 us | usb_create_ep_devs();
0) @ 171887.1 us | }
0) 0.730 us | usb_autopm_put_interface_no_suspend();
0) 0.905 us | usb_autopm_put_interface();
0) @ 397588.7 us | }
3) | sd_probe() {
3) 0.575 us | scsi_autopm_get_device();
3) 0.535 us | sd_major();
3) | sd_revalidate_disk() {
3) | scsi_execute_cmd() {
3) 2.175 us | scsi_alloc_request();
3) 1.310 us | scsi_mq_get_budget();
3) 0.300 us | scsi_mq_set_rq_budget_token();
3) | scsi_queue_rq() {
3) 0.325 us | scsi_init_command();
3) 4.050 us | }
7) 3.820 us | scsi_normalize_sense();
7) + 24.055 us | } /* scsi_execute_cmd */
7) | scsi_execute_cmd() {
7) 5.360 us | scsi_alloc_request();
7) 1.545 us | scsi_mq_get_budget();
7) 0.305 us | scsi_mq_set_rq_budget_token();
7) | scsi_queue_rq() {
7) 0.740 us | scsi_init_command();
7) 0.860 us | scsi_alloc_sgtables();
7) 4.720 us | }
7) 0.340 us | scsi_normalize_sense();
7) + 20.710 us | }
7) | scsi_execute_cmd() {
7) 0.805 us | scsi_alloc_request();
7) 0.390 us | scsi_mq_get_budget();
7) 0.295 us | scsi_mq_set_rq_budget_token();
7) | scsi_queue_rq() {
7) 0.320 us | scsi_init_command();
7) 0.440 us | scsi_alloc_sgtables();
7) 2.735 us | }
7) 8.280 us | }
7) 0.605 us | scsi_log_reserve_buffer();
7) | scsi_mode_sense() {
7) | scsi_execute_cmd() {
7) 0.835 us | scsi_alloc_request();
7) 0.485 us | scsi_mq_get_budget();
7) 0.335 us | scsi_mq_set_rq_budget_token();
7) | scsi_queue_rq() {
7) 0.335 us | scsi_init_command();
7) 0.460 us | scsi_alloc_sgtables();
7) 2.700 us | }
7) 0.385 us | scsi_normalize_sense();
7) 9.905 us | }
7) + 11.075 us | }
7) 0.405 us | scsi_log_reserve_buffer();
7) 0.425 us | scsi_log_reserve_buffer();
7) | scsi_mode_sense() {
7) | scsi_execute_cmd() {
7) 0.730 us | scsi_alloc_request();
7) 0.435 us | scsi_mq_get_budget();
7) 0.300 us | scsi_mq_set_rq_budget_token();
7) | scsi_queue_rq() {
7) 0.320 us | scsi_init_command();
7) 0.420 us | scsi_alloc_sgtables();
7) 2.845 us | }
7) 0.345 us | scsi_normalize_sense();
7) 9.050 us | }
7) 9.725 us | }
7) 0.355 us | scsi_log_reserve_buffer();
7) 0.375 us | scsi_report_opcode();
7) 0.345 us | scsi_report_opcode();
7) 0.310 us | scsi_report_opcode();
7) 0.645 us | sd_dif_config_host();
7) 0.515 us | sd_set_flush_flag();
7) 0.450 us | sd_config_write_same();
7) * 29270.32 us | } /* sd_revalidate_disk */
7) 1.170 us | scsi_mq_init_request();
7) 0.350 us | scsi_mq_init_request();
7) | sd_open() {
7) 0.575 us | scsi_device_get();
7) 0.505 us | scsi_block_when_processing_errors();
7) | sd_revalidate_disk() {
7) | scsi_execute_cmd() {
7) 1.285 us | scsi_alloc_request();
7) 0.410 us | scsi_mq_get_budget();
7) 0.330 us | scsi_mq_set_rq_budget_token();
7) | scsi_queue_rq() {
7) 1.345 us | scsi_init_command();
7) 3.475 us | }
7) 0.420 us | scsi_normalize_sense();
7) + 12.145 us | }
7) | scsi_execute_cmd() {
7) 0.565 us | scsi_alloc_request();
7) 0.405 us | scsi_mq_get_budget();
7) 0.310 us | scsi_mq_set_rq_budget_token();
7) | scsi_queue_rq() {
7) 0.320 us | scsi_init_command();
7) 0.555 us | scsi_alloc_sgtables();
7) 2.810 us | }
7) 0.415 us | scsi_normalize_sense();
7) 9.985 us | }
7) | scsi_execute_cmd() {
7) 0.560 us | scsi_alloc_request();
7) 0.400 us | scsi_mq_get_budget();
7) 0.290 us | scsi_mq_set_rq_budget_token();
7) | scsi_queue_rq() {
7) 0.315 us | scsi_init_command();
7) 0.370 us | scsi_alloc_sgtables();
7) 2.545 us | }
7) 7.695 us | }
7) | scsi_mode_sense() {
7) | scsi_execute_cmd() {
7) 0.525 us | scsi_alloc_request();
7) 0.405 us | scsi_mq_get_budget();
7) 0.290 us | scsi_mq_set_rq_budget_token();
7) | scsi_queue_rq() {
7) 0.325 us | scsi_init_command();
7) 0.385 us | scsi_alloc_sgtables();
7) 2.525 us | }
7) 0.350 us | scsi_normalize_sense();
7) 8.500 us | }
7) 9.355 us | }
7) | scsi_mode_sense() {
7) | scsi_execute_cmd() {
7) 0.530 us | scsi_alloc_request();
7) 0.440 us | scsi_mq_get_budget();
7) 0.320 us | scsi_mq_set_rq_budget_token();
7) | scsi_queue_rq() {
7) 0.315 us | scsi_init_command();
7) 0.355 us | scsi_alloc_sgtables();
7) 2.540 us | }
7) 0.360 us | scsi_normalize_sense();
7) 8.650 us | }
7) 9.280 us | }
7) 0.490 us | scsi_report_opcode();
7) 0.325 us | scsi_report_opcode();
7) 0.425 us | scsi_report_opcode();
7) 0.520 us | sd_dif_config_host();
7) 0.340 us | sd_set_flush_flag();
7) 0.345 us | sd_config_write_same();
7) + 57.640 us | }
7) + 61.760 us | }
7) | sd_release() {
7) 0.475 us | scsi_device_put();
7) 1.560 us | }
7) 0.375 us | scsi_log_reserve_buffer();
7) 0.950 us | scsi_autopm_put_device();
7) * 35083.09 us | } /* sd_probe */
usb_hcd_irqh函数调用情况1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62# tracer: function_graph
#
# CPU DURATION FUNCTION CALLS
# | | | | | | |
0) | usb_hcd_irq() {
0) | xhci_irq() {
0) 0.505 us | usb_hcd_is_primary_hcd();
0) 3.275 us | usb_hcd_resume_root_hub();
0) | usb_hcd_poll_rh_status() {
0) | xhci_hub_status_data() {
0) 0.310 us | usb_hcd_is_primary_hcd();
0) 0.320 us | usb_hcd_is_primary_hcd();
0) 2.655 us | }
0) 4.250 us | }
0) 1.225 us | xhci_update_erst_dequeue.isra.49();
0) + 16.345 us | }
0) + 20.665 us | }
0) | usb_hcd_irq() {
0) | xhci_irq() {
0) 0.310 us | usb_hcd_is_primary_hcd();
0) 0.315 us | xhci_get_virt_ep();
0) 0.300 us | xhci_dma_to_transfer_ring();
0) 0.310 us | xhci_get_ep_ctx();
0) 0.310 us | xhci_get_ep_ctx();
0) 0.310 us | xhci_get_ep_ctx();
0) | xhci_td_cleanup() {
0) 0.370 us | xhci_unmap_td_bounce_buffer.isra.38();
0) | xhci_giveback_urb_in_irq.isra.39() {
0) 0.410 us | xhci_urb_free_priv();
0) 0.320 us | usb_hcd_unlink_urb_from_ep();
0) 0.350 us | usb_hcd_giveback_urb();
0) 2.300 us | }
0) 3.715 us | }
0) 1.200 us | xhci_update_erst_dequeue.isra.49();
0) + 15.620 us | }
0) + 16.405 us | }
0) | usb_hcd_irq() {
0) | xhci_irq() {
0) 0.310 us | usb_hcd_is_primary_hcd();
0) 0.310 us | xhci_get_virt_ep();
0) 0.295 us | xhci_dma_to_transfer_ring();
0) 0.290 us | xhci_get_ep_ctx();
0) 0.295 us | xhci_get_ep_ctx();
0) 0.295 us | xhci_get_virt_ep();
0) 0.295 us | xhci_dma_to_transfer_ring();
0) 0.300 us | xhci_get_ep_ctx();
0) 0.295 us | xhci_get_ep_ctx();
0) 0.300 us | xhci_get_ep_ctx();
0) | xhci_td_cleanup() {
0) 0.295 us | xhci_unmap_td_bounce_buffer.isra.38();
0) | xhci_giveback_urb_in_irq.isra.39() {
0) 0.340 us | xhci_urb_free_priv();
0) 0.315 us | usb_hcd_unlink_urb_from_ep();
0) 0.335 us | usb_hcd_giveback_urb();
0) 2.090 us | }
0) 3.225 us | }
0) 1.225 us | xhci_update_erst_dequeue.isra.49();
0) + 16.115 us | }
0) + 16.700 us | }
读写数据
1 | cd /sys/kernel/debug/tracing |
1 | # tracer: function_graph |
移除SCSI缓存
1 | cd /sys/kernel/debug/tracing |
1 | # tracer: function_graph |
安全弹出
1 | cd /sys/kernel/debug/tracing |
1 | # tracer: function_graph |
设备拔出
1 | cd /sys/kernel/debug/tracing |
1 | # tracer: function_graph |
异步:suspend机制
1 | echo device > /sys/class/usb_role/22100000.dwc3-role-switch/role |
1 | 3) | () { |
驱动代码细节
数据结构
xhci_hcd
1 | // linux-6.6.64/drivers/usb/host/xhci.h |
usb_hcd
1 | // linux-6.6.64/include/linux/usb/hcd.h |
端口状态变化
依次经历如下过程,状态格式为:【供电】【设备连接】【端口使能】【连接状态】【端口速度】
主控注册后,不间断轮询状态为:Powered Not-connected Disabled Link:RxDetect PortSpeed:0
设备接入后,状态切换为:
Powered Connected Enabled Link:U0 PortSpeed:5
Powered Connected Disabled Link:Hot Reset PortSpeed:5
Powered Connected Enabled Link:U0 PortSpeed:5
安全弹出后,状态切换为:Powered Connected Enabled Link:U3 PortSpeed:5
设备拔出后,状态切换为:Powered Not-connected Disabled Link:RxDetect PortSpeed:0
安全弹出后,再切换角色回host,状态切换为:
- 初次探测,握手失败,硬件复位了状态机。
Powered Connected Disabled Link:Polling PortSpeed:1
Powered Not-connected Disabled Link:RxDetect PortSpeed:0
- 高速通道建立
Powered Connected Disabled Link:Polling PortSpeed:1 In-Reset
Powered Connected Enabled Link:U0 PortSpeed:5
- 链路不稳定与降级震荡,“Link Training Flapping”(链路训练震荡)
Powered Connected Enabled Link:U0 PortSpeed:3
Powered Connected Enabled Link:U0 PortSpeed:5
Powered Not-connected Disabled Link:RxDetect PortSpeed:0
Powered Connected Enabled Link:U0 PortSpeed:5
Powered Not-connected Disabled Link:RxDetect PortSpeed:0
Powered Connected Enabled Link:U0 PortSpeed:5
- USB 3.0 物理链路正式建立
Powered Not-connected Disabled Link:RxDetect PortSpeed:0
Powered Connected Enabled Link:U0 PortSpeed:51
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70cd /sys/kernel/debug/tracing
# echo 1 > events/xhci-hcd/enable
echo 1 > events/xhci-hcd/xhci_handle_port_status/enable
echo 1 > events/xhci-hcd/xhci_hub_status_data/enable
cat trace_pipe >/tmp/trace.log &
<主控注册>
<设备接入>
dd if=/dev/urandom of=/dev/sda bs=4K count=32
dd if=/dev/sda of=/dev/null bs=4k count=8
echo 1 > /sys/class/block/sda/device/delete
echo 1 > /sys/bus/usb/devices/2-1/remove
<设备拔出>
killall cat && cat /tmp/trace.log
kworker/0:2-68 [000] d..1. 6379.867416: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake: WCE WOE
kworker/0:2-68 [000] d..1. 6379.883398: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake: WCE WOE
kworker/0:2-68 [000] d..1. 6379.899397: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake: WCE WOE
kworker/0:2-68 [000] d..1. 6379.919399: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake: WCE WOE
kworker/0:2-68 [000] d..1. 6379.935398: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake: WCE WOE
kworker/0:2-68 [000] d..1. 6379.951398: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake: WCE WOE
kworker/0:1-282 [000] d..1. 6379.963402: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake: WCE WOE
kworker/0:2-68 [000] d..1. 6379.967397: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake: WCE WOE
kworker/0:2-68 [000] d..1. 6379.983396: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake: WCE WOE
kworker/0:2-68 [000] d..1. 6379.999396: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake: WCE WOE
kworker/0:1-282 [000] d..1. 6380.007392: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake: WCE WOE
kworker/0:2-68 [000] d..1. 6380.015397: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake: WCE WOE
kworker/0:2-68 [000] d..1. 6380.031396: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake: WCE WOE
kworker/0:2-68 [000] d..1. 6380.047398: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake: WCE WOE
kworker/0:1-282 [000] d..1. 6380.051391: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake: WCE WOE
kworker/0:2-68 [000] d..1. 6380.063397: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake: WCE WOE
kworker/0:2-68 [000] d..1. 6380.079397: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake: WCE WOE
kworker/0:2-68 [000] d..1. 6380.095403: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake: WCE WOE
kworker/0:1-282 [000] d..1. 6380.095413: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake: WCE WOE
kworker/0:1-282 [000] d..1. 6380.111406: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake: WCE WOE
kworker/0:1-282 [000] d..1. 6380.127397: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake: WCE WOE
kworker/0:2-68 [000] d..1. 6380.139392: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake: WCE WOE
kworker/0:1-282 [000] d..1. 6380.143397: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake: WCE WOE
kworker/0:1-282 [000] d..1. 6380.159395: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake: WCE WOE
kworker/0:1-282 [000] d..1. 6380.175397: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake: WCE WOE
kworker/0:2-68 [000] d..1. 6380.183392: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake: WCE WOE
kworker/0:1-282 [000] d..1. 6380.191397: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake: WCE WOE
kworker/0:1-282 [000] d..1. 6380.207397: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake: WCE WOE
kworker/0:1-282 [000] d..1. 6380.223397: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake: WCE WOE
kworker/0:2-68 [000] d..1. 6380.227391: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake: WCE WOE
kworker/0:1-282 [000] d..1. 6380.239398: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake: WCE WOE
kworker/0:1-282 [000] d..1. 6380.255396: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake: WCE WOE
kworker/0:1-282 [000] d..1. 6380.271403: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake: WCE WOE
kworker/0:2-68 [000] d..1. 6380.271413: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake: WCE WOE
kworker/0:2-68 [000] d..1. 6380.287405: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake: WCE WOE
kworker/0:2-68 [000] d..1. 6380.303397: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake: WCE WOE
kworker/0:1-282 [000] d..1. 6380.315392: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake: WCE WOE
kworker/0:2-68 [000] d..1. 6380.319396: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake: WCE WOE
kworker/0:2-68 [000] d..1. 6380.335396: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake: WCE WOE
kworker/0:1-282 [000] d..1. 6380.359406: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake: WCE WOE
<idle>-0 [000] d.h2. 6388.265696: xhci_handle_port_status: port-0: Powered Connected Enabled Link:U0 PortSpeed:5 Change: CSC Wake: WCE WOE
<idle>-0 [000] dNh2. 6388.265700: xhci_hub_status_data: port-0: Powered Connected Enabled Link:U0 PortSpeed:5 Change: CSC Wake: WCE WOE
<idle>-0 [000] d.s2. 6388.391378: xhci_hub_status_data: port-0: Powered Connected Enabled Link:U0 PortSpeed:5 Change: Wake:
<idle>-0 [000] d.s2. 6388.403379: xhci_hub_status_data: port-0: Powered Connected Disabled Link:Hot Reset PortSpeed:5 In-Reset Change: Wake:
<idle>-0 [000] d.h2. 6388.404469: xhci_handle_port_status: port-0: Powered Connected Enabled Link:U0 PortSpeed:5 Change: PRC Wake:
<idle>-0 [000] d.h2. 6388.404471: xhci_hub_status_data: port-0: Powered Connected Enabled Link:U0 PortSpeed:5 Change: PRC Wake:
<idle>-0 [000] d.s2. 6388.639383: xhci_hub_status_data: port-0: Powered Connected Enabled Link:U0 PortSpeed:5 Change: Wake:
kworker/5:1-74 [005] d..1. 6418.619403: xhci_hub_status_data: port-0: Powered Connected Enabled Link:U3 PortSpeed:5 Change: Wake: WDE WOE
<idle>-0 [000] d.h2. 6423.227605: xhci_handle_port_status: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: CSC Wake: WDE WOE
<idle>-0 [000] dNh2. 6423.227612: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: CSC Wake: WDE WOE
<idle>-0 [000] d.s2. 6423.359378: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake:
kworker/0:1-282 [000] d..1. 6423.363405: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake: WCE WOE
<idle>-0 [000] d.s2. 6423.367379: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake: WCE WOE1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43cd /sys/kernel/debug/tracing
# echo 1 > events/xhci-hcd/enable
echo 1 > events/xhci-hcd/xhci_handle_port_status/enable
echo 1 > events/xhci-hcd/xhci_hub_status_data/enable
<主控注册>
<设备接入>
cat trace_pipe >/tmp/trace.log &
echo 1 > /sys/class/block/sda/device/delete
echo 1 > /sys/bus/usb/devices/2-1/remove
<切换角色device>
<切换角色host>
killall cat && cat /tmp/trace.log
<安全弹出>
kworker/0:1-282 [000] d..1. 7191.279405: xhci_hub_status_data: port-0: Powered Connected Enabled Link:U3 PortSpeed:5 Change: Wake: WDE WOE
<切换角色device>
<切换角色host>
kworker/0:1-282 [000] d.h1. 7229.798500: xhci_handle_port_status: port-0: Powered Connected Disabled Link:Polling PortSpeed:1 Change: CSC Wake:
kworker/0:1-282 [000] d.h1. 7229.798506: xhci_hub_status_data: port-0: Powered Connected Disabled Link:Polling PortSpeed:1 Change: CSC Wake:
kworker/0:1-282 [000] d..1. 7229.807846: xhci_hub_status_data: port-0: Powered Connected Disabled Link:Polling PortSpeed:1 Change: CSC Wake:
<idle>-0 [000] d.s2. 7229.855381: xhci_hub_status_data: port-0: Powered Connected Disabled Link:Polling PortSpeed:1 Change: Wake:
kworker/6:1-75 [006] d..1. 7229.927420: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake: WCE WOE
<idle>-0 [006] d.s2. 7229.939380: xhci_hub_status_data: port-0: Powered Connected Disabled Link:Polling PortSpeed:1 In-Reset Change: Wake:
<idle>-0 [000] d.h2. 7229.948044: xhci_handle_port_status: port-0: Powered Connected Enabled Link:U0 PortSpeed:5 Change: CSC Wake:
<idle>-0 [000] d.h2. 7229.948047: xhci_hub_status_data: port-0: Powered Connected Enabled Link:U0 PortSpeed:5 Change: CSC Wake:
<idle>-0 [000] d.h2. 7229.985726: xhci_handle_port_status: port-0: Powered Connected Enabled Link:U0 PortSpeed:3 Change: PRC Wake:
<idle>-0 [000] d.h2. 7229.985729: xhci_hub_status_data: port-0: Powered Connected Enabled Link:U0 PortSpeed:3 Change: PRC Wake:
<idle>-0 [006] d.s2. 7230.083378: xhci_hub_status_data: port-0: Powered Connected Enabled Link:U0 PortSpeed:5 Change: Wake:
<idle>-0 [006] d.s2. 7230.103378: xhci_hub_status_data: port-0: Powered Connected Enabled Link:U0 PortSpeed:5 Change: Wake:
<idle>-0 [006] d.s2. 7230.103381: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: CSC PRC Wake:
<idle>-0 [006] d.s2. 7230.351378: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: CSC PRC Wake:
<idle>-0 [006] d.s2. 7230.351380: xhci_hub_status_data: port-0: Powered Connected Enabled Link:U0 PortSpeed:5 Change: Wake:
<idle>-0 [006] d.s2. 7230.599378: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: CSC PRC Wake:
<idle>-0 [000] d.h2. 7230.700510: xhci_handle_port_status: port-0: Powered Connected Enabled Link:U0 PortSpeed:5 Change: PRC Wake:
<idle>-0 [000] d.h2. 7230.700513: xhci_hub_status_data: port-0: Powered Connected Enabled Link:U0 PortSpeed:5 Change: PRC Wake:
kworker/6:0-47 [006] d..1. 7230.839394: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake: WCE WOE
<idle>-0 [006] d.s2. 7230.847378: xhci_hub_status_data: port-0: Powered Not-connected Disabled Link:RxDetect PortSpeed:0 Change: Wake: WCE WOE
<idle>-0 [000] d.s2. 7230.847380: xhci_hub_status_data: port-0: Powered Connected Enabled Link:U0 PortSpeed:5 Change: Wake:
hcd中断处理
1 | // linux-6.6.64/drivers/usb/core/hcd.c |
xhci_hc_driver驱动1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43// linux-6.6.64/drivers/usb/host/xhci.c
// xhci hc驱动
struct hc_driver xhci_hc_driver = {
.description = "xhci-hcd",
.product_desc = "xHCI Host Controller",
.irq = xhci_irq,
.flags = HCD_MEMORY | HCD_DMA | HCD_USB3 | HCD_SHARED | HCD_BH,
};
// linux-6.6.64/drivers/usb/host/xhci-ring.c
irqreturn_t xhci_irq(struct usb_hcd *hcd)
struct xhci_hcd *xhci = hcd_to_xhci(hcd)
/* 读取状态,确保是event中断 */
status = readl(&xhci->op_regs->status)
/* 清除 STS_EINT */
status |= STS_EINT;
writel(status, &xhci->op_regs->status)
/*
不断循环 处理event,更新Event Ring Dequeue Pointer
*/
{
xhci_handle_event(xhci)
xhci_update_erst_dequeue(xhci, event_ring_deq)
}
// linux-6.6.64/drivers/usb/host/xhci-ring.c
static int xhci_handle_event(struct xhci_hcd *xhci)
union xhci_trb *event
event = xhci->event_ring->dequeue
trb_type = TRB_FIELD_TO_TYPE(le32_to_cpu(event->event_cmd.flags))
/*
根据类型调用不同的处理函数
*/
TRB_COMPLETION: handle_cmd_completion(xhci, &event->event_cmd)
TRB_PORT_STATUS: handle_port_status(xhci, ir, event)
TRB_TRANSFER: handle_tx_event(xhci, ir, &event->trans_event)
TRB_DEV_NOTE: handle_device_notification(xhci, event)
default: handle_vendor_event(xhci, event, trb_type) // >= TRB_VENDOR_DEFINED_LOW 为自定义TRB
// linux-6.6.64/drivers/usb/host/xhci-ring.c
static void handle_port_status(struct xhci_hcd *xhci,
struct xhci_interrupter *ir,
union xhci_trb *event)
usb_hcd_resume_root_hub(hcd)
// 打印 Port change event, %d-%d, id %d, portsc: 0x%x
唤醒设备流程
1 | // linux-6.6.64/drivers/usb/gadget/udc/dummy_hcd.c |
event处理流程
1 | // linux-6.6.64/drivers/usb/core/hub.c |
设备探测流程
1 | // linux-6.6.64/drivers/usb/core/driver.c |
interface探测流程
1 | // linux-6.6.64/drivers/usb/core/driver.c |
uas探测流程
USB Attached SCSI驱动探测1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81// linux-6.6.64/drivers/usb/storage/uas.c
int uas_probe(struct usb_interface *intf, const struct usb_device_id *id)
/* uas兼容性检查,并切换为uas专用接口 */
uas_use_uas_driver(intf, id, &dev_flags)
uas_switch_interface(udev, intf)
/* 申请 scsi 主机结构, 并配置相关数据 */
struct Scsi_Host *shost
shost = scsi_host_alloc(&uas_host_template, sizeof(struct uas_dev_info))
init_usb_anchor(&devinfo->cmd_urbs); // Command的URB锚点
init_usb_anchor(&devinfo->sense_urbs); // Sense的URB锚点
init_usb_anchor(&devinfo->data_urbs); // Data的URB锚点
INIT_WORK(&devinfo->work, uas_do_work);
INIT_WORK(&devinfo->scan_work, uas_scan_work); // 延时扫描任务
devinfo = (struct uas_dev_info *)shost->hostdata
/*
配置 uas 的4个端点
0--命令pipe bulk-out
1--状态pipe bulk-in
2--in数据pipe
3--out数据pipe
*/
uas_configure_endpoints(devinfo)
scsi_add_host(shost, &intf->dev) // scsi设备注册到内核
// linux-6.6.64/include/scsi/scsi_host.h
int scsi_add_host(struct Scsi_Host *host, struct device *dev)
scsi_add_host_with_dma(host, dev, dev)
// linux-6.6.64/drivers/scsi/hosts.c
/*
将SCSI主机适配器注册到内核,创建设备节点:
/sys/class/scsi_host/host0
*/
int scsi_add_host_with_dma(struct Scsi_Host *shost, struct device *dev,
struct device *dma_dev)
// 打印 scsi host0: uas
scsi_init_sense_cache(shost) // 初始化sense数据缓存
scsi_mq_setup_tags(shost) // 设置scsi标签集,启用调试可以查看 cat /sys/kernel/debug/scsi/scsi_host/hostX/tags
device_add(&shost->shost_gendev) // 注册通用设备
scsi_host_set_state(shost, SHOST_RUNNING)
shost->work_q = alloc_workqueue(xxx) // 创建工作队列 名称:scsi_wq_xx
/*
注册SCSI专用设备
创建节点 /sys/class/scsi_host/hostX /sys/bus/scsi/devices
*/
device_add(&shost->shost_dev)
scsi_sysfs_add_host(shost) // 添加sysfs属性节点 /sys/class/scsi_host/hostX/proc_name
scsi_proc_host_add(shost) // 添加/proc节点 /proc/scsi/[driver]/X
// linux-6.6.64/drivers/usb/storage/uas.c
void uas_scan_work(struct work_struct *work)
struct Scsi_Host *shost = usb_get_intfdata(devinfo->intf);
scsi_scan_host(shost)
// linux-6.6.64/drivers/scsi/scsi_scan.c
void scsi_scan_host(struct Scsi_Host *shost)
/*
1. 内存足够使用 async_schedule(do_scan_async, data) -> do_scsi_scan_host(shost)
2. 内存不足直接同步调用
*/
do_scsi_scan_host(shost)
scsi_scan_host_selected(shost, SCAN_WILD_CARD, SCAN_WILD_CARD, SCAN_WILD_CARD, 0)
/*
SCAN_WILD_CARD 会遍历所有通道
*/
scsi_scan_channel(shost, channel, id, lun, rescan)
__scsi_scan_target(&shost->shost_gendev, channel, id, lun, rescan)
scsi_probe_and_add_lun(starget, 0, &bflags, NULL, rescan, NULL)
scsi_device_lookup_by_target(starget, lun)
scsi_probe_lun(sdev, result, result_len, &bflags) // 使用INQUIRY探测lun
scsi_add_lun(sdev, result, &bflags, shost->async_scan)
/* 将scsi信息解析后添加到设备中存储 */
sdev->inquiry = kmemdup(inq_result, max_t(size_t, sdev->inquiry_len, 36), GFP_KERNEL)
// 打印 scsi 0:0:0:0: Direct-Access Seagate One Touch SSD PMAP PQ: 0 ANSI: 6
scsi_device_set_state(sdev, SDEV_RUNNING)
transport_configure_device(&sdev->sdev_gendev)
/*
scsi设备注册
创建 /sys/class/scsi_device/... 和 /sys/block/sda/device 等节点
*/
scsi_sysfs_add_sdev(sdev) // 通过调用 device_add 触发 sd_probe
scsi协议OPCODES MESSAGES SENSE码见:linux-6.6.64/include/scsi/scsi_proto.h
sd探测流程
1 | // linux-6.6.64/drivers/scsi/sd.c |
主控注册
汇总流程
1 | // echo host > /sys/class/usb_role/22100000.dwc3-role-switch/role |
流程细节
写/sys/class/usb_role/xxx-role-switch/role节点
1 | // linux-6.6.64/drivers/usb/roles/class.c |
probe
1 | usb_generic_xhci_driver.probe (xhci_generic_plat_probe) |
usb_add_hcd
1 | // linux-6.6.64/drivers/usb/core/hcd.c |
usb_register_bus
1 | // linux-6.6.64/drivers/usb/core/hcd.c |
xhci_plat_setup
1 | xhci_plat_overrides.reset (xhci_plat_setup) |
xhci_run
1 | // linux-6.6.64/drivers/usb/host/xhci.c |
register_root_hub
1 | // linux-6.6.64/drivers/usb/core/hcd.c |
usb_probe_device
1 | // linux-6.6.64/drivers/usb/core/driver.c |
usb_probe_interface
1 | // linux-6.6.64/drivers/usb/core/driver.c |
hub_probe
1 | // linux-6.6.64/drivers/usb/core/hub.c |
usb_control_msg
1 | // linux-6.6.64/drivers/usb/core/message.c |
xhci_hub_control
1 | // linux-6.6.64/drivers/usb/host/xhci-hub.c |
usb_enumerate_device
1 | // linux-6.6.64/drivers/usb/core/hub.c |
suspend机制
1 | // linux-6.6.64/drivers/usb/core/hcd.c |
设备接入
汇总流程
1 | usb_hcd_irq |
portsc 值为0xa021603按位解析(详见linux-6.6.64/drivers/usb/host/xhci-port.h):
- CONNECT (0): 1
- PE(1): 1
- PLS(8:5): 0 U0
- POWER(9): 1
- SPEED(13:10): 5 SSP
- CSC(17): 1
- WKCONN_E(25): 1
- WKOC_E(27): 1
流程细节
hcd中断处理流程
1 | // linux-6.6.64/drivers/usb/core/hcd.c |
usb_stor_scan_dwork-延时扫描
usb_stor_scan_dwork函数的核心功能,在 USB 存储设备初始化完成后,推迟一段时间再对设备进行 LUN(逻辑单元)扫描。1
static void usb_stor_scan_dwork(struct work_struct *work)
usb_control_msg-发送控制消息
1 | usb_control_msg |
读写数据
汇总流程
1 | // linux-6.6.64/drivers/usb/storage/usb.c |
流程细节
usb-storage驱动
当usb硬盘设备接入后,通过pid-vid或class于usb_storage_usb_ids中的id进行匹配,然后调用storage_probe进行初始化。1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21// linux-6.6.64/drivers/usb/storage/usb.c
/* usb-storage驱动 */
static struct usb_driver usb_storage_driver = {
.name = "usb-storage",
.probe = storage_probe,
.id_table = usb_storage_usb_ids,
};
static int storage_probe(struct usb_interface *intf,
const struct usb_device_id *id)
usb_stor_probe1(&us, intf, id, unusual_dev, /* 申请usb-storage驱动核心结构 */
// 打印 USB Mass Storage device detected
scsi_host_alloc(sht, sizeof(*us))
INIT_DELAYED_WORK(&us->scan_dwork, usb_stor_scan_dwork) // 初始化延时工作队列scan_dwork
get_transport(us)
get_protocol(us)
usb_stor_probe2(us) /* 申请usb-storage驱动 */
usb_stor_acquire_resources(us)
kthread_run(usb_stor_control_thread, us, "usb-storage") // 创建名称为"usb-storage"的内核线程
// 打印 scsi host0: usb-storage 2-1:1.0
scsi_add_host(us_to_host(us), dev) // scsi_add_host_with_dma
usb_stor_control_thread函数核心功能为scsi命令与usb命令转换。1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49// linux-6.6.64/drivers/usb/storage/usb.c
static int usb_stor_control_thread(void * __us)
/* 循环执行 */
// 调试打印 *** thread sleeping
wait_for_completion_interruptible(&us->cmnd_ready) // 等待执行,进入睡眠;直到scsi层的queuecommand回调函数
// 调试打印 *** thread awakened
// 调试打印 Command %s (%d bytes)
// 调试打印,命令详情,最多前16字节 bytes: %*ph
us->proto_handler(srb, us) // "Reduced Block Commands (RBC)"协议调用的是 usb_stor_transparent_scsi_command -> usb_stor_invoke_transport
// 调试打印 scsi cmd done, result=0x%x
// linux-6.6.64/drivers/usb/storage/transport.c
void usb_stor_invoke_transport(struct scsi_cmnd *srb, struct us_data *us)
us->transport(srb, us) // "Bulk"节点调用的是usb_stor_Bulk_transport
// 填写bulk_cb_wrap命令结构,scsi命令复制到CDB区域
// 调试打印 Bulk Command S 0x%x T 0x%x L %d F %d Trg %d LUN %d CL %d
usb_stor_bulk_transfer_buf(us, us->send_bulk_pipe,
// 调试打印 xfer %u bytes
usb_stor_msg_common(us, 0)
usb_submit_urb(us->current_urb, GFP_NOIO) // urb提交入队
wait_for_completion_interruptible_timeout(...&urb_done...) // 等待urb传输完成
interpret_urb_result(us, pipe, length, result,
// 调试打印 Status code %d; transferred %u/%u
// 调试打印 -- transfer complete
// 调试打印 Bulk command transfer result=%d
/* 若需要传输数据 */
if (transfer_length)
usb_stor_bulk_srb(us, pipe, srb)
usb_stor_bulk_transfer_sglist(us, pipe, scsi_sglist(srb)
// 调试打印 xfer %u bytes, %d entries
usb_sg_init(&us->current_sg, us->pusb_dev, pipe, 0,
usb_sg_wait(&us->current_sg) // 等待sg传输完成
interpret_urb_result(us, pipe, length, result,
// 调试打印 Status code %d; transferred %u/%u
// 调试打印 -- transfer complete
// 调试打印 Bulk data transfer result 0x%x
// 调试打印 Attempting to get CSW...
usb_stor_bulk_transfer_buf(us, us->recv_bulk_pipe,
// 调试打印 xfer %u bytes
usb_stor_msg_common(us, 0)
usb_submit_urb(us->current_urb, GFP_NOIO) // urb提交入队
wait_for_completion_interruptible_timeout(...&urb_done...) // 等待urb传输完成
interpret_urb_result(us, pipe, length, result,
// 调试打印 Status code %d; transferred %u/%u
// 调试打印 -- transfer complete
// 调试打印 Bulk status result = %d
// 调试打印 Bulk Status S 0x%x T 0x%x R %u Stat 0x%x
调试日志实例:写入4k*30大小数据
1 | [ 1310.905849][ T169] *** thread awakened |
调试日志实例:读取4k*2大小数据
1 | [ 1635.863646][ T169] *** thread awakened |
trace_event日志示例:写入4k*32大小数据
usb-storage线程中处理
- xhci_urb_enqueue:描述urb需要传输的sgs(trb)数量9,总数据包长度131072
- xhci_queue_trb:描述每个trb长度和细节
- xhci_inc_enq:更新enq位置
- xhci_ring_ep_doorbell:响铃通知控制器进行处理端点数据ep2out
hcd中断中处理
- xhci_handle_event:显示event细节,类型’Transfer Event’
- xhci_handle_transfer:显示最后一个trb细节
- xhci_inc_deq:更新deq位置
- xhci_urb_giveback:显示urb传输完成的sgs(trb)数量9,总数据包长度131072
1 | cd /sys/kernel/debug/tracing |
trace_event日志示例:读取4k*2大小数据
usb-storage线程中处理
- xhci_urb_enqueue:描述urb需要传输的sgs(trb)数量3,总数据包长度16384
- xhci_queue_trb:描述每个trb长度和细节
- xhci_inc_enq:更新enq位置
- xhci_ring_ep_doorbell:响铃通知控制器进行处理端点数据ep1in
hcd中断中处理
- xhci_handle_event:显示event细节,类型’Transfer Event’
- xhci_handle_transfer:显示最后一个trb细节
- xhci_inc_deq:更新deq位置
- xhci_urb_giveback:显示urb传输完成的sgs(trb)数量3,总数据包长度16384
1 | cd /sys/kernel/debug/tracing |
移除SCSI缓存
辅助手段
1 | echo file drivers/base/core.c +p > /sys/kernel/debug/dynamic_debug/control |
汇总流程
1 | // linux-6.6.64/drivers/scsi/scsi_sysfs.c |
流程细节
1 |
trace_event日志示例
1 | usb-storage-98 [005] ..... 3478.985256: xhci_urb_enqueue: ep2out-bulk: urb 00000000c522f943 pipe 3221291520 slot 1 length 0/31 sgs 0/0 stream 0 flags 00000004 |
安全弹出
汇总流程
流程细节
trace_event日志示例
1 | cd /sys/kernel/debug/tracing |
设备拔出
汇总流程
流程细节
trace_event日志示例
1 | cd /sys/kernel/debug/tracing |
附录
参考文档
- 百问网文档:04_USB协议层数据格式 — Linux设备驱动开发教程中心
- 《Universal Serial Bus Specification V2.0》