Home
last modified time | relevance | path

Searched refs:ch_count (Results 1 – 25 of 39) sorted by relevance

12

/linux-6.6.21/include/sound/
Dsdw.h38 stream_config->ch_count = params_channels(params); in snd_sdw_params_to_config()
46 port_config->ch_mask = GENMASK(stream_config->ch_count - 1, 0); in snd_sdw_params_to_config()
/linux-6.6.21/sound/soc/codecs/
Dmax98363.c233 stream_config.ch_count = 1; in max98363_sdw_dai_hw_params()
235 if (stream_config.ch_count > runtime->hw.channels_max) { in max98363_sdw_dai_hw_params()
236 stream_config.ch_count = runtime->hw.channels_max; in max98363_sdw_dai_hw_params()
238 stream_config.ch_count, params_channels(params)); in max98363_sdw_dai_hw_params()
240 port_config.ch_mask = GENMASK((int)stream_config.ch_count - 1, 0); in max98363_sdw_dai_hw_params()
Dmax98373-sdw.c541 stream_config.ch_count = max98373->slot; in max98373_sdw_dai_hw_params()
548 stream_config.ch_count = 2; in max98373_sdw_dai_hw_params()
549 port_config.ch_mask = GENMASK((int)stream_config.ch_count - 1, 0); in max98373_sdw_dai_hw_params()
Dcs35l56.c692 sconfig.ch_count = params_channels(params); in cs35l56_sdw_dai_hw_params()
693 pconfig.ch_mask = GENMASK(sconfig.ch_count - 1, 0); in cs35l56_sdw_dai_hw_params()
695 sconfig.ch_count = hweight32(pconfig.ch_mask); in cs35l56_sdw_dai_hw_params()
Dwcd938x-sdw.c111 wcd->sconfig.ch_count = 1; in wcd938x_sdw_hw_params()
120 wcd->sconfig.ch_count++; in wcd938x_sdw_hw_params()
Drt1017-sdca-sdw.c608 stream_config.ch_count = num_channels; in rt1017_sdca_pcm_hw_params()
Drt1318-sdw.c599 stream_config.ch_count = num_channels; in rt1318_sdw_hw_params()
/linux-6.6.21/drivers/soundwire/
Dgeneric_bandwidth_allocation.c71 m_rt->ch_count == slave_total_ch) { in sdw_compute_slave_ports()
97 ch = m_rt->ch_count; in sdw_compute_master_ports()
151 port_bo += m_rt->ch_count * m_rt->stream->params.bps; in _sdw_compute_port_params()
176 ch = m_rt->ch_count; in sdw_compute_group_params()
Dintel_ace2x.c288 sconfig.ch_count = ch; in intel_hw_params()
522 int ch_count = 0; in intel_pdi_get_ch_update() local
526 pdi->ch_count = intel_pdi_get_ch_cap(sdw, pdi->num); in intel_pdi_get_ch_update()
527 ch_count += pdi->ch_count; in intel_pdi_get_ch_update()
531 *num_ch = ch_count; in intel_pdi_get_ch_update()
Dbus.h118 unsigned int ch_count; member
140 unsigned int ch_count; member
Dintel.c567 int i, ch_count = 0; in intel_pdi_get_ch_update() local
570 pdi->ch_count = intel_pdi_get_ch_cap(sdw, pdi->num); in intel_pdi_get_ch_update()
571 ch_count += pdi->ch_count; in intel_pdi_get_ch_update()
575 *num_ch = ch_count; in intel_pdi_get_ch_update()
641 u32p_replace_bits(&conf, pdi->ch_count - 1, SDW_ALH_STRMZCFG_CHN); in intel_pdi_alh_configure()
719 sconfig.ch_count = ch; in intel_hw_params()
Dstream.c1084 s_rt->ch_count = stream_config->ch_count; in sdw_slave_rt_config()
1199 m_rt->ch_count = stream_config->ch_count; in sdw_master_rt_config()
1272 stream->params.ch_count += stream_config->ch_count; in sdw_config_stream()
1377 m_rt->ch_count * m_rt->stream->params.bps; in _sdw_prepare_stream()
1655 m_rt->ch_count * m_rt->stream->params.bps; in _sdw_deprepare_stream()
Dcadence_master.h35 int ch_count; member
/linux-6.6.21/drivers/dma/dw-edma/
Ddw-edma-core.h122 u16 (*ch_count)(struct dw_edma *dw, enum dw_edma_dir dir); member
175 return dw->core->ch_count(dw, dir); in dw_edma_core_ch_count()
Ddw-hdma-v0-core.c298 .ch_count = dw_hdma_v0_core_ch_count,
Ddw-edma-v0-core.c514 .ch_count = dw_edma_v0_core_ch_count,
/linux-6.6.21/sound/firewire/bebob/
Dbebob_stream.c842 unsigned int ch_count; in detect_midi_ports() local
856 err = avc_bridgeco_get_plug_ch_count(bebob->unit, addr, &ch_count); in detect_midi_ports()
862 if (ch_count == 0) in detect_midi_ports()
863 ch_count = 1; in detect_midi_ports()
864 *midi_ports += ch_count; in detect_midi_ports()
Dbebob_command.c147 unsigned int *ch_count) in avc_bridgeco_get_plug_ch_count() argument
175 *ch_count = buf[10]; in avc_bridgeco_get_plug_ch_count()
Dbebob.h203 unsigned int *ch_count);
/linux-6.6.21/drivers/infiniband/ulp/srp/
Dib_srp.c134 static unsigned ch_count; variable
135 module_param(ch_count, uint, 0444);
136 MODULE_PARM_DESC(ch_count,
944 for (i = 0; i < target->ch_count; i++) { in srp_disconnect_target()
1051 for (i = 0; i < target->ch_count; i++) { in srp_remove_target()
1092 for (i = 0; i < target->ch_count; i++) in srp_connected_ch()
1351 for (i = 0; i < target->ch_count; i++) { in srp_rport_reconnect()
1362 for (i = 0; i < target->ch_count; i++) { in srp_rport_reconnect()
1378 for (i = 0; i < target->ch_count; i++) { in srp_rport_reconnect()
2792 if (WARN_ON_ONCE(ch_idx >= target->ch_count)) in srp_abort()
[all …]
Dib_srp.h208 u32 ch_count; member
/linux-6.6.21/include/linux/
Dslimbus.h138 unsigned int ch_count; member
/linux-6.6.21/include/linux/soundwire/
Dsdw.h977 unsigned int ch_count; member
1013 unsigned int ch_count; member
/linux-6.6.21/drivers/dma/ti/
Dk3-udma.c5039 int ch_count, ret; in setup_resources() local
5058 ch_count = ud->bchan_cnt + ud->tchan_cnt + ud->rchan_cnt; in setup_resources()
5060 ch_count -= bitmap_weight(ud->bchan_map, ud->bchan_cnt); in setup_resources()
5061 ch_count -= bitmap_weight(ud->tchan_map, ud->tchan_cnt); in setup_resources()
5062 ch_count -= bitmap_weight(ud->rchan_map, ud->rchan_cnt); in setup_resources()
5063 if (!ch_count) in setup_resources()
5066 ud->channels = devm_kcalloc(dev, ch_count, sizeof(*ud->channels), in setup_resources()
5075 ch_count, in setup_resources()
5086 ch_count, in setup_resources()
5097 ch_count, in setup_resources()
[all …]
/linux-6.6.21/Documentation/ABI/stable/
Dsysfs-driver-ib_srp94 What: /sys/class/scsi_host/host<n>/ch_count

12