Home
last modified time | relevance | path

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

12345678910>>...119

/kernel/linux/linux-5.10/net/ethtool/
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 …]
/kernel/linux/linux-5.10/include/linux/platform_data/
Ddma-ep93xx.h10 * M2P channels.
25 /* M2M channels */
36 * function. Note that this is only needed for slave/cyclic channels. For
37 * memcpy channels %NULL data should be passed.
59 * @channels: array of channels which are passed to the driver
60 * @num_channels: number of channels in the array
63 * M2P channels, contract is that even channels are for TX and odd for RX.
64 * There is no requirement for the M2M channels.
67 struct ep93xx_dma_chan_data *channels; member
81 * channel supports given DMA direction. Only M2P channels have such
[all …]
/kernel/linux/linux-5.10/tools/iio/
Diio_generic_buffer.c46 * @channels: the channel info array
47 * @num_channels: number of channels
49 * Has the side effect of filling the channels[i].location values used
52 int size_from_channelarray(struct iio_channel_info *channels, int num_channels) in size_from_channelarray() argument
58 if (bytes % channels[i].bytes == 0) in size_from_channelarray()
59 channels[i].location = bytes; in size_from_channelarray()
61 channels[i].location = bytes - bytes % channels[i].bytes in size_from_channelarray()
62 + channels[i].bytes; in size_from_channelarray()
64 bytes = channels[i].location + channels[i].bytes; in size_from_channelarray()
165 * @channels: information about the channels.
[all …]
/kernel/linux/linux-5.10/Documentation/trace/coresight/
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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/spi/
Dspi-sprd-adi.txt8 ADI controller has 50 channels including 2 software read/write channels and
9 48 hardware channels to access analog chip. For 2 software read/write channels,
10 users should set ADI registers to access analog chip. For hardware channels,
14 triggered by hardware components instead of ADI software channels.
16 Thus we introduce one property named "sprd,hw-channels" to configure hardware
17 channels, the first value specifies the hardware channel id which is used to
22 one system is reading/writing data by ADI software channels, that should be under
24 data by ADI software channels at the same time, or two parallel routine of setting
28 The new version ADI controller supplies multiple master channels for different
45 - sprd,hw-channels: This is an array of channel values up to 49 channels.
[all …]
/kernel/linux/linux-5.10/Documentation/mips/
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 …]
/kernel/linux/linux-5.10/Documentation/ABI/stable/
Dsysfs-bus-vmbus26 Description: The mapping of which primary/sub channels are bound to which
52 What: /sys/bus/vmbus/devices/<UUID>/channels/<N>
59 What: /sys/bus/vmbus/devices/<UUID>/channels/<N>/cpu
66 What: /sys/bus/vmbus/devices/<UUID>/channels/<N>/in_mask
73 What: /sys/bus/vmbus/devices/<UUID>/channels/<N>/latency
78 performance critical channels (storage, network, etc.) that use
82 What: /sys/bus/vmbus/devices/<UUID>/channels/<N>/out_mask
89 What: /sys/bus/vmbus/devices/<UUID>/channels/<N>/pending
94 performance critical channels (storage, network, etc.) that use
98 What: /sys/bus/vmbus/devices/<UUID>/channels/<N>/read_avail
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/adc/
Dst,stm32-adc.yaml11 It has several multiplexed input channels. Conversions can be performed
251 st,adc-channels:
253 List of single-ended channels muxed for this ADC. It can have up to:
254 - 16 channels, numbered from 0 to 15 (for in0..in15) on stm32f4
255 - 20 channels, numbered from 0 to 19 (for in0..in19) on stm32h7 and
259 st,adc-diff-channels:
261 List of differential channels muxed for this ADC. Some channels can
266 Note: At least one of "st,adc-channels" or "st,adc-diff-channels" is
267 required. Both properties can be used together. Some channels can be
269 channels can't be configured both as single-ended and differential.
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/touchscreen/
Dresistive-adc-touch.txt6 The device must be connected to an ADC device that provides channels for
9 - iio-channels: must have at least two channels connected to an ADC device.
10 These should correspond to the channels exposed by the ADC device and should
11 have the right index as the ADC device registers them. These channels
13 - iio-channel-names: must have all the channels' names. Mandatory channels
17 - iio-channels: The third channel named "pressure" is optional and can be
28 io-channels = <&adc 24>, <&adc 25>, <&adc 26>;
/kernel/linux/linux-5.10/drivers/iio/dac/
Dad5686.c97 /* AD5674R/AD5679R have 16 channels and 2 powerdown registers */ in ad5686_write_dac_powerdown()
268 .channels = ad5310r_channels,
274 .channels = ad5311r_channels,
280 .channels = ad5672_channels,
286 .channels = ad5672_channels,
292 .channels = ad5674r_channels,
298 .channels = ad5676_channels,
304 .channels = ad5676_channels,
309 .channels = ad5676_channels,
315 .channels = ad5679r_channels,
[all …]
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 …]
Dltc2632.c28 * @channels: channel spec for the DAC
33 const struct iio_chan_spec *channels; member
216 .channels = ltc2632x12_channels,
221 .channels = ltc2632x10_channels,
226 .channels = ltc2632x8_channels,
231 .channels = ltc2632x12_channels,
236 .channels = ltc2632x10_channels,
241 .channels = ltc2632x8_channels,
246 .channels = ltc2632x12_channels,
251 .channels = ltc2632x10_channels,
[all …]
/kernel/linux/linux-5.10/drivers/hwmon/
Diio_hwmon.c20 * @channels: filled with array of channels from iio
21 * @num_channels: number of channels in channels (saves counting twice)
27 struct iio_channel *channels; member
47 struct iio_channel *chan = &state->channels[sattr->index]; in iio_hwmon_read_val()
72 struct iio_channel *channels; in iio_hwmon_probe() local
76 channels = devm_iio_channel_get_all(dev); in iio_hwmon_probe()
77 if (IS_ERR(channels)) { in iio_hwmon_probe()
78 if (PTR_ERR(channels) == -ENODEV) in iio_hwmon_probe()
80 return PTR_ERR(channels); in iio_hwmon_probe()
87 st->channels = channels; in iio_hwmon_probe()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_afmt.c87 cea_channels.channels.FL = speaker_flags.FL_FR; in speakers_to_channels()
88 cea_channels.channels.FR = speaker_flags.FL_FR; in speakers_to_channels()
89 cea_channels.channels.LFE = speaker_flags.LFE; in speakers_to_channels()
90 cea_channels.channels.FC = speaker_flags.FC; in speakers_to_channels()
96 cea_channels.channels.RL_RC = speaker_flags.RL_RR; in speakers_to_channels()
97 cea_channels.channels.RR = speaker_flags.RL_RR; in speakers_to_channels()
98 cea_channels.channels.RC_RLC_FLC = speaker_flags.RC; in speakers_to_channels()
100 cea_channels.channels.RL_RC = speaker_flags.RC; in speakers_to_channels()
105 cea_channels.channels.RC_RLC_FLC = speaker_flags.FLC_FRC; in speakers_to_channels()
106 cea_channels.channels.RRC_FRC = speaker_flags.FLC_FRC; in speakers_to_channels()
[all …]
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-amd756-s4882.c9 * We select the channels by sending commands to the Philips
13 * module EEPROM) located on channels 1-4, and 0x4c (LM63)
14 * located on multiplexed channels 0 and 5-7. We define one
16 * channels:
17 * CPU0: virtual adapter 1, channels 1 and 0
18 * CPU1: virtual adapter 2, channels 2 and 5
19 * CPU2: virtual adapter 3, channels 3 and 6
20 * CPU3: virtual adapter 4, channels 4 and 7
60 /* We remember the last used channels combination so as to only switch
61 channels when it is really needed. This greatly reduces the SMBus
[all …]
/kernel/linux/linux-5.10/sound/core/oss/
Dpcm_plugin.c64 size = frames * format->channels * width; in snd_pcm_plugin_alloc()
79 for (channel = 0; channel < format->channels; channel++, c++) { in snd_pcm_plugin_alloc()
85 c->area.step = format->channels * width; in snd_pcm_plugin_alloc()
88 if (snd_BUG_ON(size % format->channels)) in snd_pcm_plugin_alloc()
90 size /= format->channels; in snd_pcm_plugin_alloc()
91 for (channel = 0; channel < format->channels; channel++, c++) { in snd_pcm_plugin_alloc()
140 struct snd_pcm_plugin_channel **channels) in snd_pcm_plugin_client_channels() argument
142 *channels = plugin->buf_channels; in snd_pcm_plugin_client_channels()
154 unsigned int channels; in snd_pcm_plugin_build() local
174 channels = src_format->channels; in snd_pcm_plugin_build()
[all …]
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()
/kernel/linux/linux-5.10/arch/arm/mach-ep93xx/
Ddma.c33 * DMA M2P channels.
36 * Memory to Internal Peripheral (M2P) channels (5 transmit + 5 receive).
38 * I2S contains 3 Tx and 3 Rx DMA Channels
39 * AAC contains 3 Tx and 3 Rx DMA Channels
40 * UART1 contains 1 Tx and 1 Rx DMA Channels
41 * UART2 contains 1 Tx and 1 Rx DMA Channels
42 * UART3 contains 1 Tx and 1 Rx DMA Channels
43 * IrDA contains 1 Tx and 1 Rx DMA Channels
61 .channels = ep93xx_dma_m2p_channels,
78 * DMA M2M channels.
[all …]
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-bus-coresight-devices-cti137 What: /sys/bus/coresight/devices/<cti-name>/channels/trigin_attach
143 What: /sys/bus/coresight/devices/<cti-name>/channels/trigin_detach
149 What: /sys/bus/coresight/devices/<cti-name>/channels/trigout_attach
155 What: /sys/bus/coresight/devices/<cti-name>/channels/trigout_detach
161 What: /sys/bus/coresight/devices/<cti-name>/channels/chan_gate_enable
166 channels through the gate (R).
168 What: /sys/bus/coresight/devices/<cti-name>/channels/chan_gate_disable
174 What: /sys/bus/coresight/devices/<cti-name>/channels/chan_set
180 What: /sys/bus/coresight/devices/<cti-name>/channels/chan_clear
186 What: /sys/bus/coresight/devices/<cti-name>/channels/chan_pulse
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl12xx/
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 …]
/kernel/linux/linux-5.10/drivers/reset/sti/
Dreset-syscfg.c38 * @channels: An array of reset channels for this controller.
43 struct syscfg_reset_channel *channels; member
60 ch = &rst->channels[idx]; in syscfg_reset_program_hw()
123 ch = &rst->channels[idx]; in syscfg_reset_status()
151 rc->channels = devm_kcalloc(dev, data->nr_channels, in syscfg_reset_controller_register()
152 sizeof(*rc->channels), GFP_KERNEL); in syscfg_reset_controller_register()
153 if (!rc->channels) in syscfg_reset_controller_register()
164 const char *compatible = data->channels[i].compatible; in syscfg_reset_controller_register()
170 f = devm_regmap_field_alloc(dev, map, data->channels[i].reset); in syscfg_reset_controller_register()
174 rc->channels[i].reset = f; in syscfg_reset_controller_register()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/xgbe/
Dxgbe-ethtool.c684 struct ethtool_channels *channels) in xgbe_get_channels() argument
703 channels->max_combined = combined; in xgbe_get_channels()
704 channels->max_rx = rx ? rx - 1 : 0; in xgbe_get_channels()
705 channels->max_tx = tx ? tx - 1 : 0; in xgbe_get_channels()
715 channels->combined_count = combined; in xgbe_get_channels()
716 channels->rx_count = rx; in xgbe_get_channels()
717 channels->tx_count = tx; in xgbe_get_channels()
721 struct ethtool_channels *channels) in xgbe_print_set_channels_input() argument
724 channels->combined_count, channels->rx_count, in xgbe_print_set_channels_input()
725 channels->tx_count); in xgbe_print_set_channels_input()
[all …]
/kernel/linux/linux-5.10/sound/soc/codecs/
Dhdmi-codec.c64 { .channels = 2,
71 { .channels = 2, /* CA_ID 0x00 */
73 { .channels = 4, /* CA_ID 0x01 */
76 { .channels = 4, /* CA_ID 0x02 */
79 { .channels = 4, /* CA_ID 0x03 */
82 { .channels = 6, /* CA_ID 0x04 */
85 { .channels = 6, /* CA_ID 0x05 */
88 { .channels = 6, /* CA_ID 0x06 */
91 { .channels = 6, /* CA_ID 0x07 */
94 { .channels = 6, /* CA_ID 0x08 */
[all …]
/kernel/linux/linux-5.10/Documentation/driver-api/dmaengine/
Ddmatest.rst10 The test suite works only on the channels that have at least one
64 After the channels are specified, each thread is set as pending. All threads
68 A list of available channels can be found by running the following command::
143 Allocating Channels
146 Channels do not need to be configured prior to starting a test run. Attempting
147 to run the test without configuring the channels will result in testing any
148 channels that are available.
153 dmatest: No channels configured, continue with any
155 Channels are registered using the "channel" parameter. Channels can be requested by their
163 More channels can be added by repeating the example above.
[all …]
/kernel/linux/linux-5.10/drivers/net/ieee802154/
Dfakelb.c141 hw->phy->supported.channels[0] |= 1; in fakelb_add_one()
143 hw->phy->supported.channels[0] |= 0x7fe; in fakelb_add_one()
145 hw->phy->supported.channels[0] |= 0x7FFF800; in fakelb_add_one()
147 hw->phy->supported.channels[1] |= 1; in fakelb_add_one()
149 hw->phy->supported.channels[1] |= 0x7fe; in fakelb_add_one()
151 hw->phy->supported.channels[2] |= 1; in fakelb_add_one()
153 hw->phy->supported.channels[2] |= 0x7fe; in fakelb_add_one()
155 hw->phy->supported.channels[3] |= 0x3fff; in fakelb_add_one()
157 hw->phy->supported.channels[4] |= 1; in fakelb_add_one()
159 hw->phy->supported.channels[4] |= 0x1e; in fakelb_add_one()
[all …]

12345678910>>...119