Home
last modified time | relevance | path

Searched refs:_epnum (Results 1 – 2 of 2) sorted by relevance

/drivers/usb/musb/
Dmusb_regs.h299 #define MUSB_INDEXED_OFFSET(_epnum, _offset) \ argument
303 #define MUSB_FLAT_OFFSET(_epnum, _offset) \ argument
304 (0x100 + (0x10*(_epnum)) + (_offset))
309 #define MUSB_TUSB_OFFSET(_epnum, _offset) \ argument
325 #define MUSB_BUSCTL_OFFSET(_epnum, _offset) \ argument
326 (0x80 + (8*(_epnum)) + (_offset))
516 #define MUSB_INDEXED_OFFSET(_epnum, _offset) \ argument
520 #define MUSB_FLAT_OFFSET(_epnum, _offset) \ argument
521 (USB_OFFSET(USB_EP_NI0_TXMAXP) + (0x40 * (_epnum)) + (_offset))
Dmusb_core.h146 #define musb_ep_select(_mbase, _epnum) \ argument
147 musb_writeb((_mbase), MUSB_INDEX, (_epnum))
152 #define musb_ep_select(_mbase, _epnum) (((void)(_mbase)), ((void)(_epnum))) argument
157 #define musb_ep_select(_mbase, _epnum) \ argument
158 musb_writeb((_mbase), MUSB_INDEX, (_epnum))