Home
last modified time | relevance | path

Searched refs:host_id (Results 1 – 16 of 16) sorted by relevance

/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/usbhost/
H A DdrvSCSI.c104 extern struct usb_hcd *msc_get_hcd(U8 host_id);
395 U8 host_id; in bSCSI_REQ_SENSE() local
409 host_id = pMass_stor->host_id; in bSCSI_REQ_SENSE()
410 USBCriticalSectionIn(host_id); in bSCSI_REQ_SENSE()
427 USBCriticalSectionOut(host_id); in bSCSI_REQ_SENSE()
440 U8 host_id; in bSCSI_INQUIRY() local
456 host_id = pMass_stor->host_id; in bSCSI_INQUIRY()
457 USBCriticalSectionIn(host_id); in bSCSI_INQUIRY()
475 USBCriticalSectionOut(host_id); in bSCSI_INQUIRY()
493 U8 host_id; in bSCSI_MODE_SENSE() local
[all …]
H A DdrvUSBDisk.c395 U8 host_id = 0xff; in MDrv_USB_MscLookupHostID() local
408 host_id = Mass_stor_us[p_usb_info->uPort]->host_id; in MDrv_USB_MscLookupHostID()
412 if (host_id == 0xff) in MDrv_USB_MscLookupHostID()
414 return (host_id); in MDrv_USB_MscLookupHostID()
H A DdrvEHsTest.c102 diag_printf("SE0 on port %d\n",hcd->host_id); in issueSE0()
114 diag_printf("TEST_J on port %d\n",hcd->host_id); in issueTestJ()
128 diag_printf("TEST_K on port %d\n",hcd->host_id); in issueTestK()
141 diag_printf("Test packet on port %d\n", hcd->host_id); in issueTestPacket()
H A DdrvMassStor.c1155 i = GetUStorID(MAX_USTOR* (((struct usb_hcd *)pudev->bus->hcpriv)->host_id)); in storage_probe()
1166 Mass_stor_us[i]->host_id = ((struct usb_hcd *)pudev->bus->hcpriv)->host_id; in storage_probe()
H A DdrvUSBEntry.c1632 diag_printf("Usb_host_Init_EX......\thcd %x, port %d\n", hcd, hcd->host_id); in Usb_host_Init_EX()
2170 struct usb_hcd *msc_get_hcd(U8 host_id) in msc_get_hcd() argument
2174 if (host_id == 0) in msc_get_hcd()
2181 return pCurrentChip->p_roothub[host_id]->p_UsbHcd; in msc_get_hcd()
H A DdrvMassStor.h198 unsigned char host_id; member
H A DdrvEhciHcd_2.c188 hcd->host_id = 2; // new in usb_hcd_cpe_ehci_probe_Port2()
H A DdrvHCD.h163 U32 host_id; member
H A DdrvEhciHcd.c798 … diag_printf("<ehci_hub_status_data> Add CSC @ root hub %d, DISCONNECT!\n", hcd->host_id); in ehci_hub_status_data()
9254 hcd->host_id = 0; // new in usb_hcd_cpe_ehci_probe()
9676 hcd->host_id = p_rootHub->portNum; in usb_hcd_cpe_ehci_probe_EX()
/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/newhost/
H A DdrvMSC.c353 U8 host_id;
366 host_id = pMass_stor->host_id;
367 if(!ms_USBCriticalSectionIn_TimeOut(host_id, MS_MSC_WAIT_MUTEX_TIMEOUT))
384 ms_USBCriticalSectionOut(host_id);
394 U8 host_id; in ms_bSCSI_INQUIRY() local
399 host_id = pMass_stor->host_id; in ms_bSCSI_INQUIRY()
400 if(!ms_USBCriticalSectionIn_TimeOut(host_id, MS_MSC_WAIT_MUTEX_TIMEOUT)) in ms_bSCSI_INQUIRY()
424 ms_USBCriticalSectionOut(host_id); in ms_bSCSI_INQUIRY()
436 U8 host_id; in ms_bSCSI_MODE_SENSE() local
441 host_id = pMass_stor->host_id; in ms_bSCSI_MODE_SENSE()
[all …]
H A DdrvEHsTest.c102 diag_printf("SE0 on port %d\n", (int)hcd->host_id); in issueSE0()
114 diag_printf("TEST_J on port %d\n", (int)hcd->host_id); in issueTestJ()
128 diag_printf("TEST_K on port %d\n", (int)hcd->host_id); in issueTestK()
141 diag_printf("Test packet on port %d\n", (int)hcd->host_id); in issueTestPacket()
H A DdrvUSBDisk.c426 U8 host_id = 0xff; in MDrv_USB_MscLookupHostID() local
441 host_id = Mass_stor_us[p_usb_info->uPort]->host_id; in MDrv_USB_MscLookupHostID()
445 if (host_id == 0xff) in MDrv_USB_MscLookupHostID()
447 return (host_id); in MDrv_USB_MscLookupHostID()
H A DdrvMassStor.c589 startId = (MAX_USTOR* (((struct usb_hcd *)pudev->bus->hcpriv)->host_id)); in ms_usb_msc_probe()
612 ms_us->host_id = ((struct usb_hcd *)pudev->bus->hcpriv)->host_id; in ms_usb_msc_probe()
H A DdrvMassStor.h171 unsigned char host_id; member
H A DdrvUsbd.h124 U32 host_id; member
H A DdrvUsbd.c701 pHcd->host_id = pDev->devid; // chcek the definition in ms_new_usb_hcd()