Lines Matching refs:ep
67 …c usb_status_t USB_DeviceEhciEndpointDeinit(usb_device_ehci_state_struct_t *ehciState, uint8_t ep);
68 …ic usb_status_t USB_DeviceEhciEndpointStall(usb_device_ehci_state_struct_t *ehciState, uint8_t ep);
69 … usb_status_t USB_DeviceEhciEndpointUnstall(usb_device_ehci_state_struct_t *ehciState, uint8_t ep);
70 static void USB_DeviceEhciFillSetupBuffer(usb_device_ehci_state_struct_t *ehciState, uint8_t ep);
336 …ic usb_status_t USB_DeviceEhciEndpointDeinit(usb_device_ehci_state_struct_t *ehciState, uint8_t ep) in USB_DeviceEhciEndpointDeinit() argument
339 …1UL << ((ep & USB_ENDPOINT_NUMBER_MASK) + ((ep & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK) >… in USB_DeviceEhciEndpointDeinit()
340 uint8_t endpoint = (ep & USB_ENDPOINT_NUMBER_MASK); in USB_DeviceEhciEndpointDeinit()
342 …(ep & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK) >> USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION… in USB_DeviceEhciEndpointDeinit()
349 if (kStatus_USB_Success != USB_DeviceEhciCancel(ehciState, ep)) in USB_DeviceEhciEndpointDeinit()
354 (void)USB_DeviceEhciCancel(ehciState, ep); in USB_DeviceEhciEndpointDeinit()
392 …tic usb_status_t USB_DeviceEhciEndpointStall(usb_device_ehci_state_struct_t *ehciState, uint8_t ep) in USB_DeviceEhciEndpointStall() argument
394 uint8_t endpoint = ep & USB_ENDPOINT_NUMBER_MASK; in USB_DeviceEhciEndpointStall()
396 …(ep & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK) >> USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION… in USB_DeviceEhciEndpointStall()
417 if (kStatus_USB_Success != USB_DeviceEhciCancel(ehciState, ep)) in USB_DeviceEhciEndpointStall()
422 (void)USB_DeviceEhciCancel(ehciState, ep); in USB_DeviceEhciEndpointStall()
442 …c usb_status_t USB_DeviceEhciEndpointUnstall(usb_device_ehci_state_struct_t *ehciState, uint8_t ep) in USB_DeviceEhciEndpointUnstall() argument
444 uint8_t endpoint = ep & USB_ENDPOINT_NUMBER_MASK; in USB_DeviceEhciEndpointUnstall()
446 …(ep & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK) >> USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION… in USB_DeviceEhciEndpointUnstall()
461 if (kStatus_USB_Success != USB_DeviceEhciCancel(ehciState, ep)) in USB_DeviceEhciEndpointUnstall()
466 (void)USB_DeviceEhciCancel(ehciState, ep); in USB_DeviceEhciEndpointUnstall()
481 static void USB_DeviceEhciFillSetupBuffer(usb_device_ehci_state_struct_t *ehciState, uint8_t ep) in USB_DeviceEhciFillSetupBuffer() argument
484 uint8_t index = ((uint8_t)((uint32_t)ep << 1U)) | USB_OUT; in USB_DeviceEhciFillSetupBuffer()
487 ehciState->registerBase->EPSETUPSR = 1UL << ep; in USB_DeviceEhciFillSetupBuffer()
1729 usb_status_t USB_DeviceEhciCancel(usb_device_controller_handle ehciHandle, uint8_t ep)
1735 …1UL << ((ep & USB_ENDPOINT_NUMBER_MASK) + ((ep & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK) >…
1737 …((ep & USB_ENDPOINT_NUMBER_MASK) << 1U) | ((ep & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK) >…
1863 message.code = ep;
1976 uint8_t ep = (endpointStatus->endpointAddress) & USB_ENDPOINT_NUMBER_MASK;
1981 if (ep < USB_DEVICE_CONFIG_ENDPOINTS)
1983 if (0U != ep)
1986 (0U != (ehciState->registerBase->EPCR[ep - 1U] &