ch_idx 2980 drivers/infiniband/ulp/srp/ib_srp.c u16 ch_idx; ch_idx 2989 drivers/infiniband/ulp/srp/ib_srp.c ch_idx = blk_mq_unique_tag_to_hwq(tag); ch_idx 2990 drivers/infiniband/ulp/srp/ib_srp.c if (WARN_ON_ONCE(ch_idx >= target->ch_count)) ch_idx 2992 drivers/infiniband/ulp/srp/ib_srp.c ch = &target->ch[ch_idx]; ch_idx 389 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c int ch_idx; ch_idx 395 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c for (ch_idx = 0; ch_idx < n_channels; ch_idx++) { ch_idx 396 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c struct ieee80211_channel *chan = &data->channels[ch_idx]; ch_idx 565 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c ((eeprom_ch_info[ch_idx].flags & EEPROM_CHANNEL_##x) ? # x " " : "") ch_idx 571 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c int band, ch_idx; ch_idx 588 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c for (ch_idx = 0; ch_idx < eeprom_ch_count; ch_idx++) { ch_idx 591 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c eeprom_ch = &eeprom_ch_info[ch_idx]; ch_idx 596 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c eeprom_ch_array[ch_idx], ch_idx 597 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c eeprom_ch_info[ch_idx].flags, ch_idx 605 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c channel->hw_value = eeprom_ch_array[ch_idx]; ch_idx 626 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c eeprom_ch_info[ch_idx].max_power_avg; ch_idx 637 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c eeprom_ch_info[ch_idx].flags, ch_idx 638 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c eeprom_ch_info[ch_idx].max_power_avg, ch_idx 639 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c ((eeprom_ch_info[ch_idx].flags & ch_idx 641 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c !(eeprom_ch_info[ch_idx].flags & ch_idx 688 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c for (ch_idx = 0; ch_idx < eeprom_ch_count; ch_idx++) { ch_idx 691 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c eeprom_ch_array[ch_idx], ch_idx 692 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c &eeprom_ch_info[ch_idx], ch_idx 697 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c eeprom_ch_array[ch_idx] + 4, ch_idx 698 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c &eeprom_ch_info[ch_idx], ch_idx 287 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c static u32 iwl_get_channel_flags(u8 ch_num, int ch_idx, bool is_5ghz, ch_idx 298 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c if ((ch_idx - NUM_2GHZ_CHANNELS) % 2 == 0) ch_idx 335 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c int ch_idx; ch_idx 353 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c for (ch_idx = 0; ch_idx < num_of_ch; ch_idx++) { ch_idx 354 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c bool is_5ghz = (ch_idx >= num_2ghz_channels); ch_idx 358 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c __le32_to_cpup((__le32 *)nvm_ch_flags + ch_idx); ch_idx 361 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c __le16_to_cpup((__le16 *)nvm_ch_flags + ch_idx); ch_idx 385 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c nvm_chan[ch_idx], ch_flags); ch_idx 392 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c channel->hw_value = nvm_chan[ch_idx]; ch_idx 409 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c channel->flags = iwl_get_channel_flags(nvm_chan[ch_idx], ch_idx 410 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c ch_idx, is_5ghz, ch_idx 1059 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c int ch_idx, u16 nvm_flags, ch_idx 1065 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c if (ch_idx < NUM_2GHZ_CHANNELS && ch_idx 1067 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c if (nvm_chan[ch_idx] <= LAST_2GHZ_HT_PLUS) ch_idx 1069 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c if (nvm_chan[ch_idx] >= FIRST_2GHZ_HT_MINUS) ch_idx 1072 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c if ((ch_idx - NUM_2GHZ_CHANNELS) % 2 == 0) ch_idx 1102 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c if (ch_idx >= NUM_2GHZ_CHANNELS) { ch_idx 1121 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c int ch_idx; ch_idx 1162 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c for (ch_idx = 0; ch_idx < num_of_ch; ch_idx++) { ch_idx 1163 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c ch_flags = (u16)__le32_to_cpup(channels + ch_idx); ch_idx 1164 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c band = (ch_idx < NUM_2GHZ_CHANNELS) ? ch_idx 1166 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c center_freq = ieee80211_channel_to_frequency(nvm_chan[ch_idx], ch_idx 1172 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c nvm_chan[ch_idx], ch_flags); ch_idx 1176 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c reg_rule_flags = iwl_nvm_get_regdom_bw_flags(nvm_chan, ch_idx, ch_idx 1181 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c if (ch_idx == 0 || prev_reg_rule_flags != reg_rule_flags || ch_idx 1210 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c nvm_chan[ch_idx], ch_flags); ch_idx 1240 drivers/net/wireless/realtek/rtw88/phy.c int ch_idx; ch_idx 1244 drivers/net/wireless/realtek/rtw88/phy.c ch_idx = channel - 1; ch_idx 1248 drivers/net/wireless/realtek/rtw88/phy.c for (ch_idx = 0; ch_idx < n_channel; ch_idx++) ch_idx 1249 drivers/net/wireless/realtek/rtw88/phy.c if (rtw_channel_idx_5g[ch_idx] == channel) ch_idx 1255 drivers/net/wireless/realtek/rtw88/phy.c if (ch_idx >= n_channel) ch_idx 1258 drivers/net/wireless/realtek/rtw88/phy.c return ch_idx; ch_idx 1267 drivers/net/wireless/realtek/rtw88/phy.c int ch_idx; ch_idx 1271 drivers/net/wireless/realtek/rtw88/phy.c ch_idx = rtw_channel_to_idx(band, ch); ch_idx 1274 drivers/net/wireless/realtek/rtw88/phy.c rs >= RTW_RATE_SECTION_MAX || ch_idx < 0) { ch_idx 1277 drivers/net/wireless/realtek/rtw88/phy.c regd, band, bw, rs, ch_idx, pwr_limit); ch_idx 1282 drivers/net/wireless/realtek/rtw88/phy.c hal->tx_pwr_limit_2g[regd][bw][rs][ch_idx] = pwr_limit; ch_idx 1283 drivers/net/wireless/realtek/rtw88/phy.c ww = hal->tx_pwr_limit_2g[RTW_REGD_WW][bw][rs][ch_idx]; ch_idx 1285 drivers/net/wireless/realtek/rtw88/phy.c hal->tx_pwr_limit_2g[RTW_REGD_WW][bw][rs][ch_idx] = ww; ch_idx 1287 drivers/net/wireless/realtek/rtw88/phy.c hal->tx_pwr_limit_5g[regd][bw][rs][ch_idx] = pwr_limit; ch_idx 1288 drivers/net/wireless/realtek/rtw88/phy.c ww = hal->tx_pwr_limit_5g[RTW_REGD_WW][bw][rs][ch_idx]; ch_idx 1290 drivers/net/wireless/realtek/rtw88/phy.c hal->tx_pwr_limit_5g[RTW_REGD_WW][bw][rs][ch_idx] = ww; ch_idx 1297 drivers/net/wireless/realtek/rtw88/phy.c u8 bw, u8 ch_idx, u8 rs_ht, u8 rs_vht) ch_idx 1301 drivers/net/wireless/realtek/rtw88/phy.c s8 lmt_ht = hal->tx_pwr_limit_5g[regd][bw][rs_ht][ch_idx]; ch_idx 1302 drivers/net/wireless/realtek/rtw88/phy.c s8 lmt_vht = hal->tx_pwr_limit_5g[regd][bw][rs_vht][ch_idx]; ch_idx 1308 drivers/net/wireless/realtek/rtw88/phy.c hal->tx_pwr_limit_5g[regd][bw][rs_ht][ch_idx] = lmt_vht; ch_idx 1311 drivers/net/wireless/realtek/rtw88/phy.c hal->tx_pwr_limit_5g[regd][bw][rs_vht][ch_idx] = lmt_ht; ch_idx 1316 drivers/net/wireless/realtek/rtw88/phy.c rtw_xref_txpwr_lmt_by_rs(struct rtw_dev *rtwdev, u8 regd, u8 bw, u8 ch_idx) ch_idx 1326 drivers/net/wireless/realtek/rtw88/phy.c rtw_xref_5g_txpwr_lmt(rtwdev, regd, bw, ch_idx, rs_ht, rs_vht); ch_idx 1334 drivers/net/wireless/realtek/rtw88/phy.c u8 ch_idx; ch_idx 1336 drivers/net/wireless/realtek/rtw88/phy.c for (ch_idx = 0; ch_idx < RTW_MAX_CHANNEL_NUM_5G; ch_idx++) ch_idx 1337 drivers/net/wireless/realtek/rtw88/phy.c rtw_xref_txpwr_lmt_by_rs(rtwdev, regd, bw, ch_idx); ch_idx 1683 drivers/net/wireless/realtek/rtw88/phy.c int ch_idx; ch_idx 1717 drivers/net/wireless/realtek/rtw88/phy.c ch_idx = rtw_channel_to_idx(band, cur_ch); ch_idx 1718 drivers/net/wireless/realtek/rtw88/phy.c if (ch_idx < 0) ch_idx 1722 drivers/net/wireless/realtek/rtw88/phy.c hal->tx_pwr_limit_2g[regd][cur_bw][rs][ch_idx] : ch_idx 1723 drivers/net/wireless/realtek/rtw88/phy.c hal->tx_pwr_limit_5g[regd][cur_bw][rs][ch_idx]; ch_idx 250 drivers/staging/most/dim2/dim2.c static void service_done_flag(struct dim2_hdm *dev, int ch_idx) ch_idx 252 drivers/staging/most/dim2/dim2.c struct hdm_channel *hdm_ch = dev->hch + ch_idx; ch_idx 325 drivers/staging/most/dim2/dim2.c int ch_idx; ch_idx 327 drivers/staging/most/dim2/dim2.c for (ch_idx = 0; ch_idx < DMA_CHANNELS; ch_idx++) { ch_idx 328 drivers/staging/most/dim2/dim2.c if (dev->hch[ch_idx].is_initialized) ch_idx 329 drivers/staging/most/dim2/dim2.c buffer[idx++] = &dev->hch[ch_idx].ch; ch_idx 362 drivers/staging/most/dim2/dim2.c int ch_idx; ch_idx 364 drivers/staging/most/dim2/dim2.c for (ch_idx = 0; ch_idx < DMA_CHANNELS; ch_idx++) { ch_idx 365 drivers/staging/most/dim2/dim2.c if (!dev->hch[ch_idx].is_initialized) ch_idx 369 drivers/staging/most/dim2/dim2.c dim_service_channel(&dev->hch[ch_idx].ch); ch_idx 372 drivers/staging/most/dim2/dim2.c service_done_flag(dev, ch_idx); ch_idx 373 drivers/staging/most/dim2/dim2.c while (!try_start_dim_transfer(dev->hch + ch_idx)) ch_idx 439 drivers/staging/most/dim2/dim2.c static int configure_channel(struct most_interface *most_iface, int ch_idx, ch_idx 449 drivers/staging/most/dim2/dim2.c int const ch_addr = ch_idx * 2 + 2; ch_idx 450 drivers/staging/most/dim2/dim2.c struct hdm_channel *const hdm_ch = dev->hch + ch_idx; ch_idx 452 drivers/staging/most/dim2/dim2.c BUG_ON(ch_idx < 0 || ch_idx >= DMA_CHANNELS); ch_idx 540 drivers/staging/most/dim2/dim2.c dev->atx_idx = ch_idx; ch_idx 557 drivers/staging/most/dim2/dim2.c static int enqueue(struct most_interface *most_iface, int ch_idx, ch_idx 561 drivers/staging/most/dim2/dim2.c struct hdm_channel *hdm_ch = dev->hch + ch_idx; ch_idx 564 drivers/staging/most/dim2/dim2.c BUG_ON(ch_idx < 0 || ch_idx >= DMA_CHANNELS); ch_idx 589 drivers/staging/most/dim2/dim2.c static void request_netinfo(struct most_interface *most_iface, int ch_idx, ch_idx 631 drivers/staging/most/dim2/dim2.c static int poison_channel(struct most_interface *most_iface, int ch_idx) ch_idx 634 drivers/staging/most/dim2/dim2.c struct hdm_channel *hdm_ch = dev->hch + ch_idx; ch_idx 639 drivers/staging/most/dim2/dim2.c BUG_ON(ch_idx < 0 || ch_idx >= DMA_CHANNELS); ch_idx 648 drivers/staging/most/dim2/dim2.c if (ch_idx == dev->atx_idx) ch_idx 65 drivers/staging/most/i2c/i2c.c int ch_idx, ch_idx 72 drivers/staging/most/i2c/i2c.c BUG_ON(ch_idx < 0 || ch_idx >= NUM_CHANNELS); ch_idx 75 drivers/staging/most/i2c/i2c.c pr_err("bad data type for channel %d\n", ch_idx); ch_idx 79 drivers/staging/most/i2c/i2c.c if (channel_config->direction != dev->capabilities[ch_idx].direction) { ch_idx 80 drivers/staging/most/i2c/i2c.c pr_err("bad direction for channel %d\n", ch_idx); ch_idx 121 drivers/staging/most/i2c/i2c.c int ch_idx, struct mbo *mbo) ch_idx 126 drivers/staging/most/i2c/i2c.c BUG_ON(ch_idx < 0 || ch_idx >= NUM_CHANNELS); ch_idx 128 drivers/staging/most/i2c/i2c.c if (ch_idx == CH_RX) { ch_idx 166 drivers/staging/most/i2c/i2c.c int ch_idx) ch_idx 171 drivers/staging/most/i2c/i2c.c BUG_ON(ch_idx < 0 || ch_idx >= NUM_CHANNELS); ch_idx 173 drivers/staging/most/i2c/i2c.c if (ch_idx == CH_RX) { ch_idx 32 drivers/staging/most/video/video.c int ch_idx; ch_idx 99 drivers/staging/most/video/video.c ret = most_start_channel(mdev->iface, mdev->ch_idx, &comp); ch_idx 141 drivers/staging/most/video/video.c most_stop_channel(mdev->iface, mdev->ch_idx, &comp); ch_idx 377 drivers/staging/most/video/video.c if (mdev->iface == iface && mdev->ch_idx == channel_idx) { ch_idx 483 drivers/staging/most/video/video.c mdev->ch_idx = channel_idx; ch_idx 210 drivers/usb/gadget/udc/bcm63xx_udc.c unsigned int ch_idx; ch_idx 658 drivers/usb/gadget/udc/bcm63xx_udc.c ENETDMAC_CHANCFG_REG, iudma->ch_idx); ch_idx 708 drivers/usb/gadget/udc/bcm63xx_udc.c int ch_idx = iudma->ch_idx; ch_idx 714 drivers/usb/gadget/udc/bcm63xx_udc.c usb_dmac_writel(udc, 0, ENETDMAC_CHANCFG_REG, ch_idx); ch_idx 716 drivers/usb/gadget/udc/bcm63xx_udc.c while (usb_dmac_readl(udc, ENETDMAC_CHANCFG_REG, ch_idx) & ch_idx 726 drivers/usb/gadget/udc/bcm63xx_udc.c ch_idx); ch_idx 731 drivers/usb/gadget/udc/bcm63xx_udc.c ch_idx); ch_idx 733 drivers/usb/gadget/udc/bcm63xx_udc.c ENETDMAC_CHANCFG_REG, ch_idx); ch_idx 736 drivers/usb/gadget/udc/bcm63xx_udc.c usb_dmac_writel(udc, ~0, ENETDMAC_IR_REG, ch_idx); ch_idx 748 drivers/usb/gadget/udc/bcm63xx_udc.c ENETDMAC_IRMASK_REG, ch_idx); ch_idx 749 drivers/usb/gadget/udc/bcm63xx_udc.c usb_dmac_writel(udc, 8, ENETDMAC_MAXBURST_REG, ch_idx); ch_idx 751 drivers/usb/gadget/udc/bcm63xx_udc.c usb_dmas_writel(udc, iudma->bd_ring_dma, ENETDMAS_RSTART_REG, ch_idx); ch_idx 752 drivers/usb/gadget/udc/bcm63xx_udc.c usb_dmas_writel(udc, 0, ENETDMAS_SRAM2_REG, ch_idx); ch_idx 760 drivers/usb/gadget/udc/bcm63xx_udc.c static int iudma_init_channel(struct bcm63xx_udc *udc, unsigned int ch_idx) ch_idx 762 drivers/usb/gadget/udc/bcm63xx_udc.c struct iudma_ch *iudma = &udc->iudma[ch_idx]; ch_idx 763 drivers/usb/gadget/udc/bcm63xx_udc.c const struct iudma_ch_cfg *cfg = &iudma_defaults[ch_idx]; ch_idx 768 drivers/usb/gadget/udc/bcm63xx_udc.c iudma->ch_idx = ch_idx; ch_idx 769 drivers/usb/gadget/udc/bcm63xx_udc.c iudma->is_tx = !!(ch_idx & 0x01); ch_idx 1383 drivers/usb/gadget/udc/bcm63xx_udc.c static void bcm63xx_ep0_map_write(struct bcm63xx_udc *udc, int ch_idx, ch_idx 1387 drivers/usb/gadget/udc/bcm63xx_udc.c struct iudma_ch *iudma = &udc->iudma[ch_idx]; ch_idx 1460 drivers/usb/gadget/udc/bcm63xx_udc.c static void bcm63xx_ep0_internal_request(struct bcm63xx_udc *udc, int ch_idx, ch_idx 1469 drivers/usb/gadget/udc/bcm63xx_udc.c bcm63xx_ep0_map_write(udc, ch_idx, req); ch_idx 2054 drivers/usb/gadget/udc/bcm63xx_udc.c ENETDMAC_IR_REG, iudma->ch_idx); ch_idx 2059 drivers/usb/gadget/udc/bcm63xx_udc.c if (iudma->ch_idx == IUDMA_EP0_RXCHAN || ch_idx 2060 drivers/usb/gadget/udc/bcm63xx_udc.c iudma->ch_idx == IUDMA_EP0_TXCHAN) { ch_idx 2169 drivers/usb/gadget/udc/bcm63xx_udc.c int ch_idx, i; ch_idx 2175 drivers/usb/gadget/udc/bcm63xx_udc.c for (ch_idx = 0; ch_idx < BCM63XX_NUM_IUDMA; ch_idx++) { ch_idx 2176 drivers/usb/gadget/udc/bcm63xx_udc.c struct iudma_ch *iudma = &udc->iudma[ch_idx]; ch_idx 2179 drivers/usb/gadget/udc/bcm63xx_udc.c seq_printf(s, "IUDMA channel %d -- ", ch_idx); ch_idx 2180 drivers/usb/gadget/udc/bcm63xx_udc.c switch (iudma_defaults[ch_idx].ep_type) { ch_idx 2191 drivers/usb/gadget/udc/bcm63xx_udc.c seq_printf(s, ch_idx & 0x01 ? " tx" : " rx"); ch_idx 2193 drivers/usb/gadget/udc/bcm63xx_udc.c max_t(int, iudma_defaults[ch_idx].ep_num, 0)); ch_idx 2195 drivers/usb/gadget/udc/bcm63xx_udc.c usb_dmac_readl(udc, ENETDMAC_CHANCFG_REG, ch_idx), ch_idx 2196 drivers/usb/gadget/udc/bcm63xx_udc.c usb_dmac_readl(udc, ENETDMAC_IR_REG, ch_idx), ch_idx 2197 drivers/usb/gadget/udc/bcm63xx_udc.c usb_dmac_readl(udc, ENETDMAC_IRMASK_REG, ch_idx), ch_idx 2198 drivers/usb/gadget/udc/bcm63xx_udc.c usb_dmac_readl(udc, ENETDMAC_MAXBURST_REG, ch_idx)); ch_idx 2200 drivers/usb/gadget/udc/bcm63xx_udc.c sram2 = usb_dmas_readl(udc, ENETDMAS_SRAM2_REG, ch_idx); ch_idx 2201 drivers/usb/gadget/udc/bcm63xx_udc.c sram3 = usb_dmas_readl(udc, ENETDMAS_SRAM3_REG, ch_idx); ch_idx 2203 drivers/usb/gadget/udc/bcm63xx_udc.c usb_dmas_readl(udc, ENETDMAS_RSTART_REG, ch_idx), ch_idx 2206 drivers/usb/gadget/udc/bcm63xx_udc.c usb_dmas_readl(udc, ENETDMAS_SRAM4_REG, ch_idx)); ch_idx 354 sound/soc/codecs/madera.c int n, i, in_idx, ch_idx; ch_idx 366 sound/soc/codecs/madera.c ch_idx = 0; ch_idx 368 sound/soc/codecs/madera.c pdata->inmode[in_idx][ch_idx] = tmp[i]; ch_idx 370 sound/soc/codecs/madera.c if (++ch_idx == MADERA_MAX_MUXED_CHANNELS) { ch_idx 371 sound/soc/codecs/madera.c ch_idx = 0;