• Home
  • Raw
  • Download

Lines Matching refs:bchannel

45 #define musb_read_hsdma_addr(mbase, bchannel)	\  argument
47 MUSB_HSDMA_CHANNEL_OFFSET(bchannel, MUSB_HSDMA_ADDRESS))
49 #define musb_write_hsdma_addr(mbase, bchannel, addr) \ argument
51 MUSB_HSDMA_CHANNEL_OFFSET(bchannel, MUSB_HSDMA_ADDRESS), \
54 #define musb_read_hsdma_count(mbase, bchannel) \ argument
56 MUSB_HSDMA_CHANNEL_OFFSET(bchannel, MUSB_HSDMA_COUNT))
58 #define musb_write_hsdma_count(mbase, bchannel, len) \ argument
60 MUSB_HSDMA_CHANNEL_OFFSET(bchannel, MUSB_HSDMA_COUNT), \
75 static inline u32 musb_read_hsdma_addr(void __iomem *mbase, u8 bchannel) in musb_read_hsdma_addr() argument
78 MUSB_HSDMA_CHANNEL_OFFSET(bchannel, MUSB_HSDMA_ADDR_HIGH)); in musb_read_hsdma_addr()
83 MUSB_HSDMA_CHANNEL_OFFSET(bchannel, MUSB_HSDMA_ADDR_LOW)); in musb_read_hsdma_addr()
89 u8 bchannel, dma_addr_t dma_addr) in musb_write_hsdma_addr() argument
92 MUSB_HSDMA_CHANNEL_OFFSET(bchannel, MUSB_HSDMA_ADDR_LOW), in musb_write_hsdma_addr()
95 MUSB_HSDMA_CHANNEL_OFFSET(bchannel, MUSB_HSDMA_ADDR_HIGH), in musb_write_hsdma_addr()
99 static inline u32 musb_read_hsdma_count(void __iomem *mbase, u8 bchannel) in musb_read_hsdma_count() argument
102 MUSB_HSDMA_CHANNEL_OFFSET(bchannel, MUSB_HSDMA_COUNT_HIGH)); in musb_read_hsdma_count()
107 MUSB_HSDMA_CHANNEL_OFFSET(bchannel, MUSB_HSDMA_COUNT_LOW)); in musb_read_hsdma_count()
113 u8 bchannel, u32 len) in musb_write_hsdma_count() argument
116 MUSB_HSDMA_CHANNEL_OFFSET(bchannel, MUSB_HSDMA_COUNT_LOW),len); in musb_write_hsdma_count()
118 MUSB_HSDMA_CHANNEL_OFFSET(bchannel, MUSB_HSDMA_COUNT_HIGH), in musb_write_hsdma_count()