| /kernel/linux/linux-5.10/net/ethtool/ |
| D | channels.c | 14 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/ |
| D | dma-ep93xx.h | 10 * 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-4.19/include/linux/platform_data/ |
| D | dma-ep93xx.h | 10 * 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/ |
| D | iio_generic_buffer.c | 46 * @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-4.19/tools/iio/ |
| D | iio_generic_buffer.c | 50 * @channels: the channel info array 51 * @num_channels: number of channels 53 * Has the side effect of filling the channels[i].location values used 56 int size_from_channelarray(struct iio_channel_info *channels, int num_channels) in size_from_channelarray() argument 62 if (bytes % channels[i].bytes == 0) in size_from_channelarray() 63 channels[i].location = bytes; in size_from_channelarray() 65 channels[i].location = bytes - bytes % channels[i].bytes in size_from_channelarray() 66 + channels[i].bytes; in size_from_channelarray() 68 bytes = channels[i].location + channels[i].bytes; in size_from_channelarray() 169 * @channels: information about the channels. [all …]
|
| /kernel/linux/linux-5.10/Documentation/trace/coresight/ |
| D | coresight-ect.rst | 16 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/ |
| D | spi-sprd-adi.txt | 8 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-4.19/Documentation/devicetree/bindings/spi/ |
| D | spi-sprd-adi.txt | 8 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 40 - sprd,hw-channels: This is an array of channel values up to 49 channels. 57 sprd,hw-channels = <30 0x8c20>;
|
| /kernel/linux/linux-5.10/Documentation/mips/ |
| D | ingenic-tcu.rst | 8 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/ |
| D | sysfs-bus-vmbus | 26 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/ |
| D | st,stm32-adc.yaml | 11 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-4.19/drivers/staging/iio/adc/ |
| D | ad7280a.c | 129 struct iio_chan_spec *channels; member 504 st->channels = kcalloc((st->slave_num + 1) * 12 + 2, in ad7280_channel_init() 505 sizeof(*st->channels), GFP_KERNEL); in ad7280_channel_init() 506 if (!st->channels) in ad7280_channel_init() 513 st->channels[cnt].type = IIO_VOLTAGE; in ad7280_channel_init() 514 st->channels[cnt].differential = 1; in ad7280_channel_init() 515 st->channels[cnt].channel = (dev * 6) + ch; in ad7280_channel_init() 516 st->channels[cnt].channel2 = in ad7280_channel_init() 517 st->channels[cnt].channel + 1; in ad7280_channel_init() 519 st->channels[cnt].type = IIO_TEMP; in ad7280_channel_init() [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/iio/adc/ |
| D | st,stm32-adc.txt | 4 It has several multiplexed input channels. Conversions can be performed 65 - st,adc-channels: List of single-ended channels muxed for this ADC. 66 It can have up to 16 channels on stm32f4 or 20 channels on stm32h7, numbered 68 - st,adc-diff-channels: List of differential channels muxed for this ADC. 69 Depending on part used, some channels can be configured as differential 73 Note: At least one of "st,adc-channels" or "st,adc-diff-channels" is required. 74 Both properties can be used together. Some channels can be used as 75 single-ended and some other ones as differential (mixed). But channels 92 This can be either one value or an array that matches 'st,adc-channels' list, 93 to set sample time resp. for all channels, or independently for each channel. [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/input/touchscreen/ |
| D | resistive-adc-touch.txt | 6 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/Documentation/devicetree/bindings/input/touchscreen/ |
| D | resistive-adc-touch.txt | 6 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-4.19/drivers/iio/dac/ |
| D | ad5686.c | 237 .channels = ad5311r_channels, 243 .channels = ad5672_channels, 249 .channels = ad5672_channels, 255 .channels = ad5676_channels, 261 .channels = ad5676_channels, 266 .channels = ad5676_channels, 272 .channels = ad5691r_channels, 278 .channels = ad5692r_channels, 284 .channels = ad5693_channels, 289 .channels = ad5693_channels, [all …]
|
| D | ad5064.c | 70 * @shared_vref: whether the vref supply is shared between channels 74 * @num_channels: number of channels 81 const struct iio_chan_spec *channels; member 453 .channels = pchannels, \ 462 .channels = ad5024_channels, 468 .channels = ad5025_channels, 474 .channels = ad5044_channels, 480 .channels = ad5045_channels, 486 .channels = ad5064_channels, 492 .channels = ad5064_channels, [all …]
|
| /kernel/linux/linux-5.10/drivers/iio/dac/ |
| D | ad5686.c | 97 /* 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 …]
|
| D | ad5064.c | 69 * @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 …]
|
| /kernel/linux/linux-5.10/drivers/hwmon/ |
| D | iio_hwmon.c | 20 * @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-4.19/drivers/hwmon/ |
| D | iio_hwmon.c | 23 * @channels: filled with array of channels from iio 24 * @num_channels: number of channels in channels (saves counting twice) 30 struct iio_channel *channels; member 51 ret = iio_read_channel_processed(&state->channels[sattr->index], in iio_hwmon_read_val() 67 struct iio_channel *channels; in iio_hwmon_probe() local 75 channels = devm_iio_channel_get_all(dev); in iio_hwmon_probe() 76 if (IS_ERR(channels)) { in iio_hwmon_probe() 77 if (PTR_ERR(channels) == -ENODEV) in iio_hwmon_probe() 79 return PTR_ERR(channels); in iio_hwmon_probe() 86 st->channels = channels; in iio_hwmon_probe() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/ |
| D | dcn30_afmt.c | 87 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/ |
| D | i2c-amd756-s4882.c | 9 * 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/ |
| D | pcm_plugin.c | 64 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 …]
|
| /kernel/linux/linux-4.19/sound/core/oss/ |
| D | pcm_plugin.c | 64 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 …]
|