| /utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/usbhost/ |
| H A D | drvHCD.h | 103 struct usb_hcd { struct 192 static __inline__ struct usb_bus *hcd_to_bus (struct usb_hcd *hcd) in hcd_to_bus() argument 242 void (*irq) (struct usb_hcd *hcd, struct pt_regs *regs); 248 int (*reset) (struct usb_hcd *hcd); 249 int (*start) (struct usb_hcd *hcd); 250 int (*restart) (struct usb_hcd *hcd); 252 int (*suspend) (struct usb_hcd *hcd, U32 state); 254 int (*resume) (struct usb_hcd *hcd); 256 void (*stop) (struct usb_hcd *hcd); 258 int (*get_frame_number) (struct usb_hcd *hcd); [all …]
|
| H A D | drvEhciHcd_2.c | 112 struct usb_hcd *g_pUsbHcd_Port2 = NULL; 115 extern void usb_hcd_cpe_ehci_remove (struct usb_hcd *hcd, struct cpe_dev *dev); 117 extern void ehci_irq (struct usb_hcd *hcd, struct pt_regs *regs); 118 extern int ehci_hc_reset (struct usb_hcd *hcd); 119 extern int ehci_start (struct usb_hcd *hcd); 120 extern int ehci_suspend (struct usb_hcd *hcd, U32 state); 121 extern int ehci_resume (struct usb_hcd *hcd); 122 extern void ehci_stop (struct usb_hcd *hcd); 123 extern struct usb_hcd *ehci_hcd_alloc (void); 124 extern void ehci_hcd_free (struct usb_hcd *hcd); [all …]
|
| H A D | drvHCD.c | 270 struct usb_hcd *hcd, in rh_string() 322 static int rh_call_control (struct usb_hcd *hcd, struct urb *urb) in rh_call_control() 586 static int rh_status_urb (struct usb_hcd *hcd, struct urb *urb) in rh_status_urb() 635 struct usb_hcd *hcd; in rh_report_status() 647 || (hcd = (struct usb_hcd*) urb->dev->bus->hcpriv) == 0) { in rh_report_status() 701 static int rh_urb_enqueue (struct usb_hcd *hcd, struct urb *urb) in rh_urb_enqueue() 729 void usb_rh_status_dequeue (struct usb_hcd *hcd, struct urb *urb) in usb_rh_status_dequeue() 755 void usb_hcd_poll_rh_status(struct usb_hcd *hcd) in usb_hcd_poll_rh_status() 801 usb_hcd_poll_rh_status((struct usb_hcd *) _hcd); in rh_timer_func() 836 static int rh_queue_status (struct usb_hcd *hcd, struct urb *urb) in rh_queue_status() [all …]
|
| H A D | drvEhciHcd.c | 243 struct usb_hcd *g_pUsbHcd = NULL; 677 ehci_hub_status_data (struct usb_hcd *hcd, char *buf) in ehci_hub_status_data() 1253 struct usb_hcd *hcd, in ehci_hub_control() 6700 int ehci_hc_reset (struct usb_hcd *hcd) in ehci_hc_reset() 6842 extern void usb_hcd_poll_rh_status(struct usb_hcd *hcd); 6844 int ehci_start (struct usb_hcd *hcd) in ehci_start() 7504 void ehci_stop (struct usb_hcd *hcd) in ehci_stop() 7595 int ehci_get_frame (struct usb_hcd *hcd) in ehci_get_frame() 7652 int ehci_suspend (struct usb_hcd *hcd, U32 state) in ehci_suspend() 7735 int ehci_resume (struct usb_hcd *hcd) in ehci_resume() [all …]
|
| H A D | drvHcdBuf.c | 103 void hcd_buffer_destroy (struct usb_hcd *hcd); 114 int hcd_buffer_create (struct usb_hcd *hcd) in hcd_buffer_create() 133 void hcd_buffer_destroy (struct usb_hcd *hcd) in hcd_buffer_destroy() 153 struct usb_hcd *hcd = (struct usb_hcd*) bus->hcpriv; in hcd_buffer_alloc() 170 struct usb_hcd *hcd = (struct usb_hcd*) bus->hcpriv; in hcd_buffer_free()
|
| H A D | drvEHsTest.c | 95 void issueSE0(struct usb_hcd *hcd) in issueSE0() 106 void issueTestJ(struct usb_hcd *hcd) in issueTestJ() 120 void issueTestK(struct usb_hcd *hcd) in issueTestK() 134 void issueTestPacket(struct usb_hcd *hcd) in issueTestPacket() 154 struct usb_hcd *hcd, in ehci_urb_enqueue_EHSET() 210 struct usb_hcd *hcd, 217 struct usb_hcd *hcd = udev->bus->hcpriv; in usb_high_speed_test_proc()
|
| H A D | drvUSBEntry.c | 160 extern struct usb_hcd *g_pUsbHcd; 598 MS_BOOL MDrv_UsbDeviceConnect_EX(struct usb_hcd *hcd); 599 MS_BOOL MDrv_UsbDeviceConnect(struct usb_hcd *hcd) in MDrv_UsbDeviceConnect() 768 extern BOOL usb_get_connected_dev_state(int *pdevstate, unsigned char *pDevClass, struct usb_hcd *h… 1227 void InitUSBIntr(struct usb_hcd * hcd) in InitUSBIntr() 1576 struct usb_hcd *hcd; in _DrvUSB_OnInterrupt_EX() 1592 void InitUSBIntr_EX(struct usb_hcd * hcd) in InitUSBIntr_EX() 1623 MS_BOOL Usb_host_Init_EX(struct usb_hcd *hcd) in Usb_host_Init_EX() 1711 MS_BOOL MDrv_UsbDeviceConnect_EX(struct usb_hcd *hcd) in MDrv_UsbDeviceConnect_EX() 2169 extern struct usb_hcd *g_pUsbHcd_Port2; [all …]
|
| H A D | drvUSBEntry_2.c | 113 extern struct usb_hcd *g_pUsbHcd_Port2; 135 extern MS_BOOL MDrv_UsbDeviceConnect_EX(struct usb_hcd *hcd); 137 MS_BOOL MDrv_UsbDeviceConnect_Port2(struct usb_hcd *hcd) in MDrv_UsbDeviceConnect_Port2() 147 extern BOOL usb_get_connected_dev_state(int *pdevstate, unsigned char *pDevClass, struct usb_hcd *h… 587 void InitUSBIntr_Port2(struct usb_hcd * hcd) in InitUSBIntr_Port2()
|
| H A D | drvHub.c | 113 extern MS_BOOL Usb_host_Init_EX(struct usb_hcd *hcd); 844 struct usb_hcd *hcd = (struct usb_hcd*) urb->dev->bus->hcpriv; in hub_irq() 4859 extern void ehci_endpoint_disable (struct usb_hcd *hcd, struct hcd_dev *dev, int ep); 4866 struct usb_hcd *hcd = (struct usb_hcd*) hub->bus->hcpriv; in hub_port_connect_change() 8644 struct usb_hcd *hcd = (struct usb_hcd*) udev->bus->hcpriv; in usb_reset_device()
|
| H A D | drvTransport.c | 179 struct usb_hcd *hcd = (struct usb_hcd*) us->current_urb->dev->bus->hcpriv; in timeout_handler() 304 struct usb_hcd *hcd = us->pusb_dev->bus->hcpriv; in usb_stor_msg_common() 1680 struct usb_hcd *hcd = (struct usb_hcd*) current_urb->dev->bus->hcpriv; in usb_default_timeout_handler()
|
| H A D | drvEHCI.h | 268 struct usb_hcd hcd; 428 static __inline__ struct ehci_hcd *hcd_to_ehci(struct usb_hcd *hcd_ptr) in hcd_to_ehci() 430 const struct usb_hcd *__mptr = (hcd_ptr); in hcd_to_ehci()
|
| H A D | drvSCSI.c | 104 extern struct usb_hcd *msc_get_hcd(U8 host_id); 106 extern MS_BOOL MDrv_UsbDeviceConnect_EX(struct usb_hcd *hcd); 1097 struct usb_hcd *hcd; in bSCSI_Read_10() 1378 struct usb_hcd *hcd; in bSCSI_Write_10()
|
| /utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/newhost/ |
| H A D | drvUsbd.c | 106 extern void ms_ehci_disable_ep (struct usb_hcd *pHcd, struct s_hcd_dev *pDev, int iEp); 107 extern int ms_hub_status_data (struct usb_hcd *pHcd, char *pBuf); 108 extern int ms_hub_control ( struct usb_hcd *pHcd, U16 typeReq, U16 u16Value, U16 u16I… 267 struct usb_hcd *pHcd, in ms_rh_string() 311 static int ms_rh_call_control (struct usb_hcd *pHcd, struct urb *pUrb) in ms_rh_call_control() 432 void ms_hcd_poll_rh_status(struct usb_hcd *pHcd) in ms_hcd_poll_rh_status() 486 static int ms_rh_queue_status (struct usb_hcd *pHcd, struct urb *pUrb) in ms_rh_queue_status() 523 static int ms_rh_urb_enqueue (struct usb_hcd *pHcd, struct urb *pUrb) in ms_rh_urb_enqueue() 550 void ms_rh_status_dequeue (struct usb_hcd *pHcd, struct urb *pUrb) in ms_rh_status_dequeue() 579 extern void ms_ehci_end (struct usb_hcd *hcd); [all …]
|
| H A D | drvUSBHwCtl.h | 131 extern void ms_ehci_interrupt_enable (struct usb_hcd *hcd, int str_on); 132 extern void ms_ehci_interrupt_disable (struct usb_hcd *hcd); 133 extern void ms_RH_force_FSmode(struct usb_hcd *, int); 134 extern void ms_ResetMstarUsb(struct usb_hcd *); 135 extern BOOL ms_RoothubPortConnected(struct usb_hcd *hcd); 136 extern BOOL ms_RoothubPortConnectChg(struct usb_hcd *hcd); 137 extern BOOL ms_RoothubPortEnabled(struct usb_hcd *hcd); 138 extern BOOL ms_isHcdRunning(struct usb_hcd *hcd); 139 extern void ms_forceHcdRun(struct usb_hcd *hcd); 140 extern void ms_roothub_disconn_reinit(struct usb_hcd *);
|
| H A D | drvUSBHwCtl.c | 158 void ms_RH_force_FSmode(struct usb_hcd *hcd, int enable) in ms_RH_force_FSmode() 178 void ms_ResetMstarUsb(struct usb_hcd *hcd) in ms_ResetMstarUsb() 186 inline BOOL ms_RoothubPortConnected(struct usb_hcd *hcd) in ms_RoothubPortConnected() 195 inline BOOL ms_RoothubPortConnectChg(struct usb_hcd *hcd) in ms_RoothubPortConnectChg() 204 inline BOOL ms_RoothubPortEnabled(struct usb_hcd *hcd) in ms_RoothubPortEnabled() 213 inline BOOL ms_isHcdRunning(struct usb_hcd *hcd) in ms_isHcdRunning() 222 inline void ms_forceHcdRun(struct usb_hcd *hcd) in ms_forceHcdRun() 237 inline void ms_dumpHcdRegister(struct usb_hcd *hcd) in ms_dumpHcdRegister() 269 void ms_ehci_interrupt_enable (struct usb_hcd *hcd, int str_on) in ms_ehci_interrupt_enable() 292 void ms_ehci_interrupt_disable (struct usb_hcd *hcd) in ms_ehci_interrupt_disable() [all …]
|
| H A D | drvUsbd.h | 97 struct usb_hcd { struct 107 int (*ms_urb_enqueue) (struct usb_hcd *hcd, struct urb *urb, int mem_flags); argument 108 int (*ms_urb_dequeue) (struct usb_hcd *hcd, struct urb *urb); argument 185 extern int ms_unlink1(struct usb_hcd *, struct urb *); 189 extern void ms_rh_status_dequeue (struct usb_hcd *pHcd, struct urb *pUrb); 191 int ms_hcd_buffer_create (struct usb_hcd *hcd); 192 void ms_hcd_buffer_destroy (struct usb_hcd *hcd); 262 extern int ms_register_root_hub (struct usb_hcd *hcd);
|
| H A D | drvHcdBuf.c | 92 void ms_hcd_buffer_destroy (struct usb_hcd *hcd); 114 int ms_hcd_buffer_create (struct usb_hcd *hcd) in ms_hcd_buffer_create() 141 void ms_hcd_buffer_destroy (struct usb_hcd *hcd) in ms_hcd_buffer_destroy() 174 struct usb_hcd *hcd = (struct usb_hcd*) bus->hcpriv; in ms_hcd_buffer_alloc() 202 struct usb_hcd *hcd = (struct usb_hcd*) bus->hcpriv; in ms_hcd_buffer_free()
|
| H A D | drvEHsTest.c | 95 void issueSE0(struct usb_hcd *hcd) in issueSE0() 106 void issueTestJ(struct usb_hcd *hcd) in issueTestJ() 120 void issueTestK(struct usb_hcd *hcd) in issueTestK() 134 void issueTestPacket(struct usb_hcd *hcd) in issueTestPacket() 150 struct usb_hcd *hcd, in ms_ehci_urb_enqueue_EHSET() 210 struct usb_hcd *hcd, 217 struct usb_hcd *hcd = udev->bus->hcpriv; in ms_usb_high_speed_test_proc()
|
| H A D | drvUSBEntry.c | 125 void ms_ehci_irq (struct usb_hcd *pHcd, struct stPtRegs *pRegs); 1022 struct usb_hcd *hcd; in ms_DrvUSB_OnInterrupt_EX() 1045 void ms_InitUSBIntr_EX(struct usb_hcd * hcd, int str_on) in ms_InitUSBIntr_EX() 1052 void ms_UnInitUSBIntr_EX(struct usb_hcd * hcd) in ms_UnInitUSBIntr_EX() 1066 MS_BOOL ms_UsbDeviceConnect_EX(struct usb_hcd *hcd) in ms_UsbDeviceConnect_EX() 1423 extern void ms_usb_hcd_cpe_ehci_remove (struct usb_hcd *pHcd); 1495 struct usb_hcd *pHcd = pRootHub->p_UsbHcd; in MDrv_USB_Port_Close() 1570 struct usb_hcd *hcd; in MDrv_UsbDeviceConnectBitEx() 1596 struct usb_hcd *hcd; in MDrv_Usb_STR_Off() 1623 extern void ms_ehci_periodic_size_init (struct usb_hcd *hcd); [all …]
|
| H A D | drvEhciHcd.c | 340 int ms_hub_status_data (struct usb_hcd *pHcd, char *pBuf) in ms_hub_status_data() 483 struct usb_hcd *pHcd, in ms_hub_control() 953 struct usb_hcd *hcd = pUrb->dev->bus->hcpriv; in ms_qtd_copy_status() 2157 void dbg_timeout_async(struct usb_hcd *hcd) in dbg_timeout_async() 2313 int ms_ehci_init (struct usb_hcd *pHcd) in ms_ehci_init() 2340 extern void ms_hcd_poll_rh_status(struct usb_hcd *pHcd); 2342 int ms_ehci_begin (struct usb_hcd *hcd) in ms_ehci_begin() 2484 void ms_ehci_end (struct usb_hcd *hcd) in ms_ehci_end() 2516 int ms_ehci_get_frame_idx (struct usb_hcd *hcd) in ms_ehci_get_frame_idx() 2525 int ms_ehci_suspend (struct usb_hcd *hcd, U32 state) in ms_ehci_suspend() [all …]
|
| H A D | drvHub.c | 153 struct usb_hcd *hcd = (struct usb_hcd*) urb->dev->bus->hcpriv; in ms_hub_irq() 741 struct usb_hcd *hcd = (struct usb_hcd*) hub->bus->hcpriv; in ms_hub_port_reset() 900 struct usb_hcd *pHcd = (struct usb_hcd*) pHub->bus->hcpriv; in ms_hub_port_connect_change() 1470 struct usb_hcd *hcd = (struct usb_hcd*) ms_dev->bus->hcpriv; in ms_usb_hub_tt_clear_buffer()
|
| H A D | drvEHCI.h | 153 struct usb_hcd hcd; 185 static __inline__ struct ehci_hcd *hcd_to_ehci(struct usb_hcd *hcd_ptr) in hcd_to_ehci() 187 const struct usb_hcd *__mptr = (hcd_ptr); in hcd_to_ehci() 531 extern void dbg_timeout_async(struct usb_hcd *);
|
| H A D | drvBulktran.c | 253 … struct usb_hcd *host_controller_device = (struct usb_hcd*) ptr->current_urb->dev->bus->hcpriv; in ms_usb_timeout_handler() 307 struct usb_hcd *hcd = urb->dev->bus->hcpriv; in ms_usb_wait_for_completion_timeout() 390 struct usb_hcd *hcd = ptr->pusb_dev->bus->hcpriv; in ms_usb_msg_common()
|
| H A D | drvMsg.c | 145 extern BOOL ms_isHcdRunning(struct usb_hcd *hcd); // debug 146 extern void ms_dumpHcdRegister(struct usb_hcd *hcd); // debug 160 struct usb_hcd *hcd = urb->dev->bus->hcpriv; in ms_usb_start_wait_urb()
|
| H A D | drvUSB.c | 304 …_find_dev_for_driver(struct device_driver *pDriver, struct usb_device **pudev, struct usb_hcd *hcd) 457 struct usb_hcd *pHcd = (struct usb_hcd*) pUdev->bus->hcpriv; in ms_usb_disconnect()
|