Lines Matching refs:chnl
52 static inline unsigned int SCD_QUEUE_WRPTR(unsigned int chnl) in SCD_QUEUE_WRPTR() argument
54 if (chnl < 20) in SCD_QUEUE_WRPTR()
55 return SCD_BASE + 0x18 + chnl * 4; in SCD_QUEUE_WRPTR()
56 WARN_ON_ONCE(chnl >= 32); in SCD_QUEUE_WRPTR()
57 return SCD_BASE + 0x284 + (chnl - 20) * 4; in SCD_QUEUE_WRPTR()
60 static inline unsigned int SCD_QUEUE_RDPTR(unsigned int chnl) in SCD_QUEUE_RDPTR() argument
62 if (chnl < 20) in SCD_QUEUE_RDPTR()
63 return SCD_BASE + 0x68 + chnl * 4; in SCD_QUEUE_RDPTR()
64 WARN_ON_ONCE(chnl >= 32); in SCD_QUEUE_RDPTR()
65 return SCD_BASE + 0x2B4 + chnl * 4; in SCD_QUEUE_RDPTR()
68 static inline unsigned int SCD_QUEUE_STATUS_BITS(unsigned int chnl) in SCD_QUEUE_STATUS_BITS() argument
70 if (chnl < 20) in SCD_QUEUE_STATUS_BITS()
71 return SCD_BASE + 0x10c + chnl * 4; in SCD_QUEUE_STATUS_BITS()
72 WARN_ON_ONCE(chnl >= 32); in SCD_QUEUE_STATUS_BITS()
73 return SCD_BASE + 0x334 + chnl * 4; in SCD_QUEUE_STATUS_BITS()