Commit Graph

76 Commits

Author SHA1 Message Date
sakumisu
9657585f1f update(core/usbh_core): remove ununsed urb memset 2024-05-15 09:57:21 +08:00
sakumisu
7ebcafe158 adjust code order 2024-05-03 18:57:09 +08:00
sakumisu
5fec929b93 support id table for multi vid pid 2024-05-03 18:54:36 +08:00
sakumisu
4bf0e126af move usbh_hubport_release api to core 2024-05-03 18:00:59 +08:00
sakumisu
7ee77b42ee check class_driver is null 2024-04-25 21:20:24 +08:00
sakumisu
404225ade4 change INFO to DBG 2024-04-25 21:17:56 +08:00
sakumisu
1eef5f3e35 add config index to select multi configs 2024-04-07 16:53:53 +08:00
sakumisu
5494b0e99a add check for wTotalLength 2024-04-03 11:27:28 +08:00
Zhihong Chen
9145add9af core: host: add "." to section usbh_class_info for IAR
- add "." to section usbh_class_info for IAR

Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
2024-03-18 19:20:30 +08:00
Zhihong Chen
869b5809f3 core: usbh_core: fix ep0_request_buffer index lose
- fix ep0_request_buffer index lose

Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
2024-03-13 19:25:07 +08:00
sakumisu
2e862f3864 set config with configvalue 2024-03-12 22:45:12 +08:00
sakumisu
6369ead152 optimise find class driver api 2024-03-12 22:41:01 +08:00
sakumisu
9e0cc8347c align for some buffers 2024-02-24 16:38:57 +08:00
Zhihong Chen
4803a6826b update endpoint number usage and fix busid check
Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
2024-02-19 20:19:48 +08:00
sakumisu
e0551b3e7b config busid and regbase in usbh_initialize and usbd_initialize 2024-02-18 21:15:04 +08:00
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