Searched refs:channels (Results 51 - 75 of 1483) sorted by relevance

1234567891011>>

/linux-master/include/uapi/linux/hsi/
H A Dhsi_char.h41 __u32 channels; member in struct:hsc_rx_config
46 __u32 channels; member in struct:hsc_tx_config
/linux-master/drivers/gpu/host1x/
H A Dchannel.c19 chlist->channels = kcalloc(num_channels, sizeof(struct host1x_channel),
21 if (!chlist->channels)
26 kfree(chlist->channels);
38 kfree(chlist->channels);
68 struct host1x_channel *ch = &host->channel_list.channels[index];
85 * host1x_channel_stop_all() - disable CDMA on allocated channels
88 * Stop CDMA on allocated channels
98 host1x_channel_stop(&chlist->channels[bit]);
137 chlist->channels[index].id = index;
143 return &chlist->channels[inde
[all...]
/linux-master/drivers/iio/dac/
H A Dad5064.c69 * @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 in struct:ad5064_chip_info
454 .channels = pchannels, \
463 .channels = ad5024_channels,
469 .channels = ad5025_channels,
475 .channels = ad5044_channels,
481 .channels = ad5045_channels,
487 .channels
[all...]
/linux-master/drivers/input/touchscreen/
H A Dcolibri-vf50-ts.c39 struct iio_channel *channels; member in struct:vf50_touch_device
118 val_x = adc_ts_measure(&vf50_ts->channels[0],
124 val_y = adc_ts_measure(&vf50_ts->channels[1],
133 val_z1 = adc_ts_measure(&vf50_ts->channels[2],
137 val_z2 = adc_ts_measure(&vf50_ts->channels[3],
256 struct iio_channel *channels = data; local
258 iio_channel_release_all(channels);
264 struct iio_channel *channels; local
270 channels = iio_channel_get_all(dev);
271 if (IS_ERR(channels))
[all...]
/linux-master/drivers/firmware/arm_scmi/
H A Draw_mode.h22 u8 *channels, int num_chans,
/linux-master/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Drfi.h16 * @channels: channels that can be interfered at frequency freq (at most 15)
21 u8 channels[IWL_RFI_LUT_ENTRY_CHANNELS_NUM]; member in struct:iwl_rfi_lut_entry
/linux-master/drivers/iio/adc/
H A Dmcp320x.c65 const struct iio_chan_spec *channels; member in struct:mcp320x_chip_info
303 .channels = mcp3201_channels,
308 .channels = mcp3202_channels,
313 .channels = mcp3204_channels,
318 .channels = mcp3208_channels,
323 .channels = mcp3201_channels,
328 .channels = mcp3202_channels,
333 .channels = mcp3204_channels,
338 .channels = mcp3208_channels,
343 .channels
[all...]
H A Dsun20i-gpadc-iio.c157 struct iio_chan_spec *channels; local
164 channels = devm_kcalloc(dev, num_channels, sizeof(*channels),
166 if (!channels)
177 channels[i].type = IIO_VOLTAGE;
178 channels[i].indexed = 1;
179 channels[i].channel = channel;
180 channels[i].info_mask_separate = BIT(IIO_CHAN_INFO_RAW);
181 channels[i].info_mask_shared_by_type = BIT(IIO_CHAN_INFO_SCALE);
186 indio_dev->channels
[all...]
H A Dti_am335x_adc.c45 int channels; member in struct:tiadc_device
69 step_en = ((1 << adc_dev->channels) - 1);
70 step_en <<= TOTAL_STEPS - adc_dev->channels + 1;
103 IDLE_TIMEOUT_MS * 1000 * adc_dev->channels);
121 for (i = 0; i < adc_dev->channels; i++) {
240 * channels enabled, so make sure that cyclic DMA period
241 * length is also a multiple of total number of channels
307 for_each_set_bit(bit, indio_dev->active_scan_mask, adc_dev->channels) {
398 int channels)
405 indio_dev->num_channels = channels;
397 tiadc_channel_init(struct device *dev, struct iio_dev *indio_dev, int channels) argument
569 int channels = 0; local
[all...]
H A Dad7124.c170 struct ad7124_channel *channels; member in struct:ad7124_state
278 if (odr_sel_bits != st->channels[channel].cfg.odr_sel_bits)
279 st->channels[channel].cfg.live = false;
282 st->channels[channel].cfg.odr = DIV_ROUND_CLOSEST(fclk, odr_sel_bits * 32);
283 st->channels[channel].cfg.odr_sel_bits = odr_sel_bits;
291 fadc = st->channels[channel].cfg.odr;
293 switch (st->channels[channel].cfg.filter_type) {
322 if (new_odr != st->channels[channel].cfg.odr)
323 st->channels[channel].cfg.live = false;
325 st->channels[channe
815 struct ad7124_channel *channels; local
[all...]
/linux-master/sound/soc/
H A Dsoc-utils-test.c15 u8 channels; member in struct:__anon3447
21 /* rate fmt channels tdm_width tdm_slots slot_multiple bclk */
120 unsigned int channels,
132 hw_param_interval(&params, SNDRV_PCM_HW_PARAM_CHANNELS)->min = channels;
133 hw_param_interval(&params, SNDRV_PCM_HW_PARAM_CHANNELS)->max = channels;
139 rate, params_width(&params), channels, tdm_width, tdm_slots, slot_multiple,
152 tdm_params_to_bclk_cases[i].channels,
165 tdm_params_to_bclk_cases[i].channels,
175 unsigned int channels,
185 hw_param_interval(&params, SNDRV_PCM_HW_PARAM_CHANNELS)->min = channels;
118 test_tdm_params_to_bclk_one(struct kunit *test, unsigned int rate, snd_pcm_format_t fmt, unsigned int channels, unsigned int tdm_width, unsigned int tdm_slots, unsigned int slot_multiple, unsigned int expected_bclk) argument
173 test_snd_soc_params_to_bclk_one(struct kunit *test, unsigned int rate, snd_pcm_format_t fmt, unsigned int channels, unsigned int expected_bclk) argument
[all...]
/linux-master/drivers/net/wireless/ath/ath9k/
H A Dcommon-init.c36 * on 5 MHz steps, we support the channels which we know
57 * on 5 MHz steps, we support the channels which we know
128 void *channels; local
135 channels = devm_kzalloc(ah->dev,
137 if (!channels)
140 memcpy(channels, ath9k_2ghz_chantable,
142 common->sbands[NL80211_BAND_2GHZ].channels = channels;
152 channels = devm_kzalloc(ah->dev,
154 if (!channels)
[all...]
/linux-master/drivers/iio/buffer/
H A Dindustrialio-hw-consumer.c20 * @channels: IIO provider channels.
24 struct iio_channel *channels; member in struct:iio_hw_consumer
96 hwc->channels = iio_channel_get_all(dev);
97 if (IS_ERR(hwc->channels)) {
98 ret = PTR_ERR(hwc->channels);
102 chan = &hwc->channels[0];
118 iio_channel_release_all(hwc->channels);
133 iio_channel_release_all(hwc->channels);
/linux-master/tools/iio/
H A Diio_generic_buffer.c48 * @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 unsigned int size_from_channelarray(struct iio_channel_info *channels, int num_channels) argument
61 if (channels[i].bytes > max)
62 max = channels[i].bytes;
63 if (bytes % channels[i].bytes == 0)
64 channels[i].location = bytes;
66 channels[i].location = bytes - bytes % channels[
183 process_scan(char *data, struct iio_channel_info *channels, int num_channels) argument
368 struct iio_channel_info *channels = NULL; local
[all...]
/linux-master/sound/drivers/
H A Dpcmtest.c19 * - Support up to 4 channels
22 * When driver works in the capture mode with multiple channels, it duplicates the looped
23 * pattern to each separate channel. For example, if we have 2 channels, format = U8, interleaved
155 static inline size_t buf_pos_n(struct pcmtst_buf_iter *v_iter, unsigned int channels, argument
158 return v_iter->buf_pos / channels + v_iter->chan_block * chan_num;
166 static inline size_t ch_pos_i(size_t b_total, unsigned int channels, unsigned int b_sample) argument
168 return b_total / channels / b_sample * b_sample + (b_total % b_sample);
181 ch_num = (v_iter->total_bytes / v_iter->sample_bytes) % runtime->channels;
183 runtime->channels,
197 unsigned int channels local
241 unsigned int channels = runtime->channels; local
284 unsigned int channels = runtime->channels; local
[all...]
/linux-master/sound/core/oss/
H A Drate.c50 struct rate_channel channels[]; member in struct:rate_priv
58 for (channel = 0; channel < plugin->src_format.channels; channel++) {
59 data->channels[channel].last_S1 = 0;
60 data->channels[channel].last_S2 = 0;
77 struct rate_channel *rchannels = data->channels;
79 for (channel = 0; channel < plugin->src_format.channels; channel++) {
136 struct rate_channel *rchannels = data->channels;
138 for (channel = 0; channel < plugin->src_format.channels; ++channel) {
264 for (channel = 0; channel < plugin->src_format.channels; channel++) {
313 if (snd_BUG_ON(src_format->channels !
[all...]
H A Dcopy.c39 nchannels = plugin->src_format.channels;
78 if (snd_BUG_ON(src_format->channels != dst_format->channels))
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
H A Dpool.c81 struct mlx5e_params *params = &priv->channels.params;
86 if (unlikely(mlx5e_xsk_get_pool(&priv->channels.params, &priv->xsk, ix)))
102 if (priv->channels.params.rq_wq_type == MLX5_WQ_TYPE_LINKED_LIST_STRIDING_RQ &&
118 * and the channels are reopened.
123 c = priv->channels.c[ix];
136 mlx5e_rx_res_xsk_update(priv->rx_res, &priv->channels, ix, true);
153 * (in mlx5e_xdp_set or on open) and end up with no channels.
165 struct xsk_buff_pool *pool = mlx5e_xsk_get_pool(&priv->channels.params,
176 if (!priv->channels.params.xdp_prog)
179 c = priv->channels
[all...]
/linux-master/drivers/net/wireless/ti/wlcore/
H A Dscan.c128 struct conn_scan_ch_params *channels,
190 channels[j].flags |= SCAN_CHANNEL_FLAGS_DFS;
192 channels[j].passive_duration =
195 channels[j].passive_duration =
199 channels[j].min_duration =
201 channels[j].max_duration =
204 channels[j].tx_power_att = req_channels[i]->max_power;
205 channels[j].channel = req_channels[i]->hw_value;
209 (channels[j].channel >= 12) &&
210 (channels[
124 wlcore_scan_get_channels(struct wl1271 *wl, struct ieee80211_channel *req_channels[], u32 n_channels, u32 n_ssids, struct conn_scan_ch_params *channels, u32 band, bool radar, bool passive, int start, int max_channels, u8 *n_pactive_ch, int scan_type) argument
244 wlcore_set_scan_chan_params(struct wl1271 *wl, struct wlcore_scan_channels *cfg, struct ieee80211_channel *channels[], u32 n_channels, u32 n_ssids, int scan_type) argument
[all...]
/linux-master/drivers/s390/net/
H A Dqeth_ethtool.c200 struct ethtool_channels *channels)
204 channels->max_rx = dev->num_rx_queues;
205 channels->max_tx = card->qdio.no_out_queues;
206 channels->max_other = 0;
207 channels->max_combined = 0;
208 channels->rx_count = dev->real_num_rx_queues;
209 channels->tx_count = dev->real_num_tx_queues;
210 channels->other_count = 0;
211 channels->combined_count = 0;
215 struct ethtool_channels *channels)
199 qeth_get_channels(struct net_device *dev, struct ethtool_channels *channels) argument
214 qeth_set_channels(struct net_device *dev, struct ethtool_channels *channels) argument
[all...]
/linux-master/sound/firewire/fireface/
H A Damdtp-ff.c35 unsigned int channels = p->pcm_channels; local
50 for (c = 0; c < channels; ++c) {
65 unsigned int channels = p->pcm_channels; local
80 for (c = 0; c < channels; ++c) {
94 unsigned int i, c, channels = p->pcm_channels; local
97 for (c = 0; c < channels; ++c)
/linux-master/drivers/iio/chemical/
H A Datlas-ezo-sensor.c31 const struct iio_chan_spec *channels; member in struct:atlas_ezo_device
87 .channels = atlas_co2_ezo_channels,
92 .channels = atlas_o2_ezo_channels,
97 .channels = atlas_hum_ezo_channels,
220 indio_dev->channels = chip->channels;
/linux-master/drivers/hsi/
H A Dhsi_core.c62 kfree(cl->tx_cfg.channels);
63 kfree(cl->rx_cfg.channels);
78 if (cl->tx_cfg.channels) {
79 size = cl->tx_cfg.num_channels * sizeof(*cl->tx_cfg.channels);
80 cl->tx_cfg.channels = kmemdup(info->tx_cfg.channels, size,
82 if (!cl->tx_cfg.channels)
87 if (cl->rx_cfg.channels) {
88 size = cl->rx_cfg.num_channels * sizeof(*cl->rx_cfg.channels);
89 cl->rx_cfg.channels
[all...]
/linux-master/sound/xen/
H A Dxen_snd_front.h39 u8 format, unsigned int channels,
/linux-master/drivers/reset/sti/
H A Dreset-syscfg.h44 * @nr_channels: The number of reset channels in this controller.
45 * @channels: An array of reset channel descriptions.
51 const struct syscfg_reset_channel_data *channels; member in struct:syscfg_reset_controller_data

Completed in 391 milliseconds

1234567891011>>