Lines Matching defs:chnl
1254 static inline unsigned int IWM_SCD_QUEUE_WRPTR(unsigned int chnl)
1256 if (chnl < 20)
1257 return IWM_SCD_BASE + 0x18 + chnl * 4;
1258 return IWM_SCD_BASE + 0x284 + (chnl - 20) * 4;
1261 static inline unsigned int IWM_SCD_QUEUE_RDPTR(unsigned int chnl)
1263 if (chnl < 20)
1264 return IWM_SCD_BASE + 0x68 + chnl * 4;
1265 return IWM_SCD_BASE + 0x2B4 + (chnl - 20) * 4;
1268 static inline unsigned int IWM_SCD_QUEUE_STATUS_BITS(unsigned int chnl)
1270 if (chnl < 20)
1271 return IWM_SCD_BASE + 0x10c + chnl * 4;
1272 return IWM_SCD_BASE + 0x384 + (chnl - 20) * 4;
1342 static inline unsigned int IWM_FH_MEM_CBBC_QUEUE(unsigned int chnl)
1344 if (chnl < 16)
1345 return IWM_FH_MEM_CBBC_0_15_LOWER_BOUND + 4 * chnl;
1346 if (chnl < 20)
1347 return IWM_FH_MEM_CBBC_16_19_LOWER_BOUND + 4 * (chnl - 16);
1348 return IWM_FH_MEM_CBBC_20_31_LOWER_BOUND + 4 * (chnl - 20);
1595 * IWM_FH_TCSR_CHNL_TX_CONFIG_REG(chnl) with:
1652 * IWM_FH_TCSR_CHNL_TX_CONFIG_REG(chnl)), driver must poll