/openbmc/linux/Documentation/sound/designs/ |
H A D | channel-mapping-api.rst | 23 wrong channels for 5.1 outputs, and you hear suddenly strange sound 25 third/fourth channels while others that C/LFE as 5th/6th channels. 28 positions even with the same number of total channels. However, there 70 for a channel map where all channels are freely swappable and ``_PAIRED`` 71 type is where pair-wise channels are swappable. For example, when you 138 (thus summing left and right channels would result in almost silence). 152 (i.e. hw_params is set), it should return all channels set to 161 all channels of the assigned PCM substream.
|
/openbmc/linux/drivers/media/test-drivers/vidtv/ |
H A D | vidtv_channel.c | 162 const struct vidtv_channel *cur_chnl = m->channels; in vidtv_channel_eit_event_cat_into_new() 207 const struct vidtv_channel *cur_chnl = m->channels; in vidtv_channel_sdt_serv_cat_into_new() 263 const struct vidtv_channel *cur_chnl = m->channels; in vidtv_channel_pat_prog_cat_into_new() 311 vidtv_channel_pmt_match_sections(struct vidtv_channel *channels, in vidtv_channel_pmt_match_sections() argument 319 struct vidtv_channel *cur_chnl = channels; in vidtv_channel_pmt_match_sections() 476 vidtv_channel_pmt_match_sections(m->channels, in vidtv_channel_si_init() 521 m->channels = vidtv_channel_s302m_init(NULL, m->transport_stream_id); in vidtv_channels_init() 523 if (!m->channels) in vidtv_channels_init() 531 struct vidtv_channel *curr = m->channels; in vidtv_channels_destroy()
|
/openbmc/linux/sound/soc/sprd/ |
H A D | sprd-pcm-dma.c | 158 int channels) in sprd_pcm_request_dma_channel() argument 166 if (channels > SPRD_PCM_CHANNEL_MAX) { in sprd_pcm_request_dma_channel() 167 dev_err(dev, "invalid dma channel number:%d\n", channels); in sprd_pcm_request_dma_channel() 171 for (i = 0; i < channels; i++) { in sprd_pcm_request_dma_channel() 197 int channels = params_channels(params); in sprd_pcm_hw_params() local 213 substream, channels); in sprd_pcm_hw_params() 219 dma_private->dma_addr_offset = totsize / channels; in sprd_pcm_hw_params() 227 for (i = 0; i < channels; i++) { in sprd_pcm_hw_params() 252 u32 sg_len = period / channels; in sprd_pcm_hw_params()
|
/openbmc/linux/drivers/iio/adc/ |
H A D | max1027.c | 229 const struct iio_chan_spec *channels; member 236 .channels = max1027_channels, 241 .channels = max1029_channels, 246 .channels = max1031_channels, 251 .channels = max1227_channels, 256 .channels = max1229_channels, 261 .channels = max1231_channels, 563 indio_dev->channels = st->info->channels; in max1027_probe()
|
H A D | ad7280a.c | 169 struct iio_chan_spec *channels; member 652 chan = &st->channels[*cnt]; in ad7280_init_dev_channels() 674 sizeof(*st->channels), GFP_KERNEL); in ad7280_channel_init() 675 if (!st->channels) in ad7280_channel_init() 681 ad7280_total_voltage_channel_init(&st->channels[cnt], cnt, dev); in ad7280_channel_init() 806 unsigned int *channels; in ad7280_event_handler() local 809 channels = kcalloc(st->scan_cnt, sizeof(*channels), GFP_KERNEL); in ad7280_event_handler() 810 if (!channels) in ad7280_event_handler() 813 ret = ad7280_read_all_channels(st, st->scan_cnt, channels); in ad7280_event_handler() 856 kfree(channels); in ad7280_event_handler() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | cs35l32.txt | 29 0 = Left/right channels VMON[11:0], IMON[11:0], VPMON[7:0]. 30 1 = Left/right channels VMON[11:0], IMON[11:0], STATUS. 31 2 = (Default) left/right channels VMON[15:0], IMON [15:0]. 32 3 = Left/right channels VPMON[7:0], STATUS.
|
/openbmc/linux/Documentation/devicetree/bindings/mux/ |
H A D | adi,adg792a.txt | 43 io-channels = <&adc 0>; 48 channels = "sync-1", "", "out"; 69 io-channels = <&adc 0>; 74 channels = "sync-1", "", "out";
|
/openbmc/linux/sound/soc/intel/avs/boards/ |
H A D | max98357a.c | 31 struct snd_interval *rate, *channels; in avs_max98357a_be_fixup() local 35 channels = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in avs_max98357a_be_fixup() 40 channels->min = channels->max = 2; in avs_max98357a_be_fixup()
|
/openbmc/linux/sound/soc/ |
H A D | soc-utils.c | 18 int snd_soc_calc_frame_size(int sample_size, int channels, int tdm_slots) in snd_soc_calc_frame_size() argument 20 return sample_size * channels * tdm_slots; in snd_soc_calc_frame_size() 37 int snd_soc_calc_bclk(int fs, int sample_size, int channels, int tdm_slots) in snd_soc_calc_bclk() argument 39 return fs * snd_soc_calc_frame_size(sample_size, channels, tdm_slots); in snd_soc_calc_bclk()
|
/openbmc/linux/sound/soc/qcom/ |
H A D | sc8280xp.c | 59 struct snd_interval *channels = hw_param_interval(params, in sc8280xp_be_hw_params_fixup() local 63 channels->min = 2; in sc8280xp_be_hw_params_fixup() 64 channels->max = 2; in sc8280xp_be_hw_params_fixup() 70 channels->min = 1; in sc8280xp_be_hw_params_fixup()
|
/openbmc/u-boot/include/ |
H A D | audio_codec.h | 29 int mclk_freq, int bits_per_sample, uint channels); 46 int mclk_freq, int bits_per_sample, uint channels);
|
/openbmc/linux/sound/soc/mediatek/mt8192/ |
H A D | mt8192-dai-tdm.c | 105 static unsigned int get_tdm_ch_fixup(unsigned int channels) in get_tdm_ch_fixup() argument 107 if (channels > 4) in get_tdm_ch_fixup() 109 else if (channels > 2) in get_tdm_ch_fixup() 116 unsigned int channels) in get_tdm_ch_per_sdata() argument 119 return get_tdm_ch_fixup(channels); in get_tdm_ch_per_sdata() 523 unsigned int channels = params_channels(params); in mtk_dai_tdm_hw_params() local 525 get_tdm_ch_per_sdata(tdm_out_mode, channels); in mtk_dai_tdm_hw_params() 550 tdm_id, rate, channels, format, in mtk_dai_tdm_hw_params() 583 switch (channels) { in mtk_dai_tdm_hw_params() 626 channels << HDMI_CH_NUM_SFT); in mtk_dai_tdm_hw_params()
|
/openbmc/u-boot/drivers/sound/ |
H A D | codec-uclass.c | 12 int mclk_freq, int bits_per_sample, uint channels) in audio_codec_set_params() argument 20 channels); in audio_codec_set_params()
|
/openbmc/linux/Documentation/hwmon/ |
H A D | pc87360.rst | 28 - **1**: Forcibly enable internal voltage and temperature channels, 30 - 2: Forcibly enable all voltage and temperature channels, except in9 31 - 3: Forcibly enable all voltage and temperature channels, including in9 37 all temperature channels, because some of them share pins with each other, 130 The first two temperature channels are external. The third one (PC87366 133 The PC87366 has three additional temperature channels, based on 135 channels). For technical reasons, these channels are held by the VLM 140 Note that these three additional channels share their pins with the 141 external thermal diode channels, so you (physically) can't use them all at 145 likely have either channels 1 to 3 (thermal diodes) or 3 to 6 (internal
|
/openbmc/linux/Documentation/devicetree/bindings/iio/dac/ |
H A D | dpot-dac.yaml | 37 io-channels: 51 - io-channels 61 io-channels = <&dpot 0>;
|
/openbmc/ipmbbridge/ |
H A D | README | 6 "channels": [ 22 2. Multiple sub channels with me and ipmb : 25 "channels": [
|
/openbmc/linux/Documentation/devicetree/bindings/iio/adc/ |
H A D | xilinx-xadc.txt | 61 - xnlx,channels: List of external channels that are connected to the ADC 66 The child nodes of this node represent the external channels which are 68 channels will be assumed to be connected. 94 xlnx,channels { 116 xlnx,channels { 133 xlnx,channels {
|
/openbmc/linux/drivers/iio/orientation/ |
H A D | hid-sensor-incl-3d.c | 249 struct iio_chan_spec *channels, in incl_3d_parse_report() argument 262 incl_3d_adjust_channel_bit_mask(&channels[CHANNEL_SCAN_INDEX_X], in incl_3d_parse_report() 272 incl_3d_adjust_channel_bit_mask(&channels[CHANNEL_SCAN_INDEX_Y], in incl_3d_parse_report() 282 incl_3d_adjust_channel_bit_mask(&channels[CHANNEL_SCAN_INDEX_Z], in incl_3d_parse_report() 329 indio_dev->channels = devm_kmemdup(&pdev->dev, incl_3d_channels, in hid_incl_3d_probe() 331 if (!indio_dev->channels) { in hid_incl_3d_probe() 337 (struct iio_chan_spec *)indio_dev->channels, in hid_incl_3d_probe()
|
/openbmc/linux/sound/soc/codecs/ |
H A D | ad193x.c | 165 unsigned int channels; in ad193x_set_tdm_slot() local 169 channels = AD193X_2_CHANNELS; in ad193x_set_tdm_slot() 172 channels = AD193X_4_CHANNELS; in ad193x_set_tdm_slot() 175 channels = AD193X_8_CHANNELS; in ad193x_set_tdm_slot() 178 channels = AD193X_16_CHANNELS; in ad193x_set_tdm_slot() 185 AD193X_DAC_CHAN_MASK, channels << AD193X_DAC_CHAN_SHFT); in ad193x_set_tdm_slot() 189 channels << AD193X_ADC_CHAN_SHFT); in ad193x_set_tdm_slot()
|
/openbmc/linux/Documentation/devicetree/bindings/hwmon/ |
H A D | moortec,mr75203.yaml | 73 moortec,vm-active-channels: 75 Defines the number of channels per VM that are actually used and are 78 Maximum value of each item - number of channels. 84 Defines the channels that use a mr76006 pre-scaler to divide the input 89 For channels that are not listed, no pre-scaler is assumed. 90 Maximum number of items - total number of channels in all VMs. 159 moortec,vm-active-channels = /bits/ 8 <0x10 0x05>;
|
/openbmc/linux/Documentation/devicetree/bindings/remoteproc/ |
H A D | qcom,smd-edge.yaml | 17 In turn, subnodes of the "edges" represent devices tied to SMD channels on 29 - qcom,smd-channels 36 - qcom,smd-channels 80 - qcom,smd-channels 87 - qcom,smd-channels
|
/openbmc/linux/Documentation/devicetree/bindings/input/ |
H A D | adc-joystick.yaml | 24 io-channels: 44 - io-channels 56 For each entry in the io-channels list, one axis subnode with a matching 63 description: Index of an io-channels list entry bound to this axis. 108 io-channels = <&adc INGENIC_ADC_TOUCH_XP>,
|
/openbmc/linux/drivers/iio/temperature/ |
H A D | maxim_thermocouple.c | 96 const struct iio_chan_spec *channels; member 107 .channels = max6675_channels, 113 .channels = max31855_channels, 242 indio_dev->channels = chip->channels; in maxim_thermocouple_probe()
|
/openbmc/linux/Documentation/sound/cards/ |
H A D | hdspm.rst | 21 * number of channels -- depends on transmission mode 23 The number of channels chosen is from 1..Nmax. The reason to 24 use for a lower number of channels is only resource allocation, 25 since unused DMA channels are disabled and less memory is 29 * Single Speed -- 1..64 channels 34 all 64 channels are available for the mixer, so channel count 37 * Double Speed -- 1..32 channels 42 over the MADI, but all 32 channels are available for the mixer, 46 * Quad Speed -- 1..16 channels 51 over the MADI, but all 16 channels are available for the mixer, [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | reporter_tx.c | 182 chs = &priv->channels; in mlx5e_tx_reporter_ptpsq_unhealthy_recover() 395 struct mlx5e_ptp *ptp_ch = priv->channels.ptp; in mlx5e_tx_reporter_diagnose_common_config() 437 struct mlx5e_ptp *ptp_ch = priv->channels.ptp; in mlx5e_tx_reporter_diagnose() 454 for (i = 0; i < priv->channels.num; i++) { in mlx5e_tx_reporter_diagnose() 455 struct mlx5e_channel *c = priv->channels.c[i]; in mlx5e_tx_reporter_diagnose() 457 for (tc = 0; tc < mlx5e_get_dcb_num_tc(&priv->channels.params); tc++) { in mlx5e_tx_reporter_diagnose() 469 for (tc = 0; tc < mlx5e_get_dcb_num_tc(&priv->channels.params); tc++) { in mlx5e_tx_reporter_diagnose() 568 struct mlx5e_ptp *ptp_ch = priv->channels.ptp; in mlx5e_tx_reporter_dump_all_sqs() 593 for (i = 0; i < priv->channels.num; i++) { in mlx5e_tx_reporter_dump_all_sqs() 594 struct mlx5e_channel *c = priv->channels.c[i]; in mlx5e_tx_reporter_dump_all_sqs() [all …]
|