Home
last modified time | relevance | path

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

12345678910>>...122

/linux/net/ethtool/
H A Dchannels.c14 struct ethtool_channels channels; member
38 dev->ethtool_ops->get_channels(dev, &data->channels); in channels_prepare_data()
62 const struct ethtool_channels *channels = &data->channels; in channels_fill_reply() local
64 if ((channels->max_rx && in channels_fill_reply()
66 channels->max_rx) || in channels_fill_reply()
68 channels->rx_count))) || in channels_fill_reply()
69 (channels->max_tx && in channels_fill_reply()
71 channels->max_tx) || in channels_fill_reply()
73 channels->tx_count))) || in channels_fill_reply()
74 (channels->max_other && in channels_fill_reply()
[all …]
/linux/drivers/interconnect/qcom/
H A Dsa8775p.c214 .channels = 1,
222 .channels = 1,
230 .channels = 1,
238 .channels = 1,
246 .channels = 1,
254 .channels = 1,
262 .channels = 1,
270 .channels = 1,
278 .channels = 1,
286 .channels = 1,
[all …]
H A Dsm8650.c38 .channels = 1,
56 .channels = 1,
66 .channels = 1,
83 .channels = 1,
101 .channels = 1,
119 .channels = 1,
137 .channels = 1,
155 .channels = 1,
173 .channels = 1,
191 .channels = 1,
[all …]
/linux/Documentation/trace/coresight/
H A Dcoresight-ect.rst16 devices via numbered channels, in order to propagate events between devices.
23 0 U 0 out_trigs : : Channels ***** :::::::
31 channels. When an input trigger becomes active, the attached channel will
75 channels ctmid enable nr_trigger_cons mgmt power powered regs
89 * ``channels``: Contains the channel API - CTI main programming interface.
130 Channels API Directory
133 This provides an easy way to attach triggers to channels, without needing
139 >$ ls ./cti_sys0/channels/
155 >$ echo 0 1 > ./cti_sys0/channels/trigout_attach
156 >$ echo 0 > ./cti_sys0/channels/chan_set
[all …]
/linux/tools/iio/
H A Diio_generic_buffer.c48 * @channels: the channel info array
49 * @num_channels: number of channels
51 * Has the side effect of filling the channels[i].location values used
54 static unsigned int size_from_channelarray(struct iio_channel_info *channels, int num_channels) in size_from_channelarray() argument
61 if (channels[i].bytes > max) in size_from_channelarray()
62 max = channels[i].bytes; in size_from_channelarray()
63 if (bytes % channels[i].bytes == 0) in size_from_channelarray()
64 channels[i].location = bytes; in size_from_channelarray()
66 channels[i].location = bytes - bytes % channels[i].bytes in size_from_channelarray()
67 + channels[i].bytes; in size_from_channelarray()
[all …]
/linux/drivers/iio/dac/
H A Dad5686.c97 /* AD5674R/AD5679R have 16 channels and 2 powerdown registers */ in ad5686_write_dac_powerdown()
276 .channels = ad5310r_channels,
282 .channels = ad5311r_channels,
288 .channels = ad5337r_channels,
294 .channels = ad5338r_channels,
300 .channels = ad5672_channels,
306 .channels = ad5672_channels,
312 .channels = ad5674r_channels,
318 .channels = ad5674r_channels,
324 .channels = ad5676_channels,
[all …]
H A Dad5064.c69 * @shared_vref: whether the vref supply is shared between channels
72 * @channels: channel specification
73 * @num_channels: number of channels
80 const struct iio_chan_spec *channels; member
454 .channels = pchannels, \
463 .channels = ad5024_channels,
469 .channels = ad5025_channels,
475 .channels = ad5044_channels,
481 .channels = ad5045_channels,
487 .channels = ad5064_channels,
[all …]
H A Dltc2632.c29 * @channels: channel spec for the DAC
34 const struct iio_chan_spec *channels; member
215 .channels = ltc2632x12_channels,
220 .channels = ltc2632x10_channels,
225 .channels = ltc2632x8_channels,
230 .channels = ltc2632x12_channels,
235 .channels = ltc2632x10_channels,
240 .channels = ltc2632x8_channels,
245 .channels = ltc2632x12_channels,
250 .channels = ltc2632x10_channels,
[all …]
/linux/Documentation/devicetree/bindings/spi/
H A Dsprd,spi-adi.yaml20 ADI controller has 50 channels including 2 software read/write channels and
21 48 hardware channels to access analog chip. For 2 software read/write channels,
22 users should set ADI registers to access analog chip. For hardware channels,
26 triggered by hardware components instead of ADI software channels.
28 Thus we introduce one property named "sprd,hw-channels" to configure hardware
29 channels, the first value specifies the hardware channel id which is used to
34 one system is reading/writing data by ADI software channels, that should be under
36 data by ADI software channels at the same time, or two parallel routine of setting
40 The new version ADI controller supplies multiple master channels for different
64 sprd,hw-channels:
[all …]
/linux/Documentation/ABI/stable/
H A Dsysfs-bus-vmbus33 Description: The mapping of which primary/sub channels are bound to which
59 What: /sys/bus/vmbus/devices/<UUID>/channels/<N>
66 What: /sys/bus/vmbus/devices/<UUID>/channels/<N>/cpu
73 What: /sys/bus/vmbus/devices/<UUID>/channels/<N>/in_mask
80 What: /sys/bus/vmbus/devices/<UUID>/channels/<N>/latency
85 performance critical channels (storage, network, etc.) that use
89 What: /sys/bus/vmbus/devices/<UUID>/channels/<N>/out_mask
96 What: /sys/bus/vmbus/devices/<UUID>/channels/<N>/pending
101 performance critical channels (storage, network, etc.) that use
105 What: /sys/bus/vmbus/devices/<UUID>/channels/<N>/read_avail
[all …]
/linux/Documentation/arch/mips/
H A Dingenic-tcu.rst8 hardware block. It features up to eight channels, that can be used as
11 - JZ4725B, JZ4750, JZ4755 only have six TCU channels. The other SoCs all
12 have eight channels.
18 - Each one of the TCU channels has its own clock, which can be reparented to three
28 - mode TCU1: channels cannot work in sleep mode, but are easier to
30 - mode TCU2: channels can work in sleep mode, but the operation is a bit
31 more complicated than with TCU1 channels.
35 - On the oldest SoCs (up to JZ4740), all of the eight channels operate in
38 - On newest SoCs (JZ4750 and above), channels 1-2 operate as TCU2, the
41 - Each channel can generate an interrupt. Some channels share an interrupt
[all …]
/linux/drivers/hwmon/
H A Diio_hwmon.c22 * @channels: filled with array of channels from iio
23 * @num_channels: number of channels in channels (saves counting twice)
29 struct iio_channel *channels; member
42 struct iio_channel *chan = &state->channels[sattr->index]; in iio_hwmon_read_label()
60 struct iio_channel *chan = &state->channels[sattr->index]; in iio_hwmon_read_val()
86 struct iio_channel *channels; in iio_hwmon_probe() local
91 channels = devm_iio_channel_get_all(dev); in iio_hwmon_probe()
92 if (IS_ERR(channels)) { in iio_hwmon_probe()
93 ret = PTR_ERR(channels); in iio_hwmon_probe()
97 "Failed to get channels\n"); in iio_hwmon_probe()
[all …]
/linux/sound/core/oss/
H A Dpcm_plugin.c65 size = array3_size(frames, format->channels, width); in snd_pcm_plugin_alloc()
83 for (channel = 0; channel < format->channels; channel++, c++) { in snd_pcm_plugin_alloc()
89 c->area.step = format->channels * width; in snd_pcm_plugin_alloc()
92 if (snd_BUG_ON(size % format->channels)) in snd_pcm_plugin_alloc()
94 size /= format->channels; in snd_pcm_plugin_alloc()
95 for (channel = 0; channel < format->channels; channel++, c++) { in snd_pcm_plugin_alloc()
144 struct snd_pcm_plugin_channel **channels) in snd_pcm_plugin_client_channels() argument
146 *channels = plugin->buf_channels; in snd_pcm_plugin_client_channels()
158 unsigned int channels; in snd_pcm_plugin_build() local
178 channels = src_format->channels; in snd_pcm_plugin_build()
[all …]
H A Dio.c49 int channel, channels = plugin->dst_format.channels; in io_playback_transfer() local
53 for (channel = 0; channel < channels; channel++) { in io_playback_transfer()
75 int channel, channels = plugin->dst_format.channels; in io_capture_transfer() local
79 for (channel = 0; channel < channels; channel++) { in io_capture_transfer()
92 struct snd_pcm_plugin_channel **channels) in io_src_channels() argument
100 *channels = v; in io_src_channels()
102 for (channel = 0; channel < plugin->src_format.channels; ++channel, ++v) in io_src_channels()
123 format.channels = params_channels(params); in snd_pcm_plugin_build_io()
126 sizeof(void *) * format.channels, in snd_pcm_plugin_build_io()
/linux/Documentation/devicetree/bindings/iio/adc/
H A Dst,stm32-adc.yaml11 It has several multiplexed input channels. Conversions can be performed
292 st,adc-channels:
294 List of single-ended channels muxed for this ADC. It can have up to:
295 - 16 channels, numbered from 0 to 15 (for in0..in15) on stm32f4
296 - 19 channels, numbered from 0 to 18 (for in0..in18) on stm32mp13.
297 - 20 channels, numbered from 0 to 19 (for in0..in19) on stm32h7 and
302 st,adc-diff-channels:
304 List of differential channels muxed for this ADC. Some channels can
309 Note: At least one of "st,adc-channels" or "st,adc-diff-channels" is
312 Both properties can be used together. Some channels can be
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_afmt.c91 cea_channels.channels.FL = speaker_flags.FL_FR; in speakers_to_channels()
92 cea_channels.channels.FR = speaker_flags.FL_FR; in speakers_to_channels()
93 cea_channels.channels.LFE = speaker_flags.LFE; in speakers_to_channels()
94 cea_channels.channels.FC = speaker_flags.FC; in speakers_to_channels()
100 cea_channels.channels.RL_RC = speaker_flags.RL_RR; in speakers_to_channels()
101 cea_channels.channels.RR = speaker_flags.RL_RR; in speakers_to_channels()
102 cea_channels.channels.RC_RLC_FLC = speaker_flags.RC; in speakers_to_channels()
104 cea_channels.channels.RL_RC = speaker_flags.RC; in speakers_to_channels()
109 cea_channels.channels.RC_RLC_FLC = speaker_flags.FLC_FRC; in speakers_to_channels()
110 cea_channels.channels.RRC_FRC = speaker_flags.FLC_FRC; in speakers_to_channels()
[all …]
/linux/drivers/net/wireless/ti/wl12xx/
H A Dscan.c15 struct basic_scan_channel_params *channels, in wl1271_get_scan_channels() argument
25 flags = req->channels[i]->flags; in wl1271_get_scan_channels()
29 (req->channels[i]->band == band) && in wl1271_get_scan_channels()
32 * channels, even if not marked as such. in wl1271_get_scan_channels()
33 * In active scans, we only scan channels not in wl1271_get_scan_channels()
38 req->channels[i]->band, in wl1271_get_scan_channels()
39 req->channels[i]->center_freq); in wl1271_get_scan_channels()
41 req->channels[i]->hw_value, in wl1271_get_scan_channels()
42 req->channels[i]->flags); in wl1271_get_scan_channels()
45 req->channels[i]->max_antenna_gain, in wl1271_get_scan_channels()
[all …]
/linux/drivers/reset/sti/
H A Dreset-syscfg.c39 * @channels: An array of reset channels for this controller.
44 struct syscfg_reset_channel *channels; member
61 ch = &rst->channels[idx]; in syscfg_reset_program_hw()
114 ch = &rst->channels[idx]; in syscfg_reset_status()
142 rc->channels = devm_kcalloc(dev, data->nr_channels, in syscfg_reset_controller_register()
143 sizeof(*rc->channels), GFP_KERNEL); in syscfg_reset_controller_register()
144 if (!rc->channels) in syscfg_reset_controller_register()
155 const char *compatible = data->channels[i].compatible; in syscfg_reset_controller_register()
161 f = devm_regmap_field_alloc(dev, map, data->channels[i].reset); in syscfg_reset_controller_register()
165 rc->channels[i].reset = f; in syscfg_reset_controller_register()
[all …]
/linux/sound/usb/
H A Dquirks-table.h132 .channels = 2,
171 .channels = 2,
454 .channels = 4,
469 .channels = 2,
664 * channels) at the rate indicated on the front switch, including
779 .channels = 2,
794 .channels = 2,
1225 .channels = 10,
1241 .channels = 12,
1276 .channels = 4,
[all …]
/linux/Documentation/driver-api/dmaengine/
H A Ddmatest.rst16 test multiple channels at the same time, and it can start multiple threads
20 The test suite works only on the channels that have at least one
74 After the channels are specified, each thread is set as pending. All threads
78 A list of available channels can be found by running the following command::
153 Allocating Channels
156 Channels do not need to be configured prior to starting a test run. Attempting
157 to run the test without configuring the channels will result in testing any
158 channels that are available.
163 dmatest: No channels configured, continue with any
165 Channels are registered using the "channel" parameter. Channels can be requested by their
[all …]
/linux/sound/soc/codecs/
H A Dhdmi-codec.c60 { .channels = 2,
67 { .channels = 2, /* CA_ID 0x00 */
69 { .channels = 4, /* CA_ID 0x01 */
72 { .channels = 4, /* CA_ID 0x02 */
75 { .channels = 4, /* CA_ID 0x03 */
78 { .channels = 6, /* CA_ID 0x04 */
81 { .channels = 6, /* CA_ID 0x05 */
84 { .channels = 6, /* CA_ID 0x06 */
87 { .channels = 6, /* CA_ID 0x07 */
90 { .channels = 6, /* CA_ID 0x08 */
[all …]
/linux/drivers/iio/adc/
H A Dad7124.c180 struct ad7124_channel *channels; member
277 if (odr_sel_bits != st->channels[channel].cfg.odr_sel_bits) in ad7124_set_channel_odr()
278 st->channels[channel].cfg.live = false; in ad7124_set_channel_odr()
281 st->channels[channel].cfg.odr = DIV_ROUND_CLOSEST(fclk, odr_sel_bits * 32); in ad7124_set_channel_odr()
282 st->channels[channel].cfg.odr_sel_bits = odr_sel_bits; in ad7124_set_channel_odr()
290 fadc = st->channels[channel].cfg.odr; in ad7124_get_3db_filter_freq()
292 switch (st->channels[channel].cfg.filter_type) { in ad7124_get_3db_filter_freq()
328 cfg_aux = &st->channels[i].cfg; in ad7124_find_similar_live_cfg()
443 cfg = &st->channels[i].cfg; in ad7124_pop_config()
488 struct ad7124_channel_config *cfg = &st->channels[address].cfg; in ad7124_prepare_read()
[all …]
/linux/sound/drivers/
H A Dpcmtest.c19 * - Support up to 4 channels
22 * When driver works in the capture mode with multiple channels, it duplicates the looped
23 * pattern to each separate channel. For example, if we have 2 channels, format = U8, interleaved
155 static inline size_t buf_pos_n(struct pcmtst_buf_iter *v_iter, unsigned int channels, in buf_pos_n() argument
158 return v_iter->buf_pos / channels + v_iter->chan_block * chan_num; in buf_pos_n()
166 static inline size_t ch_pos_i(size_t b_total, unsigned int channels, unsigned int b_sample) in ch_pos_i() argument
168 return b_total / channels / b_sample * b_sample + (b_total % b_sample); in ch_pos_i()
181 ch_num = (v_iter->total_bytes / v_iter->sample_bytes) % runtime->channels; in check_buf_block_i()
183 runtime->channels, in check_buf_block_i()
197 unsigned int channels = runtime->channels; in check_buf_block_ni() local
[all …]
/linux/tools/testing/selftests/alsa/
H A Dpcm-test.conf6 channels 1
15 channels 2
24 channels 2
33 channels 2
42 channels 2
51 channels 2
60 channels 2
/linux/Documentation/trace/
H A Dstm.rst11 these masters and channels are statically allocated to certain
24 48 to 63 and channels 0 to 127.
28 identifiers to ranges of masters and channels. If these rules (policy)
33 have a name (string identifier) and a range of masters and channels
41 channels masters
44 $ cat /config/stp-policy/dummy_stm.my-policy/user/channels
48 masters 48 through 63 and channel allocation pool has channels 0
78 contiguous range of master/channels from the beginning of the device's
85 mmu) will usually contain multiple channels' mmios, so the user will
86 need to allocate that many channels to themselves (via the
[all …]

12345678910>>...122