Searched refs:channels (Results 76 - 100 of 1483) sorted by relevance

1234567891011>>

/linux-master/drivers/iio/humidity/
H A Dhts221.h42 __le16 channels[2]; member in struct:hts221_hw::__anon93
/linux-master/drivers/gpu/host1x/
H A Dchannel.h21 struct host1x_channel *channels; member in struct:host1x_channel_list
/linux-master/sound/virtio/
H A Dvirtio_chmap.c128 if (max_channels < vs->chmaps[i].channels)
129 max_channels = vs->chmaps[i].channels;
171 unsigned int channels = info->channels; local
186 if (channels > ARRAY_SIZE(chmap->map))
187 channels = ARRAY_SIZE(chmap->map);
189 chmap->channels = channels;
191 for (ch = 0; ch < channels; ++ch) {
/linux-master/sound/core/oss/
H A Dpcm_plugin.c65 size = array3_size(frames, format->channels, width);
83 for (channel = 0; channel < format->channels; channel++, c++) {
89 c->area.step = format->channels * width;
92 if (snd_BUG_ON(size % format->channels))
94 size /= format->channels;
95 for (channel = 0; channel < format->channels; channel++, c++) {
144 struct snd_pcm_plugin_channel **channels)
146 *channels = plugin->buf_channels;
158 unsigned int channels; local
178 channels
142 snd_pcm_plugin_client_channels(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t frames, struct snd_pcm_plugin_channel **channels) argument
557 snd_pcm_plug_client_channels_buf(struct snd_pcm_substream *plug, char *buf, snd_pcm_uframes_t count, struct snd_pcm_plugin_channel **channels) argument
[all...]
/linux-master/drivers/net/wireless/ti/wl12xx/
H A Dscan.c15 struct basic_scan_channel_params *channels,
25 flags = req->channels[i]->flags;
29 (req->channels[i]->band == band) &&
32 * channels, even if not marked as such.
33 * In active scans, we only scan channels not
38 req->channels[i]->band,
39 req->channels[i]->center_freq);
41 req->channels[i]->hw_value,
42 req->channels[i]->flags);
45 req->channels[
13 wl1271_get_scan_channels(struct wl1271 *wl, struct cfg80211_scan_request *req, struct basic_scan_channel_params *channels, enum nl80211_band band, bool passive) argument
[all...]
/linux-master/sound/soc/codecs/
H A Dhdmi-codec.c60 { .channels = 2,
67 { .channels = 2, /* CA_ID 0x00 */
69 { .channels = 4, /* CA_ID 0x01 */
72 { .channels = 4, /* CA_ID 0x02 */
75 { .channels = 4, /* CA_ID 0x03 */
78 { .channels = 6, /* CA_ID 0x04 */
81 { .channels = 6, /* CA_ID 0x05 */
84 { .channels = 6, /* CA_ID 0x06 */
87 { .channels = 6, /* CA_ID 0x07 */
90 { .channels
342 hdmi_codec_get_ch_alloc_table_idx(struct hdmi_codec_priv *hcp, unsigned char channels) argument
492 hdmi_codec_fill_codec_params(struct snd_soc_dai *dai, unsigned int sample_width, unsigned int sample_rate, unsigned int channels, struct hdmi_codec_params *hp) argument
594 unsigned int channels = runtime->channels; local
[all...]
/linux-master/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-ethtool.c697 struct ethtool_channels *channels)
716 channels->max_combined = combined;
717 channels->max_rx = rx ? rx - 1 : 0;
718 channels->max_tx = tx ? tx - 1 : 0;
728 channels->combined_count = combined;
729 channels->rx_count = rx;
730 channels->tx_count = tx;
734 struct ethtool_channels *channels)
737 channels->combined_count, channels
696 xgbe_get_channels(struct net_device *netdev, struct ethtool_channels *channels) argument
733 xgbe_print_set_channels_input(struct net_device *netdev, struct ethtool_channels *channels) argument
741 xgbe_set_channels(struct net_device *netdev, struct ethtool_channels *channels) argument
[all...]
/linux-master/arch/sh/drivers/dma/
H A Ddma-api.c83 channel = &info->channels[i];
120 * Search all channels of all DMA controllers to find a channel which
147 struct dma_channel *channel = &info->channels[i];
171 channel = &info->channels[i];
264 channel = &info->channels[i];
326 struct dma_channel *channel = info->channels + i;
348 BUG_ON((info->flags & DMAC_CHANNELS_CONFIGURED) && !info->channels);
356 * Don't touch pre-configured channels
363 info->channels = kzalloc(size, GFP_KERNEL);
364 if (!info->channels)
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Drx_res.c5 #include "channels.h"
28 } *channels; member in struct:mlx5e_rx_res
341 res->channels = kvcalloc(res->max_nch, sizeof(*res->channels), GFP_KERNEL);
342 if (!res->channels) {
348 err = mlx5e_rqt_init_direct(&res->channels[ix].direct_rqt,
360 mlx5e_rqt_get_rqtn(&res->channels[ix].direct_rqt),
365 err = mlx5e_tir_init(&res->channels[ix].direct_tir, builder, res->mdev, true);
379 mlx5e_tir_destroy(&res->channels[ix].direct_tir);
384 mlx5e_rqt_destroy(&res->channels[i
[all...]
/linux-master/drivers/iio/dac/
H A Dad5624r_spi.c197 .channels = ad5624r_channels,
201 .channels = ad5624r_channels,
205 .channels = ad5644r_channels,
209 .channels = ad5644r_channels,
213 .channels = ad5664r_channels,
217 .channels = ad5664r_channels,
275 indio_dev->channels = st->chip_info->channels;
/linux-master/sound/soc/xilinx/
H A Dxlnx_i2s.c32 u32 channels; member in struct:xlnx_i2s_drv_data
67 drv_data->ratnum.num = freq / (bits_per_sample * drv_data->channels) / 2;
187 ret = of_property_read_u32(node, "xlnx,num-channels", &drv_data->channels);
189 dev_err(dev, "cannot get supported channels\n");
192 drv_data->channels *= 2;
214 drv_data->dai_drv.playback.channels_min = drv_data->channels;
215 drv_data->dai_drv.playback.channels_max = drv_data->channels;
222 drv_data->dai_drv.capture.channels_min = drv_data->channels;
223 drv_data->dai_drv.capture.channels_max = drv_data->channels;
[all...]
/linux-master/sound/soc/sh/
H A Dssi.c134 unsigned int bits, channels, swl, recv, i; local
136 channels = params_channels(params);
141 pr_debug("bits: %u channels: %u\n", bits, channels);
150 /* channels */
151 if ((channels < 2) || (channels > 8) || (channels & 1)) {
152 pr_debug("ssi: invalid number of channels\n");
155 ssicr |= ((channels >>
[all...]
/linux-master/sound/soc/qcom/qdsp6/
H A Dq6dsp-common.c67 int q6dsp_get_channel_allocation(int channels) argument
72 switch (channels) {
/linux-master/drivers/firmware/arm_scmi/
H A Dvirtio.c44 * @free_list: List of unused scmi_vio_msg, maintained for Tx channels only
390 struct scmi_vio_channel *channels, *vioch = NULL; local
395 channels = (struct scmi_vio_channel *)scmi_vdev->priv;
399 vioch = &channels[VIRTIO_SCMI_VQ_TX];
403 vioch = &channels[VIRTIO_SCMI_VQ_RX];
486 * the channels: doing it later holding vioch->lock creates unsafe
810 struct scmi_vio_channel *channels; local
827 channels = devm_kcalloc(dev, vq_cnt, sizeof(*channels), GFP_KERNEL);
828 if (!channels)
[all...]
/linux-master/drivers/irqchip/
H A Dirq-st.c101 int channels, ret, i; local
104 channels = of_property_count_u32_elems(np, "st,irq-device");
105 if (channels != ST_A9_IRQ_MAX_CHANS) {
110 channels = of_property_count_u32_elems(np, "st,fiq-device");
111 if (channels != ST_A9_IRQ_MAX_CHANS) {
/linux-master/drivers/iio/temperature/
H A Dtmp117.c49 struct iio_chan_spec const *channels; member in struct:tmp11x_info
132 .channels = tmp116_channels,
138 .channels = tmp117_channels,
196 indio_dev->channels = match_data->channels;
H A Dhid-sensor-temperature.c47 static void temperature_adjust_channel_bit_mask(struct iio_chan_spec *channels, argument
50 channels[channel].scan_type.sign = 's';
52 channels[channel].scan_type.realbits = size * 8;
54 channels[channel].scan_type.storagebits = sizeof(s32) * 8;
160 struct iio_chan_spec *channels,
173 temperature_adjust_channel_bit_mask(channels, 0,
225 indio_dev->channels = temp_chans;
158 temperature_parse_report(struct platform_device *pdev, struct hid_sensor_hub_device *hsdev, struct iio_chan_spec *channels, unsigned int usage_id, struct temperature_state *st) argument
/linux-master/drivers/thermal/qcom/
H A Dqcom-spmi-adc-tm5.c26 * Thermal monitoring block consists of 8 (ADC_TM5_NUM_CHANNELS) channels. Each
27 * channel is programmed to use one of ADC channels for voltage comparison.
31 * Configuration of TM channels must match configuration of corresponding ADC
32 * channels.
216 * @channels: array of ADC TM channel data.
217 * @nchannels: amount of channels defined/allocated
219 * Applies to all channels, used only on Gen1 ADC_TM.
222 * channels, used only on Gen1 ADC_TM.
233 struct adc_tm5_channel *channels; member in struct:adc_tm5_chip
276 unsigned int ch = chip->channels[
943 struct adc_tm5_channel *channels; local
[all...]
/linux-master/drivers/tty/serial/jsm/
H A Djsm_tty.c388 if (!brd->channels[i]) {
394 brd->channels[i] = kzalloc(sizeof(struct jsm_channel), GFP_KERNEL);
395 if (!brd->channels[i]) {
403 ch = brd->channels[0];
407 for (i = 0; i < brd->nasync; i++, ch = brd->channels[i]) {
409 if (!brd->channels[i])
451 if (!brd->channels[i])
454 brd->channels[i]->uart_port.irq = brd->irq;
455 brd->channels[i]->uart_port.uartclk = 14745600;
456 brd->channels[
[all...]
/linux-master/drivers/iio/light/
H A Dhid-sensor-als.c31 struct iio_chan_spec channels[CHANNEL_SCAN_INDEX_MAX + 1]; member in struct:als_state
121 static void als_adjust_channel_bit_mask(struct iio_chan_spec *channels, argument
124 channels[channel].scan_type.sign = 's';
126 channels[channel].scan_type.realbits = size * 8;
128 channels[channel].scan_type.storagebits = sizeof(u32) * 8;
320 struct iio_chan_spec *channels; local
324 channels = st->channels;
335 channels[index] = als_channels[i];
337 als_adjust_channel_bit_mask(channels, inde
[all...]
/linux-master/drivers/hwtracing/intel_th/
H A Dsth.c23 void __iomem *channels; member in struct:sth_device
33 struct intel_th_channel __iomem *sw_map = sth->channels;
191 void __iomem *base, *channels; local
206 channels = devm_ioremap(dev, res->start, resource_size(res));
207 if (!channels)
216 sth->channels = channels;
/linux-master/drivers/hwmon/
H A Dadcxx.c13 * * c is the number of channels (1, 2, 4, 8)
42 u32 channels; member in struct:adcxx
61 if (adc->channels == 1) {
153 int channels = spi_get_device_id(spi)->driver_data; local
164 adc->channels = channels;
171 for (i = 0; i < 3 + adc->channels; i++) {
204 for (i = 0; i < 3 + adc->channels; i++)
/linux-master/sound/soc/intel/skylake/
H A Dskl-nhlt.c103 u16 channels, bps; local
121 channels = wav_fmt->fmt.channels;
130 * number of channels used for that endpoint.
133 * the superset of all channels for that endpoint and
142 channels = max_t(u16, channels,
143 wav_fmt->fmt.channels);
151 rate = channels * bps * fs;
/linux-master/sound/firewire/tascam/
H A Damdtp-tascam.c28 /* Packets in in-stream have extra 2 data channels. */
40 unsigned int channels = p->pcm_channels; local
55 for (c = 0; c < channels; ++c) {
70 unsigned int channels = p->pcm_channels; local
88 for (c = 0; c < channels; ++c) {
102 unsigned int channels, i, c; local
104 channels = p->pcm_channels;
107 for (c = 0; c < channels; ++c)
248 /* This protocol uses fixed number of data channels for PCM samples. */
/linux-master/drivers/iio/potentiometer/
H A Dds1803.c38 const struct iio_chan_spec *channels; member in struct:ds1803_cfg
105 .channels = ds1803_channels,
113 .channels = ds1803_channels,
121 .channels = ds1803_channels,
129 .channels = ds3502_channels,
222 indio_dev->channels = data->cfg->channels;

Completed in 237 milliseconds

1234567891011>>