Lines Matching refs:endpointAddress
53 uint8_t endpointAddress,
252 uint8_t endpointAddress, in USB_DeviceTransfer() argument
258 uint8_t endpoint = endpointAddress & USB_ENDPOINT_NUMBER_MASK; in USB_DeviceTransfer()
259 …uint8_t direction = (endpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_M… in USB_DeviceTransfer()
282 if (0U != (endpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK)) in USB_DeviceTransfer()
286 …us = deviceHandle->controllerInterface->deviceSend(deviceHandle->controllerHandle, endpointAddress, in USB_DeviceTransfer()
293 …us = deviceHandle->controllerInterface->deviceRecv(deviceHandle->controllerHandle, endpointAddress, in USB_DeviceTransfer()
978 usb_status_t USB_DeviceSendRequest(usb_device_handle handle, uint8_t endpointAddress, uint8_t *buff… in USB_DeviceSendRequest() argument
982 …(endpointAddress & USB_ENDPOINT_NUMBER_MASK) | (USB_IN << USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTIO… in USB_DeviceSendRequest()
1010 usb_status_t USB_DeviceRecvRequest(usb_device_handle handle, uint8_t endpointAddress, uint8_t *buff… in USB_DeviceRecvRequest() argument
1014 …(endpointAddress & USB_ENDPOINT_NUMBER_MASK) | (USB_OUT << USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTI… in USB_DeviceRecvRequest()
1030 usb_status_t USB_DeviceCancel(usb_device_handle handle, uint8_t endpointAddress) in USB_DeviceCancel() argument
1043 …= deviceHandle->controllerInterface->deviceCancel(deviceHandle->controllerHandle, endpointAddress); in USB_DeviceCancel()
1087 endpoint = epInit->endpointAddress & USB_ENDPOINT_NUMBER_MASK; in USB_DeviceInitEndpoint()
1088 direction = (epInit->endpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK) >> in USB_DeviceInitEndpoint()
1119 usb_status_t USB_DeviceDeinitEndpoint(usb_device_handle handle, uint8_t endpointAddress) in USB_DeviceDeinitEndpoint() argument
1122 uint8_t endpoint = endpointAddress & USB_ENDPOINT_NUMBER_MASK; in USB_DeviceDeinitEndpoint()
1123 …uint8_t direction = (endpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_M… in USB_DeviceDeinitEndpoint()
1139 status = USB_DeviceControl(handle, kUSB_DeviceControlEndpointDeinit, &endpointAddress); in USB_DeviceDeinitEndpoint()
1173 usb_status_t USB_DeviceStallEndpoint(usb_device_handle handle, uint8_t endpointAddress) in USB_DeviceStallEndpoint() argument
1175 if ((endpointAddress & USB_ENDPOINT_NUMBER_MASK) < USB_DEVICE_CONFIG_ENDPOINTS) in USB_DeviceStallEndpoint()
1177 return USB_DeviceControl(handle, kUSB_DeviceControlEndpointStall, &endpointAddress); in USB_DeviceStallEndpoint()
1198 usb_status_t USB_DeviceUnstallEndpoint(usb_device_handle handle, uint8_t endpointAddress) in USB_DeviceUnstallEndpoint() argument
1200 if ((endpointAddress & USB_ENDPOINT_NUMBER_MASK) < USB_DEVICE_CONFIG_ENDPOINTS) in USB_DeviceUnstallEndpoint()
1202 return USB_DeviceControl(handle, kUSB_DeviceControlEndpointUnstall, &endpointAddress); in USB_DeviceUnstallEndpoint()