EP 1109 drivers/pci/controller/dwc/pci-keystone.c val = EP; EP 152 drivers/usb/gadget/udc/fsl_qe_udc.h #define ep_index(EP) ((EP)->ep.desc->bEndpointAddress & 0xF) EP 153 drivers/usb/gadget/udc/fsl_qe_udc.h #define ep_maxpacket(EP) ((EP)->ep.maxpacket) EP 154 drivers/usb/gadget/udc/fsl_qe_udc.h #define ep_is_in(EP) ((ep_index(EP) == 0) ? (EP->udc->ep0_dir == \ EP 155 drivers/usb/gadget/udc/fsl_qe_udc.h USB_DIR_IN) : ((EP)->ep.desc->bEndpointAddress \ EP 570 drivers/usb/gadget/udc/fsl_usb2_udc.h #define ep_index(EP) ((EP)->ep.desc->bEndpointAddress&0xF) EP 571 drivers/usb/gadget/udc/fsl_usb2_udc.h #define ep_maxpacket(EP) ((EP)->ep.maxpacket) EP 572 drivers/usb/gadget/udc/fsl_usb2_udc.h #define ep_is_in(EP) ( (ep_index(EP) == 0) ? (EP->udc->ep0_dir == \ EP 573 drivers/usb/gadget/udc/fsl_usb2_udc.h USB_DIR_IN) : ((EP)->ep.desc->bEndpointAddress \ EP 579 drivers/usb/gadget/udc/fsl_usb2_udc.h #define get_pipe_by_ep(EP) (ep_index(EP) * 2 + ep_is_in(EP))