| /hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/device/ |
| D | usb_device_khci.h | 41 #define USB_KHCI_BDT_SET_ADDRESS(bdt_base, ep, direction, odd, address) \ argument 42 *((volatile uint32_t *)((((bdt_base)&0xfffffe00U) | (((uint32_t)(ep)&0x0fU) << 5U) | \ 48 #define USB_KHCI_BDT_SET_CONTROL(bdt_base, ep, direction, odd, control) \ argument 49 *(volatile uint32_t *)((((bdt_base)&0xfffffe00U) | (((uint32_t)(ep)&0x0fU) << 5U) | \ 54 #define USB_KHCI_BDT_GET_ADDRESS(bdt_base, ep, direction, odd) … argument 55 … (*((volatile uint32_t *)((((bdt_base)&0xfffffe00U) | (((uint32_t)(ep)&0x0fU) << 5U) | \ 61 #define USB_KHCI_BDT_GET_CONTROL(bdt_base, ep, direction, odd) \ argument 62 (*(volatile uint32_t *)((((bdt_base)&0xfffffe00U) | (((uint32_t)(ep)&0x0fU) << 5U) | \ 67 #define USB_KHCI_BDT_SET_ADDRESS(bdt_base, ep, direction, odd, address) \ argument 68 *((volatile uint32_t *)(((bdt_base)&0xfffffe00U) | (((uint32_t)(ep)&0x0fU) << 5U) | \ [all …]
|
| D | usb_device_ehci.c | 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() [all …]
|
| D | usb_device_khci.c | 52 …c usb_status_t USB_DeviceKhciEndpointDeinit(usb_device_khci_state_struct_t *khciState, uint8_t ep); 53 …ic usb_status_t USB_DeviceKhciEndpointStall(usb_device_khci_state_struct_t *khciState, uint8_t ep); 54 … usb_status_t USB_DeviceKhciEndpointUnstall(usb_device_khci_state_struct_t *khciState, uint8_t ep); 385 …ic usb_status_t USB_DeviceKhciEndpointDeinit(usb_device_khci_state_struct_t *khciState, uint8_t ep) in USB_DeviceKhciEndpointDeinit() argument 387 uint8_t endpoint = (ep & USB_ENDPOINT_NUMBER_MASK); in USB_DeviceKhciEndpointDeinit() 389 …(ep & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK) >> USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION… in USB_DeviceKhciEndpointDeinit() 394 if (kStatus_USB_Success != USB_DeviceKhciCancel(khciState, ep)) in USB_DeviceKhciEndpointDeinit() 399 (void)USB_DeviceKhciCancel(khciState, ep); in USB_DeviceKhciEndpointDeinit() 421 …tic usb_status_t USB_DeviceKhciEndpointStall(usb_device_khci_state_struct_t *khciState, uint8_t ep) in USB_DeviceKhciEndpointStall() argument 423 uint8_t endpoint = ep & USB_ENDPOINT_NUMBER_MASK; in USB_DeviceKhciEndpointStall() [all …]
|
| D | usb_device_lpcip3511.c | 643 … USB_DeviceLpc3511IpEndpointDeinit(usb_device_lpc3511ip_state_struct_t *lpc3511IpState, uint8_t ep) in USB_DeviceLpc3511IpEndpointDeinit() argument 645 uint8_t endpointIndex = USB_LPC3511IP_ENDPOINT_DES_INDEX(ep); in USB_DeviceLpc3511IpEndpointDeinit() 651 if (kStatus_USB_Success != USB_DeviceLpc3511IpCancel(lpc3511IpState, ep)) in USB_DeviceLpc3511IpEndpointDeinit() 656 (void)USB_DeviceLpc3511IpCancel(lpc3511IpState, ep); in USB_DeviceLpc3511IpEndpointDeinit() 719 …t USB_DeviceLpc3511IpEndpointStall(usb_device_lpc3511ip_state_struct_t *lpc3511IpState, uint8_t ep) in USB_DeviceLpc3511IpEndpointStall() argument 721 uint8_t endpointIndex = USB_LPC3511IP_ENDPOINT_DES_INDEX(ep); in USB_DeviceLpc3511IpEndpointStall() 726 if ((ep & USB_ENDPOINT_NUMBER_MASK) == USB_CONTROL_ENDPOINT) in USB_DeviceLpc3511IpEndpointStall() 760 if ((ep & USB_ENDPOINT_NUMBER_MASK) != USB_CONTROL_ENDPOINT) in USB_DeviceLpc3511IpEndpointStall() 797 if (kStatus_USB_Success != USB_DeviceLpc3511IpCancel(lpc3511IpState, ep)) in USB_DeviceLpc3511IpEndpointStall() 802 (void)USB_DeviceLpc3511IpCancel(lpc3511IpState, ep); in USB_DeviceLpc3511IpEndpointStall() [all …]
|
| D | usb_device_lpcip3511.h | 293 usb_status_t USB_DeviceLpc3511IpCancel(usb_device_controller_handle controllerHandle, uint8_t ep);
|
| D | usb_device_ehci.h | 278 usb_status_t USB_DeviceEhciCancel(usb_device_controller_handle ehciHandle, uint8_t ep);
|
| /hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/host/ |
| D | usb_host_khci.h | 125 #define USB_KHCI_BD_PTR(ep, rxtx, odd) \ argument 126 …((((uint32_t)USB_KHCI_BDT_BASE) & 0xfffffe00U) | (((ep)&0x0fu) << 5) | (((rxtx)&1u) << 4) | (((odd… 128 #define USB_KHCI_BD_CTRL(ep, rxtx, odd) (*((uint32_t *)USB_KHCI_BD_PTR(ep, rxtx, odd))) argument 129 #define USB_KHCI_BD_CTRL_RX(ep, odd) (*((uint32_t *)USB_KHCI_BD_PTR(ep, 0, odd))) argument 130 #define USB_KHCI_BD_CTRL_TX(ep, odd) (*((uint32_t *)USB_KHCI_BD_PTR(ep, 1, odd))) argument 132 #define USB_KHCI_BD_ADDR(ep, rxtx, odd) (*((uint32_t *)USB_KHCI_BD_PTR(ep, rxtx, odd) + 1)) argument 133 #define USB_KHCI_BD_ADDR_RX(ep, odd) (*((uint32_t *)USB_KHCI_BD_PTR(ep, 0, odd) + 1)) argument 134 #define USB_KHCI_BD_ADDR_TX(ep, odd) (*((uint32_t *)USB_KHCI_BD_PTR(ep, 1, odd) + 1)) argument
|
| /hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/output/source/device/class/ |
| D | usb_device_phdc.c | 273 …phdcHandle->interruptIn.ep = (epInitStruct.endpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_NUMBE… in USB_DevicePhdcEndpointsInit() 282 …phdcHandle->bulkIn.ep = (epInitStruct.endpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_NUMBER_MAS… in USB_DevicePhdcEndpointsInit() 290 …phdcHandle->bulkOut.ep = (epInitStruct.endpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_NUMBER_MA… in USB_DevicePhdcEndpointsInit() 457 … error = USB_DeviceSendRequest(phdcHandle->handle, (phdcHandle->interruptIn.ep), in USB_DevicePhdcEvent() 488 … error = USB_DeviceSendRequest(phdcHandle->handle, (phdcHandle->bulkIn.ep), in USB_DevicePhdcEvent() 517 … error = USB_DeviceRecvRequest(phdcHandle->handle, (phdcHandle->bulkOut.ep), in USB_DevicePhdcEvent() 706 usb_status_t USB_DevicePhdcSend(class_handle_t handle, uint8_t ep, uint8_t *buffer, uint32_t length) in USB_DevicePhdcSend() argument 717 if (phdcHandle->bulkIn.ep == ep) in USB_DevicePhdcSend() 721 else if (phdcHandle->interruptIn.ep == ep) in USB_DevicePhdcSend() 742 error = USB_DeviceSendRequest(phdcHandle->handle, ep, buffer, length); in USB_DevicePhdcSend() [all …]
|
| D | usb_device_cdc_acm.c | 251 …cdcAcmHandle->interruptIn.ep = (epInitStruct.endpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_NUM… in USB_DeviceCdcAcmEndpointsInit() 299 …cdcAcmHandle->bulkIn.ep = (epInitStruct.endpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_NUMB… in USB_DeviceCdcAcmEndpointsInit() 310 …cdcAcmHandle->bulkOut.ep = (epInitStruct.endpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_NUM… in USB_DeviceCdcAcmEndpointsInit() 500 … error = USB_DeviceSendRequest(cdcAcmHandle->handle, (cdcAcmHandle->interruptIn.ep), in USB_DeviceCdcAcmEvent() 541 … error = USB_DeviceSendRequest(cdcAcmHandle->handle, (cdcAcmHandle->bulkIn.ep), in USB_DeviceCdcAcmEvent() 574 … error = USB_DeviceRecvRequest(cdcAcmHandle->handle, (cdcAcmHandle->bulkOut.ep), in USB_DeviceCdcAcmEvent() 871 usb_status_t USB_DeviceCdcAcmSend(class_handle_t handle, uint8_t ep, uint8_t *buffer, uint32_t leng… in USB_DeviceCdcAcmSend() argument 883 if (cdcAcmHandle->bulkIn.ep == ep) in USB_DeviceCdcAcmSend() 887 else if (cdcAcmHandle->interruptIn.ep == ep) in USB_DeviceCdcAcmSend() 911 status = USB_DeviceSendRequest(cdcAcmHandle->handle, ep, buffer, length); in USB_DeviceCdcAcmSend() [all …]
|
| D | usb_device_phdc.h | 46 uint8_t ep; /*!< The endpoint number of the pipe. */ member 138 extern usb_status_t USB_DevicePhdcSend(class_handle_t handle, uint8_t ep, uint8_t *buffer, uint32_t… 157 extern usb_status_t USB_DevicePhdcRecv(class_handle_t handle, uint8_t ep, uint8_t *buffer, uint32_t…
|
| D | usb_device_cdc_acm.h | 135 uint8_t ep; /*!< The endpoint number of the pipe. */ member 240 extern usb_status_t USB_DeviceCdcAcmSend(class_handle_t handle, uint8_t ep, uint8_t *buffer, uint32… 260 extern usb_status_t USB_DeviceCdcAcmRecv(class_handle_t handle, uint8_t ep, uint8_t *buffer, uint32…
|
| D | usb_device_printer.h | 157 extern usb_status_t USB_DevicePrinterSend(class_handle_t handle, uint8_t ep, uint8_t *buffer, uint3… 181 extern usb_status_t USB_DevicePrinterRecv(class_handle_t handle, uint8_t ep, uint8_t *buffer, uint3…
|
| D | usb_device_hid.h | 188 extern usb_status_t USB_DeviceHidSend(class_handle_t handle, uint8_t ep, uint8_t *buffer, uint32_t … 214 extern usb_status_t USB_DeviceHidRecv(class_handle_t handle, uint8_t ep, uint8_t *buffer, uint32_t …
|
| D | usb_device_printer.c | 619 usb_status_t USB_DevicePrinterSend(class_handle_t handle, uint8_t ep, uint8_t *buffer, uint32_t len… in USB_DevicePrinterSend() argument 642 status = USB_DeviceSendRequest(printerHandle->deviceHandle, ep, buffer, length); in USB_DevicePrinterSend() 650 usb_status_t USB_DevicePrinterRecv(class_handle_t handle, uint8_t ep, uint8_t *buffer, uint32_t len… in USB_DevicePrinterRecv() argument 672 status = USB_DeviceRecvRequest(printerHandle->deviceHandle, ep, buffer, length); in USB_DevicePrinterRecv()
|
| D | usb_device_hid.c | 735 usb_status_t USB_DeviceHidSend(class_handle_t handle, uint8_t ep, uint8_t *buffer, uint32_t length) in USB_DeviceHidSend() argument 758 error = USB_DeviceSendRequest(hidHandle->handle, ep, buffer, length); in USB_DeviceHidSend() 787 usb_status_t USB_DeviceHidRecv(class_handle_t handle, uint8_t ep, uint8_t *buffer, uint32_t length) in USB_DeviceHidRecv() argument 810 error = USB_DeviceRecvRequest(hidHandle->handle, ep, buffer, length); in USB_DeviceHidRecv()
|
| D | usb_device_audio.h | 671 extern usb_status_t USB_DeviceAudioSend(class_handle_t handle, uint8_t ep, uint8_t *buffer, uint32_… 692 extern usb_status_t USB_DeviceAudioRecv(class_handle_t handle, uint8_t ep, uint8_t *buffer, uint32_…
|
| D | usb_device_video.c | 1493 usb_status_t USB_DeviceVideoSend(class_handle_t handle, uint8_t ep, uint8_t *buffer, uint32_t lengt… in USB_DeviceVideoSend() argument 1510 error = USB_DeviceSendRequest(videoHandle->handle, ep, buffer, length); in USB_DeviceVideoSend() 1539 usb_status_t USB_DeviceVideoRecv(class_handle_t handle, uint8_t ep, uint8_t *buffer, uint32_t lengt… in USB_DeviceVideoRecv() argument 1556 error = USB_DeviceRecvRequest(videoHandle->handle, ep, buffer, length); in USB_DeviceVideoRecv()
|
| D | usb_device_video.h | 971 extern usb_status_t USB_DeviceVideoSend(class_handle_t handle, uint8_t ep, uint8_t *buffer, uint32_… 997 extern usb_status_t USB_DeviceVideoRecv(class_handle_t handle, uint8_t ep, uint8_t *buffer, uint32_…
|
| D | usb_device_audio.c | 2078 usb_status_t USB_DeviceAudioSend(class_handle_t handle, uint8_t ep, uint8_t *buffer, uint32_t lengt… in USB_DeviceAudioSend() argument 2095 error = USB_DeviceSendRequest(audioHandle->handle, ep, buffer, length); in USB_DeviceAudioSend() 2124 usb_status_t USB_DeviceAudioRecv(class_handle_t handle, uint8_t ep, uint8_t *buffer, uint32_t lengt… in USB_DeviceAudioRecv() argument 2141 error = USB_DeviceRecvRequest(audioHandle->handle, ep, buffer, length); in USB_DeviceAudioRecv()
|
| D | usb_device_cdc_rndis.c | 233 …status = USB_DeviceCdcAcmSend((void *)cdcAcmHandle, cdcAcmHandle->interruptIn.ep, s_responseAvaila… in USB_DeviceCdcRndisResponseAvailable()
|
| /hal_nxp-latest/mcux/mcux-sdk/components/ssd1963/ |
| D | fsl_ssd1963.c | 351 uint16_t ep; /* End of page number. */ in SSD1963_SelectArea() local 368 ep = endY; in SSD1963_SelectArea() 375 ep = handle->panelHeight - 1U - startX; in SSD1963_SelectArea() 382 ep = handle->panelHeight - 1U - startY; in SSD1963_SelectArea() 389 ep = endX; in SSD1963_SelectArea() 398 commandParam[2] = (uint8_t)((ep & 0xFF00U) >> 8U); in SSD1963_SelectArea() 399 commandParam[3] = (uint8_t)(ep & 0xFFU); in SSD1963_SelectArea()
|
| /hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/host/class/ |
| D | usb_host_video.c | 436 uint32_t length, ep = 0U; in USB_HostVideoStreamSetInterface() local 505 while (ep < interface_ptr->epCount) in USB_HostVideoStreamSetInterface() 510 interface_ptr->epList[ep].epDesc = (usb_descriptor_endpoint_t *)temp; in USB_HostVideoStreamSetInterface() 516 interface_ptr->epList[ep].epExtension = descUnion.bufr; in USB_HostVideoStreamSetInterface() 517 interface_ptr->epList[ep].epExtensionLength = descUnion.common->bLength; in USB_HostVideoStreamSetInterface() 523 ep++; in USB_HostVideoStreamSetInterface()
|
| D | usb_host_audio.c | 459 uint32_t length = 0U, ep = 0U; in USB_HostAudioStreamSetInterface() local 522 while (ep < interface_ptr->epCount) in USB_HostAudioStreamSetInterface() 578 interface_ptr->epList[ep].epDesc = (usb_descriptor_endpoint_t *)temp; in USB_HostAudioStreamSetInterface() 595 interface_ptr->epList[ep].epExtension = ptr1.bufr; in USB_HostAudioStreamSetInterface() 596 interface_ptr->epList[ep].epExtensionLength = ptr1.common->bLength; in USB_HostAudioStreamSetInterface() 602 ep++; in USB_HostAudioStreamSetInterface()
|