Home
last modified time | relevance | path

Searched refs:portNumber (Results 1 – 12 of 12) sorted by relevance

/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/host/class/
Dusb_host_hub.c411 usb_status_t USB_HostHubSendPortReset(usb_host_class_handle classHandle, uint8_t portNumber) in USB_HostHubSendPortReset() argument
439 transfer->setupPacket->wIndex = USB_SHORT_TO_LITTLE_ENDIAN(portNumber); in USB_HostHubSendPortReset()
555 uint8_t portNumber, in USB_HostHubSetPortFeature() argument
562 USB_REQUEST_STANDARD_SET_FEATURE, feature, portNumber, NULL, 0, callbackFn, callbackParam); in USB_HostHubSetPortFeature()
583 uint8_t portNumber, in USB_HostHubClearPortFeature() argument
590 … USB_REQUEST_STANDARD_CLEAR_FEATURE, feature, portNumber, NULL, 0, callbackFn, callbackParam); in USB_HostHubClearPortFeature()
611 uint8_t portNumber, in USB_HostHubGetPortStatus() argument
619 … USB_REQUEST_STANDARD_GET_STATUS, 0, portNumber, buffer, bufferLength, callbackFn, callbackParam); in USB_HostHubGetPortStatus()
Dusb_host_hub.h233 extern usb_status_t USB_HostHubSendPortReset(usb_host_class_handle classHandle, uint8_t portNumber);
321 uint8_t portNumber,
344 uint8_t portNumber,
367 uint8_t portNumber,
Dusb_host_hub_app.c1046 USB_REQUEST_STANDARD_SET_FEATURE, PORT_SUSPEND, deviceInstance->portNumber, in USB_HostHubRemoteWakeupCallback()
1378 …b_status_t USB_HostHubRemovePort(usb_host_handle hostHandle, uint8_t hubNumber, uint8_t portNumber) in USB_HostHubRemovePort() argument
1404 hubInstance->portList[portNumber - 1U].deviceHandle = NULL; in USB_HostHubRemovePort()
1405 hubInstance->portList[portNumber - 1U].portStatus = (uint8_t)kPortRunInvalid; in USB_HostHubRemovePort()
1406 if (hubInstance->portProcess == portNumber) in USB_HostHubRemovePort()
1410 (void)USB_HostHubSendPortReset(hubInstance, portNumber); in USB_HostHubRemovePort()
1627 USB_REQUEST_STANDARD_SET_FEATURE, PORT_SUSPEND, deviceInstance->portNumber, in USB_HostHubSuspendDevice()
1676 USB_REQUEST_STANDARD_CLEAR_FEATURE, PORT_SUSPEND, deviceInstance->portNumber, in USB_HostHubResumeDevice()
Dusb_host_hub_app.h141 …_status_t USB_HostHubRemovePort(usb_host_handle hostHandle, uint8_t hubNumber, uint8_t portNumber);
/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/host/
Dusb_host_devices.c1029 uint8_t portNumber, in USB_HostAttachDevice() argument
1051 … if ((currentInstance->hubNumber == hubNumber) && (currentInstance->portNumber == portNumber)) in USB_HostAttachDevice()
1116 newInstance->portNumber = portNumber; in USB_HostAttachDevice()
1122 … newInstance->hsHubPort = (uint8_t)USB_HostHubGetHsHubPort(hostHandle, hubNumber, portNumber); in USB_HostAttachDevice()
1127 newInstance->hsHubPort = portNumber; in USB_HostAttachDevice()
1194 usb_status_t USB_HostDetachDevice(usb_host_handle hostHandle, uint8_t hubNumber, uint8_t portNumber) in USB_HostDetachDevice() argument
1210 if ((deviceInstance->hubNumber == hubNumber) && (deviceInstance->portNumber == portNumber)) in USB_HostDetachDevice()
1463 devPortNo = deviceInstance->portNumber; in USB_HostRemoveDevice()
Dusb_host_devices.h76 uint8_t portNumber; /*!< Device's first connected hub's port no (1 - 8) */ member
110 uint8_t portNumber,
123 …b_status_t USB_HostDetachDevice(usb_host_handle hostHandle, uint8_t hubNumber, uint8_t portNumber);
Dusb_host_ohci.c2252 usbHostState->portNumber = in USB_HostOhciCreate()
2254 if (0U == usbHostState->portNumber) in USB_HostOhciCreate()
2265 ((uint32_t)usbHostState->portNumber)); /* malloc host ohci port state */ in USB_HostOhciCreate()
2690 for (uint8_t i = 0; i < usbHostState->portNumber; i++) in USB_HostOhciTaskFunction()
2706 for (uint8_t i = 0; i < usbHostState->portNumber; i++) in USB_HostOhciTaskFunction()
Dusb_host_ip3516hs.c787 for (i = 0U; i < usbHostState->portNumber; i++) in USB_HostIp3516HsPortChange()
3450 usbHostState->portNumber = in USB_HostIp3516HsCreate()
3452 if (0U == usbHostState->portNumber) in USB_HostIp3516HsCreate()
3463 ((uint32_t)usbHostState->portNumber)); /* malloc host ip3516hs port state */ in USB_HostIp3516HsCreate()
3912 if ((*(uint8_t *)ioctlParam) < usbHostState->portNumber) in USB_HostIp3516HsIoctl()
3977 for (uint8_t i = 0; i < usbHostState->portNumber; i++) in USB_HostIp3516HsTaskFunction()
3993 for (uint8_t i = 0; i < usbHostState->portNumber; i++) in USB_HostIp3516HsTaskFunction()
Dusb_host_ohci.h468 uint8_t portNumber; /*!< Port count */ member
Dusb_host_ehci.c2475 uint32_t portNumber = 0; in USB_HostEhciQhInit() local
2557 … (uint32_t)kUSB_HostGetDeviceHSHubPort, &portNumber); in USB_HostEhciQhInit()
2564 … (uint32_t)kUSB_HostGetDevicePortNumber, &portNumber); in USB_HostEhciQhInit()
2566 controlBits2 |= (portNumber << EHCI_HOST_QH_PORT_NUMBER_SHIFT); in USB_HostEhciQhInit()
2828 uint32_t portNumber = 0U; in USB_HostEhciSitdArrayInit() local
2868 … (uint32_t)kUSB_HostGetDevicePortNumber, &portNumber); in USB_HostEhciSitdArrayInit()
2889 … (portNumber << EHCI_HOST_SITD_PORT_NUMBER_SHIFT) | (hubNumber << EHCI_HOST_SITD_HUB_ADDR_SHIFT) | in USB_HostEhciSitdArrayInit()
Dusb_host_ip3516hs.h610 uint8_t portNumber; /*!< Port count */ member
Dusb_host_hci.c591 *infoValue = (uint32_t)deviceInstance->portNumber; in USB_HostHelperGetPeripheralInformation()