Home
last modified time | relevance | path

Searched refs:chs (Results 1 – 23 of 23) sorted by relevance

/Linux-v4.19/sound/hda/
Dhdmi_chmap.c204 hda_nid_t cvt_nid, int chs) in hdmi_set_channel_count() argument
206 if (chs != hdmi_get_channel_count(codec, cvt_nid)) in hdmi_set_channel_count()
208 AC_VERB_SET_CVT_CHAN_COUNT, chs - 1); in hdmi_set_channel_count()
480 static int hdmi_manual_channel_allocation(int chs, unsigned char *map) in hdmi_manual_channel_allocation() argument
484 for (i = 0; i < chs; i++) { in hdmi_manual_channel_allocation()
494 if ((chs == channel_allocations[i].channels || in hdmi_manual_channel_allocation()
506 int chs, unsigned char *map, in hdmi_manual_setup_channel_mapping() argument
513 for (alsa_pos = 0; alsa_pos < chs; alsa_pos++) { in hdmi_manual_setup_channel_mapping()
670 int chs, count = 0; in hdmi_chmap_ctl_tlv() local
687 for (chs = 2; chs <= max_chs; chs++) { in hdmi_chmap_ctl_tlv()
[all …]
/Linux-v4.19/drivers/hwtracing/coresight/
Dcoresight-stm.c84 #define stm_channel_addr(drvdata, ch) (drvdata->chs.base + \
135 struct channel_space chs; member
364 addr = drvdata->chs.phys + channel * BYTES_PER_CHANNEL; in stm_mmio_addr()
389 set_bit(channel, drvdata->chs.guaranteed); in stm_generic_set_options()
393 clear_bit(channel, drvdata->chs.guaranteed); in stm_generic_set_options()
424 flags |= test_bit(channel, drvdata->chs.guaranteed) ? in stm_generic_packet()
763 bitmap_clear(drvdata->chs.guaranteed, 0, drvdata->numsp); in stm_init_default_data()
827 drvdata->chs.phys = ch_res.start; in stm_probe()
832 drvdata->chs.base = base; in stm_probe()
850 drvdata->chs.guaranteed = guaranteed; in stm_probe()
/Linux-v4.19/sound/pci/hda/
Dhda_beep.c320 u8 chs = get_amp_channels(kcontrol); in snd_hda_mixer_amp_switch_put_beep() local
323 if (chs & 1) { in snd_hda_mixer_amp_switch_put_beep()
327 if (chs & 2) in snd_hda_mixer_amp_switch_put_beep()
Dhda_codec.c1396 u8 chs = get_amp_channels(kcontrol); in snd_hda_mixer_amp_volume_info() local
1401 uinfo->count = chs == 3 ? 2 : 1; in snd_hda_mixer_amp_volume_info()
1459 int chs = get_amp_channels(kcontrol); in snd_hda_mixer_amp_volume_get() local
1465 if (chs & 1) in snd_hda_mixer_amp_volume_get()
1467 if (chs & 2) in snd_hda_mixer_amp_volume_get()
1486 int chs = get_amp_channels(kcontrol); in snd_hda_mixer_amp_volume_put() local
1493 if (chs & 1) { in snd_hda_mixer_amp_volume_put()
1497 if (chs & 2) in snd_hda_mixer_amp_volume_put()
2091 int chs = get_amp_channels(kcontrol); in snd_hda_mixer_amp_switch_info() local
2094 uinfo->count = chs == 3 ? 2 : 1; in snd_hda_mixer_amp_switch_info()
[all …]
Dhda_local.h39 #define HDA_COMPOSE_AMP_VAL_OFS(nid,chs,idx,dir,ofs) \ argument
40 ((nid) | ((chs)<<16) | ((dir)<<18) | ((idx)<<19) | ((ofs)<<23))
42 #define HDA_COMPOSE_AMP_VAL(nid,chs,idx,dir) \ argument
43 HDA_COMPOSE_AMP_VAL_OFS(nid, chs, idx, dir, 0)
Dhda_generic.c554 static unsigned int amp_val_replace_channels(unsigned int val, unsigned int chs) in amp_val_replace_channels() argument
557 val |= chs << 16; in amp_val_replace_channels()
1021 unsigned int chs, struct nid_path *path) in add_vol_ctl() argument
1029 val = amp_val_replace_channels(val, chs); in add_vol_ctl()
1037 int chs = 1; /* mono (left only) */ in get_default_ch_nums() local
1041 chs = 3; /* stereo */ in get_default_ch_nums()
1043 return chs; in get_default_ch_nums()
1049 int chs = get_default_ch_nums(codec, path, NID_PATH_VOL_CTL); in add_stereo_vol() local
1050 return add_vol_ctl(codec, pfx, cidx, chs, path); in add_stereo_vol()
1057 unsigned int chs, struct nid_path *path) in add_sw_ctl() argument
[all …]
Dpatch_hdmi.c3016 int chs; in nvhdmi_8ch_7x_pcm_prepare() local
3027 chs = substream->runtime->channels; in nvhdmi_8ch_7x_pcm_prepare()
3062 if (chs == 2) in nvhdmi_8ch_7x_pcm_prepare()
3105 nvhdmi_8ch_7x_set_info_frame_parameters(codec, chs); in nvhdmi_8ch_7x_pcm_prepare()
3225 int ca, int chs, unsigned char *map) in nvhdmi_chmap_validate() argument
3496 int ca, int chs, unsigned char *map) in atihdmi_paired_chmap_validate() argument
3504 for (i = 0; i < chs; ++i) { in atihdmi_paired_chmap_validate()
3518 if (i % 2 == 0 && i + 1 < chs) { in atihdmi_paired_chmap_validate()
Dpatch_ca0132.c3646 int chs = get_amp_channels(kcontrol); in voice_focus_ctl_info() local
3648 uinfo->count = chs == 3 ? 2 : 1; in voice_focus_ctl_info()
3681 int chs = get_amp_channels(kcontrol); in mic_svm_ctl_info() local
3683 uinfo->count = chs == 3 ? 2 : 1; in mic_svm_ctl_info()
3716 int chs = get_amp_channels(kcontrol); in equalizer_ctl_info() local
3718 uinfo->count = chs == 3 ? 2 : 1; in equalizer_ctl_info()
4834 int chs = get_amp_channels(kcontrol); in ca0132_alt_effect_slider_info() local
4837 uinfo->count = chs == 3 ? 2 : 1; in ca0132_alt_effect_slider_info()
/Linux-v4.19/sound/pci/ctxfi/
Dctpcm.c433 int chs; in ct_alsa_pcm_create() local
461 chs = 2; in ct_alsa_pcm_create()
464 chs = 8; in ct_alsa_pcm_create()
480 err = snd_pcm_add_chmap_ctls(pcm, SNDRV_PCM_STREAM_PLAYBACK, map, chs, in ct_alsa_pcm_create()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c2302 struct mlx5e_channels *chs) in mlx5e_open_channels() argument
2308 chs->num = chs->params.num_channels; in mlx5e_open_channels()
2310 chs->c = kcalloc(chs->num, sizeof(struct mlx5e_channel *), GFP_KERNEL); in mlx5e_open_channels()
2312 if (!chs->c || !cparam) in mlx5e_open_channels()
2315 mlx5e_build_channel_param(priv, &chs->params, cparam); in mlx5e_open_channels()
2316 for (i = 0; i < chs->num; i++) { in mlx5e_open_channels()
2317 err = mlx5e_open_channel(priv, i, &chs->params, cparam, &chs->c[i]); in mlx5e_open_channels()
2327 mlx5e_close_channel(chs->c[i]); in mlx5e_open_channels()
2330 kfree(chs->c); in mlx5e_open_channels()
2332 chs->num = 0; in mlx5e_open_channels()
[all …]
Den.h807 struct mlx5e_channels *chs);
808 void mlx5e_close_channels(struct mlx5e_channels *chs);
/Linux-v4.19/include/sound/
Dhda_chmap.h54 hda_nid_t cvt_nid, int chs);
/Linux-v4.19/sound/pci/ice1712/
Dice1724.c721 int i, chs, err; in snd_vt1724_pcm_hw_params() local
723 chs = params_channels(hw_params); in snd_vt1724_pcm_hw_params()
728 chs = chs / 2 - 1; in snd_vt1724_pcm_hw_params()
729 for (i = 0; i < chs; i++) { in snd_vt1724_pcm_hw_params()
1042 int chs, num_indeps; in snd_vt1724_playback_pro_open() local
1053 for (chs = 0; chs < num_indeps; chs++) { in snd_vt1724_playback_pro_open()
1054 if (ice->pcm_reserved[chs]) in snd_vt1724_playback_pro_open()
1057 chs = (chs + 1) * 2; in snd_vt1724_playback_pro_open()
1058 runtime->hw.channels_max = chs; in snd_vt1724_playback_pro_open()
1059 if (chs > 2) /* channels must be even */ in snd_vt1724_playback_pro_open()
/Linux-v4.19/drivers/ide/
Dide.c277 module_param_call(chs, ide_set_disk_chs, NULL, NULL, 0);
278 MODULE_PARM_DESC(chs, "force device as a disk (using CHS)");
/Linux-v4.19/drivers/net/ethernet/toshiba/
Dps3_gelic_wireless.c314 unsigned int i, chs; in gelic_wl_get_range() local
326 for (i = 0, chs = 0; in gelic_wl_get_range()
327 i < NUM_CHANNELS && chs < IW_MAX_FREQUENCIES; i++) in gelic_wl_get_range()
329 range->freq[chs].i = i + 1; in gelic_wl_get_range()
330 range->freq[chs].m = channel_freq[i]; in gelic_wl_get_range()
331 range->freq[chs].e = 6; in gelic_wl_get_range()
332 chs++; in gelic_wl_get_range()
334 range->num_frequency = chs; in gelic_wl_get_range()
335 range->old_num_frequency = chs; in gelic_wl_get_range()
336 range->num_channels = chs; in gelic_wl_get_range()
[all …]
/Linux-v4.19/include/linux/
Dslimbus.h139 unsigned int *chs; member
/Linux-v4.19/Documentation/ide/
Dide.txt85 ide_core.chs=[interface_number.device_number]:cyls,heads,sects
90 ide_core.chs=1.0:1050,32,64 ide_core.cdrom=1.1
103 ide_core.chs=1.0:768,16,32
227 * "chs=[interface_number.device_number]" to force device as a disk (using CHS)
/Linux-v4.19/drivers/media/i2c/
Dov7670.c1292 int chs = 1; in ov7670_sine() local
1297 chs = -1; in ov7670_sine()
1305 return sine*chs; in ov7670_sine()
/Linux-v4.19/drivers/slimbus/
Dstream.c245 port->ch.id = cfg->chs[i]; in slim_stream_prepare()
/Linux-v4.19/sound/pci/
Dintel8x0.c1550 int chs = 2; in snd_intel8x0_pcm1() local
1552 chs = 8; in snd_intel8x0_pcm1()
1554 chs = 6; in snd_intel8x0_pcm1()
1556 chs = 4; in snd_intel8x0_pcm1()
1558 snd_pcm_alt_chmaps, chs, 0, in snd_intel8x0_pcm1()
/Linux-v4.19/drivers/net/ethernet/ti/
Dcpsw.c2890 struct ethtool_channels *chs) in cpsw_set_channels() argument
2897 ret = cpsw_check_ch_settings(cpsw, chs); in cpsw_set_channels()
2902 ret = cpsw_update_channels(priv, chs); in cpsw_set_channels()
/Linux-v4.19/sound/soc/intel/skylake/
Dskl-topology.c234 static void skl_tplg_update_chmap(struct skl_module_fmt *fmt, int chs) in skl_tplg_update_chmap() argument
240 for (i = 0; i < chs; i++) { in skl_tplg_update_chmap()
/Linux-v4.19/Documentation/admin-guide/
Dkernel-parameters.txt1462 .cdrom .chs .ignore_cable are additional options