/kernel/linux/linux-5.10/sound/synth/emux/ |
D | emux_seq.c | 127 int max_channels, int oss_port, in snd_emux_create_port() argument 138 p->chset.channels = kcalloc(max_channels, sizeof(*p->chset.channels), in snd_emux_create_port() 144 for (i = 0; i < max_channels; i++) in snd_emux_create_port() 147 p->chset.max_channels = max_channels; in snd_emux_create_port() 165 cap, type, max_channels, in snd_emux_create_port() 228 for (i = 0; i < port->chset.max_channels; i++) { in snd_emux_reset_port()
|
D | emux_effect.c | 269 p->effect = kcalloc(p->chset.max_channels, in snd_emux_create_effect() 272 for (i = 0; i < p->chset.max_channels; i++) in snd_emux_create_effect() 275 for (i = 0; i < p->chset.max_channels; i++) in snd_emux_create_effect() 292 p->chset.max_channels); in snd_emux_clear_effect()
|
D | emux_oss.c | 330 if (voice < 0 || voice >= port->chset.max_channels) in emuspec_control() 388 for (i = 0; i < port->chset.max_channels; i++) { in emuspec_control() 428 if (voice < 0 || voice >= port->chset.max_channels) in gusspec_control()
|
D | emux_voice.h | 21 int max_channels, int type,
|
/kernel/linux/linux-5.10/drivers/gpu/host1x/ |
D | channel.c | 100 unsigned int max_channels = host->info->nb_channels; in acquire_unused_channel() local 103 index = find_first_zero_bit(chlist->allocated_channels, max_channels); in acquire_unused_channel() 104 if (index >= max_channels) { in acquire_unused_channel()
|
/kernel/linux/linux-5.10/sound/core/seq/ |
D | seq_midi_emul.c | 89 if (dest_channel >= chanset->max_channels) { in snd_midi_process_event() 91 dest_channel, chanset->max_channels); in snd_midi_process_event() 385 for (i = 0; i < chset->max_channels; i++) { in snd_midi_channel_set_clear() 534 if (p < chset->max_channels) { in sysex() 545 if (p < chset->max_channels && in sysex() 576 for (i = 0; i < chset->max_channels; i++) { in sysex() 669 for (ch = 0; ch < chset->max_channels; ch++) { in reset_all_channels() 695 chset->max_channels = n; in snd_midi_channel_alloc_set()
|
/kernel/linux/linux-5.10/drivers/xen/events/ |
D | events_internal.h | 13 unsigned (*max_channels)(void); member 43 return evtchn_ops->max_channels(); in xen_evtchn_max_channels()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/sound/core/ |
D | pcm_drm_eld.c | 38 unsigned max_channels = sad_max_channels(sad); in eld_limit_rates() local 44 if (c->min <= max_channels) in eld_limit_rates()
|
/kernel/linux/linux-5.10/drivers/media/pci/tw686x/ |
D | tw686x-core.c | 230 for (ch = 0; ch < max_channels(dev); ch++) in tw686x_dev_release() 253 dev->video_channels = kcalloc(max_channels(dev), in tw686x_probe() 260 dev->audio_channels = kcalloc(max_channels(dev), in tw686x_probe() 304 if (max_channels(dev) > 4) in tw686x_probe()
|
D | tw686x-audio.c | 37 for_each_set_bit(ch, &requests, max_channels(dev)) { in tw686x_audio_irq() 274 err = snd_pcm_new(card, card->driver, 0, 0, max_channels(dev), &pcm); in tw686x_snd_pcm_init() 382 for (ch = 0; ch < max_channels(dev); ch++) { in tw686x_audio_init() 404 for (ch = 0; ch < max_channels(dev); ch++) { in tw686x_audio_init()
|
D | tw686x-video.c | 308 channels = max_channels(dev); in tw686x_sg_setup() 317 sg_table_size = max_channels(dev) * TW686X_SG_TABLE_SIZE; in tw686x_sg_setup() 1095 for_each_set_bit(ch, &requests, max_channels(dev)) { in tw686x_video_irq() 1151 for (ch = 0; ch < max_channels(dev); ch++) { in tw686x_video_free() 1187 for (ch = 0; ch < max_channels(dev); ch++) { in tw686x_video_init() 1194 for (ch = 0; ch < max_channels(dev); ch++) { in tw686x_video_init() 1294 for (ch = 0; ch < max_channels(dev); ch++) in tw686x_video_init() 1301 if (max_channels(dev) > 4) { in tw686x_video_init()
|
D | tw686x.h | 156 static inline unsigned int max_channels(struct tw686x_dev *dev) in max_channels() function
|
/kernel/linux/linux-5.10/sound/pci/echoaudio/ |
D | echoaudio.c | 267 signed char max_channels) in pcm_open() argument 274 if (max_channels <= 0) in pcm_open() 287 dev_dbg(chip->card->dev, "max_channels=%d\n", max_channels); in pcm_open() 290 for (i = 0; channels_list[i] <= max_channels; i++); in pcm_open() 292 if (pipe->hw.channels_max > max_channels) in pcm_open() 293 pipe->hw.channels_max = max_channels; in pcm_open() 384 int max_channels, err; in pcm_analog_out_open() local 387 max_channels = num_pipes_out(chip); in pcm_analog_out_open() 389 max_channels = num_analog_busses_out(chip); in pcm_analog_out_open() 391 if ((err = pcm_open(substream, max_channels - substream->number)) < 0) in pcm_analog_out_open() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
D | efx_channels.c | 134 unsigned int max_channels, in efx_allocate_msix_channels() argument 160 max_channels = min_t(unsigned int, vec_count, max_channels); in efx_allocate_msix_channels() 166 if (n_channels + n_xdp_ev > max_channels) { in efx_allocate_msix_channels() 169 n_xdp_ev, n_channels, max_channels); in efx_allocate_msix_channels() 199 n_channels = min(n_channels, max_channels); in efx_allocate_msix_channels() 252 rc = efx_allocate_msix_channels(efx, efx->max_channels, in efx_probe_interrupts() 560 efx->max_channels = EFX_MAX_CHANNELS; in efx_init_channels()
|
/kernel/linux/linux-5.10/drivers/dma/ |
D | dmatest.c | 38 static unsigned int max_channels; variable 39 module_param(max_channels, uint, S_IRUGO | S_IWUSR); 40 MODULE_PARM_DESC(max_channels, 114 unsigned int max_channels; member 1083 if (params->max_channels && in request_channels() 1084 info->nr_channels >= params->max_channels) in request_channels() 1098 params->max_channels = max_channels; in add_threaded_test()
|
/kernel/linux/linux-5.10/drivers/dma/xilinx/ |
D | xilinx_dma.c | 475 const int max_channels; member 1770 chan_offset = chan->xdev->dma_config->max_channels / 2; in xilinx_mcdma_irq_handler() 2820 chan->tdest = chan->id - xdev->dma_config->max_channels / 2; in xilinx_dma_chan_probe() 2941 if (chan_id >= xdev->dma_config->max_channels || !xdev->chan[chan_id]) in of_dma_xilinx_xlate() 2951 .max_channels = XILINX_DMA_MAX_CHANS_PER_DEVICE, 2958 .max_channels = XILINX_MCDMA_MAX_CHANS_PER_DEVICE, 2964 .max_channels = XILINX_CDMA_MAX_CHANS_PER_DEVICE, 2971 .max_channels = XILINX_DMA_MAX_CHANS_PER_DEVICE, 3029 xdev->s2mm_chan_id = xdev->dma_config->max_channels / 2; in xilinx_dma_probe() 3127 for (i = 0; i < xdev->dma_config->max_channels; i++) in xilinx_dma_probe() [all …]
|
/kernel/linux/linux-5.10/sound/pci/ |
D | atiixp.c | 264 int max_channels; /* max. channels for PCM out */ member 1083 substream->runtime->hw.channels_max = chip->max_channels; in snd_atiixp_playback_open() 1084 if (chip->max_channels > 2) in snd_atiixp_playback_open() 1260 chip->max_channels = 2; in snd_atiixp_pcm_new() 1263 chip->max_channels = 6; in snd_atiixp_pcm_new() 1265 chip->max_channels = 4; in snd_atiixp_pcm_new() 1283 snd_pcm_alt_chmaps, chip->max_channels, 0, in snd_atiixp_pcm_new()
|
/kernel/linux/linux-5.10/sound/soc/sh/rcar/ |
D | core.c | 616 int max_channels) in rsnd_rdai_channels_ctrl() argument 618 if (max_channels > 0) in rsnd_rdai_channels_ctrl() 619 rdai->max_channels = max_channels; in rsnd_rdai_channels_ctrl() 621 return rdai->max_channels; in rsnd_rdai_channels_ctrl() 975 unsigned int max_channels = rsnd_rdai_channels_get(rdai); in rsnd_soc_dai_startup() local 989 if (rsnd_soc_hw_channels_list[i] > max_channels) in rsnd_soc_dai_startup()
|
D | rsnd.h | 541 int max_channels; /* 2ch - 16ch */ member 563 #define rsnd_rdai_channels_set(rdai, max_channels) \ argument 564 rsnd_rdai_channels_ctrl(rdai, max_channels) 568 int max_channels);
|
/kernel/linux/linux-5.10/drivers/iio/adc/ |
D | stm32-adc.c | 234 int max_channels; member 246 .max_channels = 16, 258 .max_channels = STM32_ADC_CH_MAX, 1742 if (ret > adc_info->max_channels) { in stm32_adc_chan_of_init() 1751 if (ret > adc_info->max_channels) { in stm32_adc_chan_of_init() 1783 if (val >= adc_info->max_channels) { in stm32_adc_chan_of_init() 1802 if (diff[i].vinp >= adc_info->max_channels || in stm32_adc_chan_of_init() 1803 diff[i].vinn >= adc_info->max_channels) { in stm32_adc_chan_of_init()
|
/kernel/linux/linux-5.10/sound/soc/ti/ |
D | davinci-mcasp.c | 1459 u32 max_channels = 0; in davinci_mcasp_startup() local 1486 max_channels++; in davinci_mcasp_startup() 1488 ruledata->serializers = max_channels; in davinci_mcasp_startup() 1490 max_channels *= tdm_slots; in davinci_mcasp_startup() 1498 if (mcasp->channels && mcasp->channels < max_channels && in davinci_mcasp_startup() 1500 max_channels = mcasp->channels; in davinci_mcasp_startup() 1505 if (max_channels < tdm_slots) in davinci_mcasp_startup() 1506 max_channels = tdm_slots; in davinci_mcasp_startup() 1510 0, max_channels); in davinci_mcasp_startup()
|
/kernel/linux/linux-5.10/include/sound/ |
D | seq_midi_emul.h | 58 int max_channels; /* Size of the channels array */ member
|