max_channels 37 drivers/dma/dmatest.c static unsigned int max_channels; max_channels 38 drivers/dma/dmatest.c module_param(max_channels, uint, S_IRUGO | S_IWUSR); max_channels 39 drivers/dma/dmatest.c MODULE_PARM_DESC(max_channels, max_channels 108 drivers/dma/dmatest.c unsigned int max_channels; max_channels 1064 drivers/dma/dmatest.c if (params->max_channels && max_channels 1065 drivers/dma/dmatest.c info->nr_channels >= params->max_channels) max_channels 1079 drivers/dma/dmatest.c params->max_channels = max_channels; max_channels 1297 drivers/dma/mv_xor.c unsigned int max_engines, max_channels; max_channels 1368 drivers/dma/mv_xor.c max_channels = num_present_cpus(); max_channels 1370 drivers/dma/mv_xor.c max_channels = min_t(unsigned int, max_channels 1386 drivers/dma/mv_xor.c if (i >= max_channels) max_channels 1412 drivers/dma/mv_xor.c for (i = 0; i < max_channels; i++) { max_channels 150 drivers/dma/qcom/hidma.h struct hidma_lldev *hidma_ll_init(struct device *dev, u32 max_channels, max_channels 1364 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c int max_channels = -1; max_channels 1371 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c if (sad->channels > max_channels) { max_channels 1378 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c max_channels = sad->channels; max_channels 1390 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c int max_channels = -1; max_channels 1397 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c if (sad->channels > max_channels) { max_channels 1404 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c max_channels = sad->channels; max_channels 1268 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c int max_channels = -1; max_channels 1275 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c if (sad->channels > max_channels) { max_channels 1282 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c max_channels = sad->channels; max_channels 1317 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c int max_channels = -1; max_channels 1324 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c if (sad->channels > max_channels) { max_channels 1331 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c max_channels = sad->channels; max_channels 89 drivers/gpu/drm/radeon/dce3_1_afmt.c int max_channels = -1; max_channels 96 drivers/gpu/drm/radeon/dce3_1_afmt.c if (sad->channels > max_channels) { max_channels 100 drivers/gpu/drm/radeon/dce3_1_afmt.c max_channels = sad->channels; max_channels 230 drivers/gpu/drm/radeon/dce6_afmt.c int max_channels = -1; max_channels 237 drivers/gpu/drm/radeon/dce6_afmt.c if (sad->channels > max_channels) { max_channels 241 drivers/gpu/drm/radeon/dce6_afmt.c max_channels = sad->channels; max_channels 178 drivers/gpu/drm/radeon/evergreen_hdmi.c int max_channels = -1; max_channels 185 drivers/gpu/drm/radeon/evergreen_hdmi.c if (sad->channels > max_channels) { max_channels 189 drivers/gpu/drm/radeon/evergreen_hdmi.c max_channels = sad->channels; max_channels 100 drivers/gpu/host1x/channel.c unsigned int max_channels = host->info->nb_channels; max_channels 103 drivers/gpu/host1x/channel.c index = find_first_zero_bit(chlist->allocated_channels, max_channels); max_channels 104 drivers/gpu/host1x/channel.c if (index >= max_channels) { max_channels 228 drivers/iio/adc/stm32-adc.c int max_channels; max_channels 240 drivers/iio/adc/stm32-adc.c .max_channels = 16, max_channels 252 drivers/iio/adc/stm32-adc.c .max_channels = STM32_ADC_CH_MAX, max_channels 1669 drivers/iio/adc/stm32-adc.c if (ret > adc_info->max_channels) { max_channels 1678 drivers/iio/adc/stm32-adc.c if (ret > adc_info->max_channels) { max_channels 1710 drivers/iio/adc/stm32-adc.c if (val >= adc_info->max_channels) { max_channels 1729 drivers/iio/adc/stm32-adc.c if (diff[i].vinp >= adc_info->max_channels || max_channels 1730 drivers/iio/adc/stm32-adc.c diff[i].vinn >= adc_info->max_channels) { max_channels 37 drivers/media/pci/tw686x/tw686x-audio.c for_each_set_bit(ch, &requests, max_channels(dev)) { max_channels 288 drivers/media/pci/tw686x/tw686x-audio.c err = snd_pcm_new(card, card->driver, 0, 0, max_channels(dev), &pcm); max_channels 396 drivers/media/pci/tw686x/tw686x-audio.c for (ch = 0; ch < max_channels(dev); ch++) { max_channels 418 drivers/media/pci/tw686x/tw686x-audio.c for (ch = 0; ch < max_channels(dev); ch++) { max_channels 230 drivers/media/pci/tw686x/tw686x-core.c for (ch = 0; ch < max_channels(dev); ch++) max_channels 253 drivers/media/pci/tw686x/tw686x-core.c dev->video_channels = kcalloc(max_channels(dev), max_channels 260 drivers/media/pci/tw686x/tw686x-core.c dev->audio_channels = kcalloc(max_channels(dev), max_channels 304 drivers/media/pci/tw686x/tw686x-core.c if (max_channels(dev) > 4) max_channels 308 drivers/media/pci/tw686x/tw686x-video.c channels = max_channels(dev); max_channels 317 drivers/media/pci/tw686x/tw686x-video.c sg_table_size = max_channels(dev) * TW686X_SG_TABLE_SIZE; max_channels 1095 drivers/media/pci/tw686x/tw686x-video.c for_each_set_bit(ch, &requests, max_channels(dev)) { max_channels 1151 drivers/media/pci/tw686x/tw686x-video.c for (ch = 0; ch < max_channels(dev); ch++) { max_channels 1187 drivers/media/pci/tw686x/tw686x-video.c for (ch = 0; ch < max_channels(dev); ch++) { max_channels 1194 drivers/media/pci/tw686x/tw686x-video.c for (ch = 0; ch < max_channels(dev); ch++) { max_channels 1292 drivers/media/pci/tw686x/tw686x-video.c for (ch = 0; ch < max_channels(dev); ch++) max_channels 1299 drivers/media/pci/tw686x/tw686x-video.c if (max_channels(dev) > 4) { max_channels 1186 drivers/net/ethernet/mellanox/mlx5/core/en.h u16 max_channels, u16 mtu); max_channels 4798 drivers/net/ethernet/mellanox/mlx5/core/en_main.c u16 max_channels, u16 mtu) max_channels 4804 drivers/net/ethernet/mellanox/mlx5/core/en_main.c params->num_channels = max_channels; max_channels 742 drivers/net/ethernet/sfc/ef10.c efx->max_channels = min_t(unsigned int, max_channels 746 drivers/net/ethernet/sfc/ef10.c efx->max_tx_channels = efx->max_channels; max_channels 747 drivers/net/ethernet/sfc/ef10.c if (WARN_ON(efx->max_channels == 0)) { max_channels 1380 drivers/net/ethernet/sfc/ef10.c efx->max_channels = nic_data->n_allocated_vis; max_channels 1460 drivers/net/ethernet/sfc/efx.c n_channels = min(n_channels, efx->max_channels); max_channels 1765 drivers/net/ethernet/sfc/efx.c if (!efx->max_channels || !efx->max_tx_channels) { max_channels 1382 drivers/net/ethernet/sfc/falcon/efx.c n_channels = min(n_channels, efx->max_channels); max_channels 1630 drivers/net/ethernet/sfc/falcon/efx.c if (!efx->max_channels || !efx->max_tx_channels) { max_channels 2376 drivers/net/ethernet/sfc/falcon/falcon.c efx->max_channels = (ef4_nic_rev(efx) <= EF4_REV_FALCON_A1 ? 4 : max_channels 2378 drivers/net/ethernet/sfc/falcon/falcon.c efx->max_tx_channels = efx->max_channels; max_channels 807 drivers/net/ethernet/sfc/falcon/net_driver.h unsigned int max_channels; max_channels 979 drivers/net/ethernet/sfc/net_driver.h unsigned int max_channels; max_channels 276 drivers/net/ethernet/sfc/siena.c efx->max_channels = EFX_MAX_CHANNELS; max_channels 1103 drivers/net/wireless/intel/iwlwifi/mvm/scan.c u32 max_channels) max_channels 1109 drivers/net/wireless/intel/iwlwifi/mvm/scan.c for (i = 0; i < band->n_channels && j < max_channels; i++, j++) max_channels 1112 drivers/net/wireless/intel/iwlwifi/mvm/scan.c for (i = 0; i < band->n_channels && j < max_channels; i++, j++) max_channels 1118 drivers/net/wireless/intel/iwlwifi/mvm/scan.c u32 max_channels) max_channels 1137 drivers/net/wireless/intel/iwlwifi/mvm/scan.c iwl_mvm_fill_channels(mvm, cfg->channel_array, max_channels); max_channels 1142 drivers/net/wireless/intel/iwlwifi/mvm/scan.c u32 max_channels) max_channels 1185 drivers/net/wireless/intel/iwlwifi/mvm/scan.c iwl_mvm_fill_channels(mvm, cfg->channel_array, max_channels); max_channels 132 drivers/net/wireless/ti/wlcore/scan.c int start, int max_channels, max_channels 178 drivers/net/wireless/ti/wlcore/scan.c i < n_channels && j < max_channels; max_channels 2337 drivers/scsi/megaraid.c int max_channels; max_channels 2367 drivers/scsi/megaraid.c max_channels = adapter->product_info.nchannels; max_channels 2369 drivers/scsi/megaraid.c if( channel >= max_channels ) { max_channels 1743 drivers/scsi/storvsc_drv.c int max_channels; max_channels 1754 drivers/scsi/storvsc_drv.c max_channels = STORVSC_IDE_MAX_CHANNELS; max_channels 1758 drivers/scsi/storvsc_drv.c max_channels = STORVSC_MAX_CHANNELS; max_channels 1820 drivers/scsi/storvsc_drv.c host->max_channel = max_channels - 1; max_channels 359 drivers/xen/events/events_2l.c .max_channels = evtchn_2l_max_channels, max_channels 384 drivers/xen/events/events_fifo.c .max_channels = evtchn_fifo_max_channels, max_channels 57 drivers/xen/events/events_internal.h unsigned (*max_channels)(void); max_channels 85 drivers/xen/events/events_internal.h return evtchn_ops->max_channels(); max_channels 1372 include/sound/pcm.h unsigned int max_channels; max_channels 1404 include/sound/pcm.h int max_channels, max_channels 58 include/sound/seq_midi_emul.h int max_channels; /* Size of the channels array */ max_channels 38 sound/core/pcm_drm_eld.c unsigned max_channels = sad_max_channels(sad); max_channels 44 sound/core/pcm_drm_eld.c if (c->min <= max_channels) max_channels 2301 sound/core/pcm_lib.c if (ch > info->max_channels) max_channels 2313 sound/core/pcm_lib.c uinfo->count = info->max_channels; max_channels 2418 sound/core/pcm_lib.c int max_channels, max_channels 2442 sound/core/pcm_lib.c info->max_channels = max_channels; max_channels 86 sound/core/seq/seq_midi_emul.c if (dest_channel >= chanset->max_channels) { max_channels 88 sound/core/seq/seq_midi_emul.c dest_channel, chanset->max_channels); max_channels 380 sound/core/seq/seq_midi_emul.c for (i = 0; i < chset->max_channels; i++) { max_channels 529 sound/core/seq/seq_midi_emul.c if (p < chset->max_channels) { max_channels 540 sound/core/seq/seq_midi_emul.c if (p < chset->max_channels && max_channels 571 sound/core/seq/seq_midi_emul.c for (i = 0; i < chset->max_channels; i++) { max_channels 662 sound/core/seq/seq_midi_emul.c for (ch = 0; ch < chset->max_channels; ch++) { max_channels 688 sound/core/seq/seq_midi_emul.c chset->max_channels = n; max_channels 264 sound/pci/atiixp.c int max_channels; /* max. channels for PCM out */ max_channels 1087 sound/pci/atiixp.c substream->runtime->hw.channels_max = chip->max_channels; max_channels 1088 sound/pci/atiixp.c if (chip->max_channels > 2) max_channels 1267 sound/pci/atiixp.c chip->max_channels = 2; max_channels 1270 sound/pci/atiixp.c chip->max_channels = 6; max_channels 1272 sound/pci/atiixp.c chip->max_channels = 4; max_channels 1291 sound/pci/atiixp.c snd_pcm_alt_chmaps, chip->max_channels, 0, max_channels 239 sound/pci/atiixp_modem.c int max_channels; /* max. channels for PCM out */ max_channels 460 sound/pci/cmipci.c int max_channels; max_channels 1713 sound/pci/cmipci.c runtime->hw.channels_max = cm->max_channels; max_channels 1714 sound/pci/cmipci.c if (cm->max_channels == 4) max_channels 1716 sound/pci/cmipci.c else if (cm->max_channels == 6) max_channels 1718 sound/pci/cmipci.c else if (cm->max_channels == 8) max_channels 1953 sound/pci/cmipci.c snd_pcm_alt_chmaps, cm->max_channels, 0, max_channels 2825 sound/pci/cmipci.c cm->max_channels = 2; max_channels 2830 sound/pci/cmipci.c cm->max_channels = 6; max_channels 2832 sound/pci/cmipci.c cm->max_channels = 4; max_channels 2835 sound/pci/cmipci.c cm->max_channels = 8; max_channels 2839 sound/pci/cmipci.c cm->max_channels = 6; max_channels 3056 sound/pci/cmipci.c cm->max_channels = 2; max_channels 3065 sound/pci/cmipci.c "-MC%d", cm->max_channels); max_channels 259 sound/pci/echoaudio/echoaudio.c signed char max_channels) max_channels 266 sound/pci/echoaudio/echoaudio.c if (max_channels <= 0) max_channels 279 sound/pci/echoaudio/echoaudio.c dev_dbg(chip->card->dev, "max_channels=%d\n", max_channels); max_channels 282 sound/pci/echoaudio/echoaudio.c for (i = 0; channels_list[i] <= max_channels; i++); max_channels 284 sound/pci/echoaudio/echoaudio.c if (pipe->hw.channels_max > max_channels) max_channels 285 sound/pci/echoaudio/echoaudio.c pipe->hw.channels_max = max_channels; max_channels 370 sound/pci/echoaudio/echoaudio.c int max_channels, err; max_channels 373 sound/pci/echoaudio/echoaudio.c max_channels = num_pipes_out(chip); max_channels 375 sound/pci/echoaudio/echoaudio.c max_channels = num_analog_busses_out(chip); max_channels 377 sound/pci/echoaudio/echoaudio.c if ((err = pcm_open(substream, max_channels - substream->number)) < 0) max_channels 407 sound/pci/echoaudio/echoaudio.c int err, max_channels; max_channels 409 sound/pci/echoaudio/echoaudio.c max_channels = num_digital_busses_in(chip) - substream->number; max_channels 412 sound/pci/echoaudio/echoaudio.c err = pcm_open(substream, max_channels); max_channels 416 sound/pci/echoaudio/echoaudio.c err = pcm_open(substream, max_channels - ECHOCARD_HAS_ADAT); max_channels 448 sound/pci/echoaudio/echoaudio.c int err, max_channels; max_channels 450 sound/pci/echoaudio/echoaudio.c max_channels = num_digital_busses_out(chip) - substream->number; max_channels 453 sound/pci/echoaudio/echoaudio.c err = pcm_open(substream, max_channels); max_channels 457 sound/pci/echoaudio/echoaudio.c err = pcm_open(substream, max_channels - ECHOCARD_HAS_ADAT); max_channels 3684 sound/pci/hda/hda_codec.c runtime->hw.channels_max = mout->max_channels; max_channels 2396 sound/pci/hda/hda_generic.c spec->multiout.max_channels = max(spec->ext_channel_count, max_channels 2399 sound/pci/hda/hda_generic.c spec->multiout.num_dacs = spec->multiout.max_channels / 2; max_channels 5027 sound/pci/hda/hda_generic.c spec->multiout.max_channels = 2; max_channels 5088 sound/pci/hda/hda_generic.c spec->multiout.max_channels = max(spec->ext_channel_count, max_channels 5739 sound/pci/hda/hda_generic.c spec->multiout.max_channels; max_channels 220 sound/pci/hda/hda_local.h int max_channels; /* currently supported analog channels */ max_channels 6613 sound/pci/hda/patch_ca0132.c spec->multiout.max_channels; max_channels 8501 sound/pci/hda/patch_ca0132.c spec->multiout.max_channels = 2; max_channels 8503 sound/pci/hda/patch_ca0132.c spec->multiout.max_channels = 6; max_channels 3180 sound/pci/hda/patch_hdmi.c spec->multiout.max_channels = 2; max_channels 3439 sound/pci/hda/patch_hdmi.c spec->multiout.max_channels = 8; max_channels 465 sound/pci/rme9652/hdsp.c unsigned char max_channels; max_channels 2628 sound/pci/rme9652/hdsp.c if (source >= hdsp->max_channels) max_channels 2629 sound/pci/rme9652/hdsp.c addr = hdsp_playback_to_output_key(hdsp,source-hdsp->max_channels,destination); max_channels 2654 sound/pci/rme9652/hdsp.c if (source >= hdsp->max_channels) max_channels 2655 sound/pci/rme9652/hdsp.c addr = hdsp_playback_to_output_key(hdsp,source-hdsp->max_channels, destination); max_channels 3884 sound/pci/rme9652/hdsp.c if (snd_BUG_ON(channel < 0 || channel >= hdsp->max_channels)) max_channels 4081 sound/pci/rme9652/hdsp.c if (snd_BUG_ON(channel >= hdsp->max_channels)) max_channels 4083 sound/pci/rme9652/hdsp.c channel = array_index_nospec(channel, hdsp->max_channels); max_channels 4955 sound/pci/rme9652/hdsp.c for (i = 0; i < hdsp->max_channels; ++i) { max_channels 5184 sound/pci/rme9652/hdsp.c hdsp->max_channels = 26; max_channels 5216 sound/pci/rme9652/hdsp.c hdsp->max_channels = 16; max_channels 337 sound/soc/codecs/hdmi-codec.c if ((spk_mask & ~(FL | FR)) && hcp->chmap_info->max_channels > 2) max_channels 377 sound/soc/codecs/hdmi-codec.c for (i = 0; i < info->max_channels; i++) { max_channels 621 sound/soc/sh/rcar/core.c int max_channels) max_channels 623 sound/soc/sh/rcar/core.c if (max_channels > 0) max_channels 624 sound/soc/sh/rcar/core.c rdai->max_channels = max_channels; max_channels 626 sound/soc/sh/rcar/core.c return rdai->max_channels; max_channels 980 sound/soc/sh/rcar/core.c unsigned int max_channels = rsnd_rdai_channels_get(rdai); max_channels 994 sound/soc/sh/rcar/core.c if (rsnd_soc_hw_channels_list[i] > max_channels) max_channels 532 sound/soc/sh/rcar/rsnd.h int max_channels; /* 2ch - 16ch */ max_channels 554 sound/soc/sh/rcar/rsnd.h #define rsnd_rdai_channels_set(rdai, max_channels) \ max_channels 555 sound/soc/sh/rcar/rsnd.h rsnd_rdai_channels_ctrl(rdai, max_channels) max_channels 559 sound/soc/sh/rcar/rsnd.h int max_channels); max_channels 1437 sound/soc/ti/davinci-mcasp.c u32 max_channels = 0; max_channels 1464 sound/soc/ti/davinci-mcasp.c max_channels++; max_channels 1466 sound/soc/ti/davinci-mcasp.c ruledata->serializers = max_channels; max_channels 1468 sound/soc/ti/davinci-mcasp.c max_channels *= tdm_slots; max_channels 1476 sound/soc/ti/davinci-mcasp.c if (mcasp->channels && mcasp->channels < max_channels && max_channels 1478 sound/soc/ti/davinci-mcasp.c max_channels = mcasp->channels; max_channels 1483 sound/soc/ti/davinci-mcasp.c if (max_channels < tdm_slots) max_channels 1484 sound/soc/ti/davinci-mcasp.c max_channels = tdm_slots; max_channels 1488 sound/soc/ti/davinci-mcasp.c 0, max_channels); max_channels 269 sound/synth/emux/emux_effect.c p->effect = kcalloc(p->chset.max_channels, max_channels 272 sound/synth/emux/emux_effect.c for (i = 0; i < p->chset.max_channels; i++) max_channels 275 sound/synth/emux/emux_effect.c for (i = 0; i < p->chset.max_channels; i++) max_channels 292 sound/synth/emux/emux_effect.c p->chset.max_channels); max_channels 330 sound/synth/emux/emux_oss.c if (voice < 0 || voice >= port->chset.max_channels) max_channels 388 sound/synth/emux/emux_oss.c for (i = 0; i < port->chset.max_channels; i++) { max_channels 428 sound/synth/emux/emux_oss.c if (voice < 0 || voice >= port->chset.max_channels) max_channels 127 sound/synth/emux/emux_seq.c int max_channels, int oss_port, max_channels 138 sound/synth/emux/emux_seq.c p->chset.channels = kcalloc(max_channels, sizeof(*p->chset.channels), max_channels 144 sound/synth/emux/emux_seq.c for (i = 0; i < max_channels; i++) max_channels 147 sound/synth/emux/emux_seq.c p->chset.max_channels = max_channels; max_channels 165 sound/synth/emux/emux_seq.c cap, type, max_channels, max_channels 228 sound/synth/emux/emux_seq.c for (i = 0; i < port->chset.max_channels; i++) { max_channels 21 sound/synth/emux/emux_voice.h int max_channels, int type,