/linux-4.4.14/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.4.14/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.4.14/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.4.14/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 | 385 .max_channels = evtchn_fifo_max_channels,
|
D | events_2l.c | 358 .max_channels = evtchn_2l_max_channels,
|
/linux-4.4.14/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 | 230 int max_channels = -1; in dce6_afmt_write_sad_regs() local 237 if (sad->channels > max_channels) { in dce6_afmt_write_sad_regs() 241 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.4.14/sound/core/ |
D | pcm_drm_eld.c | 41 unsigned max_channels = sad_max_channels(sad); in eld_limit_rates() local 47 if (c->min <= max_channels) in eld_limit_rates()
|
D | pcm_lib.c | 2465 if (ch > info->max_channels) in valid_chmap_channels() 2477 uinfo->count = info->max_channels; in pcm_chmap_ctl_info() 2582 int max_channels, in snd_pcm_add_chmap_ctls() argument 2604 info->max_channels = max_channels; in snd_pcm_add_chmap_ctls()
|
/linux-4.4.14/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.4.14/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()
|
D | mv_xor.c | 1138 unsigned int max_engines, max_channels; in mv_xor_probe() local 1190 max_channels = min_t(unsigned int, in mv_xor_probe() 1210 if (i >= max_channels) in mv_xor_probe() 1236 for (i = 0; i < max_channels; i++) { in mv_xor_probe()
|
/linux-4.4.14/sound/soc/davinci/ |
D | davinci-mcasp.c | 1219 u32 max_channels = 0; in davinci_mcasp_startup() local 1242 max_channels++; in davinci_mcasp_startup() 1244 ruledata->serializers = max_channels; in davinci_mcasp_startup() 1245 max_channels *= tdm_slots; in davinci_mcasp_startup() 1253 if (mcasp->channels && mcasp->channels < max_channels) in davinci_mcasp_startup() 1254 max_channels = mcasp->channels; in davinci_mcasp_startup() 1259 if (max_channels < tdm_slots) in davinci_mcasp_startup() 1260 max_channels = tdm_slots; in davinci_mcasp_startup() 1264 2, max_channels); in davinci_mcasp_startup()
|
/linux-4.4.14/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() 2841 cm->max_channels = 2; in query_chip() 2846 cm->max_channels = 6; in query_chip() 2848 cm->max_channels = 4; in query_chip() 2851 cm->max_channels = 8; in query_chip() [all …]
|
D | atiixp_modem.c | 253 int max_channels; /* max. channels for PCM out */ member
|
/linux-4.4.14/include/sound/ |
D | seq_midi_emul.h | 72 int max_channels; /* Size of the channels array */ member
|
D | pcm.h | 1357 unsigned int max_channels; member 1389 int max_channels,
|
/linux-4.4.14/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.4.14/drivers/scsi/ |
D | storvsc_drv.c | 1550 int max_channels; in storvsc_probe() local 1561 max_channels = STORVSC_IDE_MAX_CHANNELS; in storvsc_probe() 1565 max_channels = STORVSC_MAX_CHANNELS; in storvsc_probe() 1620 host->max_channel = max_channels - 1; in storvsc_probe()
|
D | megaraid.c | 2339 int max_channels; in proc_show_pdrv() local 2369 max_channels = adapter->product_info.nchannels; in proc_show_pdrv() 2371 if( channel >= max_channels ) { in proc_show_pdrv()
|
/linux-4.4.14/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() 3904 if (snd_BUG_ON(channel < 0 || channel >= hdsp->max_channels)) in hdsp_channel_buffer_location() 4070 if (snd_BUG_ON(info->channel >= hdsp->max_channels)) in snd_hdsp_channel_info() 4941 for (i = 0; i < hdsp->max_channels; ++i) { in snd_hdsp_enable_io() 5170 hdsp->max_channels = 26; in snd_hdsp_create() 5202 hdsp->max_channels = 16; in snd_hdsp_create()
|
/linux-4.4.14/drivers/net/ethernet/sfc/ |
D | net_driver.h | 959 unsigned int max_channels; member
|
D | siena.c | 264 efx->max_channels = EFX_MAX_CHANNELS; in siena_probe_nic()
|
D | ef10.c | 298 efx->max_channels = min_t(unsigned int, in efx_ef10_probe() 302 efx->max_tx_channels = efx->max_channels; in efx_ef10_probe() 303 if (WARN_ON(efx->max_channels == 0)) in efx_ef10_probe() 922 efx->max_channels = nic_data->n_allocated_vis; in efx_ef10_dimension_resources()
|
D | falcon.c | 2372 efx->max_channels = (efx_nic_rev(efx) <= EFX_REV_FALCON_A1 ? 4 : in falcon_probe_nic() 2374 efx->max_tx_channels = efx->max_channels; in falcon_probe_nic()
|
D | efx.c | 1395 n_channels = min(n_channels, efx->max_channels); in efx_probe_interrupts() 1659 if (!efx->max_channels || !efx->max_tx_channels) { in efx_probe_nic()
|
/linux-4.4.14/sound/pci/hda/ |
D | hda_local.h | 292 int max_channels; /* currently supported analog channels */ member
|
D | hda_generic.c | 2376 spec->multiout.max_channels = max(spec->ext_channel_count, in ch_mode_put() 2379 spec->multiout.num_dacs = spec->multiout.max_channels / 2; in ch_mode_put() 4843 spec->multiout.max_channels = 2; in snd_hda_gen_parse_auto_config() 4904 spec->multiout.max_channels = max(spec->ext_channel_count, in snd_hda_gen_parse_auto_config() 5553 spec->multiout.max_channels; in snd_hda_gen_build_pcms()
|
D | patch_hdmi.c | 2678 spec->multiout.max_channels = 2; in patch_simple_hdmi() 2937 spec->multiout.max_channels = 8; in patch_nvhdmi_8ch_7x()
|
D | patch_ca0132.c | 4072 spec->multiout.max_channels; in ca0132_build_pcms() 4636 spec->multiout.max_channels = 2; in ca0132_config()
|
D | hda_codec.c | 3708 runtime->hw.channels_max = mout->max_channels; in snd_hda_multi_out_analog_open()
|
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
D | dce_v8_0.c | 1546 int max_channels = -1; in dce_v8_0_audio_write_sad_regs() local 1553 if (sad->channels > max_channels) { in dce_v8_0_audio_write_sad_regs() 1560 max_channels = sad->channels; in dce_v8_0_audio_write_sad_regs()
|
D | dce_v11_0.c | 1573 int max_channels = -1; in dce_v11_0_audio_write_sad_regs() local 1580 if (sad->channels > max_channels) { in dce_v11_0_audio_write_sad_regs() 1587 max_channels = sad->channels; in dce_v11_0_audio_write_sad_regs()
|
D | dce_v10_0.c | 1585 int max_channels = -1; in dce_v10_0_audio_write_sad_regs() local 1592 if (sad->channels > max_channels) { in dce_v10_0_audio_write_sad_regs() 1599 max_channels = sad->channels; in dce_v10_0_audio_write_sad_regs()
|