Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/usb/musb-new/
H A Dmusb_regs.h294 #define MUSB_BUSCTL_OFFSET(_epnum, _offset) \ macro
372 #define MUSB_BUSCTL_OFFSET(_epnum, _offset) (_offset) macro
455 return (MUSB_BUSCTL_OFFSET(i, 0) + mbase); in musb_read_target_reg_base()
479 musb_writeb(mbase, MUSB_BUSCTL_OFFSET(epnum, MUSB_TXFUNCADDR), in musb_write_txfunaddr()
486 musb_writeb(mbase, MUSB_BUSCTL_OFFSET(epnum, MUSB_TXHUBADDR), in musb_write_txhubaddr()
493 musb_writeb(mbase, MUSB_BUSCTL_OFFSET(epnum, MUSB_TXHUBPORT), in musb_write_txhubport()
499 return musb_readb(mbase, MUSB_BUSCTL_OFFSET(epnum, MUSB_RXFUNCADDR)); in musb_read_rxfunaddr()
504 return musb_readb(mbase, MUSB_BUSCTL_OFFSET(epnum, MUSB_RXHUBADDR)); in musb_read_rxhubaddr()
509 return musb_readb(mbase, MUSB_BUSCTL_OFFSET(epnum, MUSB_RXHUBPORT)); in musb_read_rxhubport()
519 return musb_readb(mbase, MUSB_BUSCTL_OFFSET(epnum, MUSB_TXHUBADDR)); in musb_read_txhubaddr()
[all …]