/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | channels.c | 8 unsigned int mlx5e_channels_get_num(struct mlx5e_channels *chs) in mlx5e_channels_get_num() argument 10 return chs->num; in mlx5e_channels_get_num() 13 static struct mlx5e_channel *mlx5e_channels_get(struct mlx5e_channels *chs, unsigned int ix) in mlx5e_channels_get() argument 15 WARN_ON_ONCE(ix >= mlx5e_channels_get_num(chs)); in mlx5e_channels_get() 16 return chs->c[ix]; in mlx5e_channels_get() 19 bool mlx5e_channels_is_xsk(struct mlx5e_channels *chs, unsigned int ix) in mlx5e_channels_is_xsk() argument 21 struct mlx5e_channel *c = mlx5e_channels_get(chs, ix); in mlx5e_channels_is_xsk() 26 void mlx5e_channels_get_regular_rqn(struct mlx5e_channels *chs, unsigned int ix, u32 *rqn) in mlx5e_channels_get_regular_rqn() argument 28 struct mlx5e_channel *c = mlx5e_channels_get(chs, ix); in mlx5e_channels_get_regular_rqn() 33 void mlx5e_channels_get_xsk_rqn(struct mlx5e_channels *chs, unsigned int ix, u32 *rqn) in mlx5e_channels_get_xsk_rqn() argument [all …]
|
D | qos.c | 13 struct mlx5e_channels *chs; member 38 u16 mlx5e_qid_from_qos(struct mlx5e_channels *chs, u16 qid) in mlx5e_qid_from_qos() argument 47 bool is_ptp = MLX5E_GET_PFLAG(&chs->params, MLX5E_PFLAG_TX_PORT_TS); in mlx5e_qid_from_qos() 49 return (chs->params.num_channels + is_ptp) * mlx5e_get_dcb_num_tc(&chs->params) + qid; in mlx5e_qid_from_qos() 69 int mlx5e_open_qos_sq(struct mlx5e_priv *priv, struct mlx5e_channels *chs, in mlx5e_open_qos_sq() argument 81 params = &chs->params; in mlx5e_open_qos_sq() 83 txq_ix = mlx5e_qid_from_qos(chs, node_qid); in mlx5e_open_qos_sq() 112 c = chs->c[ix]; in mlx5e_open_qos_sq() 150 return mlx5e_open_qos_sq(cb_params->priv, cb_params->chs, node_qid, hw_id); in mlx5e_open_qos_sq_cb_wrapper() 252 void mlx5e_qos_close_all_queues(struct mlx5e_channels *chs) in mlx5e_qos_close_all_queues() argument [all …]
|
D | channels.h | 11 unsigned int mlx5e_channels_get_num(struct mlx5e_channels *chs); 12 bool mlx5e_channels_is_xsk(struct mlx5e_channels *chs, unsigned int ix); 13 void mlx5e_channels_get_regular_rqn(struct mlx5e_channels *chs, unsigned int ix, u32 *rqn); 14 void mlx5e_channels_get_xsk_rqn(struct mlx5e_channels *chs, unsigned int ix, u32 *rqn); 15 bool mlx5e_channels_get_ptp_rqn(struct mlx5e_channels *chs, u32 *rqn);
|
D | qos.h | 21 int mlx5e_open_qos_sq(struct mlx5e_priv *priv, struct mlx5e_channels *chs, 29 int mlx5e_qos_open_queues(struct mlx5e_priv *priv, struct mlx5e_channels *chs); 32 void mlx5e_qos_deactivate_all_queues(struct mlx5e_channels *chs); 34 void mlx5e_qos_close_all_queues(struct mlx5e_channels *chs); 35 int mlx5e_qos_alloc_queues(struct mlx5e_priv *priv, struct mlx5e_channels *chs); 38 u16 mlx5e_qid_from_qos(struct mlx5e_channels *chs, u16 qid);
|
D | rx_res.c | 472 struct mlx5e_channels *chs, in mlx5e_rx_res_channel_activate_direct() argument 497 void mlx5e_rx_res_channels_activate(struct mlx5e_rx_res *res, struct mlx5e_channels *chs) in mlx5e_rx_res_channels_activate() argument 502 nch = mlx5e_channels_get_num(chs); in mlx5e_rx_res_channels_activate() 504 for (ix = 0; ix < chs->num; ix++) { in mlx5e_rx_res_channels_activate() 505 if (mlx5e_channels_is_xsk(chs, ix)) in mlx5e_rx_res_channels_activate() 506 mlx5e_channels_get_xsk_rqn(chs, ix, &res->rss_rqns[ix]); in mlx5e_rx_res_channels_activate() 508 mlx5e_channels_get_regular_rqn(chs, ix, &res->rss_rqns[ix]); in mlx5e_rx_res_channels_activate() 510 res->rss_nch = chs->num; in mlx5e_rx_res_channels_activate() 515 mlx5e_rx_res_channel_activate_direct(res, chs, ix); in mlx5e_rx_res_channels_activate() 522 if (!mlx5e_channels_get_ptp_rqn(chs, &rqn)) in mlx5e_rx_res_channels_activate() [all …]
|
D | rx_res.h | 39 void mlx5e_rx_res_channels_activate(struct mlx5e_rx_res *res, struct mlx5e_channels *chs); 41 void mlx5e_rx_res_xsk_update(struct mlx5e_rx_res *res, struct mlx5e_channels *chs,
|
/Linux-v6.1/block/partitions/ |
D | efi.h | 95 u8 start_head; /* unused by EFI, pt start in CHS */ 96 u8 start_sector; /* unused by EFI, pt start in CHS */ 99 u8 end_head; /* unused by EFI, pt end in CHS */ 100 u8 end_sector; /* unused by EFI, pt end in CHS */ 101 u8 end_track; /* unused by EFI, pt end in CHS */
|
/Linux-v6.1/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-v6.1/sound/pci/hda/ |
D | hda_beep.c | 304 int chs = get_amp_channels(kcontrol); in snd_hda_mixer_amp_switch_get_beep() local 307 if (chs & 1) in snd_hda_mixer_amp_switch_get_beep() 309 if (chs & 2) in snd_hda_mixer_amp_switch_get_beep() 328 u8 chs = get_amp_channels(kcontrol); in snd_hda_mixer_amp_switch_put_beep() local 331 if (chs & 1) { in snd_hda_mixer_amp_switch_put_beep() 335 if (chs & 2) in snd_hda_mixer_amp_switch_put_beep()
|
D | patch_cs8409.c | 462 u8 chs = get_amp_channels(kctrl); in cs42l42_volume_info() local 466 uinfo->count = chs == 3 ? 2 : 1; in cs42l42_volume_info() 489 int chs = get_amp_channels(kctrl); in cs42l42_volume_get() local 495 if (chs & BIT(0)) in cs42l42_volume_get() 497 if (chs & BIT(1)) in cs42l42_volume_get() 501 if (chs & BIT(0)) in cs42l42_volume_get() 512 unsigned int chs, bool mute) in cs42l42_mute() argument 516 if (chs & BIT(0)) in cs42l42_mute() 518 if (chs & BIT(1)) in cs42l42_mute() 521 if (chs & BIT(0)) in cs42l42_mute() [all …]
|
D | hda_codec.c | 1461 u8 chs = get_amp_channels(kcontrol); in snd_hda_mixer_amp_volume_info() local 1466 uinfo->count = chs == 3 ? 2 : 1; in snd_hda_mixer_amp_volume_info() 1524 int chs = get_amp_channels(kcontrol); in snd_hda_mixer_amp_volume_get() local 1530 if (chs & 1) in snd_hda_mixer_amp_volume_get() 1532 if (chs & 2) in snd_hda_mixer_amp_volume_get() 1551 int chs = get_amp_channels(kcontrol); in snd_hda_mixer_amp_volume_put() local 1558 if (chs & 1) { in snd_hda_mixer_amp_volume_put() 1562 if (chs & 2) in snd_hda_mixer_amp_volume_put() 2103 int chs = get_amp_channels(kcontrol); in snd_hda_mixer_amp_switch_info() local 2106 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)
|
/Linux-v6.1/drivers/hwtracing/coresight/ |
D | coresight-stm.c | 85 #define stm_channel_addr(drvdata, ch) (drvdata->chs.base + \ 119 * @chs: the channels accociated to this STM. 136 struct channel_space chs; member 366 addr = drvdata->chs.phys + channel * BYTES_PER_CHANNEL; in stm_mmio_addr() 391 set_bit(channel, drvdata->chs.guaranteed); in stm_generic_set_options() 395 clear_bit(channel, drvdata->chs.guaranteed); in stm_generic_set_options() 428 stm_flags |= test_bit(channel, drvdata->chs.guaranteed) ? in stm_generic_packet() 815 bitmap_clear(drvdata->chs.guaranteed, 0, drvdata->numsp); in stm_init_default_data() 875 drvdata->chs.phys = ch_res.start; in stm_probe() 880 drvdata->chs.base = base; in stm_probe() [all …]
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_main.c | 2510 struct mlx5e_channels *chs) in mlx5e_open_channels() argument 2516 chs->num = chs->params.num_channels; in mlx5e_open_channels() 2518 chs->c = kcalloc(chs->num, sizeof(struct mlx5e_channel *), GFP_KERNEL); in mlx5e_open_channels() 2520 if (!chs->c || !cparam) in mlx5e_open_channels() 2523 err = mlx5e_build_channel_param(priv->mdev, &chs->params, priv->q_counter, cparam); in mlx5e_open_channels() 2527 for (i = 0; i < chs->num; i++) { in mlx5e_open_channels() 2530 if (chs->params.xdp_prog) in mlx5e_open_channels() 2531 xsk_pool = mlx5e_xsk_get_pool(&chs->params, chs->params.xsk, i); in mlx5e_open_channels() 2533 err = mlx5e_open_channel(priv, i, &chs->params, cparam, xsk_pool, &chs->c[i]); in mlx5e_open_channels() 2538 if (MLX5E_GET_PFLAG(&chs->params, MLX5E_PFLAG_TX_PORT_TS) || chs->params.ptp_rx) { in mlx5e_open_channels() [all …]
|
/Linux-v6.1/sound/pci/ctxfi/ |
D | ctpcm.c | 419 int chs; in ct_alsa_pcm_create() local 447 chs = 2; in ct_alsa_pcm_create() 450 chs = 8; in ct_alsa_pcm_create() 466 err = snd_pcm_add_chmap_ctls(pcm, SNDRV_PCM_STREAM_PLAYBACK, map, chs, in ct_alsa_pcm_create()
|
/Linux-v6.1/scripts/ |
D | tags.sh | 77 find_arch_include_sources ${SRCARCH} '*.[chS]' 79 find_arch_include_sources $archinclude '*.[chS]' 81 find_include_sources '*.[chS]' 84 find_sources $arch '*.[chS]' 86 find_other_sources '*.[chS]'
|
/Linux-v6.1/drivers/net/ethernet/ti/ |
D | cpsw_ethtool.c | 597 struct ethtool_channels *chs, in cpsw_set_channels_common() argument 605 ret = cpsw_check_ch_settings(cpsw, chs); in cpsw_set_channels_common() 611 new_pools = (chs->rx_count != cpsw->rx_ch_num) && cpsw->usage_count; in cpsw_set_channels_common() 613 ret = cpsw_update_channels_res(priv, chs->rx_count, 1, rx_handler); in cpsw_set_channels_common() 617 ret = cpsw_update_channels_res(priv, chs->tx_count, 0, rx_handler); in cpsw_set_channels_common()
|
D | am65-cpsw-ethtool.c | 436 struct ethtool_channels *chs) in am65_cpsw_set_channels() argument 440 if (!chs->rx_count || !chs->tx_count) in am65_cpsw_set_channels() 451 return am65_cpsw_nuss_update_tx_chns(common, chs->tx_count); in am65_cpsw_set_channels()
|
/Linux-v6.1/sound/pci/echoaudio/ |
D | echoaudio_dsp.h | 651 __le32 cmd_start; /* Chs. to start mask 0x014 4 */ 652 __le32 cmd_stop; /* Chs. to stop mask 0x018 4 */ 653 __le32 cmd_reset; /* Chs. to reset mask 0x01c 4 */ 654 __le16 audio_format[DSP_MAXPIPES]; /* Chs. audio format 0x020 32*2 */ 656 /* Chs. Physical sglist addrs 0x060 32*8 */
|
/Linux-v6.1/include/linux/ |
D | slimbus.h | 129 * @chs: pointer to list of channel numbers 139 unsigned int *chs; member
|
/Linux-v6.1/sound/pci/ice1712/ |
D | ice1724.c | 691 int i, chs; in snd_vt1724_pcm_hw_params() local 693 chs = params_channels(hw_params); in snd_vt1724_pcm_hw_params() 698 chs = chs / 2 - 1; in snd_vt1724_pcm_hw_params() 699 for (i = 0; i < chs; i++) { in snd_vt1724_pcm_hw_params() 1008 int chs, num_indeps; in snd_vt1724_playback_pro_open() local 1019 for (chs = 0; chs < num_indeps; chs++) { in snd_vt1724_playback_pro_open() 1020 if (ice->pcm_reserved[chs]) in snd_vt1724_playback_pro_open() 1023 chs = (chs + 1) * 2; in snd_vt1724_playback_pro_open() 1024 runtime->hw.channels_max = chs; in snd_vt1724_playback_pro_open() 1025 if (chs > 2) /* channels must be even */ in snd_vt1724_playback_pro_open()
|
/Linux-v6.1/include/sound/ |
D | hda_chmap.h | 54 hda_nid_t cvt_nid, int chs);
|
/Linux-v6.1/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-v6.1/Documentation/devicetree/bindings/iio/adc/ |
D | renesas,rcar-gyroadc.yaml | 69 of the MB88101A connect directly to two CHS lines of the GyroADC,
|
/Linux-v6.1/drivers/iio/adc/ |
D | nau7802.c | 302 * - Channel 1 is value 0 in the CHS register in nau7802_read_raw() 303 * - Channel 2 is value 1 in the CHS register in nau7802_read_raw()
|