Lines Matching defs:pEndPtDesc
120 void vusbDevMapEndpoint(PVUSBDEV pDev, PCVUSBDESCENDPOINTEX pEndPtDesc)
122 uint8_t i8Addr = pEndPtDesc->Core.bEndpointAddress & 0xF;
124 LogFlow(("vusbDevMapEndpoint: pDev=%p[%s] pEndPtDesc=%p{.bEndpointAddress=%#x, .bmAttributes=%#x} p=%p stage %s->SETUP\n",
125 pDev, pDev->pUsbIns->pszName, pEndPtDesc, pEndPtDesc->Core.bEndpointAddress, pEndPtDesc->Core.bmAttributes,
128 if ((pEndPtDesc->Core.bmAttributes & 0x3) == 0)
131 pPipe->in = pEndPtDesc;
132 pPipe->out = pEndPtDesc;
134 else if (pEndPtDesc->Core.bEndpointAddress & 0x80)
137 pPipe->in = pEndPtDesc;
143 if ((pEndPtDesc->Core.bmAttributes & 0x03) == 1)
150 pPipe->out = pEndPtDesc;
160 static void unmap_endpoint(PVUSBDEV pDev, PCVUSBDESCENDPOINTEX pEndPtDesc)
162 uint8_t EndPt = pEndPtDesc->Core.bEndpointAddress & 0xF;
164 LogFlow(("unmap_endpoint: pDev=%p[%s] pEndPtDesc=%p{.bEndpointAddress=%#x, .bmAttributes=%#x} p=%p stage %s->SETUP\n",
165 pDev, pDev->pUsbIns->pszName, pEndPtDesc, pEndPtDesc->Core.bEndpointAddress, pEndPtDesc->Core.bmAttributes,
168 if ((pEndPtDesc->Core.bmAttributes & 0x3) == 0)
170 Log(("vusb: unmap MSG pipe from address %u (%#x)\n", EndPt, pEndPtDesc->Core.bEndpointAddress));
174 else if (pEndPtDesc->Core.bEndpointAddress & 0x80)
176 Log(("vusb: unmap IN pipe from address %u (%#x)\n", EndPt, pEndPtDesc->Core.bEndpointAddress));
189 Log(("vusb: unmap OUT pipe from address %u (%#x)\n", EndPt, pEndPtDesc->Core.bEndpointAddress));