Home
last modified time | relevance | path

Searched refs:USB_CONTROL_ENDPOINT (Results 1 – 6 of 6) sorted by relevance

/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/device/
Dusb_device_khci.c156 khciState->endpointState[(USB_CONTROL_ENDPOINT << 1U) | USB_OUT].transferBuffer = in USB_DeviceKhciPrimeNextSetup()
158 … khciState->endpointState[(USB_CONTROL_ENDPOINT << 1U) | USB_OUT].stateUnion.stateBitField.bdtOdd * in USB_DeviceKhciPrimeNextSetup()
161 khciState->endpointState[(USB_CONTROL_ENDPOINT << 1U) | USB_OUT].transferBuffer = in USB_DeviceKhciPrimeNextSetup()
163 … khciState->endpointState[(USB_CONTROL_ENDPOINT << 1U) | USB_OUT].stateUnion.stateBitField.bdtOdd * in USB_DeviceKhciPrimeNextSetup()
167 khciState->endpointState[(USB_CONTROL_ENDPOINT << 1U) | USB_OUT].transferDone = 0U; in USB_DeviceKhciPrimeNextSetup()
169 …khciState->endpointState[(USB_CONTROL_ENDPOINT << 1U) | USB_OUT].transferLength = USB_SETUP_PACKET… in USB_DeviceKhciPrimeNextSetup()
171 …khciState->endpointState[(USB_CONTROL_ENDPOINT << 1U) | USB_OUT].stateUnion.stateBitField.dmaAlign… in USB_DeviceKhciPrimeNextSetup()
173 …khciState->endpointState[(USB_CONTROL_ENDPOINT << 1U) | USB_OUT].stateUnion.stateBitField.data0 = … in USB_DeviceKhciPrimeNextSetup()
176 USB_DeviceKhciEndpointTransfer(khciState, USB_CONTROL_ENDPOINT, USB_OUT, in USB_DeviceKhciPrimeNextSetup()
177 … khciState->endpointState[(USB_CONTROL_ENDPOINT << 1U) | USB_OUT].transferBuffer, in USB_DeviceKhciPrimeNextSetup()
[all …]
Dusb_device_lpcip3511.c569 if ((epInit->endpointAddress & USB_ENDPOINT_NUMBER_MASK) == USB_CONTROL_ENDPOINT) in USB_DeviceLpc3511IpEndpointInit()
584 if ((endpointIndex >> 1) != USB_CONTROL_ENDPOINT) in USB_DeviceLpc3511IpEndpointInit()
592 if ((endpointIndex >> 1U) == USB_CONTROL_ENDPOINT) /* control endpoint */ in USB_DeviceLpc3511IpEndpointInit()
662 if ((endpointIndex >> 1U) != USB_CONTROL_ENDPOINT) /* control endpoint */ in USB_DeviceLpc3511IpEndpointDeinit()
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()
831 if ((ep & USB_ENDPOINT_NUMBER_MASK) != USB_CONTROL_ENDPOINT) in USB_DeviceLpc3511IpEndpointUnstall()
1017 if (((endpointIndex >> 1U) == USB_CONTROL_ENDPOINT) && in USB_DeviceLpc3511IpDoPreviousTransactionMemcpy()
1215 … if (kStatus_USB_Success != USB_DeviceLpc3511IpCancel(lpc3511IpState, USB_CONTROL_ENDPOINT)) in USB_DeviceLpc3511IpInterruptToken()
1220 (void)USB_DeviceLpc3511IpCancel(lpc3511IpState, USB_CONTROL_ENDPOINT); in USB_DeviceLpc3511IpInterruptToken()
[all …]
Dusb_device_mcux_drv_port.h14 #define USB_CONTROL_ENDPOINT (0U) macro
Dusb_device.h63 #define USB_CONTROL_ENDPOINT (0U) macro
Dusb_device_ehci.c291 if ((USB_CONTROL_ENDPOINT == endpoint)) in USB_DeviceEhciEndpointInit()
304 if ((USB_CONTROL_ENDPOINT == endpoint)) in USB_DeviceEhciEndpointInit()
698 if ((USB_CONTROL_ENDPOINT == endpoint) && (USB_IN == direction)) in USB_DeviceEhciInterruptTokenDone()
1198 if ((USB_CONTROL_ENDPOINT == (endpointAddress & USB_ENDPOINT_NUMBER_MASK)) &&
/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/output/source/device/
Dusb_device_ch9.c191 if ((USB_CONTROL_ENDPOINT != (setup->wIndex & USB_ENDPOINT_NUMBER_MASK)) && in USB_DeviceCh9GetStatus()
301 if ((USB_CONTROL_ENDPOINT != (setup->wIndex & USB_ENDPOINT_NUMBER_MASK)) && in USB_DeviceCh9SetClearFeature()
322 if (USB_CONTROL_ENDPOINT == (setup->wIndex & USB_ENDPOINT_NUMBER_MASK)) in USB_DeviceCh9SetClearFeature()
940 status = USB_DeviceStallEndpoint(handle, (uint8_t)USB_CONTROL_ENDPOINT); in USB_DeviceControlCallbackFeedback()
951 status = USB_DeviceSendRequest(handle, (USB_CONTROL_ENDPOINT), *buffer, *length); in USB_DeviceControlCallbackFeedback()
955 status = USB_DeviceSendRequest(handle, (USB_CONTROL_ENDPOINT), (uint8_t *)NULL, 0U); in USB_DeviceControlCallbackFeedback()
961 status = USB_DeviceRecvRequest(handle, (USB_CONTROL_ENDPOINT), (uint8_t *)NULL, 0U); in USB_DeviceControlCallbackFeedback()
1114 status = USB_DeviceRecvRequest(handle, USB_CONTROL_ENDPOINT, buffer, length); in USB_DeviceControlCallback()
1244 …epInitStruct.endpointAddress = USB_CONTROL_ENDPOINT | (USB_IN << USB_DESCRIPTOR_ENDPOINT_ADDRESS_D… in USB_DeviceControlPipeInit()
1253 …epInitStruct.endpointAddress = USB_CONTROL_ENDPOINT | (USB_OUT << USB_DESCRIPTOR_ENDPOINT_ADDRESS_… in USB_DeviceControlPipeInit()
[all …]