/Linux-v5.4/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 | 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, 321 .channels = ad5691r_channels, [all …]
|
/Linux-v5.4/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-v5.4/tools/iio/ |
D | iio_generic_buffer.c | 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() 171 struct iio_channel_info *channels, in process_scan() argument 177 switch (channels[k].bytes) { in process_scan() 180 print1byte(*(uint8_t *)(data + channels[k].location), in process_scan() 181 &channels[k]); in process_scan() [all …]
|
/Linux-v5.4/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 | 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 …]
|
/Linux-v5.4/drivers/hwmon/ |
D | iio_hwmon.c | 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() 90 while (st->channels[st->num_channels].indio_dev) in iio_hwmon_probe() 108 ret = iio_get_channel_type(&st->channels[i], &type); in iio_hwmon_probe()
|
/Linux-v5.4/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>;
|
/Linux-v5.4/drivers/input/touchscreen/ |
D | colibri-vf50-ts.c | 40 struct iio_channel *channels; member 119 val_x = adc_ts_measure(&vf50_ts->channels[0], in vf50_ts_irq_bh() 125 val_y = adc_ts_measure(&vf50_ts->channels[1], in vf50_ts_irq_bh() 134 val_z1 = adc_ts_measure(&vf50_ts->channels[2], in vf50_ts_irq_bh() 138 val_z2 = adc_ts_measure(&vf50_ts->channels[3], in vf50_ts_irq_bh() 257 struct iio_channel *channels = data; in vf50_ts_channel_release() local 259 iio_channel_release_all(channels); in vf50_ts_channel_release() 265 struct iio_channel *channels; in vf50_ts_probe() local 271 channels = iio_channel_get_all(dev); in vf50_ts_probe() 272 if (IS_ERR(channels)) in vf50_ts_probe() [all …]
|
/Linux-v5.4/sound/soc/codecs/ |
D | hdmi-codec.c | 64 { .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 …]
|
/Linux-v5.4/Documentation/mips/ |
D | ingenic-tcu.rst | 8 hardware block. It features up to 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.4/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-ethtool.c | 709 struct ethtool_channels *channels) in xgbe_get_channels() argument 728 channels->max_combined = combined; in xgbe_get_channels() 729 channels->max_rx = rx ? rx - 1 : 0; in xgbe_get_channels() 730 channels->max_tx = tx ? tx - 1 : 0; in xgbe_get_channels() 740 channels->combined_count = combined; in xgbe_get_channels() 741 channels->rx_count = rx; in xgbe_get_channels() 742 channels->tx_count = tx; in xgbe_get_channels() 746 struct ethtool_channels *channels) in xgbe_print_set_channels_input() argument 749 channels->combined_count, channels->rx_count, in xgbe_print_set_channels_input() 750 channels->tx_count); in xgbe_print_set_channels_input() [all …]
|
/Linux-v5.4/drivers/reset/sti/ |
D | reset-syscfg.c | 42 struct syscfg_reset_channel *channels; member 59 ch = &rst->channels[idx]; in syscfg_reset_program_hw() 122 ch = &rst->channels[idx]; in syscfg_reset_status() 150 rc->channels = devm_kcalloc(dev, data->nr_channels, in syscfg_reset_controller_register() 151 sizeof(*rc->channels), GFP_KERNEL); in syscfg_reset_controller_register() 152 if (!rc->channels) in syscfg_reset_controller_register() 163 const char *compatible = data->channels[i].compatible; in syscfg_reset_controller_register() 169 f = devm_regmap_field_alloc(dev, map, data->channels[i].reset); in syscfg_reset_controller_register() 173 rc->channels[i].reset = f; in syscfg_reset_controller_register() 178 f = devm_regmap_field_alloc(dev, map, data->channels[i].ack); in syscfg_reset_controller_register() [all …]
|
/Linux-v5.4/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 …]
|
/Linux-v5.4/drivers/iio/buffer/ |
D | industrialio-buffer-cb.c | 18 struct iio_channel *channels; member 68 cb_buff->channels = iio_channel_get_all(dev); in iio_channel_get_all_cb() 69 if (IS_ERR(cb_buff->channels)) { in iio_channel_get_all_cb() 70 ret = PTR_ERR(cb_buff->channels); in iio_channel_get_all_cb() 74 cb_buff->indio_dev = cb_buff->channels[0].indio_dev; in iio_channel_get_all_cb() 81 chan = &cb_buff->channels[0]; in iio_channel_get_all_cb() 97 iio_channel_release_all(cb_buff->channels); in iio_channel_get_all_cb() 130 iio_channel_release_all(cb_buff->channels); in iio_channel_release_all_cb() 138 return cb_buffer->channels; in iio_channel_cb_get_channels()
|
/Linux-v5.4/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>/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 [all …]
|
/Linux-v5.4/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 …]
|
/Linux-v5.4/drivers/net/wireless/ath/ath9k/ |
D | common-init.c | 128 void *channels; in ath9k_cmn_init_channels_rates() local 135 channels = devm_kzalloc(ah->dev, in ath9k_cmn_init_channels_rates() 137 if (!channels) in ath9k_cmn_init_channels_rates() 140 memcpy(channels, ath9k_2ghz_chantable, in ath9k_cmn_init_channels_rates() 142 common->sbands[NL80211_BAND_2GHZ].channels = channels; in ath9k_cmn_init_channels_rates() 152 channels = devm_kzalloc(ah->dev, in ath9k_cmn_init_channels_rates() 154 if (!channels) in ath9k_cmn_init_channels_rates() 157 memcpy(channels, ath9k_5ghz_chantable, in ath9k_cmn_init_channels_rates() 159 common->sbands[NL80211_BAND_5GHZ].channels = channels; in ath9k_cmn_init_channels_rates()
|
/Linux-v5.4/drivers/iio/adc/ |
D | mcp320x.c | 64 const struct iio_chan_spec *channels; member 302 .channels = mcp3201_channels, 307 .channels = mcp3202_channels, 312 .channels = mcp3204_channels, 317 .channels = mcp3208_channels, 322 .channels = mcp3201_channels, 327 .channels = mcp3202_channels, 332 .channels = mcp3204_channels, 337 .channels = mcp3208_channels, 342 .channels = mcp3201_channels, [all …]
|
D | ti_am335x_adc.c | 53 int channels; member 77 step_en = ((1 << adc_dev->channels) - 1); in get_adc_step_mask() 78 step_en <<= TOTAL_STEPS - adc_dev->channels + 1; in get_adc_step_mask() 123 for (i = 0; i < adc_dev->channels; i++) { in tiadc_step_config() 320 for_each_set_bit(bit, indio_dev->active_scan_mask, adc_dev->channels) { in tiadc_buffer_postenable() 431 static int tiadc_channel_init(struct iio_dev *indio_dev, int channels) in tiadc_channel_init() argument 438 indio_dev->num_channels = channels; in tiadc_channel_init() 439 chan_array = kcalloc(channels, sizeof(*chan_array), GFP_KERNEL); in tiadc_channel_init() 444 for (i = 0; i < channels; i++, chan++) { in tiadc_channel_init() 457 indio_dev->channels = chan_array; in tiadc_channel_init() [all …]
|
/Linux-v5.4/drivers/hsi/ |
D | hsi_core.c | 62 kfree(cl->tx_cfg.channels); in hsi_client_release() 63 kfree(cl->rx_cfg.channels); in hsi_client_release() 78 if (cl->tx_cfg.channels) { in hsi_new_client() 79 size = cl->tx_cfg.num_channels * sizeof(*cl->tx_cfg.channels); in hsi_new_client() 80 cl->tx_cfg.channels = kmemdup(info->tx_cfg.channels, size, in hsi_new_client() 82 if (!cl->tx_cfg.channels) in hsi_new_client() 87 if (cl->rx_cfg.channels) { in hsi_new_client() 88 size = cl->rx_cfg.num_channels * sizeof(*cl->rx_cfg.channels); in hsi_new_client() 89 cl->rx_cfg.channels = kmemdup(info->rx_cfg.channels, size, in hsi_new_client() 91 if (!cl->rx_cfg.channels) in hsi_new_client() [all …]
|
/Linux-v5.4/Documentation/devicetree/bindings/sound/ |
D | rockchip-i2s.txt | 29 - rockchip,playback-channels: max playback channels, if not set, 8 channels default. 30 - rockchip,capture-channels: max capture channels, if not set, 2 channels default. 32 Required properties for controller which support multi channels 47 rockchip,playback-channels = <8>; 48 rockchip,capture-channels = <2>;
|
/Linux-v5.4/include/sound/ |
D | hda_chmap.h | 20 int channels; member 31 struct hdac_cea_channel_speaker_allocation *cap, int channels); 34 unsigned int *chmap, int channels); 38 int channels, unsigned char *chmap); 66 int channels, bool chmap_set, 71 int channels, unsigned char *map,
|
/Linux-v5.4/drivers/net/wireless/ti/wlcore/ |
D | scan.c | 130 struct conn_scan_ch_params *channels, in wlcore_scan_get_channels() argument 192 channels[j].flags |= SCAN_CHANNEL_FLAGS_DFS; in wlcore_scan_get_channels() 194 channels[j].passive_duration = in wlcore_scan_get_channels() 197 channels[j].passive_duration = in wlcore_scan_get_channels() 201 channels[j].min_duration = in wlcore_scan_get_channels() 203 channels[j].max_duration = in wlcore_scan_get_channels() 206 channels[j].tx_power_att = req_channels[i]->max_power; in wlcore_scan_get_channels() 207 channels[j].channel = req_channels[i]->hw_value; in wlcore_scan_get_channels() 211 (channels[j].channel >= 12) && in wlcore_scan_get_channels() 212 (channels[j].channel <= 14) && in wlcore_scan_get_channels() [all …]
|
/Linux-v5.4/Documentation/devicetree/bindings/dma/ |
D | brcm,bcm2835-dma.txt | 3 The BCM2835 DMA controller has 16 channels in total. 4 Only the lower 13 channels have an associated IRQ. 5 Some arbitrary channels are used by the firmware 7 The channels 0,2 and 3 have special functionality 14 to the DMA channels in ascending order. 18 that is shared by all dma channels. 21 - brcm,dma-channel-mask: Bit mask representing the channels 46 /* unused shared irq for all channels */
|