Home
last modified time | relevance | path

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

/linux-4.4.14/sound/pci/hda/
Dhda_beep.c333 u8 chs = get_amp_channels(kcontrol); in snd_hda_mixer_amp_switch_put_beep() local
336 if (chs & 1) { in snd_hda_mixer_amp_switch_put_beep()
340 if (chs & 2) in snd_hda_mixer_amp_switch_put_beep()
Dpatch_hdmi.c547 hda_nid_t cvt_nid, int chs) in hdmi_set_channel_count() argument
549 if (chs != hdmi_get_channel_count(codec, cvt_nid)) in hdmi_set_channel_count()
551 AC_VERB_SET_CVT_CHAN_COUNT, chs - 1); in hdmi_set_channel_count()
851 static int hdmi_manual_channel_allocation(int chs, unsigned char *map) in hdmi_manual_channel_allocation() argument
855 for (i = 0; i < chs; i++) { in hdmi_manual_channel_allocation()
864 if ((chs == channel_allocations[i].channels || in hdmi_manual_channel_allocation()
876 int chs, unsigned char *map, in hdmi_manual_setup_channel_mapping() argument
884 for (alsa_pos = 0; alsa_pos < chs; alsa_pos++) { in hdmi_manual_setup_channel_mapping()
1963 int chs, count = 0; in hdmi_chmap_ctl_tlv() local
1971 for (chs = 2; chs <= spec->channels_max; chs++) { in hdmi_chmap_ctl_tlv()
[all …]
Dhda_codec.c1305 u8 chs = get_amp_channels(kcontrol); in snd_hda_mixer_amp_volume_info() local
1310 uinfo->count = chs == 3 ? 2 : 1; in snd_hda_mixer_amp_volume_info()
1368 int chs = get_amp_channels(kcontrol); in snd_hda_mixer_amp_volume_get() local
1374 if (chs & 1) in snd_hda_mixer_amp_volume_get()
1376 if (chs & 2) in snd_hda_mixer_amp_volume_get()
1395 int chs = get_amp_channels(kcontrol); in snd_hda_mixer_amp_volume_put() local
1402 if (chs & 1) { in snd_hda_mixer_amp_volume_put()
1406 if (chs & 2) in snd_hda_mixer_amp_volume_put()
1980 int chs = get_amp_channels(kcontrol); in snd_hda_mixer_amp_switch_info() local
1983 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.c568 static unsigned int amp_val_replace_channels(unsigned int val, unsigned int chs) in amp_val_replace_channels() argument
571 val |= chs << 16; in amp_val_replace_channels()
1031 unsigned int chs, struct nid_path *path) in add_vol_ctl() argument
1039 val = amp_val_replace_channels(val, chs); in add_vol_ctl()
1047 int chs = 1; /* mono (left only) */ in get_default_ch_nums() local
1051 chs = 3; /* stereo */ in get_default_ch_nums()
1053 return chs; in get_default_ch_nums()
1059 int chs = get_default_ch_nums(codec, path, NID_PATH_VOL_CTL); in add_stereo_vol() local
1060 return add_vol_ctl(codec, pfx, cidx, chs, path); in add_stereo_vol()
1067 unsigned int chs, struct nid_path *path) in add_sw_ctl() argument
[all …]
Dpatch_ca0132.c2964 int chs = get_amp_channels(kcontrol); in voice_focus_ctl_info() local
2966 uinfo->count = chs == 3 ? 2 : 1; in voice_focus_ctl_info()
2999 int chs = get_amp_channels(kcontrol); in mic_svm_ctl_info() local
3001 uinfo->count = chs == 3 ? 2 : 1; in mic_svm_ctl_info()
3034 int chs = get_amp_channels(kcontrol); in equalizer_ctl_info() local
3036 uinfo->count = chs == 3 ? 2 : 1; in equalizer_ctl_info()
/linux-4.4.14/sound/pci/ctxfi/
Dctpcm.c431 int chs; in ct_alsa_pcm_create() local
459 chs = 2; in ct_alsa_pcm_create()
462 chs = 8; in ct_alsa_pcm_create()
478 err = snd_pcm_add_chmap_ctls(pcm, SNDRV_PCM_STREAM_PLAYBACK, map, chs, in ct_alsa_pcm_create()
/linux-4.4.14/sound/pci/ice1712/
Dice1724.c723 int i, chs, err; in snd_vt1724_pcm_hw_params() local
725 chs = params_channels(hw_params); in snd_vt1724_pcm_hw_params()
730 chs = chs / 2 - 1; in snd_vt1724_pcm_hw_params()
731 for (i = 0; i < chs; i++) { in snd_vt1724_pcm_hw_params()
1044 int chs, num_indeps; in snd_vt1724_playback_pro_open() local
1055 for (chs = 0; chs < num_indeps; chs++) { in snd_vt1724_playback_pro_open()
1056 if (ice->pcm_reserved[chs]) in snd_vt1724_playback_pro_open()
1059 chs = (chs + 1) * 2; in snd_vt1724_playback_pro_open()
1060 runtime->hw.channels_max = chs; in snd_vt1724_playback_pro_open()
1061 if (chs > 2) /* channels must be even */ in snd_vt1724_playback_pro_open()
/linux-4.4.14/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-4.4.14/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-4.4.14/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-4.4.14/drivers/media/i2c/
Dov7670.c1210 int chs = 1; in ov7670_sine() local
1215 chs = -1; in ov7670_sine()
1223 return sine*chs; in ov7670_sine()
/linux-4.4.14/sound/pci/
Dintel8x0.c1554 int chs = 2; in snd_intel8x0_pcm1() local
1556 chs = 8; in snd_intel8x0_pcm1()
1558 chs = 6; in snd_intel8x0_pcm1()
1560 chs = 4; in snd_intel8x0_pcm1()
1562 snd_pcm_alt_chmaps, chs, 0, in snd_intel8x0_pcm1()
/linux-4.4.14/Documentation/
Dkernel-parameters.txt1411 .cdrom .chs .ignore_cable are additional options