Home
last modified time | relevance | path

Searched refs:usb3_pcd_t (Results 1 – 7 of 7) sorted by relevance

/third_party/uboot/u-boot-2020.01/drivers/usb/gadget/hiudc3/
Dusb3_pcd.h4 usb3_pcd_ep_t *usb3_get_out_ep(usb3_pcd_t *pcd, uint32_t ep_num);
5 usb3_pcd_ep_t *usb3_get_in_ep(usb3_pcd_t *pcd, uint32_t ep_num);
6 usb3_pcd_ep_t *usb3_get_ep_by_addr(usb3_pcd_t *pcd, uint16_t index);
7 void usb3_ep_clear_stall(usb3_pcd_t *pcd, usb3_pcd_ep_t *ep);
8 uint32_t usb3_get_device_speed(usb3_pcd_t *pcd);
9 void usb3_pcd_set_speed(usb3_pcd_t *pcd, int speed);
10 void usb3_ep_set_stall(usb3_pcd_t *pcd, usb3_pcd_ep_t *ep);
15 void usb3_ep_start_transfer(usb3_pcd_t *pcd, usb3_pcd_ep_t *ep);
16 int usb3_ep_complete_request(usb3_pcd_t *pcd,
18 void usb3_os_handle_ep0(usb3_pcd_t *pcd, uint32_t event);
Dusb3_drv.h172 } usb3_pcd_t; typedef
200 usb3_pcd_t pcd;
214 void usb3_set_address(usb3_pcd_t *pcd, uint32_t addr);
215 void usb3_accept_u1(usb3_pcd_t *pcd);
216 void usb3_accept_u2(usb3_pcd_t *pcd);
217 void usb3_enable_u1(usb3_pcd_t *pcd);
218 void usb3_enable_u2(usb3_pcd_t *pcd);
219 void usb3_disable_u1(usb3_pcd_t *pcd);
220 void usb3_disable_u2(usb3_pcd_t *pcd);
221 uint32_t usb3_u1_enabled(usb3_pcd_t *pcd);
[all …]
Dusb3_drv.c63 void pcd_epinit(usb3_pcd_t *pcd) in pcd_epinit()
142 void usb3_set_address(usb3_pcd_t *pcd, uint32_t addr) in usb3_set_address()
182 void usb3_resume_usb2_phy(usb3_pcd_t *pcd) in usb3_resume_usb2_phy()
191 void usb3_resume_usb3_phy(usb3_pcd_t *pcd) in usb3_resume_usb3_phy()
201 void usb3_accept_u1(usb3_pcd_t *pcd) in usb3_accept_u1()
210 void usb3_accept_u2(usb3_pcd_t *pcd) in usb3_accept_u2()
214 void usb3_enable_u1(usb3_pcd_t *pcd) in usb3_enable_u1()
223 void usb3_enable_u2(usb3_pcd_t *pcd) in usb3_enable_u2()
227 void usb3_disable_u1(usb3_pcd_t *pcd) in usb3_disable_u1()
231 void usb3_disable_u2(usb3_pcd_t *pcd) in usb3_disable_u2()
[all …]
Dusb3_pcd.c123 usb3_pcd_ep_t *usb3_get_out_ep(usb3_pcd_t *pcd, uint32_t ep_num) in usb3_get_out_ep()
132 usb3_pcd_ep_t *usb3_get_in_ep(usb3_pcd_t *pcd, uint32_t ep_num) in usb3_get_in_ep()
141 usb3_pcd_ep_t *usb3_get_ep_by_addr(usb3_pcd_t *pcd, uint16_t index) in usb3_get_ep_by_addr()
153 void usb3_ep_clear_stall(usb3_pcd_t *pcd, usb3_pcd_ep_t *ep) in usb3_ep_clear_stall()
167 uint32_t usb3_get_device_speed(usb3_pcd_t *pcd) in usb3_get_device_speed()
197 void usb3_pcd_set_speed(usb3_pcd_t *pcd, int speed) in usb3_pcd_set_speed()
227 void usb3_ep_set_stall(usb3_pcd_t *pcd, usb3_pcd_ep_t *ep) in usb3_ep_set_stall()
240 static void ep0_do_stall(usb3_pcd_t *pcd) in ep0_do_stall()
256 static void do_clear_halt(usb3_pcd_t *pcd, usb3_pcd_ep_t *ep) in do_clear_halt()
265 void usb3_pcd_ep_enable(usb3_pcd_t *pcd, usb3_pcd_ep_t *ep) in usb3_pcd_ep_enable()
[all …]
Dusb3_prot.c28 usb3_pcd_t *pcd = (usb3_pcd_t *)dev; in usb3_bulk_out_transfer_cmd()
44 usb3_pcd_t *pcd = (usb3_pcd_t *)dev; in usb3_handle_data()
64 usb3_pcd_t *pcd = (usb3_pcd_t *)dev; in usb3_bulk_out_transfer_data()
110 usb3_pcd_t *pcd = (usb3_pcd_t *)dev; in usb3_handle_protocol()
Dusb3_pcd_intr.c4 static void handle_usb_reset_intr(usb3_pcd_t *pcd) in handle_usb_reset_intr()
23 static void handle_connect_done_intr(usb3_pcd_t *pcd) in handle_connect_done_intr()
79 int usb3_handle_ep_intr(usb3_pcd_t *pcd, uint32_t physep, uint32_t event) in usb3_handle_ep_intr()
132 void usb3_handle_dev_intr(usb3_pcd_t *pcd, uint32_t event) in usb3_handle_dev_intr()
Dusb3_intr.c5 extern void usb3_handle_dev_intr(usb3_pcd_t *pcd, uint32_t event);
6 extern int usb3_handle_ep_intr(usb3_pcd_t *pcd, uint32_t physep, uint32_t event);
107 usb3_pcd_t *pcd = &dev->pcd; in usb3_handle_event()