Home
last modified time | relevance | path

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

/bsp/nxp/imx/imx6ull-smart/drivers/usb/device/
A Dusb_device_dci.c270 uint8_t endpoint = endpointAddress & USB_ENDPOINT_NUMBER_MASK; in USB_DeviceTransfer()
651 uint8_t endpoint = message->code & USB_ENDPOINT_NUMBER_MASK; in USB_DeviceNotification()
770 if ((message->code & USB_ENDPOINT_NUMBER_MASK) && (!(message->code & 0x70U))) in USB_DeviceNotificationTrigger()
991 return USB_DeviceTransfer(handle, (endpointAddress & USB_ENDPOINT_NUMBER_MASK) | in USB_DeviceSendRequest()
1022 return USB_DeviceTransfer(handle, (endpointAddress & USB_ENDPOINT_NUMBER_MASK) | in USB_DeviceRecvRequest()
1095 endpoint = epInit->endpointAddress & USB_ENDPOINT_NUMBER_MASK; in USB_DeviceInitEndpoint()
1130 uint8_t endpoint = endpointAddress & USB_ENDPOINT_NUMBER_MASK; in USB_DeviceDeinitEndpoint()
1183 if ((endpointAddress & USB_ENDPOINT_NUMBER_MASK) < USB_DEVICE_CONFIG_ENDPOINTS) in USB_DeviceStallEndpoint()
1208 if ((endpointAddress & USB_ENDPOINT_NUMBER_MASK) < USB_DEVICE_CONFIG_ENDPOINTS) in USB_DeviceUnstallEndpoint()
A Dusb_device_ehci.c245 uint32_t primeBit = 1U << ((epInit->endpointAddress & USB_ENDPOINT_NUMBER_MASK) + in USB_DeviceEhciEndpointInit()
248 uint8_t endpoint = (epInit->endpointAddress & USB_ENDPOINT_NUMBER_MASK); in USB_DeviceEhciEndpointInit()
320 …1U << ((ep & USB_ENDPOINT_NUMBER_MASK) + ((ep & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK) >>… in USB_DeviceEhciEndpointDeinit()
321 uint8_t endpoint = (ep & USB_ENDPOINT_NUMBER_MASK); in USB_DeviceEhciEndpointDeinit()
366 uint8_t endpoint = ep & USB_ENDPOINT_NUMBER_MASK; in USB_DeviceEhciEndpointStall()
414 uint8_t endpoint = ep & USB_ENDPOINT_NUMBER_MASK; in USB_DeviceEhciEndpointUnstall()
910 uint32_t index = ((endpointAddress & USB_ENDPOINT_NUMBER_MASK) << 1U) | in USB_DeviceEhciTransfer()
913 uint32_t primeBit = 1U << ((endpointAddress & USB_ENDPOINT_NUMBER_MASK) + in USB_DeviceEhciTransfer()
1300 …1U << ((ep & USB_ENDPOINT_NUMBER_MASK) + ((ep & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK) >>… in USB_DeviceEhciCancel()
1302 …((ep & USB_ENDPOINT_NUMBER_MASK) << 1U) | ((ep & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK) >… in USB_DeviceEhciCancel()
[all …]
A Dusb_device.h109 #define USB_ENDPOINT_NUMBER_MASK (0x0FU) macro
/bsp/nxp/imx/imxrt/libraries/drivers/usb/device/
A Dusb_device_dci.c265 uint8_t endpoint = endpointAddress & USB_ENDPOINT_NUMBER_MASK; in USB_DeviceTransfer()
646 uint8_t endpoint = message->code & USB_ENDPOINT_NUMBER_MASK; in USB_DeviceNotification()
765 if ((message->code & USB_ENDPOINT_NUMBER_MASK) && (!(message->code & 0x70U))) in USB_DeviceNotificationTrigger()
986 return USB_DeviceTransfer(handle, (endpointAddress & USB_ENDPOINT_NUMBER_MASK) | in USB_DeviceSendRequest()
1017 return USB_DeviceTransfer(handle, (endpointAddress & USB_ENDPOINT_NUMBER_MASK) | in USB_DeviceRecvRequest()
1090 endpoint = epInit->endpointAddress & USB_ENDPOINT_NUMBER_MASK; in USB_DeviceInitEndpoint()
1125 uint8_t endpoint = endpointAddress & USB_ENDPOINT_NUMBER_MASK; in USB_DeviceDeinitEndpoint()
1178 if ((endpointAddress & USB_ENDPOINT_NUMBER_MASK) < USB_DEVICE_CONFIG_ENDPOINTS) in USB_DeviceStallEndpoint()
1203 if ((endpointAddress & USB_ENDPOINT_NUMBER_MASK) < USB_DEVICE_CONFIG_ENDPOINTS) in USB_DeviceUnstallEndpoint()
A Dusb_device_ehci.c238 uint32_t primeBit = 1U << ((epInit->endpointAddress & USB_ENDPOINT_NUMBER_MASK) + in USB_DeviceEhciEndpointInit()
241 uint8_t endpoint = (epInit->endpointAddress & USB_ENDPOINT_NUMBER_MASK); in USB_DeviceEhciEndpointInit()
313 …1U << ((ep & USB_ENDPOINT_NUMBER_MASK) + ((ep & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK) >>… in USB_DeviceEhciEndpointDeinit()
314 uint8_t endpoint = (ep & USB_ENDPOINT_NUMBER_MASK); in USB_DeviceEhciEndpointDeinit()
359 uint8_t endpoint = ep & USB_ENDPOINT_NUMBER_MASK; in USB_DeviceEhciEndpointStall()
407 uint8_t endpoint = ep & USB_ENDPOINT_NUMBER_MASK; in USB_DeviceEhciEndpointUnstall()
903 uint32_t index = ((endpointAddress & USB_ENDPOINT_NUMBER_MASK) << 1U) | in USB_DeviceEhciTransfer()
906 uint32_t primeBit = 1U << ((endpointAddress & USB_ENDPOINT_NUMBER_MASK) + in USB_DeviceEhciTransfer()
1263 …1U << ((ep & USB_ENDPOINT_NUMBER_MASK) + ((ep & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK) >>… in USB_DeviceEhciCancel()
1265 …((ep & USB_ENDPOINT_NUMBER_MASK) << 1U) | ((ep & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK) >… in USB_DeviceEhciCancel()
[all …]
A Dusb_device.h109 #define USB_ENDPOINT_NUMBER_MASK (0x0FU) macro
/bsp/allwinner/libraries/sunxi-hal/hal/source/usb/include/
A Dch9.h429 #define USB_ENDPOINT_NUMBER_MASK 0x0f /* in bEndpointAddress */ macro
462 return epd->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; in usb_endpoint_num()
/bsp/allwinner/libraries/sunxi-hal/hal/source/usb/storage/Class/
A Dusb_msc.c773 ep_out->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK); in CreatePipes()
775 ep_in->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK); in CreatePipes()
780 ep_int->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK); in CreatePipes()
/bsp/allwinner/libraries/sunxi-hal/include/hal/usb/
A Dch9.h412 #define USB_ENDPOINT_NUMBER_MASK 0x0f /* in bEndpointAddress */ macro
/bsp/allwinner/libraries/sunxi-hal/hal/source/usb/core/
A Dusb_msg.c402 unsigned int epnum = epaddr & USB_ENDPOINT_NUMBER_MASK; in usb_enable_endpoint()
1053 …u32 pipe = __create_pipe(dev, USB_ENDPOINT_NUMBER_MASK & epaddr) | (usb_endpoint_out(epaddr) ? USB… in usb_set_interface()
A Dusb_gen_hub.c2067 unsigned int epnum = epaddr & USB_ENDPOINT_NUMBER_MASK; in usb_disable_endpoint()
/bsp/allwinner/libraries/sunxi-hal/hal/source/usb/hid/Class/
A DHid.c417 ep_int->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK); in HidCreatePipes()

Completed in 31 milliseconds