Lines Matching refs:direction
47 …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…
275 …uint8_t direction = (epInit->endpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK… in USB_DeviceKhciEndpointInit() local
277 uint8_t index = ((uint8_t)((uint32_t)endpoint << 1U)) | (uint8_t)direction; in USB_DeviceKhciEndpointInit()
308 (USB_IN == direction) ? USB_ENDPT_EPTXEN_MASK : USB_ENDPT_EPRXEN_MASK; in USB_DeviceKhciEndpointInit()
313 if (USB_IN == direction) in USB_DeviceKhciEndpointInit()
360 if ((USB_CONTROL_ENDPOINT == endpoint) && (USB_OUT == direction)) in USB_DeviceKhciEndpointInit()
382 uint8_t direction = in USB_DeviceKhciEndpointDeinit() local
384 uint8_t index = ((uint8_t)((uint32_t)endpoint << 1U)) | (uint8_t)direction; in USB_DeviceKhciEndpointDeinit()
418 uint8_t direction = in USB_DeviceKhciEndpointStall() local
420 uint8_t index = ((uint8_t)((uint32_t)endpoint << 1U)) | (uint8_t)direction; in USB_DeviceKhciEndpointStall()
475 if (USB_IN == direction) in USB_DeviceKhciEndpointStall()
516 (uint32_t)khciState->bdt, endpoint, direction, in USB_DeviceKhciEndpointStall()
542 uint8_t direction = in USB_DeviceKhciEndpointUnstall() local
544 uint8_t index = ((uint8_t)((uint32_t)endpoint << 1U)) | (uint8_t)direction; in USB_DeviceKhciEndpointUnstall()
556 (uint32_t)khciState->bdt, endpoint, direction, i, in USB_DeviceKhciEndpointUnstall()
567 if (USB_IN == direction) in USB_DeviceKhciEndpointUnstall()
617 if ((USB_CONTROL_ENDPOINT == endpoint) && (USB_OUT == direction)) in USB_DeviceKhciEndpointUnstall()
644 uint8_t direction; in USB_DeviceKhciInterruptTokenDone() local
654 direction = (stateRegister & USB_STAT_TX_MASK) >> USB_STAT_TX_SHIFT; in USB_DeviceKhciInterruptTokenDone()
663 control = USB_KHCI_BDT_GET_CONTROL((uint32_t)khciState->bdt, endpoint, direction, bdtOdd); in USB_DeviceKhciInterruptTokenDone()
666 …bdtBuffer = (uint8_t *)USB_KHCI_BDT_GET_ADDRESS((uint32_t)khciState->bdt, endpoint, direction, bdt… in USB_DeviceKhciInterruptTokenDone()
676 index = ((uint8_t)((uint32_t)endpoint << 1U)) | (uint8_t)direction; in USB_DeviceKhciInterruptTokenDone()
689 if (direction == USB_IN) in USB_DeviceKhciInterruptTokenDone()
862 message.code = (endpoint) | (uint8_t)(((uint32_t)direction << 0x07U)); in USB_DeviceKhciInterruptTokenDone()