Lines Matching refs:chnl
106 static inline unsigned int SCD_QUEUE_WRPTR(unsigned int chnl) in SCD_QUEUE_WRPTR() argument
108 if (chnl < 20) in SCD_QUEUE_WRPTR()
109 return SCD_BASE + 0x18 + chnl * 4; in SCD_QUEUE_WRPTR()
110 WARN_ON_ONCE(chnl >= 32); in SCD_QUEUE_WRPTR()
111 return SCD_BASE + 0x284 + (chnl - 20) * 4; in SCD_QUEUE_WRPTR()
114 static inline unsigned int SCD_QUEUE_RDPTR(unsigned int chnl) in SCD_QUEUE_RDPTR() argument
116 if (chnl < 20) in SCD_QUEUE_RDPTR()
117 return SCD_BASE + 0x68 + chnl * 4; in SCD_QUEUE_RDPTR()
118 WARN_ON_ONCE(chnl >= 32); in SCD_QUEUE_RDPTR()
119 return SCD_BASE + 0x2B4 + chnl * 4; in SCD_QUEUE_RDPTR()
122 static inline unsigned int SCD_QUEUE_STATUS_BITS(unsigned int chnl) in SCD_QUEUE_STATUS_BITS() argument
124 if (chnl < 20) in SCD_QUEUE_STATUS_BITS()
125 return SCD_BASE + 0x10c + chnl * 4; in SCD_QUEUE_STATUS_BITS()
126 WARN_ON_ONCE(chnl >= 32); in SCD_QUEUE_STATUS_BITS()
127 return SCD_BASE + 0x334 + chnl * 4; in SCD_QUEUE_STATUS_BITS()