Searched refs:epInitStruct (Results 1 – 9 of 9) sorted by relevance
| /hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/output/source/device/class/ |
| D | usb_device_cdc_acm.c | 240 usb_device_endpoint_init_struct_t epInitStruct; in USB_DeviceCdcAcmEndpointsInit() local 241 epInitStruct.zlt = 0U; in USB_DeviceCdcAcmEndpointsInit() 242 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() 247 … if ((USB_IN == ((epInitStruct.endpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK) >> in USB_DeviceCdcAcmEndpointsInit() 249 (USB_ENDPOINT_INTERRUPT == epInitStruct.transferType)) in USB_DeviceCdcAcmEndpointsInit() 251 …cdcAcmHandle->interruptIn.ep = (epInitStruct.endpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_NUM… in USB_DeviceCdcAcmEndpointsInit() 261 error = USB_DeviceInitEndpoint(cdcAcmHandle->handle, &epInitStruct, &epCallback); in USB_DeviceCdcAcmEndpointsInit() [all …]
|
| D | usb_device_video.c | 312 usb_device_endpoint_init_struct_t epInitStruct; in USB_DeviceVideoStreamEndpointsInit() local 314 epInitStruct.zlt = 0U; in USB_DeviceVideoStreamEndpointsInit() 315 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() 320 …if ((USB_ENDPOINT_ISOCHRONOUS == (epInitStruct.transferType & USB_DESCRIPTOR_ENDPOINT_ATTRIBUTE_TY… in USB_DeviceVideoStreamEndpointsInit() 321 … (USB_IN == ((epInitStruct.endpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK) >> in USB_DeviceVideoStreamEndpointsInit() 327 (epInitStruct.transferType & USB_DESCRIPTOR_ENDPOINT_ATTRIBUTE_TYPE_MASK)) && in USB_DeviceVideoStreamEndpointsInit() 328 … (USB_OUT == ((epInitStruct.endpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK) >> in USB_DeviceVideoStreamEndpointsInit() [all …]
|
| D | usb_device_phdc.c | 263 usb_device_endpoint_init_struct_t epInitStruct; in USB_DevicePhdcEndpointsInit() local 265 epInitStruct.zlt = 0U; in USB_DevicePhdcEndpointsInit() 266 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() 270 if (USB_ENDPOINT_INTERRUPT == epInitStruct.transferType) in USB_DevicePhdcEndpointsInit() 273 …phdcHandle->interruptIn.ep = (epInitStruct.endpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_NUMBE… in USB_DevicePhdcEndpointsInit() 278 …else if (USB_IN == ((epInitStruct.endpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK… in USB_DevicePhdcEndpointsInit() 282 …phdcHandle->bulkIn.ep = (epInitStruct.endpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_NUMBER_MAS… in USB_DevicePhdcEndpointsInit() [all …]
|
| D | usb_device_ccid.c | 615 usb_device_endpoint_init_struct_t epInitStruct; in USB_DeviceCcidEndpointsInit() local 617 epInitStruct.zlt = 0U; in USB_DeviceCcidEndpointsInit() 618 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() 623 …if ((USB_ENDPOINT_BULK == (epInitStruct.transferType & USB_DESCRIPTOR_ENDPOINT_ATTRIBUTE_TYPE_MASK… in USB_DeviceCcidEndpointsInit() 624 … (USB_IN == ((epInitStruct.endpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK) >> in USB_DeviceCcidEndpointsInit() 628 epInitStruct.zlt = 1U; in USB_DeviceCcidEndpointsInit() 629 …ccidHandle->endpointBulkIn = epInitStruct.endpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_NUMBER… in USB_DeviceCcidEndpointsInit() [all …]
|
| D | usb_device_audio.c | 330 usb_device_endpoint_init_struct_t epInitStruct; in USB_DeviceAudioStreamEndpointsInit() local 332 epInitStruct.zlt = 0U; in USB_DeviceAudioStreamEndpointsInit() 333 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() 338 …if ((USB_ENDPOINT_ISOCHRONOUS == (epInitStruct.transferType & USB_DESCRIPTOR_ENDPOINT_ATTRIBUTE_TY… in USB_DeviceAudioStreamEndpointsInit() 339 … (USB_IN == ((epInitStruct.endpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK) >> in USB_DeviceAudioStreamEndpointsInit() 350 status = USB_DeviceInitEndpoint(audioHandle->handle, &epInitStruct, &epCallback); in USB_DeviceAudioStreamEndpointsInit() 483 usb_device_endpoint_init_struct_t epInitStruct; in USB_DeviceAudioControlEndpointsInit() local [all …]
|
| D | usb_device_printer.c | 201 usb_device_endpoint_init_struct_t epInitStruct; in USB_DevicePrinterEndpointsInit() local 203 epInitStruct.zlt = 0U; in USB_DevicePrinterEndpointsInit() 204 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() 209 if (((epInitStruct.endpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK) >> in USB_DevicePrinterEndpointsInit() 226 status = USB_DeviceInitEndpoint(printerHandle->deviceHandle, &epInitStruct, &epCallback); in USB_DevicePrinterEndpointsInit()
|
| D | usb_device_hid.c | 234 usb_device_endpoint_init_struct_t epInitStruct; in USB_DeviceHidEndpointsInit() local 236 epInitStruct.zlt = 0U; in USB_DeviceHidEndpointsInit() 237 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() 242 … if (USB_IN == ((epInitStruct.endpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK) >> in USB_DeviceHidEndpointsInit() 259 status = USB_DeviceInitEndpoint(hidHandle->handle, &epInitStruct, &epCallback); in USB_DeviceHidEndpointsInit()
|
| D | usb_device_msc.c | 819 usb_device_endpoint_init_struct_t epInitStruct; in USB_DeviceMscEndpointsInit() local 821 epInitStruct.zlt = 0U; in USB_DeviceMscEndpointsInit() 822 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() 827 … if (USB_IN == ((epInitStruct.endpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK) >> in USB_DeviceMscEndpointsInit() 830 mscHandle->bulkInEndpoint = epInitStruct.endpointAddress; in USB_DeviceMscEndpointsInit() 835 mscHandle->bulkOutEndpoint = epInitStruct.endpointAddress; in USB_DeviceMscEndpointsInit() 840 error = USB_DeviceInitEndpoint(mscHandle->handle, &epInitStruct, &epCallback); in USB_DeviceMscEndpointsInit()
|
| /hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/output/source/device/ |
| D | usb_device_ch9.c | 1234 usb_device_endpoint_init_struct_t epInitStruct; in USB_DeviceControlPipeInit() local 1241 epInitStruct.zlt = 1U; in USB_DeviceControlPipeInit() 1242 epInitStruct.transferType = USB_ENDPOINT_CONTROL; in USB_DeviceControlPipeInit() 1243 epInitStruct.interval = 0; in USB_DeviceControlPipeInit() 1244 …epInitStruct.endpointAddress = USB_CONTROL_ENDPOINT | (USB_IN << USB_DESCRIPTOR_ENDPOINT_ADDRESS_D… in USB_DeviceControlPipeInit() 1245 epInitStruct.maxPacketSize = USB_CONTROL_MAX_PACKET_SIZE; in USB_DeviceControlPipeInit() 1247 status = USB_DeviceInitEndpoint(handle, &epInitStruct, &epCallback); in USB_DeviceControlPipeInit() 1253 …epInitStruct.endpointAddress = USB_CONTROL_ENDPOINT | (USB_OUT << USB_DESCRIPTOR_ENDPOINT_ADDRESS_… in USB_DeviceControlPipeInit() 1255 status = USB_DeviceInitEndpoint(handle, &epInitStruct, &epCallback); in USB_DeviceControlPipeInit()
|