Commit Graph

59 Commits

Author SHA1 Message Date
sakumisu
5fec929b93 support id table for multi vid pid 2024-05-03 18:54:36 +08:00
sakumisu
23e2787a43 add user_data param in host class for users 2024-04-24 22:40:55 +08:00
sakumisu
c1cb6e397b move queue files 2024-04-11 10:14:43 +08:00
sakumisu
c8be4d6fd3 change INFO to RAW 2024-04-07 23:31:04 +08:00
sakumisu
725d635c76 add cherryrb and cherry pool 2024-04-07 23:30:51 +08:00
sakumisu
d1c7fa8c19 support multi port api for device 2024-02-06 19:52:22 +08:00
sakumisu
eeb304ae08 update log tag 2024-01-30 23:04:35 +08:00
sakumisu
14f1f597f1 add usb errno, do not use system errno 2023-12-05 21:34:32 +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
5e689dfe15 fix class api name 2023-11-13 19:50:04 +08:00
sakumisu
7c1fae04b2 fix video packet caculation 2023-08-30 17:43:13 +08:00
sakimisu
1a7259649b standardize video control api 2023-08-25 21:36:27 +08:00
sakimisu
c8b832e1a0 fix function name 2023-08-05 11:08:24 +08:00
sakimisu
3057f41020 use static memory to malloc & free class 2023-07-12 22:48:18 +08:00
sakimisu
2ca22deaad remove unused code 2023-06-21 23:30:44 +08:00
sakimisu
c540080c96 format class struct and global variable name 2023-06-21 20:43:06 +08:00
sakimisu
9172223fe6 call usbh_xxx_stop when class enumerates completely 2023-05-17 20:43:23 +08:00
sakumisu
9c5af19cb1 remove unused functions 2023-03-22 14:57:47 +08:00
sakimisu
854e633808 move variables into no cache 2023-03-12 14:53:04 +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
3fa3f3e356 do not check if device is closed 2023-02-07 22:54:51 +08:00
sakumisu
af88c8e90b config ep pipe after set_interface 2023-02-05 14:38:14 +08:00
sakimisu
e1585f801c reset pipe and is_opened before set_interface cmd 2023-01-03 22:20:57 +08:00
sakimisu
f45e0f47fa rename class info name 2022-12-31 15:55:07 +08:00
sakimisu
27ff38f745 update video driver 2022-12-31 14:10:27 +08:00
sakimisu
512de54d33 add host class run and stop callback 2022-11-26 23:52:58 +08:00
sakumisu
dca8b4cfed remove intf malloc 2022-10-20 21:22:08 +08:00
sakumisu
2890c03eec list all video altsettings 2022-10-07 14:56:20 +08:00
sakumisu
4a0f182644 do not reset bufoffset when len=0 or len=buf[0] 2022-10-06 16:24:08 +08:00
sakumisu
3af227c879 update video template 2022-10-05 17:16:56 +08:00
sakumisu
212a727cbd remove irq protect when allocates devnum 2022-10-01 16:15:53 +08:00
sakumisu
2d9862254e fix probe to commit 2022-09-26 20:50:20 +08:00
sakumisu
9ddfd6017c check if video frame header is illegal 2022-09-24 18:35:21 +08:00
sakumisu
dc1c1da072 record video altsetting num 2022-09-24 17:15:40 +08:00
sakumisu
07e15636ed add usb host video class 2022-09-23 22:02:03 +08:00
sakumisu
0b0f3bfbda fix video payload head toggle 2022-09-23 21:58:56 +08:00
sakumisu
cb2510f121 remove custom handler, split class handler into interface and endpoint
handler
2022-09-08 21:44:56 +08:00
sakumisu
3c94fca8d8 refactor usb device intf and ep register 2022-08-20 18:08:36 +08:00
sakumisu
523d33506d give up class register 2022-08-19 23:34:35 +08:00
sakumisu
6e29b6a427 delete sof callback 2022-08-18 21:48:42 +08:00
sakumisu
7377b5183d Simplify the license rows, standardize header macro name 2022-08-18 21:41:19 +08:00
sakumisu
fea07e0079 add video_entity_info struct 2022-05-25 11:00:35 +08:00
aozima
3cce9e7d78 clean compiler warning. 2022-03-27 14:58:25 +08:00
sakumisu
5d78031bb2 update audio and video macros,add xxx_open and xxx_close function 2022-03-26 16:07:28 +08:00
sakumisu
789783b256 delete comma 2022-02-28 15:21:24 +08:00
sakumisu
d7c2a0d571 modify video desc macro for universality 2022-02-25 17:45:06 +08:00
sakumisu
282029c897 add video descriptor macros 2022-02-24 19:48:43 +08:00
sakumisu
7a69e2d0cf update video mjpeg payload fill and toggle function 2022-02-24 18:28:36 +08:00
sakumisu
7fdd66c632 update video class structure, add vs input/output terminal and processing unit bmcontrol support 2022-02-17 17:21:17 +08:00
sakumisu
d60532071d update video device class driver 2022-02-12 18:50:09 +08:00