/linux-6.1.9/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-6.1.9/drivers/interconnect/qcom/ |
D | sc8280xp.c | 21 .channels = 1, 30 .channels = 1, 39 .channels = 1, 48 .channels = 1, 56 .channels = 1, 65 .channels = 1, 74 .channels = 1, 83 .channels = 1, 92 .channels = 1, 101 .channels = 1, [all …]
|
D | sc8180x.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 …]
|
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 …]
|
D | sm8450.c | 22 .channels = 1, 31 .channels = 1, 40 .channels = 1, 49 .channels = 1, 58 .channels = 1, 67 .channels = 1, 76 .channels = 1, 85 .channels = 1, 94 .channels = 1, 103 .channels = 1, [all …]
|
/linux-6.1.9/sound/soc/sof/ |
D | ipc3-pcm.c | 74 pcm.params.channels = params_channels(params); in sof_ipc3_pcm_hw_params() 214 struct snd_interval *channels = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS); in sof_ipc3_pcm_dai_link_fixup() local 261 channels->min = private->dai_config[dai->current_config].ssp.tdm_slots; in sof_ipc3_pcm_dai_link_fixup() 262 channels->max = private->dai_config[dai->current_config].ssp.tdm_slots; in sof_ipc3_pcm_dai_link_fixup() 266 channels->min, channels->max); in sof_ipc3_pcm_dai_link_fixup() 294 channels->min = private->dai_config->alh.channels; in sof_ipc3_pcm_dai_link_fixup() 295 channels->max = private->dai_config->alh.channels; in sof_ipc3_pcm_dai_link_fixup() 300 channels->min = private->dai_config->esai.tdm_slots; in sof_ipc3_pcm_dai_link_fixup() 301 channels->max = private->dai_config->esai.tdm_slots; in sof_ipc3_pcm_dai_link_fixup() 305 channels->min, channels->max); in sof_ipc3_pcm_dai_link_fixup() [all …]
|
/linux-6.1.9/drivers/iio/dac/ |
D | ad5064.c | 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, 493 .channels = ad5064_channels, 499 .channels = ad5065_channels, 505 .channels = ad5629_channels, [all …]
|
D | ad5686.c | 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, 328 .channels = ad5676_channels, [all …]
|
D | ltc2632.c | 34 const struct iio_chan_spec *channels; member 217 .channels = ltc2632x12_channels, 222 .channels = ltc2632x10_channels, 227 .channels = ltc2632x8_channels, 232 .channels = ltc2632x12_channels, 237 .channels = ltc2632x10_channels, 242 .channels = ltc2632x8_channels, 247 .channels = ltc2632x12_channels, 252 .channels = ltc2632x10_channels, 257 .channels = ltc2632x8_channels, [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn31/ |
D | dcn31_apg.c | 81 cea_channels.channels.FL = speaker_flags.FL_FR; in speakers_to_channels() 82 cea_channels.channels.FR = speaker_flags.FL_FR; in speakers_to_channels() 83 cea_channels.channels.LFE = speaker_flags.LFE; in speakers_to_channels() 84 cea_channels.channels.FC = speaker_flags.FC; in speakers_to_channels() 90 cea_channels.channels.RL_RC = speaker_flags.RL_RR; in speakers_to_channels() 91 cea_channels.channels.RR = speaker_flags.RL_RR; in speakers_to_channels() 92 cea_channels.channels.RC_RLC_FLC = speaker_flags.RC; in speakers_to_channels() 94 cea_channels.channels.RL_RC = speaker_flags.RC; in speakers_to_channels() 99 cea_channels.channels.RC_RLC_FLC = speaker_flags.FLC_FRC; in speakers_to_channels() 100 cea_channels.channels.RRC_FRC = speaker_flags.FLC_FRC; in speakers_to_channels() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_afmt.c | 91 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-6.1.9/drivers/net/ieee802154/ |
D | fakelb.c | 141 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 …]
|
/linux-6.1.9/sound/core/oss/ |
D | io.c | 49 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()
|
D | pcm_plugin.c | 65 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 …]
|
/linux-6.1.9/tools/iio/ |
D | iio_generic_buffer.c | 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() 172 static void process_scan(char *data, struct iio_channel_info *channels, in process_scan() argument 178 switch (channels[k].bytes) { in process_scan() 181 print1byte(*(uint8_t *)(data + channels[k].location), in process_scan() 182 &channels[k]); in process_scan() [all …]
|
/linux-6.1.9/arch/arm/boot/dts/ |
D | aspeed-bmc-ampere-mtmitchell.dts | 64 io-channels = <&adc0 0>; 68 channels = "s0", "s1"; 73 io-channels = <&adc0 1>; 77 channels = "s0", "s1"; 82 io-channels = <&adc0 2>; 86 channels = "s0", "s1"; 91 io-channels = <&adc0 3>; 95 channels = "s0", "s1"; 100 io-channels = <&adc0 4>; 104 channels = "s0", "s1"; [all …]
|
/linux-6.1.9/drivers/hwmon/ |
D | iio_hwmon.c | 29 struct iio_channel *channels; member 49 struct iio_channel *chan = &state->channels[sattr->index]; in iio_hwmon_read_val() 74 struct iio_channel *channels; in iio_hwmon_probe() local 78 channels = devm_iio_channel_get_all(dev); in iio_hwmon_probe() 79 if (IS_ERR(channels)) { in iio_hwmon_probe() 80 if (PTR_ERR(channels) == -ENODEV) in iio_hwmon_probe() 82 return PTR_ERR(channels); in iio_hwmon_probe() 89 st->channels = channels; in iio_hwmon_probe() 92 while (st->channels[st->num_channels].indio_dev) in iio_hwmon_probe() 110 ret = iio_get_channel_type(&st->channels[i], &type); in iio_hwmon_probe()
|
/linux-6.1.9/drivers/input/touchscreen/ |
D | colibri-vf50-ts.c | 39 struct iio_channel *channels; member 118 val_x = adc_ts_measure(&vf50_ts->channels[0], in vf50_ts_irq_bh() 124 val_y = adc_ts_measure(&vf50_ts->channels[1], in vf50_ts_irq_bh() 133 val_z1 = adc_ts_measure(&vf50_ts->channels[2], in vf50_ts_irq_bh() 137 val_z2 = adc_ts_measure(&vf50_ts->channels[3], in vf50_ts_irq_bh() 256 struct iio_channel *channels = data; in vf50_ts_channel_release() local 258 iio_channel_release_all(channels); in vf50_ts_channel_release() 264 struct iio_channel *channels; in vf50_ts_probe() local 270 channels = iio_channel_get_all(dev); in vf50_ts_probe() 271 if (IS_ERR(channels)) in vf50_ts_probe() [all …]
|
/linux-6.1.9/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-6.1.9/sound/soc/ |
D | soc-utils-test.c | 15 u8 channels; member 120 unsigned int channels, in test_tdm_params_to_bclk_one() argument 132 hw_param_interval(¶ms, SNDRV_PCM_HW_PARAM_CHANNELS)->min = channels; in test_tdm_params_to_bclk_one() 133 hw_param_interval(¶ms, SNDRV_PCM_HW_PARAM_CHANNELS)->max = channels; in test_tdm_params_to_bclk_one() 139 rate, params_width(¶ms), channels, tdm_width, tdm_slots, slot_multiple, in test_tdm_params_to_bclk_one() 152 tdm_params_to_bclk_cases[i].channels, in test_tdm_params_to_bclk() 165 tdm_params_to_bclk_cases[i].channels, in test_tdm_params_to_bclk() 175 unsigned int channels, in test_snd_soc_params_to_bclk_one() argument 185 hw_param_interval(¶ms, SNDRV_PCM_HW_PARAM_CHANNELS)->min = channels; in test_snd_soc_params_to_bclk_one() 186 hw_param_interval(¶ms, SNDRV_PCM_HW_PARAM_CHANNELS)->max = channels; in test_snd_soc_params_to_bclk_one() [all …]
|
/linux-6.1.9/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-ethtool.c | 691 struct ethtool_channels *channels) in xgbe_get_channels() argument 710 channels->max_combined = combined; in xgbe_get_channels() 711 channels->max_rx = rx ? rx - 1 : 0; in xgbe_get_channels() 712 channels->max_tx = tx ? tx - 1 : 0; in xgbe_get_channels() 722 channels->combined_count = combined; in xgbe_get_channels() 723 channels->rx_count = rx; in xgbe_get_channels() 724 channels->tx_count = tx; in xgbe_get_channels() 728 struct ethtool_channels *channels) in xgbe_print_set_channels_input() argument 731 channels->combined_count, channels->rx_count, in xgbe_print_set_channels_input() 732 channels->tx_count); in xgbe_print_set_channels_input() [all …]
|
/linux-6.1.9/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-6.1.9/sound/soc/codecs/ |
D | hdmi-codec.c | 59 { .channels = 2, 66 { .channels = 2, /* CA_ID 0x00 */ 68 { .channels = 4, /* CA_ID 0x01 */ 71 { .channels = 4, /* CA_ID 0x02 */ 74 { .channels = 4, /* CA_ID 0x03 */ 77 { .channels = 6, /* CA_ID 0x04 */ 80 { .channels = 6, /* CA_ID 0x05 */ 83 { .channels = 6, /* CA_ID 0x06 */ 86 { .channels = 6, /* CA_ID 0x07 */ 89 { .channels = 6, /* CA_ID 0x08 */ [all …]
|
/linux-6.1.9/drivers/reset/sti/ |
D | reset-syscfg.c | 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() 179 f = devm_regmap_field_alloc(dev, map, data->channels[i].ack); in syscfg_reset_controller_register() [all …]
|
/linux-6.1.9/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() 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() 46 req->channels[i]->max_power); in wl1271_get_scan_channels() 48 req->channels[i]->beacon_found); in wl1271_get_scan_channels() [all …]
|