Commit Graph

61 Commits

Author SHA1 Message Date
sakumisu
eeb304ae08 update log tag 2024-01-30 23:04:35 +08:00
Zhihong Chen
6bc6b06076 usbh_core: add iar risc-v support
- add iar risc-v support

Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
2024-01-14 17:00:40 +08:00
sakumisu
1158fc3d8c support multi USB IP for host 2024-01-08 22:47:28 +08:00
sakumisu
2662a3497d add \t for hub info log 2023-12-27 20:21:10 +08:00
sakumisu
f68a86ea89 add usbh_deinitialize api 2023-12-24 23:37:47 +08:00
sakumisu
14f1f597f1 add usb errno, do not use system errno 2023-12-05 21:34:32 +08:00
sakumisu
b14976dd56 fix usbh_set_interface api, correct wValue for altsetting 2023-11-27 20:29:24 +08:00
sakumisu
50e1cd3471 add mutex for ep0 urb to avoid multithreading 2023-11-22 21:44:51 +08:00
sakumisu
9ea2121c7c make hub_set_feature and hub_clear_feature api public 2023-11-20 22:15:43 +08:00
sakumisu
a08097c90e use static urb for ep0 2023-11-17 21:05:07 +08:00
sakumisu
5bbe2a97f2 refactor urb, add ep & hport in urb to make hardware pipe more reusable 2023-11-16 19:56:52 +08:00
sakumisu
1c31156a37 add ms os request 2023-11-13 19:51:53 +08:00
sakumisu
2080cf1206 add usbh_set_interface api 2023-11-11 14:00:29 +08:00
sakumisu
c37c60c7c7 add usbh_get_string_desc api 2023-11-04 15:24:15 +08:00
sakimisu
5657b2a028 update hub process for usb3.0, update xhci driver 2023-04-21 23:43:59 +08:00
sakumisu
2241098561 disconnect sources in usbh_hport_release 2023-03-17 10:21:43 +08:00
sakimisu
4cd9031d31 replace speed reconfig with mult 2023-03-12 15:05:35 +08:00
sakumisu
5e406f41c1 move ep0 active into hub event 2023-02-23 17:55:11 +08:00
sakumisu
75ddfc8e4d move hub and hport variable into common ram to reduce nocache ram usage 2023-02-18 15:19:52 +08:00
sakimisu
921ed9b697 Revert "check if hport is null"
This reverts commit 63bc4e9363.
2023-02-09 21:13:12 +08:00
sakumisu
63bc4e9363 check if hport is null 2023-02-05 14:39:08 +08:00
sakimisu
db330b42e7 add class only match 2022-12-31 16:27:38 +08:00
sakimisu
2364d0a6ba do not use return value 2022-12-25 17:03:12 +08:00
biyq
2a8a7ecdf0 1. support for iar in situation of usb host application 2022-12-15 20:19:42 +08:00
biyq
9bcea9ae37 1. support for iar in situation of usb host application 2022-12-15 20:19:42 +08:00
sakimisu
051c380f3b reset hport bNumInterfaces when enum fails 2022-12-07 21:38:20 +08:00
sakimisu
61e82e0eeb remove device mount and unmount callback 2022-11-21 21:59:37 +08:00
sakumisu
ee026096b1 remove bulk_transfer and intr_transfer 2022-10-07 21:44:43 +08:00
sakumisu
85c0f658da fix pipe param type in usbh_hport_activate_epx 2022-09-27 19:34:24 +08:00
sakumisu
d7a37de795 config ep0 default mps in usbh_enumerate 2022-09-25 17:58:30 +08:00
sakumisu
275a554579 add check for config parse 2022-09-24 15:54:41 +08:00
sakumisu
4b632597cb fix port index overflow 2022-09-24 14:31:20 +08:00
sakumisu
bd40ff0660 record raw config descriptors 2022-09-23 22:13:40 +08:00
zhugengyu
590ffc8847 update 2022-09-22 22:12:09 +08:00
zhugengyu
e2a4fb11d8 update 2022-09-22 22:12:09 +08:00
sakumisu
887dbd33e3 add usb3.0 speed support 2022-09-17 21:58:06 +08:00
sakumisu
b25b0f0b6c add interface altsetting struct 2022-09-14 20:33:13 +08:00
sakumisu
62d0000926 refactor usb host stack: hcd api, hub process and usb no cache ram process 2022-09-09 19:09:22 +08:00
sakumisu
7377b5183d Simplify the license rows, standardize header macro name 2022-08-18 21:41:19 +08:00
sakumisu
54c52944d2 remove comments to reduce rows 2022-08-17 20:12:37 +08:00
sakumisu
0bbced8733 update usbh_class info section 2022-08-12 23:26:40 +08:00
sakumisu
628ee1f74d add mount callback for device, move tests in mount callback 2022-08-12 21:35:17 +08:00
sakumisu
88f710458c delete workq 2022-08-12 21:34:47 +08:00
sakumisu
5d4f51a6f2 add log for descriptor parse 2022-06-17 22:42:35 +08:00
sakumisu
7c4809412b event use if not else 2022-06-16 22:17:18 +08:00
sakumisu
e922b589f8 fix warnings 2022-06-15 22:14:53 +08:00
sakumisu
5904bbd914 remove static class_driver table 2022-06-15 21:05:23 +08:00
sakumisu
b57d3637bb add sw init for os and hw init for host controller 2022-06-14 22:08:49 +08:00
sakumisu
c1f6b86bcf add class driver export macro control 2022-04-04 13:11:44 +08:00
sakumisu
f716b6d307 add USB_LOG_RAW macro for printf 2022-04-03 22:11:08 +08:00