Home
last modified time | relevance | path

Searched refs:endpoint (Results 1 – 25 of 28) sorted by relevance

12

/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/device/
Dusb_device_khci.c47 …usb_device_khci_state_struct_t *khciState, uint8_t endpoint, uint8_t direction, uint8_t *buffer, u…
109 …usb_device_khci_state_struct_t *khciState, uint8_t endpoint, uint8_t direction, uint8_t *buffer, u…
111 uint32_t index = ((uint32_t)endpoint << 1U) | (uint32_t)direction;
121 USB_KHCI_BDT_SET_ADDRESS((uint32_t)khciState->bdt, endpoint, direction,
126 …(uint32_t)khciState->bdt, endpoint, direction, khciState->endpointState[index].stateUnion.stateBit…
280 uint8_t endpoint = (epInit->endpointAddress & USB_ENDPOINT_NUMBER_MASK); in USB_DeviceKhciEndpointInit() local
283 uint8_t index = ((uint8_t)((uint32_t)endpoint << 1U)) | (uint8_t)direction; in USB_DeviceKhciEndpointInit()
300 khciState->registerBase->ENDPOINT[endpoint].ENDPT |= USB_ENDPT_EPHSHK_MASK; in USB_DeviceKhciEndpointInit()
313 khciState->registerBase->ENDPOINT[endpoint].ENDPT |= in USB_DeviceKhciEndpointInit()
321 if (endpoint < 8U) in USB_DeviceKhciEndpointInit()
[all …]
Dusb_device_dci.c258 uint8_t endpoint = endpointAddress & USB_ENDPOINT_NUMBER_MASK; in USB_DeviceTransfer() local
270 if (endpoint >= USB_DEVICE_CONFIG_ENDPOINTS) in USB_DeviceTransfer()
275 if (0U != deviceHandle->epCallback[(uint8_t)((uint32_t)endpoint << 1U) | direction].isBusy) in USB_DeviceTransfer()
280 deviceHandle->epCallback[(uint8_t)((uint32_t)endpoint << 1U) | direction].isBusy = 1U; in USB_DeviceTransfer()
299 deviceHandle->epCallback[(uint8_t)((uint32_t)endpoint << 1U) | direction].isBusy = 0U; in USB_DeviceTransfer()
594 uint8_t endpoint = message->code & USB_ENDPOINT_NUMBER_MASK; in USB_DeviceNotification() local
644 if (endpoint < USB_DEVICE_CONFIG_ENDPOINTS) in USB_DeviceNotification()
646 … if (NULL != handle->epCallback[(uint8_t)((uint32_t)endpoint << 1U) | direction].callbackFn) in USB_DeviceNotification()
659 … handle->epCallback[(uint8_t)((uint32_t)endpoint << 1U) | direction].isBusy = 0U; in USB_DeviceNotification()
662 … status = handle->epCallback[(uint8_t)((uint32_t)endpoint << 1U) | direction].callbackFn( in USB_DeviceNotification()
[all …]
Dusb_device_ehci.c72 uint8_t endpoint,
250 uint8_t endpoint = (epInit->endpointAddress & USB_ENDPOINT_NUMBER_MASK); in USB_DeviceEhciEndpointInit() local
253 uint8_t index = ((uint8_t)((uint32_t)endpoint << 1U)) | direction; in USB_DeviceEhciEndpointInit()
291 if ((USB_CONTROL_ENDPOINT == endpoint)) in USB_DeviceEhciEndpointInit()
304 if ((USB_CONTROL_ENDPOINT == endpoint)) in USB_DeviceEhciEndpointInit()
315 ehciState->registerBase->EPCR[endpoint - 1U] |= in USB_DeviceEhciEndpointInit()
340 uint8_t endpoint = (ep & USB_ENDPOINT_NUMBER_MASK); in USB_DeviceEhciEndpointDeinit() local
343 uint8_t index = ((uint8_t)((uint32_t)endpoint << 1U)) | direction; in USB_DeviceEhciEndpointDeinit()
365 if (0U == endpoint) in USB_DeviceEhciEndpointDeinit()
373 ehciState->registerBase->EPCR[endpoint - 1U] &= in USB_DeviceEhciEndpointDeinit()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/components/serial_manager/usb_cdc_adapter/
Dusb_device_descriptor.c397 … if (((ptr1->endpoint.bEndpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK) == in USB_DeviceSetSpeed()
400 (ptr1->endpoint.bEndpointAddress & USB_ENDPOINT_NUMBER_MASK))) in USB_DeviceSetSpeed()
402 ptr1->endpoint.bInterval = HS_CDC_VCOM_INTERRUPT_IN_INTERVAL; in USB_DeviceSetSpeed()
404 ptr1->endpoint.wMaxPacketSize); in USB_DeviceSetSpeed()
406 … else if (((ptr1->endpoint.bEndpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK) == in USB_DeviceSetSpeed()
409 (ptr1->endpoint.bEndpointAddress & USB_ENDPOINT_NUMBER_MASK))) in USB_DeviceSetSpeed()
411 …USB_SHORT_TO_LITTLE_ENDIAN_ADDRESS(HS_CDC_VCOM_BULK_IN_PACKET_SIZE, ptr1->endpoint.wMaxPacketSize); in USB_DeviceSetSpeed()
413 … else if (((ptr1->endpoint.bEndpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK) == in USB_DeviceSetSpeed()
416 (ptr1->endpoint.bEndpointAddress & USB_ENDPOINT_NUMBER_MASK))) in USB_DeviceSetSpeed()
418 …SB_SHORT_TO_LITTLE_ENDIAN_ADDRESS(HS_CDC_VCOM_BULK_OUT_PACKET_SIZE, ptr1->endpoint.wMaxPacketSize); in USB_DeviceSetSpeed()
[all …]
/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/output/source/device/class/
Dusb_device_cdc_acm.c242 epInitStruct.interval = interface->endpointList.endpoint[count].interval; in USB_DeviceCdcAcmEndpointsInit()
243 epInitStruct.endpointAddress = interface->endpointList.endpoint[count].endpointAddress; in USB_DeviceCdcAcmEndpointsInit()
244 epInitStruct.maxPacketSize = interface->endpointList.endpoint[count].maxPacketSize; in USB_DeviceCdcAcmEndpointsInit()
245 epInitStruct.transferType = interface->endpointList.endpoint[count].transferType; in USB_DeviceCdcAcmEndpointsInit()
290 epInitStruct.interval = interface->endpointList.endpoint[count].interval; in USB_DeviceCdcAcmEndpointsInit()
291 epInitStruct.endpointAddress = interface->endpointList.endpoint[count].endpointAddress; in USB_DeviceCdcAcmEndpointsInit()
292 epInitStruct.maxPacketSize = interface->endpointList.endpoint[count].maxPacketSize; in USB_DeviceCdcAcmEndpointsInit()
293 epInitStruct.transferType = interface->endpointList.endpoint[count].transferType; in USB_DeviceCdcAcmEndpointsInit()
348 …cdcAcmHandle->handle, cdcAcmHandle->commInterfaceHandle->endpointList.endpoint[count].endpointAddr… in USB_DeviceCdcAcmEndpointsDeinit()
353 …cdcAcmHandle->handle, cdcAcmHandle->dataInterfaceHandle->endpointList.endpoint[count].endpointAddr… in USB_DeviceCdcAcmEndpointsDeinit()
[all …]
Dusb_device_phdc.c266 epInitStruct.interval = interface->endpointList.endpoint[count].interval; in USB_DevicePhdcEndpointsInit()
267 epInitStruct.endpointAddress = interface->endpointList.endpoint[count].endpointAddress; in USB_DevicePhdcEndpointsInit()
268 epInitStruct.maxPacketSize = interface->endpointList.endpoint[count].maxPacketSize; in USB_DevicePhdcEndpointsInit()
269 epInitStruct.transferType = interface->endpointList.endpoint[count].transferType; in USB_DevicePhdcEndpointsInit()
324 … phdcHandle->interfaceHandle->endpointList.endpoint[count].endpointAddress); in USB_DevicePhdcEndpointsDeinit()
416 … if (*temp8 == phdcHandle->interfaceHandle->endpointList.endpoint[count].endpointAddress) in USB_DevicePhdcEvent()
420 phdcHandle->interfaceHandle->endpointList.endpoint[count].transferType) in USB_DevicePhdcEvent()
424 … else if (USB_IN == ((phdcHandle->interfaceHandle->endpointList.endpoint[count].endpointAddress & in USB_DevicePhdcEvent()
446 … if (*temp8 == phdcHandle->interfaceHandle->endpointList.endpoint[count].endpointAddress) in USB_DevicePhdcEvent()
450 phdcHandle->interfaceHandle->endpointList.endpoint[count].transferType) in USB_DevicePhdcEvent()
[all …]
Dusb_device_printer.c204 epInitStruct.interval = interface->endpointList.endpoint[index].interval; in USB_DevicePrinterEndpointsInit()
205 epInitStruct.endpointAddress = interface->endpointList.endpoint[index].endpointAddress; in USB_DevicePrinterEndpointsInit()
206 epInitStruct.maxPacketSize = interface->endpointList.endpoint[index].maxPacketSize; in USB_DevicePrinterEndpointsInit()
207 epInitStruct.transferType = interface->endpointList.endpoint[index].transferType; in USB_DevicePrinterEndpointsInit()
257 … printerHandle->interfaceHandle->endpointList.endpoint[index].endpointAddress); in USB_DevicePrinterEndpointsDeinit()
421 … if (temp8 == printerHandle->interfaceHandle->endpointList.endpoint[temp16].endpointAddress) in USB_DevicePrinterEvent()
424 … if (USB_IN == ((printerHandle->interfaceHandle->endpointList.endpoint[temp16].endpointAddress & in USB_DevicePrinterEvent()
449 … if (temp8 == printerHandle->interfaceHandle->endpointList.endpoint[temp16].endpointAddress) in USB_DevicePrinterEvent()
463 … (printerHandle->interfaceHandle->endpointList.endpoint[temp16].endpointAddress & in USB_DevicePrinterEvent()
498 … (printerHandle->interfaceHandle->endpointList.endpoint[temp16].endpointAddress & in USB_DevicePrinterEvent()
Dusb_device_hid.c237 epInitStruct.interval = interface->endpointList.endpoint[count].interval; in USB_DeviceHidEndpointsInit()
238 epInitStruct.endpointAddress = interface->endpointList.endpoint[count].endpointAddress; in USB_DeviceHidEndpointsInit()
239 epInitStruct.maxPacketSize = interface->endpointList.endpoint[count].maxPacketSize; in USB_DeviceHidEndpointsInit()
240 epInitStruct.transferType = interface->endpointList.endpoint[count].transferType; in USB_DeviceHidEndpointsInit()
287 … hidHandle->interfaceHandle->endpointList.endpoint[count].endpointAddress); in USB_DeviceHidEndpointsDeinit()
400 … if (*temp8 == hidHandle->interfaceHandle->endpointList.endpoint[count].endpointAddress) in USB_DeviceHidEvent()
403 … if (USB_IN == ((hidHandle->interfaceHandle->endpointList.endpoint[count].endpointAddress & in USB_DeviceHidEvent()
426 … if (*temp8 == hidHandle->interfaceHandle->endpointList.endpoint[count].endpointAddress) in USB_DeviceHidEvent()
440 … (hidHandle->interfaceHandle->endpointList.endpoint[count].endpointAddress & in USB_DeviceHidEvent()
475 … (hidHandle->interfaceHandle->endpointList.endpoint[count].endpointAddress & in USB_DeviceHidEvent()
Dusb_device_audio.c333 epInitStruct.interval = interface->endpointList.endpoint[count].interval; in USB_DeviceAudioStreamEndpointsInit()
334 epInitStruct.endpointAddress = interface->endpointList.endpoint[count].endpointAddress; in USB_DeviceAudioStreamEndpointsInit()
335 epInitStruct.maxPacketSize = interface->endpointList.endpoint[count].maxPacketSize; in USB_DeviceAudioStreamEndpointsInit()
336 epInitStruct.transferType = interface->endpointList.endpoint[count].transferType; in USB_DeviceAudioStreamEndpointsInit()
379 …audioHandle->handle, audioHandle->streamInterfaceHandle->endpointList.endpoint[count].endpointAddr… in USB_DeviceAudioStreamEndpointsDeinit()
384 if ((audioHandle->streamInterfaceHandle->endpointList.endpoint[count].endpointAddress & in USB_DeviceAudioStreamEndpointsDeinit()
486 epInitStruct.interval = interface->endpointList.endpoint[count].interval; in USB_DeviceAudioControlEndpointsInit()
487 epInitStruct.endpointAddress = interface->endpointList.endpoint[count].endpointAddress; in USB_DeviceAudioControlEndpointsInit()
488 epInitStruct.maxPacketSize = interface->endpointList.endpoint[count].maxPacketSize; in USB_DeviceAudioControlEndpointsInit()
489 epInitStruct.transferType = interface->endpointList.endpoint[count].transferType; in USB_DeviceAudioControlEndpointsInit()
[all …]
Dusb_device_video.c315 epInitStruct.interval = interface->endpointList.endpoint[count].interval; in USB_DeviceVideoStreamEndpointsInit()
316 epInitStruct.endpointAddress = interface->endpointList.endpoint[count].endpointAddress; in USB_DeviceVideoStreamEndpointsInit()
317 epInitStruct.maxPacketSize = interface->endpointList.endpoint[count].maxPacketSize; in USB_DeviceVideoStreamEndpointsInit()
318 epInitStruct.transferType = interface->endpointList.endpoint[count].transferType; in USB_DeviceVideoStreamEndpointsInit()
366 …videoHandle->handle, videoHandle->streamInterfaceHandle->endpointList.endpoint[count].endpointAddr… in USB_DeviceVideoStreamEndpointsDeinit()
438 epInitStruct.endpointAddress = interface->endpointList.endpoint[count].endpointAddress; in USB_DeviceVideoControlEndpointsInit()
439 epInitStruct.maxPacketSize = interface->endpointList.endpoint[count].maxPacketSize; in USB_DeviceVideoControlEndpointsInit()
440 epInitStruct.transferType = interface->endpointList.endpoint[count].transferType; in USB_DeviceVideoControlEndpointsInit()
481 …videoHandle->handle, videoHandle->controlInterfaceHandle->endpointList.endpoint[count].endpointAdd… in USB_DeviceVideoControlEndpointsDeinit()
1241 … if (*temp8 == videoHandle->controlInterfaceHandle->endpointList.endpoint[count].endpointAddress) in USB_DeviceVideoEvent()
[all …]
Dusb_device_ccid.c618 epInitStruct.interval = interface->endpointList.endpoint[count].interval; in USB_DeviceCcidEndpointsInit()
619 epInitStruct.endpointAddress = interface->endpointList.endpoint[count].endpointAddress; in USB_DeviceCcidEndpointsInit()
620 epInitStruct.maxPacketSize = interface->endpointList.endpoint[count].maxPacketSize; in USB_DeviceCcidEndpointsInit()
621 epInitStruct.transferType = interface->endpointList.endpoint[count].transferType; in USB_DeviceCcidEndpointsInit()
673 … ccidHandle->interfaceHandle->endpointList.endpoint[count].endpointAddress); in USB_DeviceCcidEndpointsDeinit()
858 … if (*temp8 == ccidHandle->interfaceHandle->endpointList.endpoint[count].endpointAddress) in USB_DeviceCcidEvent()
874 … if (*temp8 == ccidHandle->interfaceHandle->endpointList.endpoint[count].endpointAddress) in USB_DeviceCcidEvent()
Dusb_device_msc.c822 epInitStruct.interval = interface->endpointList.endpoint[count].interval; in USB_DeviceMscEndpointsInit()
823 epInitStruct.endpointAddress = interface->endpointList.endpoint[count].endpointAddress; in USB_DeviceMscEndpointsInit()
824 epInitStruct.maxPacketSize = interface->endpointList.endpoint[count].maxPacketSize; in USB_DeviceMscEndpointsInit()
825 epInitStruct.transferType = interface->endpointList.endpoint[count].transferType; in USB_DeviceMscEndpointsInit()
881 … mscHandle->interfaceHandle->endpointList.endpoint[count].endpointAddress); in USB_DeviceMscEndpointsDeinit()
Dusb_device_class.h73 usb_device_endpoint_struct_t *endpoint; /*!< Endpoint structure list*/ member
/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-multicore/rpmsg_lite/
DREADME.md35 …nt a blocking receive API (in <i>rpmsg_queue.c</i>) and dynamic "named" endpoint creation and dele…
45 …he transport layer. This is realized by using so-called endpoints. Each endpoint can be assigned a…
55endpoint (in other words, channel) creation or deletion and to receive these announcement taking a…
61endpoint, otherwise communication is not possible. This can be done by calling the rpmsg_lite_crea…
71 - Call the rpmsg_lite_send_nocopy() function to send the message to the destination endpoint. Consi…
80 …used to destroy a queue, rpmsg_lite_destroy_ept() is used to destroy an endpoint and finally, rpms…
/hal_nxp-latest/mcux/mcux-sdk/components/rpmsg/
Dfsl_adapter_rpmsg.c42 struct rpmsg_lite_ept_static_context endpoint; member
236 rpmsgHandle, &rpmsgHandle->endpoint); in HAL_RpmsgMasterInit()
308 rpmsgHandle, &rpmsgHandle->endpoint); in HAL_RpmsgRemoteInit()
/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/host/class/
Dusb_host_msd.c43 uint8_t endpoint);
204 uint8_t endpoint) in USB_HostMsdClearHalt() argument
227 transfer->setupPacket->wIndex = USB_SHORT_TO_LITTLE_ENDIAN(endpoint); in USB_HostMsdClearHalt()
Dusb_host_printer.c131 uint8_t endpoint) in USB_HostPrinterClearHalt() argument
158 transfer->setupPacket->wIndex = USB_SHORT_TO_LITTLE_ENDIAN(endpoint); in USB_HostPrinterClearHalt()
Dusb_host_hid.c134 uint8_t endpoint) in USB_HostHidClearHalt() argument
161 transfer->setupPacket->wIndex = USB_SHORT_TO_LITTLE_ENDIAN(endpoint); in USB_HostHidClearHalt()
Dusb_host_phdc.c123 uint8_t endpoint) in USB_HostPhdcClearHalt() argument
150 transfer->setupPacket->wIndex = USB_SHORT_TO_LITTLE_ENDIAN(endpoint); in USB_HostPhdcClearHalt()
Dusb_host_cdc.c61 uint8_t endpoint) in USB_HostCdcClearHalt() argument
88 transfer->setupPacket->wIndex = USB_SHORT_TO_LITTLE_ENDIAN(endpoint); in USB_HostCdcClearHalt()
Dusb_host_video.h577 usb_descriptor_endpoint_t *endpoint; member
/hal_nxp-latest/mcux/middleware/wifi_nxp/incl/wmcrypto/
Dwm_mbedtls_helper_api.h182 mbedtls_ssl_config *wm_mbedtls_ssl_config_new(wm_mbedtls_cert_t *cert, int endpoint, int authmode);
/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/include/
Dusb_spec.h295 usb_descriptor_endpoint_t endpoint; /* Endpoint descriptor */ member
/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/host/
Dusb_host_framework.c183 transfer->setupPacket->wIndex = USB_SHORT_TO_LITTLE_ENDIAN(frameParam->endpoint); in USB_HostStandardSyncFrame()
Dusb_host.h145 uint8_t endpoint; /*!< Endpoint number */ member

12