/linux-4.1.27/sound/synth/emux/ |
D | emux_seq.c | 140 int max_channels, int oss_port, in snd_emux_create_port() argument 151 p->chset.channels = kcalloc(max_channels, sizeof(struct snd_midi_channel), GFP_KERNEL); in snd_emux_create_port() 157 for (i = 0; i < max_channels; i++) in snd_emux_create_port() 160 p->chset.max_channels = max_channels; in snd_emux_create_port() 178 cap, type, max_channels, in snd_emux_create_port() 241 for (i = 0; i < port->chset.max_channels; i++) { in snd_emux_reset_port()
|
D | emux_effect.c | 283 p->effect = kcalloc(p->chset.max_channels, in snd_emux_create_effect() 286 for (i = 0; i < p->chset.max_channels; i++) in snd_emux_create_effect() 289 for (i = 0; i < p->chset.max_channels; i++) in snd_emux_create_effect() 306 p->chset.max_channels); in snd_emux_clear_effect()
|
D | emux_oss.c | 345 if (voice < 0 || voice >= port->chset.max_channels) in emuspec_control() 403 for (i = 0; i < port->chset.max_channels; i++) { in emuspec_control() 444 if (voice < 0 || voice >= port->chset.max_channels) in gusspec_control()
|
D | emux_voice.h | 34 int max_channels, int type,
|
/linux-4.1.27/drivers/gpu/host1x/ |
D | channel.c | 86 int max_channels = host->info->nb_channels; in host1x_channel_request() local 92 index = find_first_zero_bit(&host->allocated_channels, max_channels); in host1x_channel_request() 93 if (index >= max_channels) in host1x_channel_request()
|
/linux-4.1.27/sound/core/seq/ |
D | seq_midi_emul.c | 100 if (dest_channel >= chanset->max_channels) { in snd_midi_process_event() 102 dest_channel, chanset->max_channels); in snd_midi_process_event() 393 for (i = 0; i < chset->max_channels; i++) { in snd_midi_channel_set_clear() 541 if (p < chset->max_channels) { in sysex() 552 if (p < chset->max_channels && in sysex() 583 for (i = 0; i < chset->max_channels; i++) { in sysex() 674 for (ch = 0; ch < chset->max_channels; ch++) { in reset_all_channels() 700 chset->max_channels = n; in snd_midi_channel_alloc_set()
|
/linux-4.1.27/drivers/xen/events/ |
D | events_internal.h | 59 unsigned (*max_channels)(void); member 87 return evtchn_ops->max_channels(); in xen_evtchn_max_channels()
|
D | events_fifo.c | 375 .max_channels = evtchn_fifo_max_channels,
|
D | events_2l.c | 358 .max_channels = evtchn_2l_max_channels,
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
D | dce3_1_afmt.c | 89 int max_channels = -1; in dce3_2_afmt_write_sad_regs() local 96 if (sad->channels > max_channels) { in dce3_2_afmt_write_sad_regs() 100 max_channels = sad->channels; in dce3_2_afmt_write_sad_regs()
|
D | dce6_afmt.c | 211 int max_channels = -1; in dce6_afmt_write_sad_regs() local 218 if (sad->channels > max_channels) { in dce6_afmt_write_sad_regs() 222 max_channels = sad->channels; in dce6_afmt_write_sad_regs()
|
D | evergreen_hdmi.c | 178 int max_channels = -1; in evergreen_hdmi_write_sad_regs() local 185 if (sad->channels > max_channels) { in evergreen_hdmi_write_sad_regs() 189 max_channels = sad->channels; in evergreen_hdmi_write_sad_regs()
|
/linux-4.1.27/sound/pci/echoaudio/ |
D | echoaudio.c | 271 signed char max_channels) in pcm_open() argument 278 if (max_channels <= 0) in pcm_open() 291 dev_dbg(chip->card->dev, "max_channels=%d\n", max_channels); in pcm_open() 294 for (i = 0; channels_list[i] <= max_channels; i++); in pcm_open() 296 if (pipe->hw.channels_max > max_channels) in pcm_open() 297 pipe->hw.channels_max = max_channels; in pcm_open() 382 int max_channels, err; in pcm_analog_out_open() local 385 max_channels = num_pipes_out(chip); in pcm_analog_out_open() 387 max_channels = num_analog_busses_out(chip); in pcm_analog_out_open() 389 if ((err = pcm_open(substream, max_channels - substream->number)) < 0) in pcm_analog_out_open() [all …]
|
/linux-4.1.27/drivers/dma/ |
D | dmatest.c | 44 static unsigned int max_channels; variable 45 module_param(max_channels, uint, S_IRUGO | S_IWUSR); 46 MODULE_PARM_DESC(max_channels, 94 unsigned int max_channels; member 856 if (params->max_channels && in request_channels() 857 info->nr_channels >= params->max_channels) in request_channels() 871 params->max_channels = max_channels; in run_threaded_test()
|
/linux-4.1.27/sound/pci/ |
D | atiixp.c | 278 int max_channels; /* max. channels for PCM out */ member 1094 substream->runtime->hw.channels_max = chip->max_channels; in snd_atiixp_playback_open() 1095 if (chip->max_channels > 2) in snd_atiixp_playback_open() 1274 chip->max_channels = 2; in snd_atiixp_pcm_new() 1277 chip->max_channels = 6; in snd_atiixp_pcm_new() 1279 chip->max_channels = 4; in snd_atiixp_pcm_new() 1298 snd_pcm_alt_chmaps, chip->max_channels, 0, in snd_atiixp_pcm_new()
|
D | cmipci.c | 473 int max_channels; member 1726 runtime->hw.channels_max = cm->max_channels; in snd_cmipci_playback2_open() 1727 if (cm->max_channels == 4) in snd_cmipci_playback2_open() 1729 else if (cm->max_channels == 6) in snd_cmipci_playback2_open() 1731 else if (cm->max_channels == 8) in snd_cmipci_playback2_open() 1966 snd_pcm_alt_chmaps, cm->max_channels, 0, in snd_cmipci_pcm_spdif_new() 2846 cm->max_channels = 2; in query_chip() 2851 cm->max_channels = 6; in query_chip() 2853 cm->max_channels = 4; in query_chip() 2856 cm->max_channels = 8; in query_chip() [all …]
|
D | atiixp_modem.c | 253 int max_channels; /* max. channels for PCM out */ member
|
/linux-4.1.27/sound/soc/davinci/ |
D | davinci-mcasp.c | 1133 u32 max_channels = 0; in davinci_mcasp_startup() local 1152 max_channels++; in davinci_mcasp_startup() 1154 ruledata->serializers = max_channels; in davinci_mcasp_startup() 1155 max_channels *= mcasp->tdm_slots; in davinci_mcasp_startup() 1163 if (mcasp->channels && mcasp->channels < max_channels) in davinci_mcasp_startup() 1164 max_channels = mcasp->channels; in davinci_mcasp_startup() 1168 2, max_channels); in davinci_mcasp_startup()
|
/linux-4.1.27/include/sound/ |
D | seq_midi_emul.h | 72 int max_channels; /* Size of the channels array */ member
|
D | pcm.h | 1344 unsigned int max_channels; member 1376 int max_channels,
|
/linux-4.1.27/drivers/net/wireless/ti/wlcore/ |
D | scan.c | 140 int start, int max_channels, in wlcore_scan_get_channels() argument 186 i < n_channels && j < max_channels; in wlcore_scan_get_channels()
|
/linux-4.1.27/drivers/scsi/ |
D | storvsc_drv.c | 1753 int max_channels; in storvsc_probe() local 1770 max_channels = STORVSC_IDE_MAX_CHANNELS; in storvsc_probe() 1779 max_channels = STORVSC_MAX_CHANNELS; in storvsc_probe() 1835 host->max_channel = max_channels - 1; in storvsc_probe()
|
D | megaraid.c | 2342 int max_channels; in proc_show_pdrv() local 2372 max_channels = adapter->product_info.nchannels; in proc_show_pdrv() 2374 if( channel >= max_channels ) { in proc_show_pdrv()
|
/linux-4.1.27/sound/pci/rme9652/ |
D | hdsp.c | 478 unsigned char max_channels; member 2645 if (source >= hdsp->max_channels) in snd_hdsp_get_mixer() 2646 addr = hdsp_playback_to_output_key(hdsp,source-hdsp->max_channels,destination); in snd_hdsp_get_mixer() 2671 if (source >= hdsp->max_channels) in snd_hdsp_put_mixer() 2672 addr = hdsp_playback_to_output_key(hdsp,source-hdsp->max_channels, destination); in snd_hdsp_put_mixer() 3903 if (snd_BUG_ON(channel < 0 || channel >= hdsp->max_channels)) in hdsp_channel_buffer_location() 4069 if (snd_BUG_ON(info->channel >= hdsp->max_channels)) in snd_hdsp_channel_info() 4940 for (i = 0; i < hdsp->max_channels; ++i) { in snd_hdsp_enable_io() 5168 hdsp->max_channels = 26; in snd_hdsp_create() 5200 hdsp->max_channels = 16; in snd_hdsp_create()
|
/linux-4.1.27/sound/core/ |
D | pcm_lib.c | 2467 if (ch > info->max_channels) in valid_chmap_channels() 2479 uinfo->count = info->max_channels; in pcm_chmap_ctl_info() 2584 int max_channels, in snd_pcm_add_chmap_ctls() argument 2606 info->max_channels = max_channels; in snd_pcm_add_chmap_ctls()
|
/linux-4.1.27/sound/pci/hda/ |
D | hda_local.h | 292 int max_channels; /* currently supported analog channels */ member
|
D | hda_generic.c | 2374 spec->multiout.max_channels = max(spec->ext_channel_count, in ch_mode_put() 2377 spec->multiout.num_dacs = spec->multiout.max_channels / 2; in ch_mode_put() 4841 spec->multiout.max_channels = 2; in snd_hda_gen_parse_auto_config() 4902 spec->multiout.max_channels = max(spec->ext_channel_count, in snd_hda_gen_parse_auto_config() 5551 spec->multiout.max_channels; in snd_hda_gen_build_pcms()
|
D | patch_hdmi.c | 2617 spec->multiout.max_channels = 2; in patch_simple_hdmi() 2876 spec->multiout.max_channels = 8; in patch_nvhdmi_8ch_7x()
|
D | patch_ca0132.c | 4046 spec->multiout.max_channels; in ca0132_build_pcms() 4619 spec->multiout.max_channels = 2; in ca0132_config()
|
D | hda_codec.c | 4215 runtime->hw.channels_max = mout->max_channels; in snd_hda_multi_out_analog_open()
|
/linux-4.1.27/drivers/net/ethernet/sfc/ |
D | net_driver.h | 973 unsigned int max_channels; member
|
D | siena.c | 263 efx->max_channels = EFX_MAX_CHANNELS; in siena_probe_nic()
|
D | ef10.c | 178 efx->max_channels = in efx_ef10_probe() 183 if (WARN_ON(efx->max_channels == 0)) in efx_ef10_probe()
|
D | falcon.c | 2359 efx->max_channels = (efx_nic_rev(efx) <= EFX_REV_FALCON_A1 ? 4 : in falcon_probe_nic()
|
D | efx.c | 1351 n_channels = min(n_channels, efx->max_channels); in efx_probe_interrupts()
|