Lines Matching refs:chnl
111 static inline unsigned int SCD_QUEUE_WRPTR(unsigned int chnl) in SCD_QUEUE_WRPTR() argument
113 if (chnl < 20) in SCD_QUEUE_WRPTR()
114 return SCD_BASE + 0x18 + chnl * 4; in SCD_QUEUE_WRPTR()
115 WARN_ON_ONCE(chnl >= 32); in SCD_QUEUE_WRPTR()
116 return SCD_BASE + 0x284 + (chnl - 20) * 4; in SCD_QUEUE_WRPTR()
119 static inline unsigned int SCD_QUEUE_RDPTR(unsigned int chnl) in SCD_QUEUE_RDPTR() argument
121 if (chnl < 20) in SCD_QUEUE_RDPTR()
122 return SCD_BASE + 0x68 + chnl * 4; in SCD_QUEUE_RDPTR()
123 WARN_ON_ONCE(chnl >= 32); in SCD_QUEUE_RDPTR()
124 return SCD_BASE + 0x2B4 + chnl * 4; in SCD_QUEUE_RDPTR()
127 static inline unsigned int SCD_QUEUE_STATUS_BITS(unsigned int chnl) in SCD_QUEUE_STATUS_BITS() argument
129 if (chnl < 20) in SCD_QUEUE_STATUS_BITS()
130 return SCD_BASE + 0x10c + chnl * 4; in SCD_QUEUE_STATUS_BITS()
131 WARN_ON_ONCE(chnl >= 32); in SCD_QUEUE_STATUS_BITS()
132 return SCD_BASE + 0x334 + chnl * 4; in SCD_QUEUE_STATUS_BITS()