/Linux-v5.15/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 …]
|
/Linux-v5.15/drivers/interconnect/qcom/ |
D | sc7280.c | 21 .channels = 1, 30 .channels = 1, 39 .channels = 1, 48 .channels = 1, 57 .channels = 1, 66 .channels = 1, 75 .channels = 1, 84 .channels = 1, 93 .channels = 1, 102 .channels = 1, [all …]
|
/Linux-v5.15/tools/iio/ |
D | iio_generic_buffer.c | 48 * @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 int size_from_channelarray(struct iio_channel_info *channels, int num_channels) in size_from_channelarray() argument 60 if (bytes % channels[i].bytes == 0) in size_from_channelarray() 61 channels[i].location = bytes; in size_from_channelarray() 63 channels[i].location = bytes - bytes % channels[i].bytes in size_from_channelarray() 64 + channels[i].bytes; in size_from_channelarray() 66 bytes = channels[i].location + channels[i].bytes; in size_from_channelarray() 167 * @channels: information about the channels. [all …]
|
/Linux-v5.15/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 …]
|
/Linux-v5.15/Documentation/devicetree/bindings/spi/ |
D | sprd,spi-adi.yaml | 21 ADI controller has 50 channels including 2 software read/write channels and 22 48 hardware channels to access analog chip. For 2 software read/write channels, 23 users should set ADI registers to access analog chip. For hardware channels, 27 triggered by hardware components instead of ADI software channels. 29 Thus we introduce one property named "sprd,hw-channels" to configure hardware 30 channels, the first value specifies the hardware channel id which is used to 35 one system is reading/writing data by ADI software channels, that should be under 37 data by ADI software channels at the same time, or two parallel routine of setting 41 The new version ADI controller supplies multiple master channels for different 65 sprd,hw-channels: [all …]
|
/Linux-v5.15/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 …]
|
/Linux-v5.15/Documentation/ABI/stable/ |
D | sysfs-bus-vmbus | 33 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-v5.15/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 …]
|
/Linux-v5.15/drivers/iio/dac/ |
D | ad5686.c | 97 /* AD5674R/AD5679R have 16 channels and 2 powerdown registers */ in ad5686_write_dac_powerdown() 275 .channels = ad5310r_channels, 281 .channels = ad5311r_channels, 287 .channels = ad5338r_channels, 293 .channels = ad5672_channels, 299 .channels = ad5672_channels, 305 .channels = ad5674r_channels, 311 .channels = ad5674r_channels, 317 .channels = ad5676_channels, 323 .channels = ad5676_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 …]
|
D | ltc2632.c | 28 * @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 …]
|
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | rx_res.c | 5 #include "channels.h" 26 } *channels; member 289 res->channels = kvcalloc(res->max_nch, sizeof(*res->channels), GFP_KERNEL); in mlx5e_rx_res_channels_init() 290 if (!res->channels) { in mlx5e_rx_res_channels_init() 296 err = mlx5e_rqt_init_direct(&res->channels[ix].direct_rqt, in mlx5e_rx_res_channels_init() 307 mlx5e_rqt_get_rqtn(&res->channels[ix].direct_rqt), in mlx5e_rx_res_channels_init() 312 err = mlx5e_tir_init(&res->channels[ix].direct_tir, builder, res->mdev, true); in mlx5e_rx_res_channels_init() 326 err = mlx5e_rqt_init_direct(&res->channels[ix].xsk_rqt, in mlx5e_rx_res_channels_init() 337 mlx5e_rqt_get_rqtn(&res->channels[ix].xsk_rqt), in mlx5e_rx_res_channels_init() 342 err = mlx5e_tir_init(&res->channels[ix].xsk_tir, builder, res->mdev, true); in mlx5e_rx_res_channels_init() [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/iio/adc/ |
D | st,stm32-adc.yaml | 11 It has several multiplexed input channels. Conversions can be performed 252 st,adc-channels: 254 List of single-ended channels muxed for this ADC. It can have up to: 255 - 16 channels, numbered from 0 to 15 (for in0..in15) on stm32f4 256 - 20 channels, numbered from 0 to 19 (for in0..in19) on stm32h7 and 260 st,adc-diff-channels: 262 List of differential channels muxed for this ADC. Some channels can 267 Note: At least one of "st,adc-channels" or "st,adc-diff-channels" is 268 required. Both properties can be used together. Some channels can be 270 channels can't be configured both as single-ended and differential. [all …]
|
/Linux-v5.15/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 …]
|
/Linux-v5.15/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 …]
|
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_afmt.c | 88 cea_channels.channels.FL = speaker_flags.FL_FR; in speakers_to_channels() 89 cea_channels.channels.FR = speaker_flags.FL_FR; in speakers_to_channels() 90 cea_channels.channels.LFE = speaker_flags.LFE; in speakers_to_channels() 91 cea_channels.channels.FC = speaker_flags.FC; in speakers_to_channels() 97 cea_channels.channels.RL_RC = speaker_flags.RL_RR; in speakers_to_channels() 98 cea_channels.channels.RR = speaker_flags.RL_RR; in speakers_to_channels() 99 cea_channels.channels.RC_RLC_FLC = speaker_flags.RC; in speakers_to_channels() 101 cea_channels.channels.RL_RC = speaker_flags.RC; in speakers_to_channels() 106 cea_channels.channels.RC_RLC_FLC = speaker_flags.FLC_FRC; in speakers_to_channels() 107 cea_channels.channels.RRC_FRC = speaker_flags.FLC_FRC; in speakers_to_channels() [all …]
|
/Linux-v5.15/sound/core/oss/ |
D | pcm_plugin.c | 65 size = frames * format->channels * width; in snd_pcm_plugin_alloc() 80 for (channel = 0; channel < format->channels; channel++, c++) { in snd_pcm_plugin_alloc() 86 c->area.step = format->channels * width; in snd_pcm_plugin_alloc() 89 if (snd_BUG_ON(size % format->channels)) in snd_pcm_plugin_alloc() 91 size /= format->channels; in snd_pcm_plugin_alloc() 92 for (channel = 0; channel < format->channels; channel++, c++) { in snd_pcm_plugin_alloc() 141 struct snd_pcm_plugin_channel **channels) in snd_pcm_plugin_client_channels() argument 143 *channels = plugin->buf_channels; in snd_pcm_plugin_client_channels() 155 unsigned int channels; in snd_pcm_plugin_build() local 175 channels = src_format->channels; in snd_pcm_plugin_build() [all …]
|
/Linux-v5.15/arch/arm/mach-ep93xx/ |
D | dma.c | 33 * 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 …]
|
/Linux-v5.15/Documentation/ABI/testing/ |
D | sysfs-bus-coresight-devices-cti | 137 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 …]
|
/Linux-v5.15/arch/arm/boot/dts/ |
D | aspeed-bmc-ampere-mtjade.dts | 147 io-channels = <&adc 0>; 151 channels = "s0", "s1"; 156 io-channels = <&adc 1>; 160 channels = "s0", "s1"; 165 io-channels = <&adc 2>; 169 channels = "s0", "s1"; 174 io-channels = <&adc 3>; 178 channels = "s0", "s1"; 183 io-channels = <&adc 4>; 187 channels = "s0", "s1"; [all …]
|
/Linux-v5.15/drivers/net/wireless/ti/wl12xx/ |
D | scan.c | 15 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-v5.15/drivers/reset/sti/ |
D | reset-syscfg.c | 38 * @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 …]
|
/Linux-v5.15/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-ethtool.c | 688 struct ethtool_channels *channels) in xgbe_get_channels() argument 707 channels->max_combined = combined; in xgbe_get_channels() 708 channels->max_rx = rx ? rx - 1 : 0; in xgbe_get_channels() 709 channels->max_tx = tx ? tx - 1 : 0; in xgbe_get_channels() 719 channels->combined_count = combined; in xgbe_get_channels() 720 channels->rx_count = rx; in xgbe_get_channels() 721 channels->tx_count = tx; in xgbe_get_channels() 725 struct ethtool_channels *channels) in xgbe_print_set_channels_input() argument 728 channels->combined_count, channels->rx_count, in xgbe_print_set_channels_input() 729 channels->tx_count); in xgbe_print_set_channels_input() [all …]
|
/Linux-v5.15/sound/soc/codecs/ |
D | hdmi-codec.c | 63 { .channels = 2, 70 { .channels = 2, /* CA_ID 0x00 */ 72 { .channels = 4, /* CA_ID 0x01 */ 75 { .channels = 4, /* CA_ID 0x02 */ 78 { .channels = 4, /* CA_ID 0x03 */ 81 { .channels = 6, /* CA_ID 0x04 */ 84 { .channels = 6, /* CA_ID 0x05 */ 87 { .channels = 6, /* CA_ID 0x06 */ 90 { .channels = 6, /* CA_ID 0x07 */ 93 { .channels = 6, /* CA_ID 0x08 */ [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/iio/multiplexer/ |
D | io-channel-mux.yaml | 16 For each non-empty string in the channels property, an io-channel will be 18 of strings in the channels property, and also matches the mux controller 27 io-channels: 37 channels: 44 - io-channels 47 - channels 64 io-channels = <&adc 0>; 68 channels = "sync", "in", "system-regulator";
|