Home
last modified time | relevance | path

Searched full:channels (Results 1 – 25 of 486) sorted by relevance

12345678910>>...20

/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/sox/sox/
H A DCVE-2022-31650.patch4 Subject: [PATCH] formats+aiff: reject implausibly large number of channels
24 + if (ft->signal.channels >= (0x7f000000 / (ft->encoding.bits_per_sample >> 3)))
26 + lsx_fail_errno(ft, SOX_EOF, "too many channels for AIFF header");
29 …fwriteheader(ft, (uint64_t) 0x7f000000 / ((ft->encoding.bits_per_sample>>3)*ft->signal.channels)));
44 @@ -60,9 +61,14 @@ int lsx_check_read_params(sox_format_t * ft, unsigned channels,
48 - if (channels && ft->signal.channels && ft->signal.channels != channels)
49 + if (channels && ft->signal.channels && ft->signal.channels != channels) {
50 lsx_warn("`%s': overriding number of channels", ft->filename);
51 - else ft->signal.channels = channels;
52 + } else if (channels > SHRT_MAX) {
[all …]
/openbmc/u-boot/doc/device-tree-bindings/adc/
H A Dst,stm32-adc.txt4 It has several multiplexed input channels. Conversions can be performed
66 - st,adc-channels: List of single-ended channels muxed for this ADC.
67 It can have up to 16 channels on stm32f4 or 20 channels on stm32h7, numbered
69 - st,adc-diff-channels: List of differential channels muxed for this ADC.
70 Depending on part used, some channels can be configured as differential
74 Note: At least one of "st,adc-channels" or "st,adc-diff-channels" is required.
75 Both properties can be used together. Some channels can be used as
76 single-ended and some other ones as differential (mixed). But channels
93 This can be either one value or an array that matches 'st,adc-channels' list,
94 to set sample time resp. for all channels, or independently for each channel.
[all …]
/openbmc/u-boot/include/
H A Daudio_codec.h25 * @channels: Number of channels to use (1=mono, 2=stereo)
29 int mclk_freq, int bits_per_sample, uint channels);
42 * @channels: Number of channels to use (1=mono, 2=stereo)
46 int mclk_freq, int bits_per_sample, uint channels);
H A Dadc.h10 /* ADC_CHANNEL() - ADC channel bit mask, to select only required channels */
66 * @channel_mask - bit mask of available channels [0:31]
110 * @channel_mask: bit mask of selected analog channels
135 * channels_data() - get conversion data for the selected channels.
145 * @channel_mask: bit mask of selected analog channels
146 * @channels: returned pointer to array of output data for channels
151 struct adc_channel *channels);
172 * adc_start_channels() - start conversion for given device/channels and exit.
179 * @channel_mask: bit mask of analog channels
195 * adc_channels_data() - get conversion data for the channels selected by mask
[all …]
H A Dmailbox.h27 * will often implement multiple separate mailbox channels, since the hardware
40 * Clients provide storage for channels. The content of the channel structure
69 * client device; each device is assumed to have n mailbox channels associated
71 * mapping of client device channel indices to provider channels may be via
77 * client's list of channels.
87 * client device; each device is assumed to have n mailbox channels associated
89 * mapping of client device channel names to provider channels may be via
95 * list of channels.
/openbmc/openbmc/meta-facebook/recipes-phosphor/ipmi/
H A Dphosphor-ipmi-ipmb_%.bbappend8 channels = []
13 channels.append({
21 data = { "channels" : channels }
24 'ipmbbridge', 'ipmb-channels.json')
/openbmc/u-boot/drivers/adc/
H A DKconfig7 a number or multi-channels selected by a bitmask
19 - 10 analog input channels
28 - 4 analog input channels
38 - 8 analog input channels
47 - 2~6 analog input channels
65 device and associated channels, start/stop conversions)
H A Dadc-uclass.c34 /* For the real ADC hardware, some ADC channels can be inactive. in check_channel()
35 * For example if device has 4 analog channels, and only channels in check_channel()
168 struct adc_channel *channels) in adc_channels_data() argument
183 ret = ops->channels_data(dev, channel_mask, channels); in adc_channels_data()
216 struct adc_channel *channels) in _adc_channels_single_shot() argument
234 channels->id = channel; in _adc_channels_single_shot()
235 channels->data = data; in _adc_channels_single_shot()
236 channels++; in _adc_channels_single_shot()
243 struct adc_channel *channels) in adc_channels_single_shot() argument
256 ret = adc_channels_data(dev, channel_mask, channels); in adc_channels_single_shot()
[all …]
H A Dstm32-adc.c49 #define STM32_ADC_CH_MAX 20 /* max number of channels */
105 /* Only use single ended channels */ in stm32_adc_start_channel()
118 /* Preselect channels */ in stm32_adc_start_channel()
168 /* Retrieve single ended channels listed in device tree */ in stm32_adc_chan_of_init()
169 num_channels = dev_read_size(dev, "st,adc-channels"); in stm32_adc_chan_of_init()
171 dev_err(dev, "can't get st,adc-channels: %d\n", num_channels); in stm32_adc_chan_of_init()
177 dev_err(dev, "too many st,adc-channels: %d\n", num_channels); in stm32_adc_chan_of_init()
181 ret = dev_read_u32_array(dev, "st,adc-channels", chans, num_channels); in stm32_adc_chan_of_init()
183 dev_err(dev, "can't read st,adc-channels: %d\n", ret); in stm32_adc_chan_of_init()
H A Dsandbox.c18 * data[] - channels data
77 struct adc_channel *channels) in sandbox_adc_channels_data() argument
100 channels->data = priv->data[i]; in sandbox_adc_channels_data()
101 channels->id = i; in sandbox_adc_channels_data()
102 channels++; in sandbox_adc_channels_data()
126 /* Deselect all channels */ in sandbox_adc_probe()
/openbmc/openbmc/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/ipmi/
H A Dphosphor-ipmi-ipmb_%.bbappend3 SRC_URI:append:olympus-nuvoton = " file://ipmb-olympus-channels.json"
4 FILES:${PN}:append:olympus-nuvoton = " ${datadir}/ipmbbridge/ipmb-channels.json"
8 install -m 0644 -D ${UNPACKDIR}/ipmb-olympus-channels.json \
9 ${D}${datadir}/ipmbbridge/ipmb-channels.json
/openbmc/u-boot/drivers/dma/
H A DKconfig16 bool "Enable DMA channels support"
19 Enable channels support for DMA. Some DMA controllers have multiple
20 channels which can either transfer data to/from different devices.
27 DMA transfer by simple copying data between channels.
H A Dsandbox-dma-test.c32 struct sandbox_dma_chan channels[SANDBOX_DMA_CH_CNT]; member
60 uc = &ud->channels[dma->id]; in sandbox_dma_of_xlate()
81 uc = &ud->channels[dma->id]; in sandbox_dma_request()
99 uc = &ud->channels[dma->id]; in sandbox_dma_free()
119 uc = &ud->channels[dma->id]; in sandbox_dma_enable()
139 uc = &ud->channels[dma->id]; in sandbox_dma_disable()
164 uc = &ud->channels[dma->id]; in sandbox_dma_send()
194 uc = &ud->channels[dma->id]; in sandbox_dma_receive()
255 pr_err("Number of channels: %u\n", ud->ch_count); in sandbox_dma_probe()
258 struct sandbox_dma_chan *uc = &ud->channels[i]; in sandbox_dma_probe()
/openbmc/openbmc/meta-quanta/meta-s6q/recipes-phosphor/ipmi/
H A Dphosphor-ipmi-ipmb_%.bbappend3 SRC_URI:append:s6q = " file://s6q-ipmb-channels.json"
6 install -m 0644 -D ${UNPACKDIR}/s6q-ipmb-channels.json \
7 ${D}/${datadir}/ipmbbridge/ipmb-channels.json
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/alsa-equal/alsa-equal/
H A D0002-Fix-Eq-CAPS-plugin-name.patch43 channels -- number of channels, the default is 2
52 channels -- number of channels, the default is 2
65 long channels = 2;
78 long channels = 2;
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/freerdp/freerdp/
H A D0001-Fixed-compilation-warnings-in-ainput-channel.patch9 channels/ainput/server/ainput_main.c | 18 ++++++++++++------
12 diff --git a/channels/ainput/server/ainput_main.c b/channels/ainput/server/ainput_main.c
14 --- a/channels/ainput/server/ainput_main.c
15 +++ b/channels/ainput/server/ainput_main.c
/openbmc/qemu/tests/qtest/migration/
H A Dmigration-qmp.c80 QObject *channels, const char *fmt, ...) in migrate_qmp_fail() argument
94 g_assert(!qdict_haskey(args, "channels")); in migrate_qmp_fail()
95 if (channels) { in migrate_qmp_fail()
96 qdict_put_obj(args, "channels", channels); in migrate_qmp_fail()
113 QObject *channels, const char *fmt, ...) in migrate_qmp() argument
126 } else if (!channels) { in migrate_qmp()
131 g_assert(!qdict_haskey(args, "channels")); in migrate_qmp()
132 if (channels) { in migrate_qmp()
133 QList *channel_list = qobject_to(QList, channels); in migrate_qmp()
135 qdict_put_obj(args, "channels", channels); in migrate_qmp()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/libsdl/libsdl-1.2.15/
H A DCVE-2019-7574.patch32 unsigned int c, channels;
45 for ( c=0; c<channels; ++c ) {
51 samplesleft = (IMA_ADPCM_state.wSamplesPerBlock-1)*channels;
53 for ( c=0; c<channels; ++c ) {
56 c, channels, &state[c]);
/openbmc/phosphor-hwmon/
H A Dsysfs.hpp22 /** @brief Return the path to the phandle file matching value in io-channels.
25 * One path is used to find the io-channels file.
28 * The 4 byte phandle value and 4 byte index value is read from io-channels.
31 * @param[in] iochanneldir - Path to file for getting phandle from io-channels
34 * @return Path to phandle file with value matching that in io-channels
/openbmc/u-boot/drivers/sound/
H A Dsandbox.c20 uint channels; member
45 *channelsp = priv->channels; in sandbox_get_codec_params()
85 int bits_per_sample, uint channels) in sandbox_codec_set_params() argument
93 priv->channels = channels; in sandbox_codec_set_params()
129 uc_priv->channels = 2; in sandbox_i2s_probe()
137 uc_priv->channels)) { in sandbox_i2s_probe()
H A Dsound.c11 uint freq, uint channels) in sound_create_square_wave() argument
28 for (j = 0; j < channels; j++) in sound_create_square_wave()
33 for (j = 0; j < channels; j++) in sound_create_square_wave()
/openbmc/u-boot/test/dm/
H A Daudio.c19 uint channels; in dm_test_audio() local
25 &bits_per_sample, &channels); in dm_test_audio()
30 ut_asserteq(5, channels); in dm_test_audio()
/openbmc/u-boot/doc/device-tree-bindings/exynos/
H A Dsound.txt11 - samsung,i2s-channels : nummber of channels, default is 2
23 samsung,i2s-channels = <2>;
/openbmc/ipmbbridge/
H A DREADME.md9 "channels": [
26 2. Multiple sub channels with me and ipmb :
30 "channels": [
/openbmc/qemu/hw/usb/
H A Ddev-audio.c41 static void usb_audio_reinit(USBDevice *dev, unsigned channels);
92 * number of channels, data rates, or in fact completely different
117 #define USBAUDIO_PACKET_SIZE(channels) (USBAUDIO_PACKET_SIZE_BASE * channels) argument
586 uint32_t channels) in streambuf_init() argument
589 buf->size = size - (size % USBAUDIO_PACKET_SIZE(channels)); in streambuf_init()
601 static int streambuf_put(struct streambuf *buf, USBPacket *p, uint32_t channels) in streambuf_put() argument
605 if (free < USBAUDIO_PACKET_SIZE(channels)) { in streambuf_put()
608 if (p->iov.size != USBAUDIO_PACKET_SIZE(channels)) { in streambuf_put()
613 assert(buf->prod % USBAUDIO_PACKET_SIZE(channels) == 0); in streambuf_put()
615 USBAUDIO_PACKET_SIZE(channels)); in streambuf_put()
[all …]

12345678910>>...20