Searched defs:EP (Results 1 – 2 of 2) sorted by relevance
574 #define ep_index(EP) ((EP)->ep.desc->bEndpointAddress&0xF) argument575 #define ep_maxpacket(EP) ((EP)->ep.maxpacket) argument576 #define ep_is_in(EP) ( (ep_index(EP) == 0) ? (EP->udc->ep0_dir == \ argument583 #define get_pipe_by_ep(EP) (ep_index(EP) * 2 + ep_is_in(EP)) argument
156 #define ep_index(EP) ((EP)->ep.desc->bEndpointAddress & 0xF) argument157 #define ep_maxpacket(EP) ((EP)->ep.maxpacket) argument158 #define ep_is_in(EP) ((ep_index(EP) == 0) ? (EP->udc->ep0_dir == \ argument