/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
D | setup.c | 198 int mlx5e_xsk_redirect_rqts_to_channels(struct mlx5e_priv *priv, struct mlx5e_channels *chs) in mlx5e_xsk_redirect_rqts_to_channels() argument 205 for (i = 0; i < chs->num; i++) { in mlx5e_xsk_redirect_rqts_to_channels() 206 struct mlx5e_channel *c = chs->c[i]; in mlx5e_xsk_redirect_rqts_to_channels() 220 if (!test_bit(MLX5E_CHANNEL_STATE_XSK, chs->c[i]->state)) in mlx5e_xsk_redirect_rqts_to_channels() 229 void mlx5e_xsk_redirect_rqts_to_drop(struct mlx5e_priv *priv, struct mlx5e_channels *chs) in mlx5e_xsk_redirect_rqts_to_drop() argument 236 for (i = 0; i < chs->num; i++) { in mlx5e_xsk_redirect_rqts_to_drop() 237 if (!test_bit(MLX5E_CHANNEL_STATE_XSK, chs->c[i]->state)) in mlx5e_xsk_redirect_rqts_to_drop()
|
D | setup.h | 22 int mlx5e_xsk_redirect_rqts_to_channels(struct mlx5e_priv *priv, struct mlx5e_channels *chs); 23 void mlx5e_xsk_redirect_rqts_to_drop(struct mlx5e_priv *priv, struct mlx5e_channels *chs);
|
/Linux-v5.4/sound/hda/ |
D | hdmi_chmap.c | 205 hda_nid_t cvt_nid, int chs) in hdmi_set_channel_count() argument 207 if (chs != hdmi_get_channel_count(codec, cvt_nid)) in hdmi_set_channel_count() 209 AC_VERB_SET_CVT_CHAN_COUNT, chs - 1); in hdmi_set_channel_count() 481 static int hdmi_manual_channel_allocation(int chs, unsigned char *map) in hdmi_manual_channel_allocation() argument 485 for (i = 0; i < chs; i++) { in hdmi_manual_channel_allocation() 495 if ((chs == channel_allocations[i].channels || in hdmi_manual_channel_allocation() 507 int chs, unsigned char *map, in hdmi_manual_setup_channel_mapping() argument 514 for (alsa_pos = 0; alsa_pos < chs; alsa_pos++) { in hdmi_manual_setup_channel_mapping() 671 int chs, count = 0; in hdmi_chmap_ctl_tlv() local 688 for (chs = 2; chs <= max_chs; chs++) { in hdmi_chmap_ctl_tlv() [all …]
|
/Linux-v5.4/drivers/hwtracing/coresight/ |
D | coresight-stm.c | 85 #define stm_channel_addr(drvdata, ch) (drvdata->chs.base + \ 136 struct channel_space chs; member 365 addr = drvdata->chs.phys + channel * BYTES_PER_CHANNEL; in stm_mmio_addr() 390 set_bit(channel, drvdata->chs.guaranteed); in stm_generic_set_options() 394 clear_bit(channel, drvdata->chs.guaranteed); in stm_generic_set_options() 425 flags |= test_bit(channel, drvdata->chs.guaranteed) ? in stm_generic_packet() 829 bitmap_clear(drvdata->chs.guaranteed, 0, drvdata->numsp); in stm_init_default_data() 890 drvdata->chs.phys = ch_res.start; in stm_probe() 895 drvdata->chs.base = base; in stm_probe() 909 drvdata->chs.guaranteed = guaranteed; in stm_probe()
|
/Linux-v5.4/sound/pci/hda/ |
D | hda_beep.c | 313 u8 chs = get_amp_channels(kcontrol); in snd_hda_mixer_amp_switch_put_beep() local 316 if (chs & 1) { in snd_hda_mixer_amp_switch_put_beep() 320 if (chs & 2) in snd_hda_mixer_amp_switch_put_beep()
|
D | hda_codec.c | 1400 u8 chs = get_amp_channels(kcontrol); in snd_hda_mixer_amp_volume_info() local 1405 uinfo->count = chs == 3 ? 2 : 1; in snd_hda_mixer_amp_volume_info() 1463 int chs = get_amp_channels(kcontrol); in snd_hda_mixer_amp_volume_get() local 1469 if (chs & 1) in snd_hda_mixer_amp_volume_get() 1471 if (chs & 2) in snd_hda_mixer_amp_volume_get() 1490 int chs = get_amp_channels(kcontrol); in snd_hda_mixer_amp_volume_put() local 1497 if (chs & 1) { in snd_hda_mixer_amp_volume_put() 1501 if (chs & 2) in snd_hda_mixer_amp_volume_put() 2095 int chs = get_amp_channels(kcontrol); in snd_hda_mixer_amp_switch_info() local 2098 uinfo->count = chs == 3 ? 2 : 1; in snd_hda_mixer_amp_switch_info() [all …]
|
D | hda_local.h | 26 #define HDA_COMPOSE_AMP_VAL_OFS(nid,chs,idx,dir,ofs) \ argument 27 ((nid) | ((chs)<<16) | ((dir)<<18) | ((idx)<<19) | ((ofs)<<23)) 29 #define HDA_COMPOSE_AMP_VAL(nid,chs,idx,dir) \ argument 30 HDA_COMPOSE_AMP_VAL_OFS(nid, chs, idx, dir, 0)
|
D | hda_generic.c | 542 static unsigned int amp_val_replace_channels(unsigned int val, unsigned int chs) in amp_val_replace_channels() argument 545 val |= chs << 16; in amp_val_replace_channels() 1009 unsigned int chs, struct nid_path *path) in add_vol_ctl() argument 1017 val = amp_val_replace_channels(val, chs); in add_vol_ctl() 1025 int chs = 1; /* mono (left only) */ in get_default_ch_nums() local 1029 chs = 3; /* stereo */ in get_default_ch_nums() 1031 return chs; in get_default_ch_nums() 1037 int chs = get_default_ch_nums(codec, path, NID_PATH_VOL_CTL); in add_stereo_vol() local 1038 return add_vol_ctl(codec, pfx, cidx, chs, path); in add_stereo_vol() 1045 unsigned int chs, struct nid_path *path) in add_sw_ctl() argument [all …]
|
D | patch_hdmi.c | 3240 int chs; in nvhdmi_8ch_7x_pcm_prepare() local 3251 chs = substream->runtime->channels; in nvhdmi_8ch_7x_pcm_prepare() 3286 if (chs == 2) in nvhdmi_8ch_7x_pcm_prepare() 3329 nvhdmi_8ch_7x_set_info_frame_parameters(codec, chs); in nvhdmi_8ch_7x_pcm_prepare() 3449 int ca, int chs, unsigned char *map) in nvhdmi_chmap_validate() argument 3744 int ca, int chs, unsigned char *map) in atihdmi_paired_chmap_validate() argument 3752 for (i = 0; i < chs; ++i) { in atihdmi_paired_chmap_validate() 3766 if (i % 2 == 0 && i + 1 < chs) { in atihdmi_paired_chmap_validate()
|
D | patch_ca0132.c | 3866 int chs = get_amp_channels(kcontrol); in voice_focus_ctl_info() local 3868 uinfo->count = chs == 3 ? 2 : 1; in voice_focus_ctl_info() 3901 int chs = get_amp_channels(kcontrol); in mic_svm_ctl_info() local 3903 uinfo->count = chs == 3 ? 2 : 1; in mic_svm_ctl_info() 3936 int chs = get_amp_channels(kcontrol); in equalizer_ctl_info() local 3938 uinfo->count = chs == 3 ? 2 : 1; in equalizer_ctl_info() 5211 int chs = get_amp_channels(kcontrol); in ca0132_alt_effect_slider_info() local 5214 uinfo->count = chs == 3 ? 2 : 1; in ca0132_alt_effect_slider_info()
|
/Linux-v5.4/sound/pci/ctxfi/ |
D | ctpcm.c | 429 int chs; in ct_alsa_pcm_create() local 457 chs = 2; in ct_alsa_pcm_create() 460 chs = 8; in ct_alsa_pcm_create() 476 err = snd_pcm_add_chmap_ctls(pcm, SNDRV_PCM_STREAM_PLAYBACK, map, chs, in ct_alsa_pcm_create()
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_main.c | 2328 struct mlx5e_channels *chs) in mlx5e_open_channels() argument 2334 chs->num = chs->params.num_channels; in mlx5e_open_channels() 2336 chs->c = kcalloc(chs->num, sizeof(struct mlx5e_channel *), GFP_KERNEL); in mlx5e_open_channels() 2338 if (!chs->c || !cparam) in mlx5e_open_channels() 2341 mlx5e_build_channel_param(priv, &chs->params, cparam); in mlx5e_open_channels() 2342 for (i = 0; i < chs->num; i++) { in mlx5e_open_channels() 2345 if (chs->params.xdp_prog) in mlx5e_open_channels() 2346 umem = mlx5e_xsk_get_umem(&chs->params, chs->params.xsk, i); in mlx5e_open_channels() 2348 err = mlx5e_open_channel(priv, i, &chs->params, cparam, umem, &chs->c[i]); in mlx5e_open_channels() 2359 mlx5e_close_channel(chs->c[i]); in mlx5e_open_channels() [all …]
|
D | en.h | 1034 struct mlx5e_channels *chs); 1035 void mlx5e_close_channels(struct mlx5e_channels *chs);
|
/Linux-v5.4/drivers/net/ethernet/ti/ |
D | cpsw_ethtool.c | 594 struct ethtool_channels *chs, in cpsw_set_channels_common() argument 602 ret = cpsw_check_ch_settings(cpsw, chs); in cpsw_set_channels_common() 608 new_pools = (chs->rx_count != cpsw->rx_ch_num) && cpsw->usage_count; in cpsw_set_channels_common() 610 ret = cpsw_update_channels_res(priv, chs->rx_count, 1, rx_handler); in cpsw_set_channels_common() 614 ret = cpsw_update_channels_res(priv, chs->tx_count, 0, rx_handler); in cpsw_set_channels_common()
|
D | cpsw_priv.h | 433 struct ethtool_channels *chs,
|
/Linux-v5.4/include/sound/ |
D | hda_chmap.h | 54 hda_nid_t cvt_nid, int chs);
|
/Linux-v5.4/sound/pci/ice1712/ |
D | ice1724.c | 707 int i, chs, err; in snd_vt1724_pcm_hw_params() local 709 chs = params_channels(hw_params); in snd_vt1724_pcm_hw_params() 714 chs = chs / 2 - 1; in snd_vt1724_pcm_hw_params() 715 for (i = 0; i < chs; i++) { in snd_vt1724_pcm_hw_params() 1028 int chs, num_indeps; in snd_vt1724_playback_pro_open() local 1039 for (chs = 0; chs < num_indeps; chs++) { in snd_vt1724_playback_pro_open() 1040 if (ice->pcm_reserved[chs]) in snd_vt1724_playback_pro_open() 1043 chs = (chs + 1) * 2; in snd_vt1724_playback_pro_open() 1044 runtime->hw.channels_max = chs; in snd_vt1724_playback_pro_open() 1045 if (chs > 2) /* channels must be even */ in snd_vt1724_playback_pro_open()
|
/Linux-v5.4/drivers/ide/ |
D | ide.c | 278 module_param_call(chs, ide_set_disk_chs, NULL, NULL, 0); 279 MODULE_PARM_DESC(chs, "force device as a disk (using CHS)");
|
/Linux-v5.4/drivers/net/ethernet/toshiba/ |
D | ps3_gelic_wireless.c | 302 unsigned int i, chs; in gelic_wl_get_range() local 314 for (i = 0, chs = 0; in gelic_wl_get_range() 315 i < NUM_CHANNELS && chs < IW_MAX_FREQUENCIES; i++) in gelic_wl_get_range() 317 range->freq[chs].i = i + 1; in gelic_wl_get_range() 318 range->freq[chs].m = channel_freq[i]; in gelic_wl_get_range() 319 range->freq[chs].e = 6; in gelic_wl_get_range() 320 chs++; in gelic_wl_get_range() 322 range->num_frequency = chs; in gelic_wl_get_range() 323 range->old_num_frequency = chs; in gelic_wl_get_range() 324 range->num_channels = chs; in gelic_wl_get_range() [all …]
|
/Linux-v5.4/include/linux/ |
D | slimbus.h | 139 unsigned int *chs; member
|
/Linux-v5.4/Documentation/ide/ |
D | ide.rst | 86 ide_core.chs=[interface_number.device_number]:cyls,heads,sects 94 ide_core.chs=1.0:1050,32,64 ide_core.cdrom=1.1 109 ide_core.chs=1.0:768,16,32 233 * "chs=[interface_number.device_number]" to force device as a disk (using CHS)
|
/Linux-v5.4/drivers/slimbus/ |
D | stream.c | 245 port->ch.id = cfg->chs[i]; in slim_stream_prepare()
|
/Linux-v5.4/drivers/media/i2c/ |
D | ov7670.c | 1321 int chs = 1; in ov7670_sine() local 1326 chs = -1; in ov7670_sine() 1334 return sine*chs; in ov7670_sine()
|
/Linux-v5.4/sound/pci/ |
D | intel8x0.c | 1497 int chs = 2; in snd_intel8x0_pcm1() local 1499 chs = 8; in snd_intel8x0_pcm1() 1501 chs = 6; in snd_intel8x0_pcm1() 1503 chs = 4; in snd_intel8x0_pcm1() 1505 snd_pcm_alt_chmaps, chs, 0, in snd_intel8x0_pcm1()
|
/Linux-v5.4/sound/soc/codecs/ |
D | wcd9335.c | 1729 cfg->chs = kcalloc(cfg->ch_count, sizeof(unsigned int), GFP_KERNEL); in wcd9335_slim_set_hw_params() 1730 if (!cfg->chs) in wcd9335_slim_set_hw_params() 1735 cfg->chs[i++] = ch->ch_num; in wcd9335_slim_set_hw_params() 1781 kfree(cfg->chs); in wcd9335_slim_set_hw_params() 1782 cfg->chs = NULL; in wcd9335_slim_set_hw_params() 3031 kfree(dai->sconfig.chs); in wcd9335_codec_enable_slim()
|