Lines Matching refs:musb

282 static inline void musb_write_rxfunaddr(struct musb *musb, u8 epnum,  in musb_write_rxfunaddr()  argument
285 musb_writeb(musb->mregs, in musb_write_rxfunaddr()
286 musb->io.busctl_offset(epnum, MUSB_RXFUNCADDR), in musb_write_rxfunaddr()
290 static inline void musb_write_rxhubaddr(struct musb *musb, u8 epnum, in musb_write_rxhubaddr() argument
293 musb_writeb(musb->mregs, musb->io.busctl_offset(epnum, MUSB_RXHUBADDR), in musb_write_rxhubaddr()
297 static inline void musb_write_rxhubport(struct musb *musb, u8 epnum, in musb_write_rxhubport() argument
300 musb_writeb(musb->mregs, musb->io.busctl_offset(epnum, MUSB_RXHUBPORT), in musb_write_rxhubport()
304 static inline void musb_write_txfunaddr(struct musb *musb, u8 epnum, in musb_write_txfunaddr() argument
307 musb_writeb(musb->mregs, in musb_write_txfunaddr()
308 musb->io.busctl_offset(epnum, MUSB_TXFUNCADDR), in musb_write_txfunaddr()
312 static inline void musb_write_txhubaddr(struct musb *musb, u8 epnum, in musb_write_txhubaddr() argument
315 musb_writeb(musb->mregs, musb->io.busctl_offset(epnum, MUSB_TXHUBADDR), in musb_write_txhubaddr()
319 static inline void musb_write_txhubport(struct musb *musb, u8 epnum, in musb_write_txhubport() argument
322 musb_writeb(musb->mregs, musb->io.busctl_offset(epnum, MUSB_TXHUBPORT), in musb_write_txhubport()
326 static inline u8 musb_read_rxfunaddr(struct musb *musb, u8 epnum) in musb_read_rxfunaddr() argument
328 return musb_readb(musb->mregs, in musb_read_rxfunaddr()
329 musb->io.busctl_offset(epnum, MUSB_RXFUNCADDR)); in musb_read_rxfunaddr()
332 static inline u8 musb_read_rxhubaddr(struct musb *musb, u8 epnum) in musb_read_rxhubaddr() argument
334 return musb_readb(musb->mregs, in musb_read_rxhubaddr()
335 musb->io.busctl_offset(epnum, MUSB_RXHUBADDR)); in musb_read_rxhubaddr()
338 static inline u8 musb_read_rxhubport(struct musb *musb, u8 epnum) in musb_read_rxhubport() argument
340 return musb_readb(musb->mregs, in musb_read_rxhubport()
341 musb->io.busctl_offset(epnum, MUSB_RXHUBPORT)); in musb_read_rxhubport()
344 static inline u8 musb_read_txfunaddr(struct musb *musb, u8 epnum) in musb_read_txfunaddr() argument
346 return musb_readb(musb->mregs, in musb_read_txfunaddr()
347 musb->io.busctl_offset(epnum, MUSB_TXFUNCADDR)); in musb_read_txfunaddr()
350 static inline u8 musb_read_txhubaddr(struct musb *musb, u8 epnum) in musb_read_txhubaddr() argument
352 return musb_readb(musb->mregs, in musb_read_txhubaddr()
353 musb->io.busctl_offset(epnum, MUSB_TXHUBADDR)); in musb_read_txhubaddr()
356 static inline u8 musb_read_txhubport(struct musb *musb, u8 epnum) in musb_read_txhubport() argument
358 return musb_readb(musb->mregs, in musb_read_txhubport()
359 musb->io.busctl_offset(epnum, MUSB_TXHUBPORT)); in musb_read_txhubport()