Home
last modified time | relevance | path

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

12

/Linux-v6.6/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-v6.6/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.c563 sconfig.ch_count = params_channels(params); in cs35l56_sdw_dai_hw_params()
564 pconfig.ch_mask = GENMASK(sconfig.ch_count - 1, 0); in cs35l56_sdw_dai_hw_params()
566 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-v6.6/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.c287 sconfig.ch_count = ch; in intel_hw_params()
521 int ch_count = 0; in intel_pdi_get_ch_update() local
525 pdi->ch_count = intel_pdi_get_ch_cap(sdw, pdi->num); in intel_pdi_get_ch_update()
526 ch_count += pdi->ch_count; in intel_pdi_get_ch_update()
530 *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.c1083 s_rt->ch_count = stream_config->ch_count; in sdw_slave_rt_config()
1198 m_rt->ch_count = stream_config->ch_count; in sdw_master_rt_config()
1271 stream->params.ch_count += stream_config->ch_count; in sdw_config_stream()
1376 m_rt->ch_count * m_rt->stream->params.bps; in _sdw_prepare_stream()
1654 m_rt->ch_count * m_rt->stream->params.bps; in _sdw_deprepare_stream()
Dcadence_master.h35 int ch_count; member
/Linux-v6.6/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.c285 .ch_count = dw_hdma_v0_core_ch_count,
Ddw-edma-v0-core.c497 .ch_count = dw_edma_v0_core_ch_count,
/Linux-v6.6/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-v6.6/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-v6.6/include/linux/
Dslimbus.h138 unsigned int ch_count; member
/Linux-v6.6/include/linux/soundwire/
Dsdw.h975 unsigned int ch_count; member
1011 unsigned int ch_count; member
/Linux-v6.6/drivers/dma/ti/
Dk3-udma.c5033 int ch_count, ret; in setup_resources() local
5052 ch_count = ud->bchan_cnt + ud->tchan_cnt + ud->rchan_cnt; in setup_resources()
5054 ch_count -= bitmap_weight(ud->bchan_map, ud->bchan_cnt); in setup_resources()
5055 ch_count -= bitmap_weight(ud->tchan_map, ud->tchan_cnt); in setup_resources()
5056 ch_count -= bitmap_weight(ud->rchan_map, ud->rchan_cnt); in setup_resources()
5057 if (!ch_count) in setup_resources()
5060 ud->channels = devm_kcalloc(dev, ch_count, sizeof(*ud->channels), in setup_resources()
5069 ch_count, in setup_resources()
5080 ch_count, in setup_resources()
5091 ch_count, in setup_resources()
[all …]
/Linux-v6.6/Documentation/ABI/stable/
Dsysfs-driver-ib_srp94 What: /sys/class/scsi_host/host<n>/ch_count

12